Commit Graph

618 Commits

Author SHA1 Message Date
Martín Lucas Golini
92b99dcf69 This should fix ios compilation. 2013-12-24 02:35:03 -03:00
Martín Lucas Golini
32cbf73949 Fixed premake4 script.
Removed old Makefiles.
Removed old ios compiling scripts.
Renamed ios cross-compile.sh to cross-compile-arm7.sh.
2013-12-24 02:26:26 -03:00
Martín Lucas Golini
0064985072 Improved IOS compilation. 2013-12-24 01:44:43 -03:00
Martín Lucas Golini
9a1ab27e9e Moved binaries to bin.
Moved assets to bin/assets.
2013-12-22 23:58:17 -03:00
Martín Lucas Golini
1ca7d83aa4 Fixed GL3 renderer in GLES devices. 2013-12-22 19:16:56 -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
49990d79af Improved text selection. 2013-12-21 00:52:15 -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
725f29cf40 Fixed compilation for VS.
Fixed runtime errors for VS compiled binaries.
Fixed unitialized control dragging flag.
Fixed cursors in Windows with SDL2.
2013-12-15 03:26:22 -03:00
Martín Lucas Golini
5ae3974de9 Added cConsole::GetLastCommonSubStr to help with the autocomplete in the console.
Small change in cImage::Thumbnail.
2013-12-13 00:34:00 -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
e3b3f7abb2 A minor change in cFont::FindClosestCursorPosFromPoint. 2013-12-08 12:50:28 -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
6d091deb26 Added Sys::LoadObject, Sys::UnloadObject and Sys::LoadFunction. 2013-12-01 02:50:52 -03:00
Martín Lucas Golini
e6e429126f Moved out openal-soft from android folder, and removed the android folder. 2013-12-01 00:16:16 -03:00
Martín Lucas Golini
2449502a54 A minor fix for the cUIMessageBox.
And a minor change on the cConsole scrolling.
2013-11-30 21:23:01 -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
53686497b6 Fixed a typo.
Fixed cSprite::GetAABB.
2013-11-17 02:07:17 -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
f276feb274 Updated iOS libSDL2.a precompiled library.
Updated SOIL2 ( it seems that i forgot to do it ).
2013-11-13 02:35:56 -03:00
Martín Lucas Golini
77b7978611 OS X compilation fixed.
premake4 file improved for OS X.
No more context reload on SDL2 backend when running from OS X.
2013-11-13 02:23:33 -03:00
Martín Lucas Golini
0ac86ad491 Some minor fixes for the emscripten port ( added support for S3TC ).
Added support for iOS cross compilling ( for jailbroken devices ).
2013-11-11 03:48:38 -03:00
Martín Lucas Golini
0045461ec6 More fixes for the emscripten port. 2013-11-09 13:55:44 -03:00
Martín Lucas Golini
c40d8c9549 Some fixes to the emscripten port. It's 100 % working without sound.
Examples not commiter yet, i need to change some things to make it cleaner.
2013-11-08 19:26:07 -03:00
Martín Lucas Golini
10def04538 Some minor changes for emscripten support. 2013-11-08 15:53:54 -03:00
Martín Lucas Golini
0e2b3d0812 Working on emscripten support ( compiles but doesn't render anything ).
Fixed a bug with a shader in OpenGL ES 2 ( i haven't seen this before, it seems that it new ).
2013-11-07 02:32:27 -03:00
Martín Lucas Golini
e6ace961ff Ups, i broke android/ios building. Is fixed now.
Also set the wake lock for android, to keep the screen active.
2013-11-06 11:23:53 -03:00
Martín Lucas Golini
d7288f956c EE_USE_DOUBLES is disabled by default in all archs.
Reduced unnecessary OpenGL calls.
Added eeColorAff typedef.
2013-11-04 02:48:09 -03:00
Martín Lucas Golini
825c50e20f Cleaned up the Core Profile renderer, now use its own shaders.
Some minor fixes.
2013-11-03 22:22:58 -03:00
Martín Lucas Golini
45d3b22039 Added OpenGL Core Profile support. 2013-11-03 04:17:57 -03:00
Martín Lucas Golini
87cec40bf7 New Sleep implementation, and some minor fixes. 2013-11-01 23:31:12 -03:00
Martín Lucas Golini
7eeea19d75 Updated files in qtcreator windows project. 2013-10-26 15:29:02 -03:00
Martín Lucas Golini
d51af3c6b3 Compilation fixes for 64bit builds. 2013-10-21 01:59:07 -03:00
Martín Lucas Golini
5a5c736abb Updated SOIL2. 2013-10-07 11:11:11 -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
58bd54e77d Added cUITextInputPassword. Replaced cUITextInput::PasswordInput for this class. 2013-10-05 02:00:57 -03:00
Martín Lucas Golini
82d97f0f11 Added sortByName and forldersFirst options for FileSystem::FilesGetInPath.
Fixed some texture size calculations.
Fixed some key shortcuts for the console.
Added autocomplete paths in cConsole.
2013-10-04 14:17:49 -03:00
Martín Lucas Golini
5e1adbcfa4 Fixed texture size report for textures that were compressed on the fly.
Minor UI fix.
2013-10-04 01:34:37 -03:00
Martín Lucas Golini
30bef5d9d8 I bugged cTextCache::Alpha, now it's fixed. 2013-10-04 00:43:10 -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
309ee5b86c Some minor UI fixes.
Modal windows now disable all the background controls to avoid being selected
when navigating with TAB.
2013-10-02 23:53:29 -03:00
Martín Lucas Golini
d3ea9a391a Send to front the buttons from cUIMessageBox. 2013-10-02 17:47:29 -03:00
Martín Lucas Golini
2469d86a25 Added cUIControl::ChildsCloseAll()
Added PasswordInput flag to cTextInput. It sucks, but i needed this ASAP.
2013-10-02 00:52:57 -03:00
Martín Lucas Golini
2850ab6bed Experimental changes, WARNING. 2013-10-01 18:19:52 -03:00
Martín Lucas Golini
1ff197d151 Added CloseWithKey to the MessageBox.
Fixed the element loading in cUITheme. Now accepts new elements for themes.
2013-10-01 14:07:41 -03:00
Martín Lucas Golini
70e78b5ec3 Small fix with the scrollbar value. 2013-10-01 00:59:21 -03:00