Commit Graph

  • 7bdd1257f4 Fixed eeclamp. Added a little tweak for texture fonts to support tabs. Martín Lucas Golini 2012-12-10 22:57:06 -03:00
  • 9ee559060f Updated remote repo. Martín Lucas Golini 2012-12-10 15:51:06 -03:00
  • 9fd3274de4 Added @TODOs ( future plans ). Commented a couple of classes. Martín Lucas Golini 2012-12-10 15:43:06 -03:00
  • 398a305ff0 Added easy loading of texture atlases from the texture atlas manager. spartanj@gmail.com 2012-12-09 21:41:35 -03:00
  • 8f9df74af5 Added IsMaximized() to cWindow. KeyCodeTables now are static in all backends. spartanj@gmail.com 2012-12-09 21:00:14 -03:00
  • d41e078176 Added version class for eepp. Fixed Pbuffers with shaders. Fixed Map editor scroll when map is scaled. Fixed Point Size in GL3 renderer. Disabled VAO in VBOs. spartanj@gmail.com 2012-12-09 03:30:33 -03:00
  • e50bf8ebf2 Added JpegQuality to cImage to set the jpg image save quality. spartanj@gmail.com 2012-12-08 22:46:20 -03:00
  • 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. spartanj@gmail.com 2012-12-08 21:43:11 -03:00
  • d77b94dd73 Documented the EE::Window namespace code a little bit. spartanj@gmail.com 2012-12-07 01:30:31 -03:00
  • 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. spartanj@gmail.com 2012-12-06 18:17:51 -03:00
  • 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. spartanj@gmail.com 2012-12-06 01:55:32 -03:00
  • 9f49dbce0d FFixed windows build. spartanj@gmail.com 2012-12-05 03:04:39 -03:00
  • d9a9abf971 Cleaning up some includes. spartanj@gmail.com 2012-12-05 02:08:32 -03:00
  • 41d8c861c1 Changed some enum names. spartanj@gmail.com 2012-12-04 16:01:55 -03:00
  • 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. spartanj@gmail.com 2012-12-03 17:52:26 -03:00
  • 3b244b5170 Minor changes. spartanj@gmail.com 2012-12-03 00:45:03 -03:00
  • 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. spartanj@gmail.com 2012-12-02 23:34:32 -03:00
  • 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. spartanj@gmail.com 2012-12-02 03:05:55 -03:00
  • ce2f9f008c Added loading for textures from iostream. Changed GetPosition to Tell in cIOStream. spartanj@gmail.com 2012-12-02 00:40:05 -03:00
  • 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. spartanj@gmail.com 2012-12-01 20:06:11 -03:00
  • 7a16c52f2a Moved string hash functions. Fixed a couple of minor bugs. Cleaned up some code. spartanj@gmail.com 2012-12-01 03:10:09 -03:00
  • 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. spartanj@gmail.com 2012-11-30 22:54:42 -03:00
  • 8e1988a392 Inlined math functions. Removed using namespace EE::Math inside eepp ( i'm not sure why yet... :) ) spartanj@gmail.com 2012-11-30 01:37:15 -03:00
  • 6638ff2be9 Clened up EE::Gaming. spartanj@gmail.com 2012-11-29 18:20:39 -03:00
  • 1c5bee0655 Changed a detail in Sys::GetProcessPath. spartanj@gmail.com 2012-11-29 17:42:40 -03:00
  • 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. spartanj@gmail.com 2012-11-29 17:34:18 -03:00
  • 888eb0fd1e Removed unused math funcs. Changed StoragePath to GetStoragePath. spartanj@gmail.com 2012-11-29 14:56:24 -03:00
  • 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. spartanj@gmail.com 2012-11-29 02:43:17 -03:00
  • 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. spartanj@gmail.com 2012-11-28 14:58:46 -03:00
  • 483df6ef9f Changed SOIL to SOIL2 subrepository. Updated the paths to SOIL2. spartanj@gmail.com 2012-11-27 17:11:50 -03:00
  • 9fe2abd82f Added subrepo ( i think that now its working ). spartanj@gmail.com 2012-11-27 16:58:53 -03:00
  • 8d070f136a Testing subrepositories. spartanj@gmail.com 2012-11-27 16:46:56 -03:00
  • 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. spartanj@gmail.com 2012-11-27 01:16:26 -03:00
  • 723553a1be A couple of changes to make it compile in Haiku. spartanj@gmail.com 2012-11-25 20:19:36 -03:00
  • cd20107002 Exposed some stbi functionality in cImage. Moved a couple of functions to cImage. spartanj@gmail.com 2012-11-25 02:47:06 -03:00
  • 3bc45faa5c Moved some private classes from include to src. spartanj@gmail.com 2012-11-25 02:13:47 -03:00
  • 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. spartanj@gmail.com 2012-11-25 00:03:25 -03:00
  • c031cd80f9 Updated Chipmunk to 6.1.2 spartanj@gmail.com 2012-11-23 22:55:47 -03:00
  • 5f60e288db Striped down GLM as much as i could and updated to the lastest version. Removed some Clang compiler warnings. spartanj@gmail.com 2012-11-23 02:08:05 -03:00
  • 099f476243 Fixed GCC 4.7 compilation. spartanj@gmail.com 2012-11-17 19:21:18 -03:00
  • b12e1d4ebf Some minor fixes. spartanj@gmail.com 2012-11-13 01:04:15 -03:00
  • 004ad4a8f3 Fixed IsDirectory for windows. Fixed dll export for windows. Some minor changes. spartanj@gmail.com 2012-10-31 00:20:43 -03:00
  • 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. spartanj@gmail.com 2012-10-21 01:29:23 -03:00
  • a8d6eccfc7 Added per module files include. spartanj@gmail.com 2012-10-15 13:48:25 -03:00
  • 56b5f0c140 Ups!! Forgot to update the include files too. Fixed a little bug in CreateWindowSettings. spartanj@gmail.com 2012-10-15 10:55:45 -03:00
  • 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. spartanj@gmail.com 2012-10-15 02:33:01 -03:00
  • 9baea86e47 A couple of minor fixes for the Makefiles. spartanj@gmail.com 2012-09-26 15:27:33 -03:00
  • 30532fd916 Made some clean up. spartanj@gmail.com 2012-08-16 14:21:01 -03:00
  • 88aae1880c Fixed VBOs for GLES 2 renderer. Optimized a little bit GLES 2 pipeline shaders. spartanj@gmail.com 2012-07-01 00:21:08 -03:00
  • 661b9dad1d Fixed a bug in stb_image psd loader. spartanj@gmail.com 2012-06-25 23:32:17 -03:00
  • dce1d97620 I played a little bit more with the external shader example. Now also works without shaders. spartanj@gmail.com 2012-06-19 01:39:58 -03:00
  • def64c6995 Fixed small memory leak, forgot to delete gl context in SDL 2 backend. spartanj@gmail.com 2012-06-17 18:08:19 -03:00
  • 81c78d960a Added a new example. Separated the Makefile in two parts. spartanj@gmail.com 2012-06-17 02:03:11 -03:00
  • 2335f2d3b8 Some minor changes on the UI, nothing relevant. spartanj@gmail.com 2012-06-15 00:10:35 -03:00
  • 64d0256ea4 Now it's possible to compile with GLES1 and GLES2 support ( on platforms that support both of them ). This enable switching renderers without the need of recompiling. spartanj@gmail.com 2012-06-12 13:56:58 -03:00
  • e064e0d6a7 Splited GL3 and GLES2 renderer in two separated renderers. Optimized the GLES2 renderer for the iPhone/iPod devices ( not perfect yet, but much more usable ). spartanj@gmail.com 2012-06-11 16:59:18 -03:00
  • 63f1a438d5 Cleaned up eetest. spartanj@gmail.com 2012-06-10 00:40:25 -03:00
  • 40a1c5c777 Removed some unused things in the base shader for gles2 and ogl3 spartanj@gmail.com 2012-06-09 23:57:08 -03:00
  • ff0d35f212 Added Visual Studio 2010 projects ( static and dynamic compilation, and one example ). spartanj@gmail.com 2012-06-09 21:02:56 -03:00
  • 9c7911871b Fixed some compatibilitie issues with VC++. spartanj@gmail.com 2012-06-09 05:33:03 -03:00
  • 5327c09951 Fixed a regression in VBO's. spartanj@gmail.com 2012-06-09 02:02:44 -03:00
  • 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. spartanj@gmail.com 2012-06-09 00:54:06 -03:00
  • 93ab781e5c Cleaned up the Makefile. Removed unused files. spartanj@gmail.com 2012-06-08 00:31:25 -03:00
  • 43808e7297 Small fix. spartanj@gmail.com 2012-06-07 02:51:51 -03:00
  • e9f3806165 Cleaned up the OpenGL 3 and ES 2 renderer as much as i could ( it's working faster on desktop, same performance as the fixed-pipeline ). spartanj@gmail.com 2012-06-07 02:37:54 -03:00
  • 613fc3e567 Partial commit, i'm optimizing GLES 2 and OpenGL 3 renderes. It works like sh*t on the iPhone. spartanj@gmail.com 2012-06-07 01:25:00 -03:00
  • 0c731333cc Fixed some design inconsistencies. spartanj@gmail.com 2012-06-06 16:34:43 -03:00
  • 12e5a8fce6 ClampMode now applied correctly in textures. spartanj@gmail.com 2012-06-05 03:23:35 -03:00
  • 5231089a10 WindowStyle::Default assigned depending of the platform. spartanj@gmail.com 2012-06-04 21:02:42 -03:00
  • d09e404d6f Little changes on the FBO. spartanj@gmail.com 2012-06-04 20:53:24 -03:00
  • 5e7aa33f01 GLES2 backend working. Everything is working in the iOS port! spartanj@gmail.com 2012-06-04 17:20:42 -03:00
  • a817b9fbda Fighting with the GLES2 backend. spartanj@gmail.com 2012-06-04 04:31:22 -03:00
  • 9a6ff9789f Added SDL2 precompiled library for iOS. Added some compilation helpers for iOS. spartanj@gmail.com 2012-06-04 00:20:55 -03:00
  • 26da071857 Multitouch support implemented and working for SDL2 backend. spartanj@gmail.com 2012-06-03 23:54:01 -03:00
  • cd8a9486f9 Disabled finger events for a moment, i'll implement them tomorrow. spartanj@gmail.com 2012-06-03 04:15:07 -03:00
  • 8d5b43e99f Activated iPhone PNG support. spartanj@gmail.com 2012-06-03 02:16:55 -03:00
  • dc7f31c0ae Some minor fixes. GLES2 shaders now compiles, but it seems that it's not working. spartanj@gmail.com 2012-06-03 00:16:37 -03:00
  • 66b1958e80 Fixed a little bug in the console. spartanj@gmail.com 2012-06-01 02:19:28 -03:00
  • cab95cabf5 Fixed. spartanj@gmail.com 2012-05-31 18:42:37 -03:00
  • b94b50ee9f Some minor fixes. spartanj@gmail.com 2012-05-31 16:00:45 -03:00
  • ca7fd7b636 Fixed makefile to compile with cygwin. spartanj@gmail.com 2012-05-30 15:10:17 -03:00
  • 89aa9489bb Various fixes spartanj@gmail.com 2012-05-30 03:59:26 -03:00
  • 89a7dd3533 Some fixes to the Makefile. spartanj@gmail.com 2012-05-27 04:20:26 -03:00
  • 45bf52ed51 Updated Makefile to support compiling eepp as static library for iOS. (WIP) Moved freetype2 to helper. spartanj@gmail.com 2012-05-26 05:13:34 -03:00
  • 8b2dab3976 Removed freetype2 headers, used the android headers. spartanj@gmail.com 2012-05-16 20:40:21 -03:00
  • 4aa9a12ea5 Added cygwin compilation support. spartanj@gmail.com 2012-05-09 16:07:05 -03:00
  • 8b70ba05fe Added iOS support to SOIL. A couple of minor fixes. spartanj@gmail.com 2012-05-09 01:45:57 -03:00
  • 62979d7fb1 Added some OS checks for IOS. Implemented timer with clock_gettime when is possible. Implemented a thread safe sleep. spartanj@gmail.com 2012-05-05 02:21:37 -03:00
  • 5ae90984db Added implementations by platform in system module, creating a class of implementation for every platform. Implemented cMutex, cTimer and cThread. Added support for cross-compiling to the makefile, now is possible to compile win32 binaries from linux. spartanj@gmail.com 2012-05-04 21:37:31 -03:00
  • 0182ee6e3e Fixed fadein for listbox. Added AlphaChilds method to animated controls. Auto add map extension to maps. spartanj@gmail.com 2012-04-26 17:04:24 -03:00
  • c671d311ba Added support to async loads to texture group loader. Changed FileExists, now returns true only if the path is a file, returns false to directories. Changed Common Dialog control now let the user select folders when selecting a file. Fixed a crash when unloading some controls at the same time. Fixed a crash caused by modal windows controls not resizing when the window was resized, giving access to the windows in the back of the modal window. Fixed a bug in texture packer, texture groups with more than one texture where failing to load and causing crashes. Minor fixes to the texture group editor, and added async texture group loading. spartanj@gmail.com 2012-04-08 03:35:20 -03:00
  • 2ac3f5c2b4 Fixed a bug compiling with SDL 1.3 spartanj@gmail.com 2012-03-24 18:35:41 -03:00
  • e811b70b74 Changed the ABI for android. Changed the default project compiled in android. Changed the empty window to show a couple of primitives. spartanj@gmail.com 2012-02-28 11:59:15 -03:00
  • b9d44f453e Speeded UpdateTextureAtlas. spartanj@gmail.com 2012-02-27 23:02:49 -03:00
  • 897fe7ec5f Changed the closing method used in cUIControl. Still needs some testing, but seems to be working fine. spartanj@gmail.com 2012-02-26 04:09:13 -03:00
  • 2ad11b6085 Fixed some late deallocations on the UI. Changed some texts on the commands of the console. spartanj@gmail.com 2012-02-25 19:42:54 -03:00
  • 99b3c679a1 Added some important access to some data in fonts, changed how the font texture coordinates are saved ( so you'll need to regenerate them ). Fixed some minor bugs. spartanj@gmail.com 2012-02-23 15:23:07 -03:00
  • d4a866feca SpecialBorderTabs implemented. Fixed a couple of minor bugs. spartanj@gmail.com 2012-02-21 23:01:26 -03:00
  • 7968ff683b Implemented cUITabWidget. spartanj@gmail.com 2012-02-21 20:18:29 -03:00
  • 8ed729cc8b Fixed a couple of bugs in cMap. Cleaned up some skin code on the ui. spartanj@gmail.com 2012-02-19 23:53:56 -03:00