Commit Graph

20 Commits

Author SHA1 Message Date
spartanj
a8260edafb Added automatic conversion from GLSL shader from fixed pipeline to programmable.
Added some code to support multitexturing on the programmable pipeline ( not tested ).
Makefile updated.
2011-02-17 05:54:52 -03:00
spartanj
18b2fb5eb5 Implemented Joystick support for the Allegro 5 backend.
Fixed the Joystick implementation for SDL.
Changed how axis are reported, now values go from -1 to 1.
Cleaned up some minor details.
Fixed window creation and resizing on Allegro 5 backend.
2011-02-11 04:39:37 -03:00
spartanj
9c2f355973 More work on GLES2 renderer. 2011-01-30 03:53:52 -03:00
spartanj
356be73428 Preparing the GLES2 renderer. 2011-01-28 22:58:47 -03:00
spartanj
c3ff9b474f Some work on the OpenGL 3 renderer. 2011-01-27 05:09:31 -03:00
spartanj
02e00d7315 Some work on the OpenGL 3 renderer. 2011-01-22 14:41:26 -03:00
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
b2e5b1a8a6 Added a new draw to cShape.
Now the batch renderer is enabled by default ( before was forcing the renders always ). So i fixed all the bugs around this.
Fixed a bad texture rendering when tried to render in isometric mode and a sector of a texture.
2010-12-14 04:23:19 -03:00
spartanj
9d7ff55c7a Fixed Shader Program Handler. 2010-09-11 04:03:47 -03:00
spartanj
89bb55df44 Restore on context lost vertex buffers and frame buffers.
Fixed some compiler warnings.
2010-09-09 16:44:31 -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
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
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
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
0048fa6dfb Fixed some bugs, added rounder rectangles. 2010-06-30 23:35:28 -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