Commit Graph

157 Commits

Author SHA1 Message Date
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
2a3dcdcb69 A couple of changes on the ming32 make bash file. 2013-09-27 20:37:40 -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
ddd482b584 Replaced GetPossibleResolutions for GetDisplayModes. 2013-09-19 12:20:16 -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
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
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
cf6bfd78bb cTTFFont outline is created by glyph.
More code cleanup.
2013-08-18 21:06:47 -03:00
Martín Lucas Golini
de94014732 Fixed a bug in HaikuTTF, i wasn't filling the complete forground color in the glyph texture.
Some code clean up.
2013-08-18 00:26:59 -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
1519366c88 Fixed windows build.
Fixed mingw32 cross compiling.
2013-08-15 23:17:27 -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
Martín Lucas Golini
cc73bec65d Updated SOIL2.
Updated GLEW ( patched with OpenGL Core Profile support ).
Some minor API changes in cGL.
2013-08-14 15:13:59 -03:00
Martín Lucas Golini
f7c05d746b Added EE::System::cCondition class. 2013-08-10 15:18:30 -03:00
Martín Lucas Golini
02dbfc3f1d Fixed tRECT::Scale.
Fixed some details with the GL Context creation.
Added cVertexBuffer::Clear method.
Added Stencil Func/Op/Mask and ColorMask functions to the GL wrapper.
Changed Video Resize Callback to pass the window as parameter.
Some minor changes in the BatchRenderer.
2013-07-13 03:04:10 -03:00
Martín Lucas Golini
408cd003d4 Fixed a bug in the gl context creation. The context must be asigned before the OpenGL backend init. 2013-07-03 00:11:23 -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
beb4716bce Small fix in the premake4 file. 2013-06-26 01:14:26 -03:00
Martín Lucas Golini
c99d6caa8a Small changes on cImage. 2013-06-23 19:57:36 -03:00
Martín Lucas Golini
28a9651e33 Ups, wrong preprocessor used. 2013-06-23 12:12:58 -03:00
Martín Lucas Golini
521b83dd61 Testing something on AMD GPUs 2013-06-23 02:58:09 -03:00
Martín Lucas Golini
4dda9ece5f Updated Chipmunk Physics.
Updated Physics Wrapper.
Optimized circle primitive rendering.
Improved Physics Demo.
Changed some constraints rendering issues.
2013-06-23 01:47:17 -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
fa62113ad7 Added cShapePoint for Physics ( usefull to draw boxes or rounded points faster ).
Working on the Physics example.
Updated fonts example.
2013-06-20 23:56:54 -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
526dda3755 Added a new example. 2013-06-02 16:34:06 -03:00
Martín Lucas Golini
1c762ae9d4 Updated Roadmap 2013-06-02 02:27:01 -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
22ac8c9238 Added optional file to load external projecs. 2013-05-31 22:34:02 -03:00
Martín Lucas Golini
23666a89ed Fixed Haiku and FreeBSD builds. 2013-05-31 22:00:09 -03:00
Martín Lucas Golini
7164969cf5 Documented EE::Math. 2013-05-30 17:25:52 -03:00
Martín Lucas Golini
9e10581668 Changed some enums. 2013-05-30 00:23:05 -03:00
Martín Lucas Golini
941a229a20 Minor changes in some previous changes from today. 2013-05-29 15:36:19 -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
0211cae5a8 Added a new example, it shows how to manage sounds and music.
Changed ChannelsCount to ChannelCount, since it makes more sense.
Now PlayOffset and Duration in sounds and music is returned in seconds, as float.
2013-05-28 17:39:23 -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
7ff310f944 Updated SDL 2 to the lastest revision ( the RC ). Applied the new modifications to eepp. 2013-05-28 01:23:21 -03:00
Martín Lucas Golini
a65ef102f2 Cleaned up EE::Audio. 2013-05-26 02:41:13 -03:00
Martín Lucas Golini
10eae8282f Documented EE::Audio. 2013-05-26 02:10:43 -03:00