Commit Graph

39 Commits

Author SHA1 Message Date
Martín Lucas Golini
ba3781229d Graphic module improvements.
--HG--
branch : dev
2017-02-17 23:22:49 -03:00
Martín Lucas Golini
fdf67752a3 Math module improvements.
--HG--
branch : dev
2017-02-17 19:16:39 -03:00
Martín Lucas Golini
ca90d606f3 Windows module improved.
--HG--
branch : dev
2017-02-17 17:47:41 -03:00
Martí­n Lucas Golini
4ec135cedb Graphics module refactored.
SFML backend refactored.

--HG--
branch : dev
2017-02-16 03:31:08 -03:00
Martí­n Lucas Golini
4eefeb4cd3 Window module refactored.
--HG--
branch : dev
2017-02-15 01:31:37 -03:00
Martí­n Lucas Golini
35955a80bd Math module refactored.
--HG--
branch : dev
2017-02-14 23:23:24 -03:00
Martín Lucas Golini
b36dd33246 Refactoring WIP.
Changing the function naming convention from CamelCase to camelCase.

--HG--
branch : dev
2017-02-14 18:09:25 -03:00
Martín Lucas Golini
cc3f05307a Some minor changes in the String functions. 2014-07-27 04:18:18 -03:00
Martín Lucas Golini
0c7385a3c8 Graphics module refactored. 2014-06-22 20:29:23 -03:00
Martín Lucas Golini
9406e81b2c Renamed cWindow to Window in EE::Window... Window, Window Window.
I don't like it but i don't other option.
2014-06-16 00:11:32 -03:00
Martín Lucas Golini
4b31bb9fbc Working on the Window refactoring. 2014-06-14 18:50:04 -03:00
Martín Lucas Golini
98df342f8b Math Module refactored. 2014-06-14 17:39:35 -03:00
Martín Lucas Golini
c865d2c09f Refactored Colors.
Removed PBuffer support.
Abstracted WMInfo.
2014-06-14 05:51:39 -03:00
Martín Lucas Golini
f9455c7556 Starting the redesign of eepp. This is the beggining of eepp 2, that basically
means a huge code refactoring, i'll remove eepp ugly conventions ( classes names
starting with c, static things with s, etc ).
First Changes:
No more eeFloat, eeDouble, eeUint, eeInt:
eeDouble isn't needed, so we use double.
eeFloat is ugly, i prefer Float.
eeUint is just unsigned int, and eeInt just... int!
No more sophist.h
Started hiding OpenGL, cGL now use standard types ( soon will be renamed ).
Added glextensions, glew isn't visible for the end user anymore.
( i'm looking for alternatives here, i'm not happy with GLEW ).
2014-06-14 02:43:42 -03:00
Martín Lucas Golini
2e016791da Made all the examples Emscripten friendly.
cWindow::Display( bool clear = false ) now doesn't Clear by default.
Fixed a bug in cSprite::GetAABB().
2013-11-14 02:30:46 -03:00
Martín Lucas Golini
d40a10a07c Updated SOIL2. 2013-11-13 02:40:10 -03:00
Martín Lucas Golini
45d3b22039 Added OpenGL Core Profile support. 2013-11-03 04:17:57 -03:00
Martín Lucas Golini
d51af3c6b3 Compilation fixes for 64bit builds. 2013-10-21 01:59:07 -03:00
Martín Lucas Golini
cff7eb600f Added support for AsyncRequests in cHttp.
Added cThreadLocal and tThreadLocalPtr ( needed for the async requests ).
2013-09-30 02:04:06 -03:00
Martín Lucas Golini
f09797c91c String::ToWideString wasn't returning a wide string...!
Enabled wide strings for Android ( i'll never target Android < 2.3 ).
EE_MAIN_FUNC is back, it was needed for the Android build ( i forgot about it ).
2013-08-29 02:01:59 -03:00
Martín Lucas Golini
3da6497420 Replaced EE_DYNAMIC for EE_STATIC, so now you need to specify that you are using
eepp as a static library, since the majority of the people will use the dynamic
it seems logic to use dynamic by default.
Removed all the EE_MAIN_FUNC and "main" func hacks, except the android and ios
ones that can't be removed ( i probably broke something here, it's a WIP.
Fixed Android compilation.
Added eepp-main.
2013-08-24 19:43:22 -03:00
Martín Lucas Golini
02dbfc3f1d Fixed tRECT::Scale.
Fixed some details with the GL Context creation.
Added cVertexBuffer::Clear method.
Added Stencil Func/Op/Mask and ColorMask functions to the GL wrapper.
Changed Video Resize Callback to pass the window as parameter.
Some minor changes in the BatchRenderer.
2013-07-13 03:04:10 -03:00
Martín Lucas Golini
7a0d04a0e9 Added fonts example.
Removed the allocation size parameter from the ColorPointer, VertexPointer and TexCoordPointer functions.
And some minor changes.
2013-06-02 02:23:38 -03:00
Martín Lucas Golini
c6aac22210 Some minor changes to make it more VS friendly. 2013-05-19 14:07:33 -03:00
Martín Lucas Golini
0a741f2bc3 Added CreateSelectButton to cUITheme.
Added GetPrevState to cUISkinState.
Hided fonts constructors ( to avoid problems in the font manager if this are instanciated inside a function ).
Fixed the BLENDONE BlendMode.
Working in adding Polygons to the Map and Map Editor ( in very early stage ).
2013-01-11 01:22:55 -03:00
Martín Lucas Golini
9b746df064 Added a little optimization of the external_shader demo for ARM. 2013-01-10 01:57:56 -03:00
Martín Lucas Golini
9af8bd4912 Fixed cLog text flush.
Moved some public constructors in classes that are managed by a Resource Manager, because, they need an instance created with new.
Removed DrawEx2 from cTexture.
2013-01-09 23:39:37 -03:00
Martín Lucas Golini
22b6a09477 Updated SDL2 version for iOS.
Removed a hard fix of an old SDL2 bug.
2012-12-28 18:13:40 -03:00
Martín Lucas Golini
1f42c01174 Fixed hgignore. It was ignoring files that didn't have to.
Added the files wrongly ignored.
Changed EE::MemoryManager::LogResults() to EE::MemoryManager::ShowResults().
Because it's not loging anything!
2012-12-17 00:29:06 -03:00
Martín Lucas Golini
8ce9ebeaa8 Updated SDL 2.
Android port now auto opens the application apk, and use it as a virtual file system.
2012-12-13 14:45:15 -03:00
spartanj@gmail.com
882c2a26d7 Cleaned up Math module. Still thinking about this.
Move all the collision code to the respective templates, instead of containing all in the math.hpp file.
Removed unnecesary dependency of EE::System on EE::Math, not really needed.
2012-12-03 17:52:26 -03:00
spartanj@gmail.com
ce2f9f008c Added loading for textures from iostream.
Changed GetPosition to Tell in cIOStream.
2012-12-02 00:40:05 -03:00
spartanj@gmail.com
40086e3bc3 Added BlendMode class to set the blend mode, since it doesn't make sense to control the blend mode in the texture factory.
Added Clear() method to cWindow, to allow the user to control WHEN clear the buffers.
Added some operators to eeColorA.
Fixed BlendMode for FBO's.
Hided cTexture constructors, the only class that it's allowed to create textures is cTextureFactory.
2012-12-01 20:06:11 -03:00
spartanj@gmail.com
8e1988a392 Inlined math functions.
Removed using namespace EE::Math inside eepp ( i'm not sure why yet... :) )
2012-11-30 01:37:15 -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
004ad4a8f3 Fixed IsDirectory for windows.
Fixed dll export for windows.
Some minor changes.
2012-10-31 00:20:43 -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
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
81c78d960a Added a new example.
Separated the Makefile in two parts.
2012-06-17 02:03:11 -03:00