Martín Lucas Golini
721251e9ac
Added cUIControl::WorldToControl and cUIControl::ControlToWorld.
...
Added cFont::FindClosestCursorPosFromPoint.
Added cUITextInput support for cursor position on mouse click.
Added Vector2::Scale and a couple of operators.
Renamed Quad2::RotateVectorCentered to Quad2::Rotate.
Renamed Vector2::RotateVector to Vector2::Rotate.
2013-12-08 03:41:15 -03:00
Martín Lucas Golini
30eea9934b
Textures loaded from other thread than the main gl context thread, will use the
...
shared opengl context if available.
2013-11-19 02:30:43 -03:00
Martín Lucas Golini
0d0e582a78
Scaling elements now is done per axis.
2013-11-17 12:22:43 -03:00
Martín Lucas Golini
4bb1d7352c
Fixed a bug in cTextCache::Color
2013-11-15 01:45:49 -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
2e2c79d5fa
Updated SOIL2.
...
Exposed the "GL_OES_compressed_ETC1_RGB8_texture" extension for desktops.
SDL2 window now is destroyed.
Changed cUIControlAnim::AngleInterpolation to cUIControlAnim::RotationInterpolation.
2013-10-05 21:29:59 -03:00
Martín Lucas Golini
31b54a71ec
Now can be seted alpha to the color of the text cache.
...
Fixed alpha to cUITextBox when used custom colors.
2013-10-03 00:12:52 -03:00
Martín Lucas Golini
2850ab6bed
Experimental changes, WARNING.
2013-10-01 18:19:52 -03:00
Martín Lucas Golini
7822e31919
Added Scroll Padding to cUIListBox ( this is needed algo in the cUIGenericGrid ).
...
cUIDragable reports control dragging to avoid focusing problems.
2013-09-30 23:46:11 -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
aeb6dd4f07
Some code clean up:
...
Time is always measured with cTime.
Debugging log texts now are called with eePRINT/eePRINTL/eePRINTC.
Added some patches to EE::Network:
Request Methods: Head, Put, Delete added.
Support for chunked transfers in cHttp.
Changed version, we are now at 0.9.5, codename "Makyo".
2013-09-29 02:51:05 -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
90d5833430
Fixed a Color::Blend, it was having problems with the floating point precision.
2013-08-23 23:06:52 -03:00
Martín Lucas Golini
54b491f623
Some minor additions to cImage.
...
And some minor changes in cIniFile.
cTexture now is NonCopyable.
cUIMenu checkbox creation now let you choose if is active when created.
2013-08-23 19:48:13 -03:00
Martín Lucas Golini
9409443df5
Fixd VC++ compilation.
...
SDL2 is now the default backend for VC++.
2013-08-16 00:39:51 -03:00
Martín Lucas Golini
f6a62fd5e0
Implemented changes to support cTime in eepp.
...
Changed cClock::Reset to cClock::Restart.
2013-08-15 03:16:31 -03:00
Martín Lucas Golini
0be6f1d60b
Partial commit. I'm changing how the time is used in eepp, added a time class to ease the time management ( similar to SFML2 ).
2013-08-15 01:23:26 -03:00
Martín Lucas Golini
37c3438a06
Added OriginPoint to define the rotation and scale center in cTexture, cBatchRenderer, cSubTexture and cSprite.
...
Replaced all the ScaleCentered booleans with the new OriginPoint, this gives more flexibility.
Moved some includes in EE::UI, to optimize the recompilation time.
2013-06-30 01:04:54 -03:00
Martín Lucas Golini
3b38cc5572
Added support to texture loading in other thread when a shared gl context is available.
2013-06-29 20:15:24 -03:00
Martín Lucas Golini
650135bf77
Added assets folder to the repository.
2013-06-21 23:02:56 -03:00
Martín Lucas Golini
12087c1a65
Changed the text vertical draw implementation. Removed the bool to activate the vertical draw everywere, and added FONT_DRAW_VERTICAL flag to draw in vertical mode.
2013-06-20 02:38:56 -03:00
Martín Lucas Golini
9909f60f6d
2D Clipping planes stacks.
...
cFrameBuffer restores the previous matrix projection.
Added Set2DProjection to cWindow.
2013-06-09 16:52:06 -03:00
Martín Lucas Golini
9e10581668
Changed some enums.
2013-05-30 00:23:05 -03:00
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