Commit Graph

156 Commits

Author SHA1 Message Date
spartanj
9f4f013a9e Added cUISelectButton control.
Added cUIWinMenu control ( window menu ).
Some minor changes on the UI controls.
2011-04-18 19:45:13 -03:00
spartanj
e6f8b70a1c Added anchors support for controls.
Added some keyboard behavior for the input buffer.
2011-04-10 04:28:15 -03:00
spartanj
6153da13e6 Some minor changes on the string class. 2011-03-20 02:47:15 -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
9f73ffbf05 Fixed some portability issues. 2011-03-13 02:26:56 -03:00
spartanj
97ca65ffbc Removed a couple of things that didn't make sense to continue in eepp. 2011-03-12 03:12:19 -03:00
spartanj
a8a61e4f16 Some minor changes. 2011-03-09 13:59:11 -03:00
spartanj
89dc42c352 Added Unload to the object loaders and resource loader. 2011-03-08 00:55:15 -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
0250c98ff8 Replaced wstrings with String internal class.
Removed all the unnecessary wide-strings.
Removed some wstring functions.
2011-03-06 02:37:54 -03:00
spartanj
cebcb3b2c2 Updated GLM. 2011-03-04 00:40:16 -03:00
spartanj
6559cd3e58 Added a string class for EEPP ( base on the SFML2 implementation ).
I'll start to replace all widechar strings with this class, so this will break compatibility heavily.
2011-03-02 19:28:24 -03:00
spartanj
5d125c08ac Updated Chipmunk and the wrapper.
Fixed some bad behaviour of the cTimeElapsed class.
2011-03-02 01:47:46 -03:00
spartanj
252bb4eca6 Fixed a critical bug, the pixel pack alignment wasn't assigned and produced crashes with non pow of 2 textures.
Fixed TakeScreenshot, now ensures the rendering from the global batch renderer before capturing the front buffer.
2011-02-26 19:02:11 -03:00
spartanj
66ae0fef0f Added cursor implementation for X11 and Windows. 2011-02-25 00:34:53 -03:00
spartanj
fe62d51328 Commented cEngine. 2011-02-23 03:39:38 -03:00
spartanj
54fb10c92b Fixed mutex on HaikuTTF.
Fixed the texture font loader, that for some reason i was forcing the threaded loading.
2011-02-20 17:34:44 -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
ef9e437edb Disable compilation of inactive backends. 2011-02-18 15:29:38 -03:00
spartanj
a4b6f2eb25 Minor change. 2011-02-18 05:27:10 -03:00
spartanj
27198232d8 Added a cursor manager class and a cursor class to manage window cursors.
Added support for cursors to the Allegro 5 backend.
Removed ShowCursor function, now it's in cCursorManager->Visible( true/false ).
Added console output to the log.
Fixed a two reported bugs in stb_image.
Added secure reallocation on the OpenGL 3/ES2 renderer, now realloc the buffer if the current buffer size it's not enough.
Updated some minor details on the audio module ( based on what i saw in the current SFML implementation ).
2011-02-18 05:12:28 -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
d34c8d768e Some minor fixes. Nothing relevant. 2011-02-16 05:14:42 -03:00
spartanj
9c81b69e8c Added platform specific implementation of window management functions, that can be used by any backend passing some basic arguments to handle the operations. 2011-02-13 06:06:07 -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
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
7937c4c4d4 Preparing SDL encapsulation.
Modified some things on the GL3 renderer.
2011-02-07 04:03:27 -03:00
spartanj
2ddddcdc4c Added some matrix manipulation functions on the renderers.
Fixed some state initialization errors on the GL3 renderer.
2011-02-06 05:09:52 -03:00
spartanj
c53f5e858c Added cShapeCircleSprite and cShapePolySprite ( sprites support for chipmunk wrapper ).
Fixed chipmunk wrapper default renderer.
2011-02-05 21:23:14 -03:00
spartanj
8b19225c22 Improving recompilation times. 2011-02-05 05:04:31 -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
9b57406ac0 Added integration to the eepp memory manager to HaikuTTF. 2011-02-04 04:43:02 -03:00
spartanj
6ebce79641 Fixed glClipPlane for OpenGL 3 renderer.
Replaced some math funcs with the correct eemathfuncs.
2011-02-04 02:23:57 -03:00
spartanj
9c2f355973 More work on GLES2 renderer. 2011-01-30 03:53:52 -03:00
spartanj
76c056f0f7 Preparing the GLES2 renderer. 2011-01-29 05:19:28 -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
a74fddc74c Still fighting with GLSL, some improvements where made. 2011-01-23 05:13:23 -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
ddb5dc1948 Added a lazy deallocator for the physics engine. Disabled by default.
Added GetWidth, GetHeight and HasDepthBuffer methos to cFrameBuffer.
Added settings.hpp for the physics engine, and added some options to define.
Added events to the UI Window buttons.
2011-01-16 03:19:49 -03:00
spartanj
1355b063e6 Added cBB as as wrapper of cpBB ( chipmunk ) 2011-01-15 17:56:29 -03:00
spartanj
035b5002b4 Fixed some bugs on the chipmunk wrapper implementation. 2011-01-15 03:53:33 -03:00
spartanj
9b911a5e6f Continued working on the physics implementation. Need test a lot, but it's mostly implemented, at least, the basis. 2011-01-14 05:28:03 -03:00
spartanj
3879da9f26 Started working on the Physics Engine, a Chipmunk OOP wrapper. 2011-01-12 04:34:54 -03:00
spartanj
d2a159caa3 A couple of quick fixes for the UI. 2011-01-09 19:37:03 -03:00
spartanj
e5fb4c98e3 Completed implementation of cUIWindow. 2011-01-09 19:29:08 -03:00
spartanj
613ad329cf Added cUIWindow, still in development, basic window is working ( no resizing from borders ).
Some UI bug fixes.
Some minor changes on cEngine where made.
2011-01-07 04:46:59 -03:00
spartanj
1fd2b1de28 Added Remove methods to cUIGenericGrid. I forgot them! 2010-12-29 13:16:32 -03:00