Commit Graph

31 Commits

Author SHA1 Message Date
spartanj
b374cbc282 Updated stb_image.
Removed cShapeManager ( i forgot to remove it ).
Added FileWrite function.
2010-08-01 19:52:38 -03:00
spartanj
74e6eacd15 Added Mersenne Twister pseudo-random number generator ( really usefull and fast for some type of games if you want a deterministic random number generator ).
Reimplemented the tResourceManager, now uses std::list instead of std::map, and added some new methods.
cShapeGroupManager and cShapeGroup now inherits from tResourceManager.
Rolled back eeUint and eeInt, now are fine again ( it was changed for testing ).
2010-08-01 18:16:27 -03:00
spartanj
0a3d6e0728 Added cShapeGroup, cShapeGroupManager and cGlobalShapeGroup ( replazing the cShapeManager, now it's possible to group shapes by a pattern ).
Changed some minor things on the singleton.
2010-08-01 00:52:15 -03:00
spartanj
9a20892c55 Two minor changes. 2010-07-31 04:52:28 -03:00
spartanj
19a7aafb51 Added a template for resource manager (tResourceManager).
Added a Font Manager.
cShaderProgramManager is now using the tResourceManager.
Added support for Font async loading.
Changed Write overloading on cLog, for Writef, to avoid overloading errors.
2010-07-31 04:15:09 -03:00
spartanj
39312a23dd Optimized tSoundManager.
Added tSoundLoader, a template used for the ResourceLoader.
Fixed PushText on the Console.
Added loading from memory on shaders.
Added FileExtension to get file extension.
Added to Packs ExtractToFile and Add using pointers instead of std::vectors ( to give flexibility ).
And fixed some minor bugs.
2010-07-30 00:59:49 -03:00
spartanj
4c07441c77 Fixed compilation on windows.
Fixed shaders reload ( after context lost ).
Fixed some compiler warnings on gcc (mingw32).
Added Windows Code::Blocks Project file.
2010-07-27 03:44:40 -03:00
spartanj
c967cda05d Added Resource Loader ( multi-threaded async loading ).
Added autocomplete to the console.
Added an optional define to compile without libsndfile ( you don't need it if you only need ogg format ).
Fixed some bugs.
Changed the way keys state are stored ( to support in near future, save keyboard and mouse states ).
2010-07-27 00:35:22 -03:00
spartanj
a7774298b0 Cleaned a little Audio system. Added support for stream seeking.
Cleaned a little HaikuTTF.
Updated GLEW.
2010-07-26 00:37:38 -03:00
spartanj
8407055826 Fixed cShape texture caching.
Added some minor changes.
2010-07-25 16:39:33 -03:00
spartanj
88d3f5b3dd Updated stb_image header. 2010-07-25 14:28:13 -03:00
spartanj
75b1a4e148 Changed the way that textures lock and unlock. 2010-07-25 02:54:54 -03:00
spartanj
9bb368be69 Updated stb_image, thanks to sean for the fix! 2010-07-25 01:54:17 -03:00
spartanj
6ca27face4 Reverted stb_image version until png loading get fixed. 2010-07-24 21:56:35 -03:00
spartanj
b0c6069785 Updated stb_image with the last version ( gif read support, png write support ) 2010-07-18 17:49:28 -03:00
spartanj
d91c1e7f5c Optimized SOIL to load faster in some cases the textures. 2010-07-18 16:57:28 -03:00
spartanj
b021ec49ef Working on the async texture loading.
Individual async texture loading is working but not very tested.
Still need some work optimizing the texture creation ( reimplement SOIL_create_OGL_texture avoiding the data duplication if not needed ).
2010-07-18 04:08:35 -03:00
spartanj
3a5ef5289c Some minor changes. Nothing important. 2010-07-17 15:00:49 -03:00
spartanj
f547f9b121 Removed fastevents (unnecesary). 2010-07-14 03:33:55 -03:00
spartanj
5dbb935102 Fixed two huge memory leaks.
Next time i'll sleep before programming. :P
2010-07-13 02:45:29 -03:00
spartanj
8e197828a8 Removed SDL_ttf dependency, replaced by HaikuTTF ( own implementation of a ttf handler library ). Still a work in progress, but working 100 %.
Removed compiler warnings from zip_utils.
Fixed cTexture and cShape memory leaks ( now using std::vector by default to allocate textures on memory, removed manual dynamic loading because it's not working fine ).
Fixed cShaderProgram unloading.
Fixed a bug on cInifile.
Updated the Makefile.
2010-07-11 19:17:01 -03:00
spartanj
387198ff6f Some changes on texture factory. 2010-07-09 19:04:25 -03:00
spartanj
4497106b0a Updated stb_image with the lastest version ( merged some files ).
Fixed a memory leak.
2010-07-08 05:16:46 -03:00
spartanj
c3ef149618 Fixed some bugs on Texture Factory.
Removed useless functions on Texture Factory.
Reordered load functions on Texture Factory.
Moved Draw calls to cTexture instead of Drawing inside the Texture Factory.
Added GetNumGPUs function on utils.
Renamed soil files.
Added optional compilation with LLVM.
Added TODOs, and defined the future of the developing of the library ( ordered by priority, starting the most important from the top ).
2010-07-08 02:37:47 -03:00
spartanj
2f0d7efa7e Added support for Zip files and fixed some minor bugs on cPak. 2010-07-03 16:00:17 -03:00
spartanj
0048fa6dfb Fixed some bugs, added rounder rectangles. 2010-06-30 23:35:28 -03:00
spartanj
c00a979022 Some progress on the UI, now support event callbacks. 2010-06-29 22:46:56 -03:00
spartanj
4b87cdf19c Fixed a bug on the iso map. 2010-06-28 03:29:03 -03:00
spartanj
b6502cd856 Some fixes to the UI. 2010-06-28 03:15:01 -03:00
spartanj
dc93fa9638 Added a shader program manager. 2010-06-26 21:54:02 -03:00
spartanj
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00