Commit Graph

7 Commits

Author SHA1 Message Date
spartanj
34f3f4048b I'm trying to locate a very very rare threading bug when loading multiple TTF fonts at the same time, but for the moment i coundn't reach it ( replicated only ONE time and i wasn't debugging! ).
I made some minor changes in the debugging functions to write to the log file too the information debuged.
Fixed glew include, trying to include from the include file path instead of the project file path.
To try to avoid the rare bug i moved the creation of the instance of the ttf font on the constructor of the ttf font loader ( to know if that fixes the problem i need to NOT replecate the bug again, so it will be a matter of time to know if that affect or not in the current bug ).
I said that i hate threading bugs?
2010-10-21 03:34:10 -03:00
spartanj
92191b3f93 Fixed a bug in stb_image ( reported the bug and how to fix it ).
Changed some things in HaikuTTF.
2010-10-19 18:33:02 -03:00
spartanj
caa2dcc745 Added two theme loading functions to load themes from a folder path or a shape group.
Added clamp repeat simulation for shape rendering.
Another minor changes on the UI.
2010-10-13 04:26:43 -03:00
spartanj
661ad2260a Added basic theming support for the UI ( work in progress ).
Added padding support for the textbox and textinput.
Some minor fixes.
2010-10-08 04:15:22 -03:00
spartanj
41b55c8faa Added support for animated sprites loaded via a pattern, this is to take advantage of the texture packer.
Added a flag to the texture packer to remove the extensions of the shapes and shapegroups when loaded ( to easily find shapes ).
Modified a little how cSprite works, simplyfied some things.
2010-08-22 19:55:16 -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