Commit Graph

29 Commits

Author SHA1 Message Date
spartanj@gmail.com
b5be87e7a3 Added cTextureGroupEditor ( to create / edit texture groups ).
Fixed stbi_info ( need more testing ).
Some minor changes.
2011-07-24 04:42:34 -03:00
spartanj@gmail.com
c80724a90b Some minor fixes, map editor almost complete. 2011-07-19 04:36:20 -03:00
spartanj@gmail.com
7b6a6ee817 Added/Fixed support for Mac OS X.
Added/Fixed support for 64 bits platforms.
2011-07-11 02:39:21 -03:00
spartanj
772bae4768 Added access to the loaded textures on the texture group loader.
Added live write option to the log, to force non-delayed writing to the file.
Added a try catch to the cWindowAl window creation.
Fixed a mayor bug on the SOIL texture loading, that caused to segfault when tried to resize a non-power of two texture.
Fixed a minor bug on the VBO.
Fixed a minor bug on cUIWinMenu.
Fixed how the SDL version is consulted on SDL 1.2 backend.
Updated chipmunk.
Updated Windows eetest cbp project.
2011-05-27 03:11:15 -03:00
spartanj
bc3df897c3 Added SDL 1.3 backend ( wip, working on linux, i suppose that works on the rest os, but not tested ). 2011-05-02 01:44:45 -03:00
spartanj
42c845bce7 Renamed AppPath() for GetProcessPath()
Renamed GetNumCPUs() for GetCPUCount()
GetProcessPath() Added Haiku, BSD and Solaris implementations.
Added GetOSName()
Added GetOSArchitecture()
Changed some SOIL_load_image calls for stbi_load ( avoid depending in SOIL when isn't needed ).
Fixed a bug on cWindow::mFrameData, the structure values werent initialized and in some rare case scenario this provoked a crash.
2011-03-14 02:42:47 -03:00
spartanj
b377d3cadb Fixed some minor things, and removed some pedantic warnings.
Removed GLU dependency.
2011-03-06 16:39:57 -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
66cd831a52 Working on a new backend, using Allegro 5 ( this is to add support for iPhone ). It's working, but not finished for a desktop use. 2011-02-10 04:18:11 -03:00
spartanj
896be4d28a Big changes here.
Created a backend system for the window-input management. So now it will be a los easier to port to another windows library/platform.
Since this is a big commit, it's probably that some bugs where introduced, but i tested all that i could, and it's working fine.
I'll probably add a cursor manager backend because right now there is no cursor management at all, i removed the CreateCursor function because it was unusable.
2011-02-09 03:30:05 -03:00
spartanj
94b7868bbf Added support for GLES to SOIL.
Added GLM as part of the helpers.
Added conditional GLES compilation on the makefile, just for testing for the moment.
2011-02-04 16:49:13 -03:00
spartanj
02e00d7315 Some work on the OpenGL 3 renderer. 2011-01-22 14:41:26 -03:00
spartanj
3879da9f26 Started working on the Physics Engine, a Chipmunk OOP wrapper. 2011-01-12 04:34:54 -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
8b4dbc7f30 Some minor optimizations. 2010-12-12 04:23:01 -03:00
spartanj
1a6b3aff5b Added cUISprite.
Removed SDL fallback for HaikuTTF.
Reimplemented cThread and cMutex without SDL.
Disabled ClipTo() function for the UI Controls ( testing, i don't event remember why that was there ).
Implemented a function to set menu position always inside the screen.
Control Flags are now in enums instead of defines.
2010-12-11 19:54:39 -03:00
spartanj
cbe21604a7 Makefile auto create objects output directories. 2010-12-10 00:33:28 -03:00
spartanj
134237d14b Addedd SubMenues.
Fixed and improved some minor things.
2010-12-08 23:24:46 -03:00
spartanj
85134974c3 Added menu checkbox.
Fixed some bugs.
2010-12-07 21:44:44 -03:00
spartanj
0575be5836 Modified the Makefile to support correct recompilation of modified files and now the objects files are stored in a separated folder.
Added OnItemClicked Event.
2010-12-07 01:24:51 -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
f547f9b121 Removed fastevents (unnecesary). 2010-07-14 03:33:55 -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
2f0d7efa7e Added support for Zip files and fixed some minor bugs on cPak. 2010-07-03 16:00:17 -03:00
spartanj
c00a979022 Some progress on the UI, now support event callbacks. 2010-06-29 22:46:56 -03:00
spartanj
f6c1ba01de Commiting current trunk. 2010-06-26 14:10:51 -03:00