Commit Graph

16 Commits

Author SHA1 Message Date
spartanj@gmail.com
a608bebcad Added cIOStream class to manage special io streams not supported by the engine and to simplify in some cases io operations ( also added cIOStreamFile and cIOStreamMemory as basic io streams ).
Modified and added some functions using the cIOStream class.
2011-07-18 00:12:14 -03:00
spartanj@gmail.com
5c80592528 Moved safe SafeDataPointer to Utils as a generic class. 2011-07-09 03:21:55 -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
a514d37b1d Keep it working on the map editor, maps can now be saved, i'll implement the loading next.
Changed a little bit how to load from memory packs.
Fixed some minor bugs on the UI.
And many things that i can't remember, i forgot to make a commit yesterday.
2011-06-09 03:37:26 -03:00
spartanj
6c6c3f148d Improved the portability of the library, and fixed some things related to this.
Now the library compiles on Haiku OS with some minor tweaks ( disabling FBO and VAO ). And should compile on BSD and Solaris.
2011-02-20 05:42:34 -03:00
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
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
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
c4a1a36892 Fixed compilation with MSVC++. 2010-09-08 05:30:59 -03:00
spartanj
d9bd5d763f Added 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.
2010-08-30 00:07:43 -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
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
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00