Commit Graph

40 Commits

Author SHA1 Message Date
Martín Lucas Golini
3b4fba4099 Changed BlendMode pre-loaded modes. Now they are a function, since they could be used before the memory initialization provoking errors in emscripten.
GLES2 is now the default renderer for emscripten.
Fixed several rendering issues with GLES2 as WebGL (point sprites, bad states).
Fixed chipmunk in emscripten.
Improved debugging for emscripten debug builds.
2022-06-09 20:22:48 -03:00
Martín Lucas Golini
ed289b5ec6 More improvements to the text document and code editor.
The current working directory is not forced anymore (except for Android), since it can cause some troubles in certain situations.
2020-05-27 05:28:35 -03:00
Martín Lucas Golini
f60d4c183e clang-formated all project source files.
Improved documentation.

--HG--
branch : dev
2020-01-10 04:39:46 -03:00
Martín Lucas Golini
3c0e4d7ed5 Added Window::DisplayManager ( implementing DisplayManagerSDL2 and DisplayManagerSFML ).
Engine instance is now automatically started and destroyed.
Forced the default working directory as the process path directory at start.

--HG--
branch : dev-2.1
2018-01-27 03:55:39 -03:00
Martín Lucas Golini
29b5251f97 Renamed SubTexture to TextureRegion.
Fixed a bug with frambuffers and views.

--HG--
branch : dev-2.1
2018-01-11 21:17:01 -03:00
Martín Lucas Golini
dcc905c4f8 Minor changes.
Interpolation setTotalTime now is setDuration.

--HG--
branch : dev
2017-12-30 00:31:14 -03:00
Martín Lucas Golini
f907d89367 Fixed IniFile::getValueB.
Added FileSystem::changeWorkingDirectory( Sys::getProcessPath() ); in demos.

--HG--
branch : dev
2017-12-29 22:35:43 -03:00
Martín Lucas Golini
3303defc5f Refactorized Interpolation1d and Interpolation2d.
--HG--
branch : dev
2017-12-24 03:50:43 -03:00
Martí­n Lucas Golini
d32d362328 Enum types refactor.
Renderer refactor and more.

--HG--
branch : dev
2017-12-10 21:29:43 -03:00
Martí­n Lucas Golini
715d2d30b0 Replaced BlendMode with a new class.
--HG--
branch : dev
2017-12-10 18:13:31 -03:00
Martín Lucas Golini
9cf73262f4 Changed Recti as Rect.
Removed eeAABB in favor of Rectf.
Implemented UIScrollView XML load.

--HG--
branch : dev
2017-04-16 15:28:36 -03:00
Martí­n Lucas Golini
6d14696337 Color now is RGB.
ColorA now is Color.

--HG--
branch : dev
2017-04-11 02:03:52 -03:00
Martí­n Lucas Golini
12c74347ac RectangleDrawable WIP.
Drawables now can keep a position.
Some code clean up.

--HG--
branch : dev
2017-03-29 03:02:59 -03:00
Martí­n Lucas Golini
c0975dd80d Code clean up and refactoring.
Removed HaikuTTF from the project.

--HG--
branch : dev
2017-03-17 23:17:21 -03:00
Martí­n Lucas Golini
e562e9bac6 Some clean up.
--HG--
branch : dev-font
2017-03-13 01:52:25 -03:00
Martí­n Lucas Golini
439d9b55ac Renamed interpolation classes.
--HG--
branch : dev
2017-03-09 16:29:15 -03:00
Martí­n Lucas Golini
63ceea60d8 Demo fixes.
--HG--
branch : dev
2017-02-18 16:53:08 -03:00
Martín Lucas Golini
ba3781229d Graphic module improvements.
--HG--
branch : dev
2017-02-17 23:22:49 -03:00
Martín Lucas Golini
fdf67752a3 Math module improvements.
--HG--
branch : dev
2017-02-17 19:16:39 -03:00
Martín Lucas Golini
ca90d606f3 Windows module improved.
--HG--
branch : dev
2017-02-17 17:47:41 -03:00
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
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
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
0d0e582a78 Scaling elements now is done per axis. 2013-11-17 12:22:43 -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
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
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
7fccf24897 Fixed sprites path 2013-06-22 01:52:26 -03:00
Martín Lucas Golini
7a0d04a0e9 Added fonts example.
Removed the allocation size parameter from the ColorPointer, VertexPointer and TexCoordPointer functions.
And some minor changes.
2013-06-02 02:23:38 -03:00
Martín Lucas Golini
9e10581668 Changed some enums. 2013-05-30 00:23:05 -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