Commit Graph

10 Commits

Author SHA1 Message Date
spartanj@gmail.com
d5f4dcb9c4 Worked on some changes on the audio engine.
cTextureFontLoader now doesn't create a new thread to load the texture.
2011-08-21 01:45:25 -03:00
spartanj
e26ca9f87a Added a way to update the texture atlas to the current state of the shapes ( updates offsets and dest size ).
A lot of minor fixes.
2011-06-18 05:05:52 -03:00
spartanj
42c845bce7 Renamed AppPath() for GetProcessPath()
Renamed GetNumCPUs() for GetCPUCount()
GetProcessPath() Added Haiku, BSD and Solaris implementations.
Added GetOSName()
Added GetOSArchitecture()
Changed some SOIL_load_image calls for stbi_load ( avoid depending in SOIL when isn't needed ).
Fixed a bug on cWindow::mFrameData, the structure values werent initialized and in some rare case scenario this provoked a crash.
2011-03-14 02:42:47 -03:00
spartanj
89dc42c352 Added Unload to the object loaders and resource loader. 2011-03-08 00:55:15 -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
b071630924 Removed boost dependency ( now use PlusCallback for callbacks, and use my own lexical cast ). With this improved a lot the compiling time. As far as i could test, PlusCallback is faster than boos::function too.
I added a couple of checks to avoid rendering problems on fonts.
And added some minor fixes.
2010-10-01 04:49:36 -03:00
spartanj
66ead32bcc Added support for Frame Buffers, FBO and PBuffer (win and linux ftm), better known as render to texture.
Added loading from memory of texture groups.
Fixed minor things.
2010-08-24 05:20:02 -03:00
spartanj
f184be80f9 Removed unused code on HaikuTTF.
Changed cZip class, now use another library ( libzip and zlib ).
2010-08-23 05:16:13 -03:00
spartanj
28868341ec Added cTexturePacker. Utility class to create texture atlas and save the subtextures as shapes.
Added cTextureGroupLoader. Utility class to load the texture atlas saved shapes ( sync and async ).
Added cTexturePackerNode and cTexturePackerTex, both are helpers to create the texture atlas, and not visibles to the end user.
Added some helpers functions for file path management.
Added some new functions for cImage. scaling, resize, thumnails, copy image into image, and some others, and moved some cTexture functions to cImage.
Added stbi_info support for BMP,PSD,HDR,PIC in stb_image.
Added Progress() function to cResourceLoader, to know the current loading progress in percent ( 0%-100% ).
Added api calls to some classes. But i'm still looking how to work with DLL.
Modified some details in cTimer and cTimeElapsed.
The code was only tested on linux, so, still need some checking, but, it's a lot of code, so i'll commit it and fix bugs if it's necessary.
2010-08-20 01:47:07 -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