Commit Graph

99 Commits

Author SHA1 Message Date
Martín Lucas Golini
bd62abfe02 cImage::GetInfo now also Fallback To Packs. 2013-05-29 15:16:55 -03:00
Martín Lucas Golini
bfb58a9f40 Added "sprites" example.
Assets in eetest are loaded directly from the file system.
App icon now is searched in the local relative path.
Fixed some minor bugs.
Added userdata pointer to the sprites events.
2013-05-29 14:34:42 -03:00
Martín Lucas Golini
1517278451 Removed the stb_vorbis warnings.
Fixed audio.hpp includes.
Fixed sound example formating.
2013-05-29 01:13:52 -03:00
Martín Lucas Golini
0d84deb7f8 Changed a little thing in the joystick test. 2013-05-28 01:41:41 -03:00
Martín Lucas Golini
66ecf6c89d Fixed some minor bugs. 2013-05-25 17:49:03 -03:00
Martín Lucas Golini
e64cfe07d3 Improved GLES2 support.
Fixed VBOs for GLES2.
Fixed a bug in texture size calculation.
2013-05-25 04:20:16 -03:00
Martín Lucas Golini
c68b9c75f4 Fixed context initialization on Android. 2013-05-20 03:13:08 -03:00
Martín Lucas Golini
a241bb7949 Fixed a bug in cUIScrollbar and fixed a bad scrollbar resize in the Map Editor.
Improved premake4 for Visual Studio and OS X.
Added Over control highlighting.
2013-05-19 03:56:28 -03:00
Martín Lucas Golini
f8209dc7ef Implemented touch scrolling for cUIListBox and cUIGenericGrid, usefull for touch screens. 2013-05-18 02:20:19 -03:00
Martín Lucas Golini
47c66e098c Added swap endianess functions to BitOp.
Some minor fixes to the Map Editor UI.
eeColorA Uint32 constructor now use RGBA format, and added a Uint32 constructor for eeColor in RGB format.
2013-01-23 03:07:00 -03:00
Martín Lucas Golini
0bf0808f30 Added a new default theme. 2013-01-21 02:44:07 -03:00
Martín Lucas Golini
d628bb19ba Documented EE::Graphics.
ePolygon2f::CreateRoundedPolygon is now ePolygon2f::CreateRoundedRectangle.
2013-01-20 01:46:15 -03:00
Martín Lucas Golini
e57fa199c3 Documented some classes.
Did some API changes in cSubTexture and cSprite.
Moved to protected the constructors of singleton classes.
2013-01-19 19:06:49 -03:00
Martín Lucas Golini
fcca2c9b36 Fixed a minor bug in the UI map.
Nearest texture filter is now forced by default for the UI themes.
2013-01-17 12:05:17 -03:00
Martín Lucas Golini
57f179a84e Updated the TODOs and the state of each of them.
Removed the empty file: glhelper.cpp.
2013-01-15 01:51:55 -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
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
47437749cd RenderType is now RenderMode.
cTextCache can now assign colors per char.
Fordward declared some classes.
cFrameBuffer constructor is now protected.
2013-01-09 16:50:00 -03:00
Martín Lucas Golini
f9c01974f6 Moved cSoundFileDefault and cSoundFileOgg to src ( this classes aren't public ).
Moved Sound States inside cSound.
2013-01-03 03:03:28 -03:00
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