Commit Graph

19 Commits

Author SHA1 Message Date
spartanj
0a0530f52f Fixed MSVC compilation.
Removed some warnings.
Fixed a couple of bugs.
2010-10-16 21:52:34 -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
661ad2260a Added basic theming support for the UI ( work in progress ).
Added padding support for the textbox and textinput.
Some minor fixes.
2010-10-08 04:15:22 -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
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
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
bb8760ec42 Fixed 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 ).
2010-08-25 01:47:33 -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
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
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
b374cbc282 Updated stb_image.
Removed cShapeManager ( i forgot to remove it ).
Added FileWrite function.
2010-08-01 19:52:38 -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
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
2f0d7efa7e Added support for Zip files and fixed some minor bugs on cPak. 2010-07-03 16:00:17 -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