Commit Graph

168 Commits

Author SHA1 Message Date
spartanj
fde007e44b Keep it creating some UI elements creators.
Chipmunk updated.
2011-05-30 23:35:09 -03:00
spartanj
037d6f7a92 Some minor changes to the UI.
And a small bug fix on utils.
2011-05-30 03:22:54 -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
18e4c925bd Some fixes to the cUICommonDialog.
Started workin on a tiled map class, layers, game objects, etc.
2011-05-23 04:20:30 -03:00
spartanj
2464680ab5 Changed how ui control types are stored.
Some minor ui fixes.
Added Step callback for waypoints and interpolation.
2011-05-09 04:31:38 -03:00
spartanj
d72cdd9e1b Fixed anchors.
Some minor changes to the UI.
Added cUICommonDialog control.
2011-05-07 20:44:56 -03:00
spartanj
1b5e82db21 Added Tab navigation on the UI.
Added keyboard shortcuts for the UI components.
Fixed some minor bugs.
2011-05-05 22:46:36 -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
4ed326a816 Some minor changes. 2011-05-01 03:46:30 -03:00
spartanj
e6d2c20dd7 Some minor changes on cUIWinMenu.
Changed default double click interval to 200 ms.
2011-04-20 04:06:55 -03:00
spartanj
5cd33cc4e9 Updated chipmunk 0.6 with the current beta. Removed some deprecated functions, still lacks of some new functions, i'll add them soon. 2011-04-19 04:48:02 -03:00
spartanj
ee44006033 Small bugfix on cUIWindow. 2011-04-19 02:23:45 -03:00
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