Commit Graph

555 Commits

Author SHA1 Message Date
spartanj@gmail.com
888eb0fd1e Removed unused math funcs.
Changed StoragePath to GetStoragePath.
2012-11-29 14:56:24 -03:00
spartanj@gmail.com
0e34b47b31 Removed string.hpp and moved all to the String class.
Created FileSystem and Sys static classes, moved things from utils.hpp and string.hpp.
Changed SDL2 files name, to *sdl2.*pp.
Modified a little bit the Makefile.
Removed all the references to SDL 1.3, since it doesn't exists anymore.
Added eevsnprintf, removed a lot of "#ifdef EE_COMPILER_MSVC".
Still i couldn't make a lot of changes planned, so it's WIP, code probably broken in other platforms besides Linux.
2012-11-29 02:43:17 -03:00
spartanj@gmail.com
483df6ef9f Changed SOIL to SOIL2 subrepository.
Updated the paths to SOIL2.
2012-11-27 17:11:50 -03:00
spartanj@gmail.com
9fe2abd82f Added subrepo ( i think that now its working ). 2012-11-27 16:58:53 -03:00
spartanj@gmail.com
8d070f136a Testing subrepositories. 2012-11-27 16:46:56 -03:00
spartanj@gmail.com
93ae458174 Cleaned up a little bit the code,to include stl only when is needed.
Reduced compilation time because of this.
Moved SOIL to src, api not exposed anymore.
Renamed the demos and examples namespaces.
2012-11-27 01:16:26 -03:00
spartanj@gmail.com
cd20107002 Exposed some stbi functionality in cImage.
Moved a couple of functions to cImage.
2012-11-25 02:47:06 -03:00
spartanj@gmail.com
3bc45faa5c Moved some private classes from include to src. 2012-11-25 02:13:47 -03:00
spartanj@gmail.com
074c257ff6 Moved glm to the source, removed from the includes.
Cleaned some incoherent things in cUITheme.
Moved FBO and PBuffer headers to source.
Moved Backend header to source.
2012-11-25 00:03:25 -03:00
spartanj@gmail.com
c031cd80f9 Updated Chipmunk to 6.1.2 2012-11-23 22:55:47 -03:00
spartanj@gmail.com
5f60e288db Striped down GLM as much as i could and updated to the lastest version.
Removed some Clang compiler warnings.
2012-11-23 02:08:05 -03:00
spartanj@gmail.com
099f476243 Fixed GCC 4.7 compilation. 2012-11-17 19:21:18 -03:00
spartanj@gmail.com
b12e1d4ebf Some minor fixes. 2012-11-13 01:04:15 -03:00
spartanj@gmail.com
004ad4a8f3 Fixed IsDirectory for windows.
Fixed dll export for windows.
Some minor changes.
2012-10-31 00:20:43 -03:00
spartanj@gmail.com
c396f97994 Added an SFML backend. It's not fully tested, and it doesn't work like the others, SFML is more restricted, i can't do many things than in SDL and allegro i can, so i will always be a second class citizen. 2012-10-21 01:29:23 -03:00
spartanj@gmail.com
56b5f0c140 Ups!! Forgot to update the include files too.
Fixed a little bug in CreateWindowSettings.
2012-10-15 10:55:45 -03:00
spartanj@gmail.com
0cc276d89b Added InputEvent::TextInput event.
Added support to switcheable backends without recompiling.
Added some helpers to load WindowSettings and ContextSettings from an ini file.
Moved default Demo to a Demo namespace.
Optimized cGameObjectsShapeEx lights.
Changed some functions names to CamelCase.
cIniFile avoids to re-read files.
Windows 8 and Windows Server 2012 now are correctly detected.
2012-10-15 02:33:01 -03:00
spartanj@gmail.com
88aae1880c Fixed VBOs for GLES 2 renderer.
Optimized a little bit GLES 2 pipeline shaders.
2012-07-01 00:21:08 -03:00
spartanj@gmail.com
661b9dad1d Fixed a bug in stb_image psd loader. 2012-06-25 23:32:17 -03:00
spartanj@gmail.com
dce1d97620 I played a little bit more with the external shader example.
Now also works without shaders.
2012-06-19 01:39:58 -03:00
spartanj@gmail.com
def64c6995 Fixed small memory leak, forgot to delete gl context in SDL 2 backend. 2012-06-17 18:08:19 -03:00
spartanj@gmail.com
81c78d960a Added a new example.
Separated the Makefile in two parts.
2012-06-17 02:03:11 -03:00
spartanj@gmail.com
2335f2d3b8 Some minor changes on the UI, nothing relevant. 2012-06-15 00:10:35 -03:00
spartanj@gmail.com
64d0256ea4 Now it's possible to compile with GLES1 and GLES2 support ( on platforms that support both of them ).
This enable switching renderers without the need of recompiling.
2012-06-12 13:56:58 -03:00
spartanj@gmail.com
e064e0d6a7 Splited GL3 and GLES2 renderer in two separated renderers.
Optimized the GLES2 renderer for the iPhone/iPod devices ( not perfect yet, but much more usable ).
2012-06-11 16:59:18 -03:00
spartanj@gmail.com
63f1a438d5 Cleaned up eetest. 2012-06-10 00:40:25 -03:00
spartanj@gmail.com
40a1c5c777 Removed some unused things in the base shader for gles2 and ogl3 2012-06-09 23:57:08 -03:00
spartanj@gmail.com
ff0d35f212 Added Visual Studio 2010 projects ( static and dynamic compilation, and one example ). 2012-06-09 21:02:56 -03:00
spartanj@gmail.com
9c7911871b Fixed some compatibilitie issues with VC++. 2012-06-09 05:33:03 -03:00
spartanj@gmail.com
5327c09951 Fixed a regression in VBO's. 2012-06-09 02:02:44 -03:00
spartanj@gmail.com
b0aa06eb87 Restructured the project.
Now header files are inside the include folder, and the source files inside src.
Moved the projects files inside a projects folder.
Precompiled static libs will be inside libs folder.
2012-06-09 00:54:06 -03:00
spartanj@gmail.com
43808e7297 Small fix. 2012-06-07 02:51:51 -03:00
spartanj@gmail.com
e9f3806165 Cleaned up the OpenGL 3 and ES 2 renderer as much as i could ( it's working faster on desktop, same performance as the fixed-pipeline ). 2012-06-07 02:37:54 -03:00
spartanj@gmail.com
613fc3e567 Partial commit, i'm optimizing GLES 2 and OpenGL 3 renderes.
It works like sh*t on the iPhone.
2012-06-07 01:25:00 -03:00
spartanj@gmail.com
0c731333cc Fixed some design inconsistencies. 2012-06-06 16:34:43 -03:00
spartanj@gmail.com
12e5a8fce6 ClampMode now applied correctly in textures. 2012-06-05 03:23:35 -03:00
spartanj@gmail.com
5231089a10 WindowStyle::Default assigned depending of the platform. 2012-06-04 21:02:42 -03:00
spartanj@gmail.com
d09e404d6f Little changes on the FBO. 2012-06-04 20:53:24 -03:00
spartanj@gmail.com
5e7aa33f01 GLES2 backend working.
Everything is working in the iOS port!
2012-06-04 17:20:42 -03:00
spartanj@gmail.com
a817b9fbda Fighting with the GLES2 backend. 2012-06-04 04:31:22 -03:00
spartanj@gmail.com
26da071857 Multitouch support implemented and working for SDL2 backend. 2012-06-03 23:54:01 -03:00
spartanj@gmail.com
cd8a9486f9 Disabled finger events for a moment, i'll implement them tomorrow. 2012-06-03 04:15:07 -03:00
spartanj@gmail.com
8d5b43e99f Activated iPhone PNG support. 2012-06-03 02:16:55 -03:00
spartanj@gmail.com
dc7f31c0ae Some minor fixes.
GLES2 shaders now compiles, but it seems that it's not working.
2012-06-03 00:16:37 -03:00
spartanj@gmail.com
66b1958e80 Fixed a little bug in the console. 2012-06-01 02:19:28 -03:00
spartanj@gmail.com
cab95cabf5 Fixed. 2012-05-31 18:42:37 -03:00
spartanj@gmail.com
b94b50ee9f Some minor fixes. 2012-05-31 16:00:45 -03:00
spartanj@gmail.com
89aa9489bb Various fixes 2012-05-30 03:59:26 -03:00
spartanj@gmail.com
45bf52ed51 Updated Makefile to support compiling eepp as static library for iOS. (WIP)
Moved freetype2 to helper.
2012-05-26 05:13:34 -03:00
spartanj@gmail.com
8b2dab3976 Removed freetype2 headers, used the android headers. 2012-05-16 20:40:21 -03:00