Commit Graph

40 Commits

Author SHA1 Message Date
spartanj@gmail.com
e50bf8ebf2 Added JpegQuality to cImage to set the jpg image save quality. 2012-12-08 22:46:20 -03:00
spartanj@gmail.com
ca9f02c425 Added jpg save type.
Added support for progressive jpeg using jpeg-compressor.
This changes were added mostly for eeiv, but they dont add much overhead.
I need to test if jpeg-compressor loader is faster than the stb_image implementation, to use it by default in that case.
2012-12-08 21:43:11 -03:00
spartanj@gmail.com
d77b94dd73 Documented the EE::Window namespace code a little bit. 2012-12-07 01:30:31 -03:00
spartanj@gmail.com
b336aa5feb Removed ugly include files from headers ( windows.h, Xlib, glew ).
Glew is still included by cGL, i'm hesitant about this, i'll think about it.
2012-12-06 18:17:51 -03:00
spartanj@gmail.com
183b923531 Moved eeWindowContext definitiion to windowcontext.hpp
Moved eeWindowHandle definition to windowhandle.hpp ( and changed the name from eeWindowHandler )
In windows eeWindowContex and eeWindowHandler are forward declared.
Still need to see how to implement this in linux ( os x shouldn't be a problem ).
HaikuTTF doesn't expose window.h or pthread.h anymore.
Added TryLock to cMutex.
2012-12-06 01:55:32 -03:00
spartanj@gmail.com
9f49dbce0d FFixed windows build. 2012-12-05 03:04:39 -03:00
spartanj@gmail.com
d9a9abf971 Cleaning up some includes. 2012-12-05 02:08:32 -03:00
spartanj@gmail.com
41d8c861c1 Changed some enum names. 2012-12-04 16:01:55 -03:00
spartanj@gmail.com
882c2a26d7 Cleaned up Math module. Still thinking about this.
Move all the collision code to the respective templates, instead of containing all in the math.hpp file.
Removed unnecesary dependency of EE::System on EE::Math, not really needed.
2012-12-03 17:52:26 -03:00
spartanj@gmail.com
3b244b5170 Minor changes. 2012-12-03 00:45:03 -03:00
spartanj@gmail.com
810272e101 Fixed Doxyfile.
Changed in String class: toStr to ToStr and fromString to FromString ( since everthing else starts with uppercase characters ).
Added BitOp static class, just some helpers for bit operations.
2012-12-02 23:34:32 -03:00
spartanj@gmail.com
4ea3cdb9ef Added premake4.lua file, to create projects more easily, still WIP.
Cleaned up a little bit the MemoryManager, i'm looking how to make it work when
eepp is compiled as a shared library.
2012-12-02 03:05:55 -03:00
spartanj@gmail.com
ce2f9f008c Added loading for textures from iostream.
Changed GetPosition to Tell in cIOStream.
2012-12-02 00:40:05 -03:00
spartanj@gmail.com
40086e3bc3 Added BlendMode class to set the blend mode, since it doesn't make sense to control the blend mode in the texture factory.
Added Clear() method to cWindow, to allow the user to control WHEN clear the buffers.
Added some operators to eeColorA.
Fixed BlendMode for FBO's.
Hided cTexture constructors, the only class that it's allowed to create textures is cTextureFactory.
2012-12-01 20:06:11 -03:00
spartanj@gmail.com
7a16c52f2a Moved string hash functions.
Fixed a couple of minor bugs.
Cleaned up some code.
2012-12-01 03:10:09 -03:00
spartanj@gmail.com
604b926a7f Fixed all texture atlas references names.
Changed texture atlas binary file extension to "eta" and magic code to EETA ( Entropia Engine Texture Atlas ).
Removed EE::Utils, moved classes to EE::Math and EE::System. Still deciding this, but i need to commit, because of the number of changes, i don't want to lose anything.
And many many changes more.
2012-11-30 22:54:42 -03:00
spartanj@gmail.com
8e1988a392 Inlined math functions.
Removed using namespace EE::Math inside eepp ( i'm not sure why yet... :) )
2012-11-30 01:37:15 -03:00
spartanj@gmail.com
6638ff2be9 Clened up EE::Gaming. 2012-11-29 18:20:39 -03:00
spartanj@gmail.com
1c5bee0655 Changed a detail in Sys::GetProcessPath. 2012-11-29 17:42:40 -03:00
spartanj@gmail.com
8209dbc108 Oh crap, it seems that some files have never been added into the repositories...!
On the other side, i broke everthing, eepp is starting to look better.
2012-11-29 17:34:18 -03:00
spartanj@gmail.com
888eb0fd1e Removed unused math funcs.
Changed StoragePath to GetStoragePath.
2012-11-29 14:56:24 -03:00
spartanj@gmail.com
0e34b47b31 Removed string.hpp and moved all to the String class.
Created FileSystem and Sys static classes, moved things from utils.hpp and string.hpp.
Changed SDL2 files name, to *sdl2.*pp.
Modified a little bit the Makefile.
Removed all the references to SDL 1.3, since it doesn't exists anymore.
Added eevsnprintf, removed a lot of "#ifdef EE_COMPILER_MSVC".
Still i couldn't make a lot of changes planned, so it's WIP, code probably broken in other platforms besides Linux.
2012-11-29 02:43:17 -03:00
spartanj@gmail.com
71cd1749c7 API Break commit.
This commit is to mark the API break, since here i'll make changes that will break any application that is using eepp.
Probably i'm the only one using eepp, so, it's not a big deal.
2012-11-28 14:58:46 -03:00
spartanj@gmail.com
483df6ef9f Changed SOIL to SOIL2 subrepository.
Updated the paths to SOIL2.
2012-11-27 17:11:50 -03:00
spartanj@gmail.com
8d070f136a Testing subrepositories. 2012-11-27 16:46:56 -03:00
spartanj@gmail.com
93ae458174 Cleaned up a little bit the code,to include stl only when is needed.
Reduced compilation time because of this.
Moved SOIL to src, api not exposed anymore.
Renamed the demos and examples namespaces.
2012-11-27 01:16:26 -03:00
spartanj@gmail.com
cd20107002 Exposed some stbi functionality in cImage.
Moved a couple of functions to cImage.
2012-11-25 02:47:06 -03:00
spartanj@gmail.com
3bc45faa5c Moved some private classes from include to src. 2012-11-25 02:13:47 -03:00
spartanj@gmail.com
074c257ff6 Moved glm to the source, removed from the includes.
Cleaned some incoherent things in cUITheme.
Moved FBO and PBuffer headers to source.
Moved Backend header to source.
2012-11-25 00:03:25 -03:00
spartanj@gmail.com
c031cd80f9 Updated Chipmunk to 6.1.2 2012-11-23 22:55:47 -03:00
spartanj@gmail.com
5f60e288db Striped down GLM as much as i could and updated to the lastest version.
Removed some Clang compiler warnings.
2012-11-23 02:08:05 -03:00
spartanj@gmail.com
099f476243 Fixed GCC 4.7 compilation. 2012-11-17 19:21:18 -03:00
spartanj@gmail.com
b12e1d4ebf Some minor fixes. 2012-11-13 01:04:15 -03:00
spartanj@gmail.com
c396f97994 Added an SFML backend. It's not fully tested, and it doesn't work like the others, SFML is more restricted, i can't do many things than in SDL and allegro i can, so i will always be a second class citizen. 2012-10-21 01:29:23 -03:00
spartanj@gmail.com
0cc276d89b Added InputEvent::TextInput event.
Added support to switcheable backends without recompiling.
Added some helpers to load WindowSettings and ContextSettings from an ini file.
Moved default Demo to a Demo namespace.
Optimized cGameObjectsShapeEx lights.
Changed some functions names to CamelCase.
cIniFile avoids to re-read files.
Windows 8 and Windows Server 2012 now are correctly detected.
2012-10-15 02:33:01 -03:00
spartanj@gmail.com
30532fd916 Made some clean up. 2012-08-16 14:21:01 -03:00
spartanj@gmail.com
81c78d960a Added a new example.
Separated the Makefile in two parts.
2012-06-17 02:03:11 -03:00
spartanj@gmail.com
ff0d35f212 Added Visual Studio 2010 projects ( static and dynamic compilation, and one example ). 2012-06-09 21:02:56 -03:00
spartanj@gmail.com
5327c09951 Fixed a regression in VBO's. 2012-06-09 02:02:44 -03:00
spartanj@gmail.com
b0aa06eb87 Restructured the project.
Now header files are inside the include folder, and the source files inside src.
Moved the projects files inside a projects folder.
Precompiled static libs will be inside libs folder.
2012-06-09 00:54:06 -03:00