Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 18, 2012 6:49 pm 
Offline

Joined: Fri Oct 07, 2011 2:41 pm
Posts: 6
Location: Brighton, UK
Hi,

I've made quite a few modifications to my local copy of Bullet because I'm working with my own very small implementation of the C/C++ runtime libraries. Problems I've addressed include:

* General CRT header file references (I only have one header file).
* Some code uses the CRT directly instead of using the Bullet versions (e.g. use of assert over btAssert).
* Placement new use requires <new> - I've added a custom one to Bullet so that it doesn't require that, without interfering with placement news in other libs.

Is there any interest in patches to remove Bullet of its dependence on all this? The solution would allow you to seamlessly swap in your own CRT or use the available system ones.

Cheers,
- Don


Top
 Profile  
 
PostPosted: Mon May 21, 2012 4:35 pm 
Offline

Joined: Tue May 01, 2012 10:42 am
Posts: 39
Regardless of the interest of the main developers, I would say you should defenitly post your patches here, in case other people are interested in a CRT-less bullet :)


Top
 Profile  
 
PostPosted: Sat May 26, 2012 6:15 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
How are you using this custom CRT?

A patch based on the recent trunk would be welcome indeed. We are planning some more work soon that touch large part of the Bullet repository, so we can consider your contribution too.


Top
 Profile  
 
PostPosted: Mon May 28, 2012 1:33 pm 
Offline

Joined: Fri Oct 07, 2011 2:41 pm
Posts: 6
Location: Brighton, UK
My game downloads/runs in a browser without any installs so I have my own, minimal CRT that doesn't require any DLLs or runtimes on the host machine. I'm getting Bullet to link with my CRT and its wrapped in a separate DLL that is downloaded on-demand (you get game visuals early without need for physics/collision).

I need to update to the latest Bullet as soon as possible so it would make sense for me to start my changes from scratch (knowing what I need to do) and submit some incremental patches. There's not much work required - it's mostly tedious search and replace.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group