Commit Graph

149 Commits

Author SHA1 Message Date
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
603334294e Audio module refactored.
--HG--
branch : dev
2017-02-14 23:33:16 -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
630cf85d4b Minor refactoring. 2016-03-05 04:51:21 -03:00
Martín Lucas Golini
db66a43022 Fixed OS X compilation. 2014-11-15 04:30:33 -03:00
Martín Lucas Golini
0873204224 Fixed android build. 2014-07-23 02:42:02 -03:00
Martín Lucas Golini
c1dcbe3354 UI Module Refactored. 2014-06-28 01:19:49 -03:00
Martín Lucas Golini
b1f9847e6b Gaming Module Refactored. 2014-06-28 01:07:51 -03:00
Martín Lucas Golini
e5009123ce Physics Module refactored. 2014-06-28 00:40:44 -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
82008b9aee System Module refactored without changing colors. 2014-06-14 03:59:37 -03:00
Martín Lucas Golini
e71d79ccd8 Audio Module refactored. 2014-06-14 02:56:58 -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
d36f6e7ff2 Just a minor change in the test. 2014-06-08 16:20:49 -03:00
Martín Lucas Golini
f52be84ebb Fixed a null deferencing in cUIControl.
Removed cIsoMap, since it's not part of the library.
Fixed some minor bugs.
2014-06-01 21:34:04 -03:00
Martín Lucas Golini
0677771205 Updated SDL2 for Android. Updated the Android project to work with the new SDL2. 2013-12-22 18:22:49 -03:00
Martín Lucas Golini
62c83cb9b2 More work on text selection. 2013-12-22 11:54:13 -03:00
Martín Lucas Golini
e7c1084f62 Added cFont::SelectSubStringFromCursor, cFont::GetCursorPos.
Added support for string selection, copy and paste for cUITextBox, cUITextInput
and cUITextEdit.
2013-12-18 02:49:39 -03:00
Martín Lucas Golini
31937fad82 Added String::ToUtf16()
Added cUIDragable::OnDragStart and cUIDragable::OnDragEnd, and messages cUIMessage::MsgDragStart and cUIMessage::MsgDragEnd.
Improved cCursorManager, added global cursors.
Implemented some global cursors for the UI.
2013-12-11 03:05:12 -03:00
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