79c61b9ce8Changed MTRand class to cMTRand. Added Update on VertexBuffer to update the data from memory to the gpu ( only usefull for the VBO ). Updated windows project. Changed EE_TEX_FILTER enum.
spartanj
2010-09-04 21:45:38 -03:00
6432fa9a9bAdded support for multitexture binding. Added some functions for tex env managing. Modified some enum names from renders. Added a pixel separator for characters in the ttf creation ( optional ). Moved some OpenGL and GLEW things to cGL, this is for a future implementation with OpenGL ES and without GLEW. Tryed to fix a bad rendering bug when clipping controls with borders ( borders disappear ), i think that the hack is working. Modified some name conventions.
spartanj
2010-09-04 05:28:41 -03:00
f8703cd568Added Vertex Buffer support ( cVertexBuffer base class (interface), cVertexBufferOGL fallback if gpu doesn't support VBO's, cVertexBufferVBO uses ARB Vertex Buffer Object ). Added a Memory Manager to trace memory leaks. Fixed some memory leaks detected with the new memory manager. Added an allocator for STL ( to use it with the custom allocation seted in the memory manager ). Fixed Makefiles ( i wroke them ).
spartanj
2010-09-03 02:53:14 -03:00
d9bd5d763fAdded UpdateTextureAtlas function on cTextureGroupLoader. This is to update a current texture atlas, it will check if some image was changed and update it, and if some images where added or removed it will recreate the whole texture atlas. Changed the name of the singleton template from cSingleton to tSingleton ( c is for class, and t for template, that's why i changed ). Removed the using namespace std, and added std:: to the std methods and templates. Added some API calls for windows dll. Added SaveTypeToExtension and DirPathAddSlashAtEnd on utils.
spartanj
2010-08-30 00:07:43 -03:00
bb8760ec42Fixed Mac OS X compilation, bug removed temporally the context access on Mac OS X, this is not necessary for any functionality right now. It was added for the PBuffer class, but i'll not implement PBuffers on Mac OS X until i understand how Carbon and Cocoa works, and i don't have direct access to a Mac OS X ( only from a VM, and works slow as a cart ). Changed the platform name from Apple to Mac OS X ( i don't even know what i was thinking when a put Apple as a Platform :P ).
spartanj
2010-08-25 01:47:33 -03:00
66ead32bccAdded 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.
spartanj
2010-08-24 05:20:02 -03:00
99f14bbd62Fixed Windows compilation.
spartanj
2010-08-23 15:01:02 -03:00
f184be80f9Removed unused code on HaikuTTF. Changed cZip class, now use another library ( libzip and zlib ).
spartanj
2010-08-23 05:16:13 -03:00
41b55c8faaAdded 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.
spartanj
2010-08-22 19:55:16 -03:00
b6fd66beacAdded support for OpenGL ES rendering ( not implemented really, just modified some renderings to render for OpenGL ES compilant code ).
spartanj
2010-08-22 04:02:51 -03:00
f06d48c04aSome minor changes on the packer and the batchrenderer.
spartanj
2010-08-21 02:05:22 -03:00
28868341ecAdded 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.
spartanj
2010-08-20 01:47:07 -03:00
faf116fddeAdded support for Mac OS X. Fixed shader reloading. Added pack loading for shaders. Added support for direct loading of compressed textures ( direct upload to vram ). Added cImage class.
spartanj
2010-08-15 19:03:23 -03:00
0a13a70ffaFixed some compiler warnings.
spartanj
2010-08-03 17:53:08 -03:00
b374cbc282Updated stb_image. Removed cShapeManager ( i forgot to remove it ). Added FileWrite function.
spartanj
2010-08-01 19:52:38 -03:00
74e6eacd15Added 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 ).
spartanj
2010-08-01 18:16:27 -03:00
0a3d6e0728Added cShapeGroup, cShapeGroupManager and cGlobalShapeGroup ( replazing the cShapeManager, now it's possible to group shapes by a pattern ). Changed some minor things on the singleton.
spartanj
2010-08-01 00:52:15 -03:00
9a20892c55Two minor changes.
spartanj
2010-07-31 04:52:28 -03:00
19a7aafb51Added 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.
spartanj
2010-07-31 04:15:09 -03:00
39312a23ddOptimized 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.
spartanj
2010-07-30 00:59:49 -03:00
4c07441c77Fixed compilation on windows. Fixed shaders reload ( after context lost ). Fixed some compiler warnings on gcc (mingw32). Added Windows Code::Blocks Project file.
spartanj
2010-07-27 03:44:40 -03:00
c967cda05dAdded 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 ).
spartanj
2010-07-27 00:35:22 -03:00
a7774298b0Cleaned a little Audio system. Added support for stream seeking. Cleaned a little HaikuTTF. Updated GLEW.
spartanj
2010-07-26 00:37:38 -03:00
8407055826Fixed cShape texture caching. Added some minor changes.
spartanj
2010-07-25 16:39:33 -03:00
75b1a4e148Changed the way that textures lock and unlock.
spartanj
2010-07-25 02:54:54 -03:00
9bb368be69Updated stb_image, thanks to sean for the fix!
spartanj
2010-07-25 01:54:17 -03:00
6ca27face4Reverted stb_image version until png loading get fixed.
spartanj
2010-07-24 21:56:35 -03:00
b0c6069785Updated stb_image with the last version ( gif read support, png write support )
spartanj
2010-07-18 17:49:28 -03:00
d91c1e7f5cOptimized SOIL to load faster in some cases the textures.
spartanj
2010-07-18 16:57:28 -03:00
b021ec49efWorking 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 ).
spartanj
2010-07-18 04:08:35 -03:00
3a5ef5289cSome minor changes. Nothing important.
spartanj
2010-07-17 15:00:49 -03:00
5dbb935102Fixed two huge memory leaks. Next time i'll sleep before programming. :P
spartanj
2010-07-13 02:45:29 -03:00
8e197828a8Removed 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.
spartanj
2010-07-11 19:17:01 -03:00
387198ff6fSome changes on texture factory.
spartanj
2010-07-09 19:04:25 -03:00
4497106b0aUpdated stb_image with the lastest version ( merged some files ). Fixed a memory leak.
spartanj
2010-07-08 05:16:46 -03:00
c3ef149618Fixed 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 ).
spartanj
2010-07-08 02:37:47 -03:00
2f0d7efa7eAdded support for Zip files and fixed some minor bugs on cPak.
spartanj
2010-07-03 16:00:17 -03:00
0048fa6dfbFixed some bugs, added rounder rectangles.
spartanj
2010-06-30 23:35:28 -03:00
c00a979022Some progress on the UI, now support event callbacks.
spartanj
2010-06-29 22:46:56 -03:00
4b87cdf19cFixed a bug on the iso map.
spartanj
2010-06-28 03:29:03 -03:00
b6502cd856Some fixes to the UI.
spartanj
2010-06-28 03:15:01 -03:00
dc93fa9638Added a shader program manager.
spartanj
2010-06-26 21:54:02 -03:00
f6c1ba01deCommiting current trunk.
spartanj
2010-06-26 14:10:51 -03:00