Julian Storer
|
e61e8f6775
|
Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future).
|
2010-01-14 14:49:25 +00:00 |
|
Julian Storer
|
97035bb3a1
|
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
|
2010-01-13 18:58:40 +00:00 |
|
Julian Storer
|
4ed1d791e5
|
New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase.
|
2010-01-02 14:55:44 +00:00 |
|
Julian Storer
|
a126b1918a
|
Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers.
|
2009-12-18 16:37:46 +00:00 |
|
Julian Storer
|
7dfc764bf0
|
Initial check-in of a new WASAPI audio device wrapper (not properly tested yet!), and tidied up all the audio device type creation functions to make it easier to cope with all these different device types. Added a couple of config entries to enable WASAPI and DSound, so a windows build can use any combination of device APIs. Also replaced the string-to-double conversion code with a custom function to avoid localisation problems with commas and full-stops.
|
2009-09-09 17:35:23 +01:00 |
|
jules
|
158a17f08a
|
(Added missing files from last check-in)
|
2009-08-22 22:30:57 +00:00 |
|
jules
|
ea83c7ee5e
|
Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2
|
2009-08-20 09:19:37 +00:00 |
|