Martín Lucas Golini
9fdffcabea
Renamed cImage::Size() to cImage::MemSize(), since it was confusing.
...
cImage::Size() now returns the image dimensions.
Changed how cUIControl::SetSkin works, it was confusing, now just spects a Skin const reference and make a copy from it.
Fixed DoAfterSetTheme to be virtual, now SetSkin works for all the controls.
Restructured cPrimitives.
Removed some Draw* calls, since it was a little bit bloated, sometimes less is more.
Also added fill mode, blend mode and line width as members of the instance of the primitives class, this way i reduced the number of parameters in almost all the functions, and, it's cleaner.
2013-01-03 02:24:28 -03:00
Martín Lucas Golini
e0361fc37f
Nothing relevant, i'm preparing ( well, i don't know if it'll work ) iOS premake support.
2012-12-20 12:41:39 -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
be32d5e049
Worked a little bit on the premake file.
2012-12-16 04:20:11 -03:00
Martín Lucas Golini
fcff1cb915
Removed the unused class cAudioResource.
...
Changed the assets path to "assets" instead of "data".
Removed the old openal.
2012-12-15 19:33:31 -03:00
spartanj@gmail.com
8f9df74af5
Added IsMaximized() to cWindow.
...
KeyCodeTables now are static in all backends.
2012-12-09 21:00:14 -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
810272e101
Fixed Doxyfile.
...
Changed in String class: toStr to ToStr and fromString to FromString ( since everthing else starts with uppercase characters ).
Added BitOp static class, just some helpers for bit operations.
2012-12-02 23:34:32 -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
604b926a7f
Fixed all texture atlas references names.
...
Changed texture atlas binary file extension to "eta" and magic code to EETA ( Entropia Engine Texture Atlas ).
Removed EE::Utils, moved classes to EE::Math and EE::System. Still deciding this, but i need to commit, because of the number of changes, i don't want to lose anything.
And many many changes more.
2012-11-30 22:54:42 -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
8209dbc108
Oh crap, it seems that some files have never been added into the repositories...!
...
On the other side, i broke everthing, eepp is starting to look better.
2012-11-29 17:34:18 -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
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
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
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
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
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
5e7aa33f01
GLES2 backend working.
...
Everything is working in the iOS port!
2012-06-04 17:20:42 -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
2ac3f5c2b4
Fixed a bug compiling with SDL 1.3
2012-03-24 18:35:41 -03:00
spartanj@gmail.com
2ad11b6085
Fixed some late deallocations on the UI.
...
Changed some texts on the commands of the console.
2012-02-25 19:42:54 -03:00
spartanj@gmail.com
99b3c679a1
Added some important access to some data in fonts, changed how the font texture coordinates are saved ( so you'll need to regenerate them ).
...
Fixed some minor bugs.
2012-02-23 15:23:07 -03:00
spartanj@gmail.com
7968ff683b
Implemented cUITabWidget.
2012-02-21 20:18:29 -03:00
spartanj@gmail.com
8ed729cc8b
Fixed a couple of bugs in cMap.
...
Cleaned up some skin code on the ui.
2012-02-19 23:53:56 -03:00
spartanj@gmail.com
9915d4438b
Improved android port ( quite a lot indeed ).
2012-01-21 16:01:17 -03:00
spartanj@gmail.com
2227798ee2
Some minor changes for the android port.
2012-01-16 03:34:35 -03:00
spartanj@gmail.com
7637555401
GlobalVolume now returns the correct value.
2011-11-21 12:48:54 -03:00
spartanj@gmail.com
becb98eabe
Optimized the lighting system.
...
Fixed a couple of bugs on the ui.
Fixed Mac OS X build.
2011-09-02 02:35:37 -03:00
spartanj@gmail.com
96c2b82e1e
Added/Fixed the compilation for GLES1 renderer.
...
Added scaling support for the maps.
Added a new method Draw in textures ( DrawEx2 ).
Added Project, UnProject, ProjectCurrent and UnProjectCurrent to the GL renderer.
Added SetMousePos function for the input, this will change the mouse position known by the input class, but it will not try to move the mouse cursor.
2011-08-25 02:29:36 -03:00
spartanj@gmail.com
d2c002f992
Removed InheritsFrom and IsTypeOrInheritsFrom, now it's contained in IsType.
...
Fixed IsType in cGameObjects.
2011-08-22 22:41:56 -03:00
spartanj@gmail.com
d94d27b5f9
Map background and grid now fade in/out with the map editor.
...
Log is saved by default in the process path directory.
Fixed the fist time elapsed in the windows, now it will return the correct time.
2011-08-21 03:07:42 -03:00
spartanj@gmail.com
d5f4dcb9c4
Worked on some changes on the audio engine.
...
cTextureFontLoader now doesn't create a new thread to load the texture.
2011-08-21 01:45:25 -03:00
spartanj@gmail.com
88763ffed7
Cleaned up a little HaikuTTF.
...
Fixed the allocator.
Touched a couple of things in the memory manager.
And some minor things.
2011-08-20 06:14:50 -03:00
spartanj@gmail.com
4d3c932d36
Added fallback to packs loaded support over the engine.
...
Cleaned up a little bit some code.
2011-08-19 01:46:56 -03:00
spartanj@gmail.com
2229d7fc4f
Added some usefull functions for the cursor manager.
...
Some minor clean up.
2011-08-17 03:46:49 -03:00
spartanj@gmail.com
bf6a9f888c
Cleaned up a little bit the particle system class.
2011-08-07 05:04:57 -03:00
spartanj@gmail.com
52524c0ce6
cWaypoints and cInterpolation now set the Speed in Pixels Per Second ( and cleaned up a little the code ).
...
Mutexes are now recursive.
Modified a little bit the cSprite class, i think that now i'm done with that, but not 100% sure yet.
2011-08-06 05:25:01 -03:00
spartanj@gmail.com
07fc41c9a0
Some changes over cSprite, this could change againt over course of this days.
...
Added some functions to the gameobjects, layers and map.
Added some mouse functions for the map editor.
Fixed a bug on the interpolations.
2011-08-04 03:49:12 -03:00
spartanj@gmail.com
35e5569767
Some minor fixes to the Map system and Map Editor.
2011-08-02 04:40:06 -03:00
spartanj@gmail.com
00f7e58004
Added a basic lighting system for the tile maps ( still lacks of support for saving/loading the lights data and lacks of support to add/remove lights from the map editor ).
...
Added a Pack Manager to keep track of the loaded packs.
Some minor changes over cPak and cZip.
And more minor changes...
2011-07-26 05:05:10 -03:00
spartanj@gmail.com
f347b8d9fb
Fixed a minor bug on cLog.
...
Removed some unused code.
2011-07-25 05:12:42 -03:00
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
fa59409ce9
Updated helpers libraries to the lastests versions.
2011-07-20 21:09:00 -03:00