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
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
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
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
d51af3c6b3
Compilation fixes for 64bit builds.
2013-10-21 01:59:07 -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
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
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
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
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
2bf7c0e136
Some improvements to the UI.
...
cTextCache setting Color by character fixed.
cUIDropDownList now takes the UI_TOUCH_DRAG_ENABLED flag.
cUIDropDownList shows the list above the control if the list can't be seen
complete dropped below.
cUIManager ignores clicks events when some UI_TOUCH_DRAG_ENABLED control was
dragging before the click was released.
2013-09-30 22:44:19 -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
223b4bdfb8
Fixed errors on the documentation.
2013-09-28 13:10:49 -03:00
Martín Lucas Golini
390ebfd6fa
Added EE::Network module.
2013-09-28 04:23:59 -03:00
Martín Lucas Golini
c23c9d6ce2
Some minor fixes on the UI.
...
Added OpenGL Shared Context support for iOS.
2013-09-27 20:17:16 -03:00
Martín Lucas Golini
d621f6cea3
Added UintPtr and IntPtr.
...
Changed cUIControl::mData to UintPtr.
Updated SOIL2.
2013-09-26 17:46:26 -03:00
Martín Lucas Golini
39f402ddec
Removed GLThreadMutexLock and GLThreadMutexUnlock. It was simply wrong.
...
Added "ForceUseGLSharedContext" for the texture loader, but i'm having problems,
i think it's the gpu driver.
Fixed console font color recovery.
2013-09-25 23:00:47 -03:00
Martín Lucas Golini
0a0d178f64
Added cImage::Crop.
...
Some minor fixes in cImage and cTexture.
2013-09-22 01:20:09 -03:00
Martín Lucas Golini
1bdf0f138a
Added real image resampling.
2013-09-21 21:56:10 -03:00
Martín Lucas Golini
ddd482b584
Replaced GetPossibleResolutions for GetDisplayModes.
2013-09-19 12:20:16 -03:00
Martín Lucas Golini
5bd65e9fc0
Some comments and minor things changed.
2013-09-08 19:24:06 -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
c1841d55a1
Deprecated Allegro 5 backend ( i don't see any good reason to use Allegro 5
...
having SDL 2.
2013-08-24 19:51:04 -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
e7316f6200
Fixed some comments.
2013-08-23 21:12:50 -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
16343849b5
A couple of minor fixes.
2013-08-21 19:19:11 -03:00
Martín Lucas Golini
608ba61f6a
Fixed VC++ compilation.
2013-08-21 17:53:45 -03:00
Martín Lucas Golini
99e1657ea3
Changed cTTFFont::OutlineMethod to cTTFont::OutlineMethods.
...
Changed cTTFFont::DefaultOutlineMethod to cTTFFont::OutlineMethod.
2013-08-21 15:58:00 -03:00
Martín Lucas Golini
8b6e34cb1f
Added cImage::ChannelsToPixelFormat.
...
Fixed cTexture::Update ( it wasn't taking care of the pixel format ).
Fixed cTTFFont memory leak ( it wasn't assigning the correct image size ).
Untracked some new and delete operations that doesn't need to be tracked.
2013-08-20 16:47:27 -03:00
Martín Lucas Golini
78ba099727
More code clean up, and some minor optimizations.
2013-08-19 04:16:20 -03:00
Martín Lucas Golini
b97865bad2
Added a new outlining method for the font glyphs.
2013-08-19 03:42:54 -03:00
Martín Lucas Golini
aa81174c77
Added cImage::Blit.
...
Fixed some minor bug in HaikuTTF.
2013-08-19 03:03:47 -03:00
Martín Lucas Golini
cf6bfd78bb
cTTFFont outline is created by glyph.
...
More code cleanup.
2013-08-18 21:06:47 -03:00
Martín Lucas Golini
6a6db7881c
Added cTextureSaver for easier texture bindings.
...
Fix in cAudioStream::PlayingOffset, now respect the stream state.
Renamed NbSamples for SamplesCount.
Some general code clean up.
2013-08-17 03:14:03 -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
7343b33e17
Changed cTexture::TextureFilter for cTexture::Filter ( Texture is redundant! )
2013-08-15 16:49:15 -03:00
Martín Lucas Golini
322fbdbe52
Added cTexture::Update helper.
...
Small fix on cAudioDevice::GetFormatFromChannelCount.
2013-08-15 15:36:26 -03:00
Martín Lucas Golini
c9ab704016
Added cTime in EE::Audio.
2013-08-15 12:49:39 -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