Commit Graph

23 Commits

Author SHA1 Message Date
spartanj
2cc55ea68a I made some structural changes, and i'm trying to encapsulate a little the renderer to in a future implement an OpenGL3 render, and remove the fixed pipeline. 2011-01-18 04:43:40 -03:00
spartanj
f7ffec103f Removed eeRGB and eeRGBA from the projects, and removed the parameter ColorKey in favor to the use of CreateMaskFromColor or setting the color key manually in the cTextureLoader.
Now the user can add new theme elements to search on the theme loading ( to be able to expand the themes without touching the source code of the library ).
2010-12-19 05:02:39 -03:00
spartanj
2ab8e3eedd PopUp Menu now response on Mouse Up instead on Click.
Renamed singleton.hpp to tsingleton.hpp for consistency.
Fixed GLES rendering.
2010-12-13 23:13:05 -03:00
spartanj
52f264753f Optimized memory usage of cUIListBox.
Optimized polygon2 template.
2010-11-22 18:39:06 -03:00
spartanj
181326273d Added cUIPushButton.
Added debug helper functions.
Fixed some skin state changes.
Improved UI performance.
Changed EE_PLATFORM_WIN32 for EE_PLATFORM_WIN, and added as platform WIN64.
Added detection of 64bits compilation.
Implemented some asserts.
2010-10-09 04:47:50 -03:00
spartanj
c4a1a36892 Fixed compilation with MSVC++. 2010-09-08 05:30:59 -03:00
spartanj
6432fa9a9b Added 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.
2010-09-04 05:28:41 -03:00
spartanj
f8703cd568 Added 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 ).
2010-09-03 02:53:14 -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
faf116fdde Added 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.
2010-08-15 19:03:23 -03:00
spartanj
0a13a70ffa Fixed some compiler warnings. 2010-08-03 17:53:08 -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
8407055826 Fixed cShape texture caching.
Added some minor changes.
2010-07-25 16:39:33 -03:00
spartanj
9bb368be69 Updated stb_image, thanks to sean for the fix! 2010-07-25 01:54:17 -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
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
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00