diff --git a/README.md b/README.md index 39cf65918..8649eba95 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,11 @@ Entropia Engine++ * Backend based module, this means that you can easily create a backend for the window/input handling. - * Currently supports SDL 2 and SFML as backends ( SDL 2 by default, most of it's features are covered and abstracted in the library ). + * Currently supports SDL 2 as backend. - * Clipboard support ( SDL 2 backend ). + * Clipboard support. - * Color hardware cursors ( SDL 2 fully supported, partial support with SFML ). + * Hardware cursors. * Display Manager @@ -70,7 +70,7 @@ Entropia Engine++ **Audio Module:** ----------------- - * OpenAL audio engine with extendable file format support. Read and write support for OGG and Wav, and read support for MP3 and FLAC. Audio module heavily based on the SFML implementation. + * OpenAL audio engine with extendable file format support. Read and write support for OGG and Wav, and read support for MP3 and FLAC. Audio module is based on an old version of the SFML Audio module. **Physics Module:** @@ -123,7 +123,7 @@ Entropia Engine++ * HTTP Proxy Support. -Module based on the SFML implementation. +Module was originally based on the SFML Network module implementation, though currently differs a lot from it. **Scene Module:** diff --git a/include/eepp/audio/soundfilereader.hpp b/include/eepp/audio/soundfilereader.hpp index bb5f30d7b..71c172372 100644 --- a/include/eepp/audio/soundfilereader.hpp +++ b/include/eepp/audio/soundfilereader.hpp @@ -78,12 +78,12 @@ class EE_API SoundFileReader { /// \ingroup audio /// /// This class allows users to read audio file formats not natively -/// supported by SFML, and thus extend the set of supported readable +/// supported by EEPP, and thus extend the set of supported readable /// audio formats. /// /// A valid sound file reader must override the open, seek and write functions, /// as well as providing a static check function; the latter is used by -/// SFML to find a suitable writer for a given input file. +/// EEPP to find a suitable writer for a given input file. /// /// To register a new reader, use the SoundFileFactory::registerReader /// template function. diff --git a/include/eepp/audio/soundfilewriter.hpp b/include/eepp/audio/soundfilewriter.hpp index 9c7a20f63..1510f5295 100644 --- a/include/eepp/audio/soundfilewriter.hpp +++ b/include/eepp/audio/soundfilewriter.hpp @@ -42,12 +42,12 @@ class EE_API SoundFileWriter { /// \ingroup audio /// /// This class allows users to write audio file formats not natively -/// supported by SFML, and thus extend the set of supported writable +/// supported by EEPP, and thus extend the set of supported writable /// audio formats. /// /// A valid sound file writer must override the open and write functions, /// as well as providing a static check function; the latter is used by -/// SFML to find a suitable writer for a given filename. +/// EEPP to find a suitable writer for a given filename. /// /// To register a new writer, use the SoundFileFactory::registerWriter /// template function. diff --git a/include/eepp/audio/soundrecorder.hpp b/include/eepp/audio/soundrecorder.hpp index e65e99162..bb8b603ab 100644 --- a/include/eepp/audio/soundrecorder.hpp +++ b/include/eepp/audio/soundrecorder.hpp @@ -271,7 +271,7 @@ class EE_API SoundRecorder : AlResource { /// (the microphone). As an abstract base class, it only cares /// about capturing sound samples, the task of making something /// useful with them is left to the derived class. Note that -/// SFML provides a built-in specialization for saving the +/// EEPP provides a built-in specialization for saving the /// captured data to a sound buffer (see SoundBufferRecorder). /// /// A derived class has only one virtual function to override: diff --git a/include/eepp/audio/soundstream.hpp b/include/eepp/audio/soundstream.hpp index a6f335b0b..7c48cef89 100644 --- a/include/eepp/audio/soundstream.hpp +++ b/include/eepp/audio/soundstream.hpp @@ -304,7 +304,7 @@ class EE_API SoundStream : public SoundSource { /// (sounds played over the network). /// /// SoundStream is a base class that doesn't care about the -/// stream source, which is left to the derived class. SFML provides +/// stream source, which is left to the derived class. EEPP provides /// a built-in specialization for big files (see Music). /// No network stream source is provided, but you can write your own /// by combining this class with the network module. diff --git a/include/eepp/config.hpp b/include/eepp/config.hpp index d84deebfb..9b5d667e6 100644 --- a/include/eepp/config.hpp +++ b/include/eepp/config.hpp @@ -94,7 +94,7 @@ #endif /// Activate at least one backend for the compilation -#if !defined( EE_BACKEND_SDL_ACTIVE ) && !defined( EE_BACKEND_SFML_ACTIVE ) +#if !defined( EE_BACKEND_SDL_ACTIVE ) #define EE_BACKEND_SDL_ACTIVE #endif diff --git a/include/eepp/core/noncopyable.hpp b/include/eepp/core/noncopyable.hpp index 618bc721a..cd11c71d9 100644 --- a/include/eepp/core/noncopyable.hpp +++ b/include/eepp/core/noncopyable.hpp @@ -60,5 +60,4 @@ class EE_API NonCopyable { ** and to use EE::NonCopyable when necessary to prevent ** many potential future errors when using it. This is also ** a very important indication to users of your class. -** Taken from SFML and Boost. */ diff --git a/include/eepp/ee.hpp b/include/eepp/ee.hpp index 476faadb4..b13244342 100755 --- a/include/eepp/ee.hpp +++ b/include/eepp/ee.hpp @@ -12,48 +12,13 @@ * Sean Barrett for the stb_vorbis and stb_image libraries. * Sam Latinga for Simple DirectMedia Layer library. * Jonathan Dummer for the Simple OpenGL Image Library. - * Laurent Gomila for the SFML library ( eepp audio and network modules are heavily based on the SFML audio module ) - * OGRE staff for the Timer implementation - * Lewis Van Winkle for PlusCallback - * Dieter Baron and Thomas Klausner for libzip - * Jean-loup Gailly and Mark Adler for zlib - * Milan Ikits and Marcelo Magallon for GLEW + * Laurent Gomila for the SFML library. + * OGRE staff for the Timer implementation. + * Lewis Van Winkle for PlusCallback. + * Dieter Baron and Thomas Klausner for libzip. + * Jean-loup Gailly and Mark Adler for zlib. + * Milan Ikits and Marcelo Magallon for GLEW. * And a lot more people! - - ROADMAP: - - Short-term plans: - - @todo Improve documentation. - STATE: EE ( Base ) documented what is needed. - EE::Window documented. - EE::System documented. - EE::Graphics documented. - EE::Audio documented. - EE::Math documented. - EE::Network documented. - EE::Scene Not documented at all. - EE::UI Not documented at all. - EE::Physics Not documented at all, chipmunk documentation should help. - EE::Maps Not documented at all. - - @todo Add more commented examples, showing at least the basic usage of the engine ( 10 or more examples at least ). - STATE: 7 examples available. - - @todo Improve the map editor ( add triggers, tiles selection to copy paste in other zones of the map, undo/redo actions ). - STATE: Needs at least to reoffset tiles and objects for the map resizing. - Tile selection i'm not decided yet. - Copy-Paste will be moved for a middle to long term plan. - - Middle-term plans: - - @todo Add Scripting support ( squirrel or angel script or lua ), at least some parts of the engine. Binding everything seems too much work. - STATE: I've binded some classes with lua+luabind and is awesome, but... luabind is bloated ( and for my needs it's the only good option ), and adds A LOT of compile time. - squirrel+sqrat almost does everything i need, but it have some bugs that seems to be unfixable ( none enum parameters, char parameters segfaults, no constructor overloading ). - - @todo Add some kind of support for TMX map files ( Tiles Map Editor ). - - @todo Pathfinding and AI helpers ( A*, FSM ). */ // General includes and declarations diff --git a/include/eepp/math/transform.hpp b/include/eepp/math/transform.hpp index 6fc664c9f..fdb4a43ca 100644 --- a/include/eepp/math/transform.hpp +++ b/include/eepp/math/transform.hpp @@ -1,5 +1,5 @@ -#ifndef SFML_TRANSFORM_HPP -#define SFML_TRANSFORM_HPP +#ifndef EE_MATH_TRANSFORM_HPP +#define EE_MATH_TRANSFORM_HPP #include #include diff --git a/include/eepp/network/base.hpp b/include/eepp/network/base.hpp deleted file mode 100644 index 9f050b061..000000000 --- a/include/eepp/network/base.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef EE_NETWORK_BASE -#define EE_NETWORK_BASE - -#include - -/** -This module is based on the sfml-network module. - -SFML - Copyright (c) 2007-2013 Laurent Gomila - laurent.gom@gmail.com - -This software is provided 'as-is', without any express or -implied warranty. In no event will the authors be held -liable for any damages arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute -it freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; - you must not claim that you wrote the original software. - If you use this software in a product, an acknowledgment - in the product documentation would be appreciated but - is not required. - -2. Altered source versions must be plainly marked as such, - and must not be misrepresented as being the original software. - -3. This notice may not be removed or altered from any - source distribution. -*/ -#endif diff --git a/include/eepp/network/ftp.hpp b/include/eepp/network/ftp.hpp index 03d586cf8..326ebf740 100644 --- a/include/eepp/network/ftp.hpp +++ b/include/eepp/network/ftp.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCFTP_HPP #define EE_NETWORKCFTP_HPP -#include +#include #include #include #include diff --git a/include/eepp/network/http.hpp b/include/eepp/network/http.hpp index 6b87dbd86..41dadaba0 100644 --- a/include/eepp/network/http.hpp +++ b/include/eepp/network/http.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCHTTP_HPP #define EE_NETWORKCHTTP_HPP -#include +#include #include #include #include diff --git a/include/eepp/network/ipaddress.hpp b/include/eepp/network/ipaddress.hpp index cc91119b1..19e92e666 100644 --- a/include/eepp/network/ipaddress.hpp +++ b/include/eepp/network/ipaddress.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCIPADDRESS_HPP #define EE_NETWORKCIPADDRESS_HPP -#include +#include #include using namespace EE::System; diff --git a/include/eepp/network/packet.hpp b/include/eepp/network/packet.hpp index 9de19218f..9c0d5fa40 100644 --- a/include/eepp/network/packet.hpp +++ b/include/eepp/network/packet.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCPACKET_HPP #define EE_NETWORKCPACKET_HPP -#include +#include #include #include diff --git a/include/eepp/network/socket.hpp b/include/eepp/network/socket.hpp index 884a95120..32d27fd0b 100644 --- a/include/eepp/network/socket.hpp +++ b/include/eepp/network/socket.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCSOCKET_HPP #define EE_NETWORKCSOCKET_HPP -#include +#include #include #include #include diff --git a/include/eepp/network/socketselector.hpp b/include/eepp/network/socketselector.hpp index d005a412f..743e9f71c 100644 --- a/include/eepp/network/socketselector.hpp +++ b/include/eepp/network/socketselector.hpp @@ -1,7 +1,7 @@ #ifndef EE_NETWORKCSOCKETSELECTOR_HPP #define EE_NETWORKCSOCKETSELECTOR_HPP -#include +#include #include using namespace EE::System; diff --git a/include/eepp/system/thread.hpp b/include/eepp/system/thread.hpp index 07600c176..68ba69faa 100755 --- a/include/eepp/system/thread.hpp +++ b/include/eepp/system/thread.hpp @@ -120,7 +120,7 @@ class EE_API Thread : NonCopyable { Private::ThreadFunc * mEntryPoint; ///< Abstraction of the function to run }; -// Taken from SFML threads +// Based on the SFML2 thread implementation. namespace Private { // Base class for abstract thread functions diff --git a/include/eepp/window/engine.hpp b/include/eepp/window/engine.hpp index d8c6c4bdf..0ce517620 100755 --- a/include/eepp/window/engine.hpp +++ b/include/eepp/window/engine.hpp @@ -19,9 +19,7 @@ class EE_API Engine { public: ~Engine(); - /** Creates a new window. - * SDL2, SFML backends support more than one window creation, SDL 1.2 backend only 1 window. - */ + /** Creates a new window. */ EE::Window::Window * createWindow( WindowSettings Settings, ContextSettings Context = ContextSettings() ); /** Destroy the window instance, and set as current other window running ( if any ). @@ -51,7 +49,7 @@ class EE_API Engine { BitColor 32,16,8 Windowed bool Resizeable bool - Backend SDL, SDL2 or SFML + Backend SDL2 WinIcon The path to the window icon WinCaption The window default title @@ -67,7 +65,7 @@ class EE_API Engine { BitColor 32,16,8 Windowed bool Resizeable bool - Backend SDL, SDL2 or SFML + Backend SDL2 WinIcon The path to the window icon WinCaption The window default title @@ -142,12 +140,8 @@ class EE_API Engine { Backend::WindowBackend * createSDL2Backend( const WindowSettings& Settings ); - Backend::WindowBackend * createSFMLBackend( const WindowSettings& Settings ); - EE::Window::Window * createSDL2Window( const WindowSettings& Settings, const ContextSettings& Context ); - EE::Window::Window * createSFMLWindow( const WindowSettings& Settings, const ContextSettings& Context ); - EE::Window::Window * createDefaultWindow( const WindowSettings& Settings, const ContextSettings& Context ); Uint32 getDefaultBackend() const; diff --git a/include/eepp/window/joystickmanager.hpp b/include/eepp/window/joystickmanager.hpp index 6b3c796e9..3eb1d5fd1 100644 --- a/include/eepp/window/joystickmanager.hpp +++ b/include/eepp/window/joystickmanager.hpp @@ -24,7 +24,6 @@ class EE_API JoystickManager { /** Rescan all joysticks to look for new joystick connected. * This could be slow on some backends, and unnecessary on others. - * Is slow in SDL. SFML and SDL2 shouldn't need this. */ virtual void rescan(); diff --git a/include/eepp/window/window.hpp b/include/eepp/window/window.hpp index c2b1f4449..6d9261151 100644 --- a/include/eepp/window/window.hpp +++ b/include/eepp/window/window.hpp @@ -37,7 +37,6 @@ namespace WindowBackend { enum { SDL2, - SFML, Default }; } @@ -355,9 +354,6 @@ class EE_API Window { /** Pop the callback id indicated. */ void popResizeCallback( const Uint32& CallbackId ); - /** @return The pointer to the instance of the platform implementation functions. */ - Platform::PlatformImpl * getPlatform() const; - /** * @brief Start accepting Unicode text input events. * This function will show the on-screen keyboard if supported. @@ -450,7 +446,6 @@ class EE_API Window { Clipboard * mClipboard; Input * mInput; CursorManager * mCursorManager; - Platform::PlatformImpl * mPlatform; View mDefaultView; const View * mCurrentView; Uint32 mNumCallBacks; @@ -502,8 +497,6 @@ class EE_API Window { /** Obtain the Main Context, this is called after the OpenGL context creation. */ virtual void getMainContext(); - virtual void createPlatform(); - virtual void onWindowResize( Uint32 Width, Uint32 Height ) = 0; void sendVideoResizeCb(); diff --git a/premake4.lua b/premake4.lua index 9d1d66755..09ea1df40 100644 --- a/premake4.lua +++ b/premake4.lua @@ -148,9 +148,7 @@ newoption { trigger = "with-backend", description = "Select the backend to use for window and input handling.\n\t\t\tIf no backend is selected or if the selected is not installed the script will search for a backend present in the system, and will use it.", allowed = { - { "SDL2", "SDL2 (default and recommended)" }, - { "SFML", "SFML2" }, - { "SDL2,SFML", "SDL2+SFML" } + { "SDL2", "SDL2" } } } @@ -550,20 +548,6 @@ function add_sdl2() end end -function add_sfml() - print("Using SFML backend"); - files { "src/eepp/window/backend/SFML/*.cpp" } - defines { "EE_BACKEND_SFML_ACTIVE" } - - if not can_add_static_backend("SFML") then - table.insert( link_list, get_backend_link_name( "sfml-system" ) ) - table.insert( link_list, get_backend_link_name( "sfml-window" ) ) - else - insert_static_backend( "libsfml-system" ) - insert_static_backend( "libsfml-window" ) - end -end - function set_xcode_config() if is_xcode() or _OPTIONS["use-frameworks"] then linkoptions { "-F/Library/Frameworks" } @@ -645,17 +629,10 @@ function select_backend() add_sdl2() end - if backend_is("SFML", "sfml-window") then - print("Selected SFML") - add_sfml() - end - -- If the selected backend is not present, try to find one present if not backend_selected then if os_findlib("SDL2", "SDL2") then add_sdl2() - elseif os_findlib("SFML", "sfml-window") then - add_sfml() else print("ERROR: Couldnt find any backend. Forced SDL2.") add_sdl2( true ) @@ -716,7 +693,6 @@ function build_eepp( build_name ) "src/eepp/graphics/*.cpp", "src/eepp/graphics/renderer/*.cpp", "src/eepp/window/*.cpp", - "src/eepp/window/platform/null/*.cpp", "src/eepp/network/*.cpp", "src/eepp/network/ssl/*.cpp", "src/eepp/network/http/*.cpp", @@ -746,16 +722,6 @@ function build_eepp( build_name ) build_link_configuration( build_name ) - configuration "windows" - files { "src/eepp/window/platform/win/*.cpp" } - add_cross_config_links() - - configuration "linux" - files { "src/eepp/window/platform/x11/*.cpp" } - - configuration "macosx" - files { "src/eepp/window/platform/osx/*.cpp" } - configuration "emscripten" if _OPTIONS["force-gles1"] then defines{ "EE_GLES1_DEFAULT" } diff --git a/premake5.lua b/premake5.lua index 8941793de..0bd2904cb 100644 --- a/premake5.lua +++ b/premake5.lua @@ -11,9 +11,7 @@ newoption { trigger = "with-backend", description = "Select the backend to use for window and input handling.\n\t\t\tIf no backend is selected or if the selected is not installed the script will search for a backend present in the system, and will use it.", allowed = { - { "SDL2", "SDL2 (default and recommended)" }, - { "SFML", "SFML2" }, - { "SDL2,SFML", "SDL2+SFML" } + { "SDL2", "SDL2" }, } } @@ -275,7 +273,7 @@ function build_link_configuration( package_name, use_ee_icon ) configuration "windows" add_cross_config_links() - + if is_vs() and table.contains( backends, "SDL2" ) then links { "SDL2", "SDL2main" } end @@ -387,26 +385,10 @@ function add_sdl2() else insert_static_backend( "SDL2" ) end - + table.insert( backends, "SDL2" ) end -function add_sfml() - print("Using SFML backend"); - files { "src/eepp/window/backend/SFML/*.cpp" } - defines { "EE_BACKEND_SFML_ACTIVE" } - - if not can_add_static_backend("SFML") then - table.insert( link_list, get_backend_link_name( "sfml-system" ) ) - table.insert( link_list, get_backend_link_name( "sfml-window" ) ) - else - insert_static_backend( "libsfml-system" ) - insert_static_backend( "libsfml-window" ) - end - - table.insert( backends, "SFML" ) -end - function set_xcode_config() if is_xcode() or _OPTIONS["use-frameworks"] then linkoptions { "-F /Library/Frameworks" } @@ -488,17 +470,10 @@ function select_backend() add_sdl2() end - if backend_is("SFML", "sfml-window") then - print("Selected SFML") - add_sfml() - end - -- If the selected backend is not present, try to find one present if not backend_selected then if os_findlib("SDL2", "SDL2") then add_sdl2() - elseif os_findlib("SFML", "sfml-window") then - add_sfml() else print("ERROR: Couldnt find any backend. Forced SDL2.") add_sdl2() @@ -532,7 +507,7 @@ function set_macos_config() if os.istarget("macosx") and ( is_xcode() or _OPTIONS["use-frameworks"] ) then libdirs { "/System/Library/Frameworks", "/Library/Frameworks" } end - + if _OPTIONS["use-frameworks"] then defines { "EE_USE_FRAMEWORKS" } end @@ -540,7 +515,7 @@ end function build_eepp( build_name ) includedirs { "include", "src", "src/thirdparty", "include/eepp/thirdparty", "src/thirdparty/freetype2/include", "src/thirdparty/zlib", "src/thirdparty/libogg/include", "src/thirdparty/libvorbis/include", "src/thirdparty/mbedtls/include" } - + set_macos_config() set_ios_config() set_xcode_config() @@ -570,7 +545,6 @@ function build_eepp( build_name ) "src/eepp/graphics/*.cpp", "src/eepp/graphics/renderer/*.cpp", "src/eepp/window/*.cpp", - "src/eepp/window/platform/null/*.cpp", "src/eepp/network/*.cpp", "src/eepp/network/ssl/*.cpp", "src/eepp/network/http/*.cpp", @@ -600,16 +574,6 @@ function build_eepp( build_name ) build_link_configuration( build_name ) - configuration "windows" - files { "src/eepp/window/platform/win/*.cpp" } - add_cross_config_links() - - configuration "linux" - files { "src/eepp/window/platform/x11/*.cpp" } - - configuration "macosx" - files { "src/eepp/window/platform/osx/*.cpp" } - configuration "emscripten" if _OPTIONS["force-gles1"] then defines{ "EE_GLES1_DEFAULT" } @@ -881,7 +845,7 @@ workspace "eepp" if os.istarget("macosx") then links { "CoreFoundation.framework", "CoreServices.framework" } end - + links { "efsw-static", "pugixml-static" } files { "src/tools/uieditor/*.cpp" } build_link_configuration( "eepp-UIEditor", true ) diff --git a/projects/linux/ee.config b/projects/linux/ee.config index 310304b69..9358a2eb0 100644 --- a/projects/linux/ee.config +++ b/projects/linux/ee.config @@ -6,7 +6,6 @@ #define EE_GLEW_AVAILABLE #define EE_SSL_SUPPORT #define EE_OPENSSL -#define EE_BACKEND_SFML_ACTIVE #define EE_BACKEND_SDL2 #define EE_GL3_ENABLED #define EE_BACKEND_SDL_ACTIVE diff --git a/projects/linux/ee.creator.user b/projects/linux/ee.creator.user index d5b72dce5..eb51ed134 100644 --- a/projects/linux/ee.creator.user +++ b/projects/linux/ee.creator.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -77,7 +77,7 @@ Desktop Desktop {6d057187-158a-4883-8d5b-d470a6b6b025} - 10 + 0 0 0 @@ -176,7 +176,7 @@ true - --with-backend=SDL2,SFML gmake + --with-backend=SDL2 gmake premake5 %{buildDir}../../../ Custom Process Step diff --git a/projects/linux/ee.files b/projects/linux/ee.files index bf61ffffe..c66ab6d52 100644 --- a/projects/linux/ee.files +++ b/projects/linux/ee.files @@ -145,7 +145,6 @@ ../../include/eepp/math/triangle2.hpp ../../include/eepp/math/vector2.hpp ../../include/eepp/math/vector3.hpp -../../include/eepp/network/base.hpp ../../include/eepp/network/ftp.hpp ../../include/eepp/network.hpp ../../include/eepp/network/http.hpp @@ -375,7 +374,6 @@ ../../include/eepp/window/joystickmanager.hpp ../../include/eepp/window/keycodes.hpp ../../include/eepp/window/platformhelper.hpp -../../include/eepp/window/platformimpl.hpp ../../include/eepp/window/windowcontext.hpp ../../include/eepp/window/windowhandle.hpp ../../include/eepp/window/window.hpp @@ -845,25 +843,6 @@ ../../src/eepp/window/backend/SDL/joysticksdl.hpp ../../src/eepp/window/backend/SDL/windowsdl.cpp ../../src/eepp/window/backend/SDL/windowsdl.hpp -../../src/eepp/window/backend/SFML/backendsfml.hpp -../../src/eepp/window/backend/SFML/clipboardsfml.cpp -../../src/eepp/window/backend/SFML/clipboardsfml.hpp -../../src/eepp/window/backend/SFML/cursormanagersfml.cpp -../../src/eepp/window/backend/SFML/cursormanagersfml.hpp -../../src/eepp/window/backend/SFML/cursorsfml.cpp -../../src/eepp/window/backend/SFML/cursorsfml.hpp -../../src/eepp/window/backend/SFML/displaymanagersfml.cpp -../../src/eepp/window/backend/SFML/displaymanagersfml.hpp -../../src/eepp/window/backend/SFML/inputsfml.cpp -../../src/eepp/window/backend/SFML/inputsfml.hpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.cpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.hpp -../../src/eepp/window/backend/SFML/joysticksfml.cpp -../../src/eepp/window/backend/SFML/joysticksfml.hpp -../../src/eepp/window/backend/SFML/platformhelpersfml.cpp -../../src/eepp/window/backend/SFML/platformhelpersfml.hpp -../../src/eepp/window/backend/SFML/windowsfml.cpp -../../src/eepp/window/backend/SFML/windowsfml.hpp ../../src/eepp/window/clipboard.cpp ../../src/eepp/window/cursor.cpp ../../src/eepp/window/cursormanager.cpp @@ -876,20 +855,6 @@ ../../src/eepp/window/joystick.cpp ../../src/eepp/window/joystickmanager.cpp ../../src/eepp/window/platformhelper.hpp -../../src/eepp/window/platformimpl.cpp -../../src/eepp/window/platform/null/nullimpl.cpp -../../src/eepp/window/platform/null/nullimpl.hpp -../../src/eepp/window/platform/osx/osximpl.cpp -../../src/eepp/window/platform/osx/osximpl.hpp -../../src/eepp/window/platform/platformimpl.hpp -../../src/eepp/window/platform/win/cursorwin.cpp -../../src/eepp/window/platform/win/cursorwin.hpp -../../src/eepp/window/platform/win/winimpl.cpp -../../src/eepp/window/platform/win/winimpl.hpp -../../src/eepp/window/platform/x11/cursorx11.cpp -../../src/eepp/window/platform/x11/cursorx11.hpp -../../src/eepp/window/platform/x11/x11impl.cpp -../../src/eepp/window/platform/x11/x11impl.hpp ../../src/eepp/window/window.cpp ../../src/examples/empty_window/empty_window.cpp ../../src/examples/external_shader/external_shader.cpp diff --git a/projects/osx/ee.config b/projects/osx/ee.config index 4acbb5015..9358a2eb0 100644 --- a/projects/osx/ee.config +++ b/projects/osx/ee.config @@ -6,7 +6,6 @@ #define EE_GLEW_AVAILABLE #define EE_SSL_SUPPORT #define EE_OPENSSL -#define EE_BACKEND_SFML_ACTIVE #define EE_BACKEND_SDL2 #define EE_GL3_ENABLED #define EE_BACKEND_SDL_ACTIVE @@ -14,4 +13,3 @@ #define DR_MP3_IMPLEMENTATION #define DR_FLAC_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION -#define EE_USE_FRAMEWORKS diff --git a/projects/osx/ee.files b/projects/osx/ee.files index 2b2ffcf42..c66ab6d52 100644 --- a/projects/osx/ee.files +++ b/projects/osx/ee.files @@ -21,7 +21,6 @@ ../../include/eepp/audio/soundfilereaderogg.hpp ../../include/eepp/audio/soundfilewriter.hpp ../../include/eepp/audio/sound.hpp -../../include/eepp/audio/soundloader.hpp ../../include/eepp/audio/soundmanager.hpp ../../include/eepp/audio/soundrecorder.hpp ../../include/eepp/audio/soundsource.hpp @@ -56,7 +55,6 @@ ../../include/eepp/graphics/fontsprite.hpp ../../include/eepp/graphics/fontstyleconfig.hpp ../../include/eepp/graphics/fonttruetype.hpp -../../include/eepp/graphics/fonttruetypeloader.hpp ../../include/eepp/graphics/framebuffer.hpp ../../include/eepp/graphics/framebuffermanager.hpp ../../include/eepp/graphics/globalbatchrenderer.hpp @@ -84,6 +82,7 @@ ../../include/eepp/graphics/renderer/rendererhelper.hpp ../../include/eepp/graphics/renderer/renderer.hpp ../../include/eepp/graphics/rendermode.hpp +../../include/eepp/graphics/scopedtexture.hpp ../../include/eepp/graphics/scrollparallax.hpp ../../include/eepp/graphics/shader.hpp ../../include/eepp/graphics/shaderprogram.hpp @@ -103,7 +102,6 @@ ../../include/eepp/graphics/textureloader.hpp ../../include/eepp/graphics/texturepacker.hpp ../../include/eepp/graphics/textureregion.hpp -../../include/eepp/graphics/texturesaver.hpp ../../include/eepp/graphics/vertexbufferhelper.hpp ../../include/eepp/graphics/vertexbuffer.hpp ../../include/eepp/graphics/vertexbuffermanager.hpp @@ -147,7 +145,6 @@ ../../include/eepp/math/triangle2.hpp ../../include/eepp/math/vector2.hpp ../../include/eepp/math/vector3.hpp -../../include/eepp/network/base.hpp ../../include/eepp/network/ftp.hpp ../../include/eepp/network.hpp ../../include/eepp/network/http.hpp @@ -207,6 +204,7 @@ ../../include/eepp/scene/actions/resizeheight.hpp ../../include/eepp/scene/actions/resizewidth.hpp ../../include/eepp/scene/actions/rotate.hpp +../../include/eepp/scene/actions/runnable.hpp ../../include/eepp/scene/actions/scale.hpp ../../include/eepp/scene/actions/sequence.hpp ../../include/eepp/scene/actions/spawn.hpp @@ -245,7 +243,6 @@ ../../include/eepp/system/log.hpp ../../include/eepp/system/md5.hpp ../../include/eepp/system/mutex.hpp -../../include/eepp/system/objectloader.hpp ../../include/eepp/system/pack.hpp ../../include/eepp/system/packmanager.hpp ../../include/eepp/system/pak.hpp @@ -258,6 +255,7 @@ ../../include/eepp/system/thread.hpp ../../include/eepp/system/threadlocal.hpp ../../include/eepp/system/threadlocalptr.hpp +../../include/eepp/system/threadpool.hpp ../../include/eepp/system/time.hpp ../../include/eepp/system/translator.hpp ../../include/eepp/system/virtualfilesystem.hpp @@ -376,30 +374,42 @@ ../../include/eepp/window/joystickmanager.hpp ../../include/eepp/window/keycodes.hpp ../../include/eepp/window/platformhelper.hpp -../../include/eepp/window/platformimpl.hpp ../../include/eepp/window/windowcontext.hpp ../../include/eepp/window/windowhandle.hpp ../../include/eepp/window/window.hpp ../../Makefile ../../Makefile.base ../../premake4.lua +../../premake5.lua ../../src/eepp/audio/alcheck.cpp +../../src/eepp/audio/ALCheck.cpp ../../src/eepp/audio/alcheck.hpp +../../src/eepp/audio/ALCheck.hpp ../../src/eepp/audio/alresource.cpp +../../src/eepp/audio/AlResource.cpp ../../src/eepp/audio/audiodevice.cpp +../../src/eepp/audio/AudioDevice.cpp ../../src/eepp/audio/audiodevice.hpp +../../src/eepp/audio/AudioDevice.hpp ../../src/eepp/audio/audiolistener.cpp ../../src/eepp/audio/inputsoundfile.cpp +../../src/eepp/audio/InputSoundFile.cpp ../../src/eepp/audio/listener.cpp +../../src/eepp/audio/Listener.cpp ../../src/eepp/audio/mp3info.cpp ../../src/eepp/audio/mp3info.hpp ../../src/eepp/audio/music.cpp +../../src/eepp/audio/Music.cpp ../../src/eepp/audio/openal.cpp ../../src/eepp/audio/openal.hpp ../../src/eepp/audio/outputsoundfile.cpp +../../src/eepp/audio/OutputSoundFile.cpp ../../src/eepp/audio/soundbuffer.cpp +../../src/eepp/audio/SoundBuffer.cpp ../../src/eepp/audio/soundbufferrecorder.cpp +../../src/eepp/audio/SoundBufferRecorder.cpp ../../src/eepp/audio/sound.cpp +../../src/eepp/audio/Sound.cpp ../../src/eepp/audio/soundfile.cpp ../../src/eepp/audio/soundfiledefault.cpp ../../src/eepp/audio/soundfiledefault.hpp @@ -409,20 +419,31 @@ ../../src/eepp/audio/soundfileogg.cpp ../../src/eepp/audio/soundfileogg.hpp ../../src/eepp/audio/soundfilereaderflac.cpp +../../src/eepp/audio/SoundFileReaderFlac.cpp ../../src/eepp/audio/soundfilereaderflac.hpp +../../src/eepp/audio/SoundFileReaderFlac.hpp ../../src/eepp/audio/soundfilereadermp3.cpp ../../src/eepp/audio/soundfilereadermp3.hpp ../../src/eepp/audio/soundfilereaderogg.cpp +../../src/eepp/audio/SoundFileReaderOgg.cpp ../../src/eepp/audio/soundfilereaderogg.hpp ../../src/eepp/audio/soundfilereaderwav.cpp +../../src/eepp/audio/SoundFileReaderWav.cpp ../../src/eepp/audio/soundfilereaderwav.hpp +../../src/eepp/audio/SoundFileReaderWav.hpp +../../src/eepp/audio/SoundFileWriterFlac.cpp ../../src/eepp/audio/soundfilewriterogg.cpp ../../src/eepp/audio/soundfilewriterogg.hpp ../../src/eepp/audio/soundfilewriterwav.cpp +../../src/eepp/audio/SoundFileWriterWav.cpp ../../src/eepp/audio/soundfilewriterwav.hpp +../../src/eepp/audio/SoundFileWriterWav.hpp ../../src/eepp/audio/soundrecorder.cpp +../../src/eepp/audio/SoundRecorder.cpp ../../src/eepp/audio/soundsource.cpp +../../src/eepp/audio/SoundSource.cpp ../../src/eepp/audio/soundstream.cpp +../../src/eepp/audio/SoundStream.cpp ../../src/eepp/core/debug.cpp ../../src/eepp/core/memorymanager.cpp ../../src/eepp/core/string.cpp @@ -442,7 +463,6 @@ ../../src/eepp/graphics/fontmanager.cpp ../../src/eepp/graphics/fontsprite.cpp ../../src/eepp/graphics/fonttruetype.cpp -../../src/eepp/graphics/fonttruetypeloader.cpp ../../src/eepp/graphics/framebuffer.cpp ../../src/eepp/graphics/framebufferfbo.cpp ../../src/eepp/graphics/framebufferfbo.hpp @@ -483,6 +503,7 @@ ../../src/eepp/graphics/renderer/shaders/pointsprite.vert.h ../../src/eepp/graphics/renderer/shaders/primitive.frag.h ../../src/eepp/graphics/renderer/shaders/primitive.vert.h +../../src/eepp/graphics/scopedtexture.cpp ../../src/eepp/graphics/scrollparallax.cpp ../../src/eepp/graphics/shader.cpp ../../src/eepp/graphics/shaderprogram.cpp @@ -506,8 +527,7 @@ ../../src/eepp/graphics/texturepackertex.cpp ../../src/eepp/graphics/texturepackertex.hpp ../../src/eepp/graphics/textureregion.cpp -../../src/eepp/graphics/texturesaver.cpp -../../src/eepp/graphics/texturesaver.hpp +../../src/eepp/graphics/scopedtexture.hpp ../../src/eepp/graphics/vertexbuffer.cpp ../../src/eepp/graphics/vertexbuffermanager.cpp ../../src/eepp/graphics/vertexbuffermanager.hpp @@ -617,6 +637,7 @@ ../../src/eepp/scene/actions/resizeheight.cpp ../../src/eepp/scene/actions/resizewidth.cpp ../../src/eepp/scene/actions/rotate.cpp +../../src/eepp/scene/actions/runnable.cpp ../../src/eepp/scene/actions/scale.cpp ../../src/eepp/scene/actions/sequence.cpp ../../src/eepp/scene/actions/spawn.cpp @@ -680,6 +701,7 @@ ../../src/eepp/system/sys.cpp ../../src/eepp/system/thread.cpp ../../src/eepp/system/threadlocal.cpp +../../src/eepp/system/threadpool.cpp ../../src/eepp/system/time.cpp ../../src/eepp/system/translator.cpp ../../src/eepp/system/virtualfilesystem.cpp @@ -821,25 +843,6 @@ ../../src/eepp/window/backend/SDL/joysticksdl.hpp ../../src/eepp/window/backend/SDL/windowsdl.cpp ../../src/eepp/window/backend/SDL/windowsdl.hpp -../../src/eepp/window/backend/SFML/backendsfml.hpp -../../src/eepp/window/backend/SFML/clipboardsfml.cpp -../../src/eepp/window/backend/SFML/clipboardsfml.hpp -../../src/eepp/window/backend/SFML/cursormanagersfml.cpp -../../src/eepp/window/backend/SFML/cursormanagersfml.hpp -../../src/eepp/window/backend/SFML/cursorsfml.cpp -../../src/eepp/window/backend/SFML/cursorsfml.hpp -../../src/eepp/window/backend/SFML/displaymanagersfml.cpp -../../src/eepp/window/backend/SFML/displaymanagersfml.hpp -../../src/eepp/window/backend/SFML/inputsfml.cpp -../../src/eepp/window/backend/SFML/inputsfml.hpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.cpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.hpp -../../src/eepp/window/backend/SFML/joysticksfml.cpp -../../src/eepp/window/backend/SFML/joysticksfml.hpp -../../src/eepp/window/backend/SFML/platformhelpersfml.cpp -../../src/eepp/window/backend/SFML/platformhelpersfml.hpp -../../src/eepp/window/backend/SFML/windowsfml.cpp -../../src/eepp/window/backend/SFML/windowsfml.hpp ../../src/eepp/window/clipboard.cpp ../../src/eepp/window/cursor.cpp ../../src/eepp/window/cursormanager.cpp @@ -852,20 +855,6 @@ ../../src/eepp/window/joystick.cpp ../../src/eepp/window/joystickmanager.cpp ../../src/eepp/window/platformhelper.hpp -../../src/eepp/window/platformimpl.cpp -../../src/eepp/window/platform/null/nullimpl.cpp -../../src/eepp/window/platform/null/nullimpl.hpp -../../src/eepp/window/platform/osx/osximpl.cpp -../../src/eepp/window/platform/osx/osximpl.hpp -../../src/eepp/window/platform/platformimpl.hpp -../../src/eepp/window/platform/win/cursorwin.cpp -../../src/eepp/window/platform/win/cursorwin.hpp -../../src/eepp/window/platform/win/winimpl.cpp -../../src/eepp/window/platform/win/winimpl.hpp -../../src/eepp/window/platform/x11/cursorx11.cpp -../../src/eepp/window/platform/x11/cursorx11.hpp -../../src/eepp/window/platform/x11/x11impl.cpp -../../src/eepp/window/platform/x11/x11impl.hpp ../../src/eepp/window/window.cpp ../../src/examples/empty_window/empty_window.cpp ../../src/examples/external_shader/external_shader.cpp diff --git a/projects/windows/ee.config b/projects/windows/ee.config index 0ad67c1e2..9358a2eb0 100644 --- a/projects/windows/ee.config +++ b/projects/windows/ee.config @@ -1,15 +1,15 @@ #define EE_SDL_VERSION_2 #define EE_X11_PLATFORM #define EE_DEBUG -#define EE_LIBSNDFILE_ENABLED #define EE_MEMORY_MANAGER #define EE_SHADERS_SUPPORTED #define EE_GLEW_AVAILABLE #define EE_SSL_SUPPORT #define EE_OPENSSL -#define EE_BACKEND_SFML_ACTIVE #define EE_BACKEND_SDL2 #define EE_GL3_ENABLED -#define EE_SHADERS_SUPPORTED #define EE_BACKEND_SDL_ACTIVE -#define EE_EXPORTS +#define EE_MBEDTLS +#define DR_MP3_IMPLEMENTATION +#define DR_FLAC_IMPLEMENTATION +#define STB_IMAGE_IMPLEMENTATION diff --git a/projects/windows/ee.files b/projects/windows/ee.files index 70aab684b..c66ab6d52 100644 --- a/projects/windows/ee.files +++ b/projects/windows/ee.files @@ -1,803 +1,892 @@ -../../include/eepp/scene/event.hpp -../../include/eepp/scene/eventdispatcher.hpp -../../include/eepp/scene/scenemanager.hpp -../../include/eepp/ui/uieventdispatcher.hpp -../../include/eepp/scene/keyevent.hpp -../../include/eepp/scene/mouseevent.hpp -../../include/eepp/scene/scenenode.hpp -../../src/eepp/scene/scenemanager.cpp -../../src/eepp/ui/uiscenenode.cpp -../../include/eepp/ui/uiscenenode.hpp -../../include/eepp/window/displaymanager.hpp -../../src/eepp/graphics/renderer/shaders/basegl3cp.gles2.frag.h -../../src/eepp/graphics/renderer/shaders/basegl3cp.gles2.vert.h -../../src/eepp/scene/event.cpp -../../src/eepp/scene/eventdispatcher.cpp -../../src/eepp/ui/uieventdispatcher.cpp -../../src/eepp/scene/keyevent.cpp -../../src/eepp/scene/mouseevent.cpp -../../src/eepp/scene/scenenode.cpp -../../src/eepp/window/backend/SDL2/displaymanagersdl2.cpp -../../src/eepp/window/backend/SDL2/displaymanagersdl2.hpp -../../src/eepp/window/backend/SFML/displaymanagersfml.cpp -../../src/eepp/window/backend/SFML/displaymanagersfml.hpp -../../src/eepp/window/displaymanager.cpp -../../src/tools/mapeditor/mapeditor.cpp -../../src/tools/textureatlaseditor/textureatlaseditor.cpp +../../bin/assets/ee.ini +../../bin/assets/layouts/test.css +../../bin/assets/layouts/test.xml +../../bin/assets/layouts/test_widgets.xml +../../bin/assets/ui/uitheme.css +../../external_projects.lua +../../include/eepp/audio/alresource.hpp +../../include/eepp/audio/audiodevice.hpp +../../include/eepp/audio/audiolistener.hpp +../../include/eepp/audio/base.hpp +../../include/eepp/audio.hpp +../../include/eepp/audio/inputsoundfile.hpp +../../include/eepp/audio/listener.hpp +../../include/eepp/audio/music.hpp +../../include/eepp/audio/outputsoundfile.hpp +../../include/eepp/audio/soundbuffer.hpp +../../include/eepp/audio/soundbufferrecorder.hpp +../../include/eepp/audio/soundfilefactory.hpp +../../include/eepp/audio/soundfilefactory.inl +../../include/eepp/audio/soundfilereader.hpp +../../include/eepp/audio/soundfilereaderogg.hpp +../../include/eepp/audio/soundfilewriter.hpp +../../include/eepp/audio/sound.hpp +../../include/eepp/audio/soundmanager.hpp +../../include/eepp/audio/soundrecorder.hpp +../../include/eepp/audio/soundsource.hpp +../../include/eepp/audio/soundstream.hpp +../../include/eepp/config.hpp +../../include/eepp/core/allocator.hpp +../../include/eepp/core/core.hpp +../../include/eepp/core/debug.hpp +../../include/eepp/core.hpp +../../include/eepp/core/memorymanager.hpp +../../include/eepp/core/noncopyable.hpp +../../include/eepp/core/stlcontainers.hpp +../../include/eepp/core/string.hpp +../../include/eepp/core/utf.hpp +../../include/eepp/core/utf.inl +../../include/eepp/ee.hpp ../../include/eepp/graphics/arcdrawable.hpp +../../include/eepp/graphics/base.hpp +../../include/eepp/graphics/batchrenderer.hpp +../../include/eepp/graphics/blendmode.hpp ../../include/eepp/graphics/circledrawable.hpp +../../include/eepp/graphics/console.hpp ../../include/eepp/graphics/convexshapedrawable.hpp -../../include/eepp/graphics/drawable.hpp ../../include/eepp/graphics/drawablegroup.hpp +../../include/eepp/graphics/drawable.hpp ../../include/eepp/graphics/drawableresource.hpp ../../include/eepp/graphics/drawablesearcher.hpp +../../include/eepp/graphics/fontbmfont.hpp +../../include/eepp/graphics/fonthelper.hpp ../../include/eepp/graphics/font.hpp +../../include/eepp/graphics/fontmanager.hpp ../../include/eepp/graphics/fontsprite.hpp ../../include/eepp/graphics/fontstyleconfig.hpp ../../include/eepp/graphics/fonttruetype.hpp -../../include/eepp/graphics/fontbmfont.hpp -../../include/eepp/graphics/fonttruetypeloader.hpp +../../include/eepp/graphics/framebuffer.hpp +../../include/eepp/graphics/framebuffermanager.hpp +../../include/eepp/graphics/globalbatchrenderer.hpp +../../include/eepp/graphics/globaltextureatlas.hpp +../../include/eepp/graphics.hpp +../../include/eepp/graphics/image.hpp ../../include/eepp/graphics/ninepatch.hpp ../../include/eepp/graphics/ninepatchmanager.hpp +../../include/eepp/graphics/packerhelper.hpp +../../include/eepp/graphics/particle.hpp +../../include/eepp/graphics/particlesystem.hpp +../../include/eepp/graphics/pixeldensity.hpp ../../include/eepp/graphics/primitivedrawable.hpp +../../include/eepp/graphics/primitives.hpp ../../include/eepp/graphics/primitivetype.hpp ../../include/eepp/graphics/rectangledrawable.hpp ../../include/eepp/graphics/renderer/base.hpp ../../include/eepp/graphics/renderer/clippingmask.hpp ../../include/eepp/graphics/renderer/opengl.hpp -../../include/eepp/graphics/renderer/renderer.hpp -../../include/eepp/graphics/renderer/renderer.hpp -../../include/eepp/graphics/renderer/renderergl.hpp -../../include/eepp/graphics/renderer/renderergl3.hpp ../../include/eepp/graphics/renderer/renderergl3cp.hpp +../../include/eepp/graphics/renderer/renderergl3.hpp ../../include/eepp/graphics/renderer/renderergles2.hpp +../../include/eepp/graphics/renderer/renderergl.hpp ../../include/eepp/graphics/renderer/rendererglshader.hpp ../../include/eepp/graphics/renderer/rendererhelper.hpp +../../include/eepp/graphics/renderer/renderer.hpp ../../include/eepp/graphics/rendermode.hpp +../../include/eepp/graphics/scopedtexture.hpp +../../include/eepp/graphics/scrollparallax.hpp +../../include/eepp/graphics/shader.hpp +../../include/eepp/graphics/shaderprogram.hpp +../../include/eepp/graphics/shaderprogrammanager.hpp +../../include/eepp/graphics/sprite.hpp +../../include/eepp/graphics/statefuldrawable.hpp +../../include/eepp/graphics/statelistdrawable.hpp +../../include/eepp/graphics/textcache.hpp ../../include/eepp/graphics/text.hpp +../../include/eepp/graphics/textureatlas.hpp +../../include/eepp/graphics/textureatlasloader.hpp +../../include/eepp/graphics/textureatlasmanager.hpp +../../include/eepp/graphics/texturefactory.hpp +../../include/eepp/graphics/texturefont.hpp +../../include/eepp/graphics/texturefontloader.hpp +../../include/eepp/graphics/texture.hpp +../../include/eepp/graphics/textureloader.hpp +../../include/eepp/graphics/texturepacker.hpp ../../include/eepp/graphics/textureregion.hpp ../../include/eepp/graphics/vertexbufferhelper.hpp +../../include/eepp/graphics/vertexbuffer.hpp +../../include/eepp/graphics/vertexbuffermanager.hpp +../../include/eepp/graphics/vertexbufferogl.hpp +../../include/eepp/graphics/vertexbuffervbo.hpp +../../include/eepp/graphics/view.hpp +../../include/eepp/maps/base.hpp +../../include/eepp/maps/gameobject.hpp +../../include/eepp/maps/gameobjectobject.hpp +../../include/eepp/maps/gameobjectpolygon.hpp +../../include/eepp/maps/gameobjectpolyline.hpp +../../include/eepp/maps/gameobjectsprite.hpp +../../include/eepp/maps/gameobjecttextureregionex.hpp +../../include/eepp/maps/gameobjecttextureregion.hpp +../../include/eepp/maps/gameobjectvirtual.hpp +../../include/eepp/maps.hpp +../../include/eepp/maps/mapeditor/mapeditor.hpp +../../include/eepp/maps/maphelper.hpp +../../include/eepp/maps/maplayer.hpp +../../include/eepp/maps/maplight.hpp +../../include/eepp/maps/maplightmanager.hpp +../../include/eepp/maps/mapobjectlayer.hpp +../../include/eepp/maps/tilemap.hpp +../../include/eepp/maps/tilemaplayer.hpp +../../include/eepp/math/ease.hpp +../../include/eepp/math/easing.hpp +../../include/eepp/math.hpp ../../include/eepp/math/interpolation1d.hpp ../../include/eepp/math/interpolation2d.hpp -../../include/eepp/math/transform.hpp +../../include/eepp/math/line2.hpp +../../include/eepp/math/math.hpp +../../include/eepp/math/mtrand.hpp +../../include/eepp/math/originpoint.hpp +../../include/eepp/math/perlinnoise.hpp +../../include/eepp/math/polygon2.hpp +../../include/eepp/math/quad2.hpp +../../include/eepp/math/rect.hpp +../../include/eepp/math/size.hpp ../../include/eepp/math/transformable.hpp -../../include/eepp/system/color.hpp -../../include/eepp/system/directorypack.hpp -../../include/eepp/system/iostreampak.hpp -../../include/eepp/system/iostreamzip.hpp -../../include/eepp/system/translator.hpp -../../include/eepp/system/virtualfilesystem.hpp -../../include/eepp/scene/node.hpp -../../src/eepp/scene/node.cpp +../../include/eepp/math/transform.hpp +../../include/eepp/math/triangle2.hpp +../../include/eepp/math/vector2.hpp +../../include/eepp/math/vector3.hpp +../../include/eepp/network/ftp.hpp +../../include/eepp/network.hpp +../../include/eepp/network/http.hpp +../../include/eepp/network/ipaddress.hpp +../../include/eepp/network/packet.hpp +../../include/eepp/network/sockethandle.hpp +../../include/eepp/network/socket.hpp +../../include/eepp/network/socketselector.hpp +../../include/eepp/network/ssl/sslsocket.hpp +../../include/eepp/network/tcplistener.hpp +../../include/eepp/network/tcpsocket.hpp +../../include/eepp/network/udpsocket.hpp +../../include/eepp/network/uri.hpp +../../include/eepp/physics/arbiter.hpp +../../include/eepp/physics/area.hpp +../../include/eepp/physics/base.hpp +../../include/eepp/physics/body.hpp +../../include/eepp/physics/constraints/constraint.hpp +../../include/eepp/physics/constraints/dampedrotaryspring.hpp +../../include/eepp/physics/constraints/dampedspring.hpp +../../include/eepp/physics/constraints/gearjoint.hpp +../../include/eepp/physics/constraints/groovejoint.hpp +../../include/eepp/physics/constraints/pinjoint.hpp +../../include/eepp/physics/constraints/pivotjoint.hpp +../../include/eepp/physics/constraints/ratchetjoint.hpp +../../include/eepp/physics/constraints/rotarylimitjoint.hpp +../../include/eepp/physics/constraints/simplemotor.hpp +../../include/eepp/physics/constraints/slidejoint.hpp +../../include/eepp/physics.hpp +../../include/eepp/physics/moment.hpp +../../include/eepp/physics/physicshelper.hpp +../../include/eepp/physics/physicsmanager.hpp +../../include/eepp/physics/settings.hpp +../../include/eepp/physics/shapecircle.hpp +../../include/eepp/physics/shapecirclesprite.hpp +../../include/eepp/physics/shape.hpp +../../include/eepp/physics/shapepoint.hpp +../../include/eepp/physics/shapepoly.hpp +../../include/eepp/physics/shapepolysprite.hpp +../../include/eepp/physics/shapesegment.hpp +../../include/eepp/physics/space.hpp +../../include/eepp/scene/action.hpp +../../include/eepp/scene/actionmanager.hpp ../../include/eepp/scene/actions/actioninterpolation1d.hpp ../../include/eepp/scene/actions/actioninterpolation2d.hpp +../../include/eepp/scene/actions/actions.hpp +../../include/eepp/scene/actions/close.hpp ../../include/eepp/scene/actions/delay.hpp +../../include/eepp/scene/actions/disable.hpp +../../include/eepp/scene/actions/enable.hpp ../../include/eepp/scene/actions/fade.hpp ../../include/eepp/scene/actions/marginmove.hpp ../../include/eepp/scene/actions/move.hpp +../../include/eepp/scene/actions/paddingtransition.hpp +../../include/eepp/scene/actions/resize.hpp +../../include/eepp/scene/actions/resizeborderradius.hpp +../../include/eepp/scene/actions/resizeheight.hpp +../../include/eepp/scene/actions/resizewidth.hpp ../../include/eepp/scene/actions/rotate.hpp +../../include/eepp/scene/actions/runnable.hpp ../../include/eepp/scene/actions/scale.hpp ../../include/eepp/scene/actions/sequence.hpp ../../include/eepp/scene/actions/spawn.hpp +../../include/eepp/scene/actions/tint.hpp +../../include/eepp/scene/actions/visible.hpp +../../include/eepp/scene/eventdispatcher.hpp +../../include/eepp/scene/event.hpp +../../include/eepp/scene.hpp +../../include/eepp/scene/keyevent.hpp +../../include/eepp/scene/mouseevent.hpp +../../include/eepp/scene/nodeattribute.hpp +../../include/eepp/scene/node.hpp +../../include/eepp/scene/nodemessage.hpp +../../include/eepp/scene/scenemanager.hpp +../../include/eepp/scene/scenenode.hpp +../../include/eepp/system/base64.hpp +../../include/eepp/system/bitop.hpp +../../include/eepp/system/clock.hpp +../../include/eepp/system/color.hpp +../../include/eepp/system/compression.hpp +../../include/eepp/system/condition.hpp +../../include/eepp/system/container.hpp +../../include/eepp/system/directorypack.hpp +../../include/eepp/system/filesystem.hpp +../../include/eepp/system.hpp +../../include/eepp/system/inifile.hpp +../../include/eepp/system/iostreamdeflate.hpp +../../include/eepp/system/iostreamfile.hpp +../../include/eepp/system/iostream.hpp +../../include/eepp/system/iostreaminflate.hpp +../../include/eepp/system/iostreammemory.hpp +../../include/eepp/system/iostreampak.hpp +../../include/eepp/system/iostreamstring.hpp +../../include/eepp/system/iostreamzip.hpp +../../include/eepp/system/lock.hpp +../../include/eepp/system/log.hpp +../../include/eepp/system/md5.hpp +../../include/eepp/system/mutex.hpp +../../include/eepp/system/pack.hpp +../../include/eepp/system/packmanager.hpp +../../include/eepp/system/pak.hpp +../../include/eepp/system/rc4.hpp +../../include/eepp/system/resourceloader.hpp +../../include/eepp/system/resourcemanager.hpp +../../include/eepp/system/scopedbuffer.hpp +../../include/eepp/system/singleton.hpp +../../include/eepp/system/sys.hpp +../../include/eepp/system/thread.hpp +../../include/eepp/system/threadlocal.hpp +../../include/eepp/system/threadlocalptr.hpp +../../include/eepp/system/threadpool.hpp +../../include/eepp/system/time.hpp +../../include/eepp/system/translator.hpp +../../include/eepp/system/virtualfilesystem.hpp +../../include/eepp/system/zip.hpp +../../include/eepp/thirdparty/chipmunk/chipmunk_ffi.h +../../include/eepp/thirdparty/chipmunk/chipmunk.h +../../include/eepp/thirdparty/chipmunk/chipmunk_private.h +../../include/eepp/thirdparty/chipmunk/chipmunk_types.h +../../include/eepp/thirdparty/chipmunk/chipmunk_unsafe.h +../../include/eepp/thirdparty/chipmunk/constraints/cpConstraint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpDampedRotarySpring.h +../../include/eepp/thirdparty/chipmunk/constraints/cpDampedSpring.h +../../include/eepp/thirdparty/chipmunk/constraints/cpGearJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpGrooveJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpPinJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpPivotJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpRatchetJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpRotaryLimitJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/cpSimpleMotor.h +../../include/eepp/thirdparty/chipmunk/constraints/cpSlideJoint.h +../../include/eepp/thirdparty/chipmunk/constraints/util.h +../../include/eepp/thirdparty/chipmunk/cpArbiter.h +../../include/eepp/thirdparty/chipmunk/cpBB.h +../../include/eepp/thirdparty/chipmunk/cpBody.h +../../include/eepp/thirdparty/chipmunk/cpPolyShape.h +../../include/eepp/thirdparty/chipmunk/cpShape.h +../../include/eepp/thirdparty/chipmunk/cpSpace.h +../../include/eepp/thirdparty/chipmunk/cpSpatialIndex.h +../../include/eepp/thirdparty/chipmunk/cpVect.h +../../include/eepp/thirdparty/PlusCallback/callback.hpp +../../include/eepp/ui/base.hpp +../../include/eepp/ui.hpp +../../include/eepp/ui/css/stylesheet.hpp +../../include/eepp/ui/css/stylesheetelement.hpp +../../include/eepp/ui/css/stylesheetparser.hpp +../../include/eepp/ui/css/stylesheetpropertiesparser.hpp +../../include/eepp/ui/css/stylesheetproperty.hpp +../../include/eepp/ui/css/stylesheetselector.hpp +../../include/eepp/ui/css/stylesheetselectorparser.hpp +../../include/eepp/ui/css/stylesheetselectorrule.hpp +../../include/eepp/ui/css/stylesheetstyle.hpp ../../include/eepp/ui/marginmove/scale.hpp -../../include/eepp/scene/action.hpp -../../include/eepp/scene/actionmanager.hpp +../../include/eepp/ui/tools/textureatlaseditor.hpp +../../include/eepp/ui/uicheckbox.hpp +../../include/eepp/ui/uicombobox.hpp +../../include/eepp/ui/uicommondialog.hpp +../../include/eepp/ui/uidropdownlist.hpp +../../include/eepp/ui/uieventdispatcher.hpp +../../include/eepp/ui/uifontstyleconfig.hpp ../../include/eepp/ui/uigridlayout.hpp +../../include/eepp/ui/uihelper.hpp ../../include/eepp/ui/uiimage.hpp +../../include/eepp/ui/uiitemcontainer.hpp ../../include/eepp/ui/uilayout.hpp ../../include/eepp/ui/uilinearlayout.hpp +../../include/eepp/ui/uilistbox.hpp +../../include/eepp/ui/uilistboxitem.hpp +../../include/eepp/ui/uiloader.hpp +../../include/eepp/ui/uimanager.hpp +../../include/eepp/ui/uimenucheckbox.hpp +../../include/eepp/ui/uimenu.hpp +../../include/eepp/ui/uimenuitem.hpp ../../include/eepp/ui/uimenuseparator.hpp +../../include/eepp/ui/uimenusubmenu.hpp +../../include/eepp/ui/uimessagebox.hpp ../../include/eepp/ui/uinode.hpp +../../include/eepp/ui/uipopupmenu.hpp +../../include/eepp/ui/uiprogressbar.hpp +../../include/eepp/ui/uipushbutton.hpp +../../include/eepp/ui/uiradiobutton.hpp ../../include/eepp/ui/uirelativelayout.hpp +../../include/eepp/ui/uiscenenode.hpp +../../include/eepp/ui/uiscrollbar.hpp ../../include/eepp/ui/uiscrollview.hpp -../../include/eepp/ui/uitextureregion.hpp -../../include/eepp/ui/uitable.hpp +../../include/eepp/ui/uiselectbutton.hpp +../../include/eepp/ui/uiskin.hpp +../../include/eepp/ui/uiskinstate.hpp +../../include/eepp/ui/uisliderbutton.hpp +../../include/eepp/ui/uislider.hpp +../../include/eepp/ui/uispinbox.hpp +../../include/eepp/ui/uisprite.hpp +../../include/eepp/ui/uistate.hpp +../../include/eepp/ui/uistyle.hpp +../../include/eepp/ui/uitab.hpp ../../include/eepp/ui/uitablecell.hpp +../../include/eepp/ui/uitable.hpp +../../include/eepp/ui/uitabwidget.hpp +../../include/eepp/ui/uitextedit.hpp +../../include/eepp/ui/uitextinput.hpp +../../include/eepp/ui/uitextinputpassword.hpp +../../include/eepp/ui/uitextureregion.hpp ../../include/eepp/ui/uitextview.hpp -../../include/eepp/ui/uithemeconfig.hpp -../../include/eepp/ui/uithemedefault.hpp +../../include/eepp/ui/uitheme.hpp +../../include/eepp/ui/uithememanager.hpp +../../include/eepp/ui/uitooltip.hpp ../../include/eepp/ui/uitouchdragablewidget.hpp -../../include/eepp/ui/uiwidget.hpp ../../include/eepp/ui/uiwidgetcreator.hpp +../../include/eepp/ui/uiwidget.hpp +../../include/eepp/ui/uiwindow.hpp +../../include/eepp/ui/uiwinmenu.hpp +../../include/eepp/version.hpp +../../include/eepp/window/base.hpp +../../include/eepp/window/clipboard.hpp +../../include/eepp/window/cursor.hpp +../../include/eepp/window/cursormanager.hpp +../../include/eepp/window/displaymanager.hpp +../../include/eepp/window/engine.hpp +../../include/eepp/window.hpp +../../include/eepp/window/inputevent.hpp +../../include/eepp/window/inputfinger.hpp +../../include/eepp/window/inputhelper.hpp +../../include/eepp/window/input.hpp +../../include/eepp/window/inputtextbuffer.hpp +../../include/eepp/window/joycodes.hpp +../../include/eepp/window/joystick.hpp +../../include/eepp/window/joystickmanager.hpp +../../include/eepp/window/keycodes.hpp +../../include/eepp/window/platformhelper.hpp +../../include/eepp/window/windowcontext.hpp +../../include/eepp/window/windowhandle.hpp +../../include/eepp/window/window.hpp +../../Makefile +../../Makefile.base +../../premake4.lua +../../premake5.lua +../../src/eepp/audio/alcheck.cpp +../../src/eepp/audio/ALCheck.cpp +../../src/eepp/audio/alcheck.hpp +../../src/eepp/audio/ALCheck.hpp +../../src/eepp/audio/alresource.cpp +../../src/eepp/audio/AlResource.cpp +../../src/eepp/audio/audiodevice.cpp +../../src/eepp/audio/AudioDevice.cpp +../../src/eepp/audio/audiodevice.hpp +../../src/eepp/audio/AudioDevice.hpp +../../src/eepp/audio/audiolistener.cpp +../../src/eepp/audio/inputsoundfile.cpp +../../src/eepp/audio/InputSoundFile.cpp +../../src/eepp/audio/listener.cpp +../../src/eepp/audio/Listener.cpp +../../src/eepp/audio/mp3info.cpp +../../src/eepp/audio/mp3info.hpp +../../src/eepp/audio/music.cpp +../../src/eepp/audio/Music.cpp +../../src/eepp/audio/openal.cpp +../../src/eepp/audio/openal.hpp +../../src/eepp/audio/outputsoundfile.cpp +../../src/eepp/audio/OutputSoundFile.cpp +../../src/eepp/audio/soundbuffer.cpp +../../src/eepp/audio/SoundBuffer.cpp +../../src/eepp/audio/soundbufferrecorder.cpp +../../src/eepp/audio/SoundBufferRecorder.cpp +../../src/eepp/audio/sound.cpp +../../src/eepp/audio/Sound.cpp +../../src/eepp/audio/soundfile.cpp +../../src/eepp/audio/soundfiledefault.cpp +../../src/eepp/audio/soundfiledefault.hpp +../../src/eepp/audio/soundfilefactory.cpp +../../src/eepp/audio/SoundFileFactory.cpp +../../src/eepp/audio/soundfile.hpp +../../src/eepp/audio/soundfileogg.cpp +../../src/eepp/audio/soundfileogg.hpp +../../src/eepp/audio/soundfilereaderflac.cpp +../../src/eepp/audio/SoundFileReaderFlac.cpp +../../src/eepp/audio/soundfilereaderflac.hpp +../../src/eepp/audio/SoundFileReaderFlac.hpp +../../src/eepp/audio/soundfilereadermp3.cpp +../../src/eepp/audio/soundfilereadermp3.hpp +../../src/eepp/audio/soundfilereaderogg.cpp +../../src/eepp/audio/SoundFileReaderOgg.cpp +../../src/eepp/audio/soundfilereaderogg.hpp +../../src/eepp/audio/soundfilereaderwav.cpp +../../src/eepp/audio/SoundFileReaderWav.cpp +../../src/eepp/audio/soundfilereaderwav.hpp +../../src/eepp/audio/SoundFileReaderWav.hpp +../../src/eepp/audio/SoundFileWriterFlac.cpp +../../src/eepp/audio/soundfilewriterogg.cpp +../../src/eepp/audio/soundfilewriterogg.hpp +../../src/eepp/audio/soundfilewriterwav.cpp +../../src/eepp/audio/SoundFileWriterWav.cpp +../../src/eepp/audio/soundfilewriterwav.hpp +../../src/eepp/audio/SoundFileWriterWav.hpp +../../src/eepp/audio/soundrecorder.cpp +../../src/eepp/audio/SoundRecorder.cpp +../../src/eepp/audio/soundsource.cpp +../../src/eepp/audio/SoundSource.cpp +../../src/eepp/audio/soundstream.cpp +../../src/eepp/audio/SoundStream.cpp +../../src/eepp/core/debug.cpp +../../src/eepp/core/memorymanager.cpp +../../src/eepp/core/string.cpp +../../src/eepp/core/version.cpp +../../src/eepp/graphics/arcdrawable.cpp +../../src/eepp/graphics/batchrenderer.cpp +../../src/eepp/graphics/blendmode.cpp +../../src/eepp/graphics/circledrawable.cpp +../../src/eepp/graphics/console.cpp ../../src/eepp/graphics/convexshapedrawable.cpp +../../src/eepp/graphics/drawable.cpp ../../src/eepp/graphics/drawablegroup.cpp ../../src/eepp/graphics/drawableresource.cpp +../../src/eepp/graphics/drawablesearcher.cpp +../../src/eepp/graphics/fontbmfont.cpp +../../src/eepp/graphics/font.cpp +../../src/eepp/graphics/fontmanager.cpp ../../src/eepp/graphics/fontsprite.cpp +../../src/eepp/graphics/fonttruetype.cpp +../../src/eepp/graphics/framebuffer.cpp +../../src/eepp/graphics/framebufferfbo.cpp +../../src/eepp/graphics/framebufferfbo.hpp +../../src/eepp/graphics/framebuffermanager.cpp +../../src/eepp/graphics/framebuffermanager.hpp +../../src/eepp/graphics/globalbatchrenderer.cpp +../../src/eepp/graphics/globaltextureatlas.cpp +../../src/eepp/graphics/image.cpp ../../src/eepp/graphics/ninepatch.cpp ../../src/eepp/graphics/ninepatchmanager.cpp +../../src/eepp/graphics/particle.cpp +../../src/eepp/graphics/particlesystem.cpp +../../src/eepp/graphics/pixeldensity.cpp +../../src/eepp/graphics/pixelperfect.cpp +../../src/eepp/graphics/primitivedrawable.cpp +../../src/eepp/graphics/primitives.cpp +../../src/eepp/graphics/rectangledrawable.cpp +../../src/eepp/graphics/renderer/clippingmask.cpp +../../src/eepp/graphics/renderer/openglext.hpp +../../src/eepp/graphics/renderer/renderer.cpp +../../src/eepp/graphics/renderer/renderergl3cp.cpp +../../src/eepp/graphics/renderer/renderergl3.cpp +../../src/eepp/graphics/renderer/renderergl.cpp +../../src/eepp/graphics/renderer/renderergles2.cpp +../../src/eepp/graphics/renderer/rendererglshader.cpp +../../src/eepp/graphics/renderer/rendererstackhelper.hpp ../../src/eepp/graphics/renderer/shaders/base.frag.h -../../src/eepp/graphics/renderer/shaders/base.vert.h +../../src/eepp/graphics/renderer/shaders/basegl3cp.frag.h +../../src/eepp/graphics/renderer/shaders/basegl3cp.gles2.frag.h +../../src/eepp/graphics/renderer/shaders/basegl3cp.gles2.vert.h +../../src/eepp/graphics/renderer/shaders/basegl3cp.vert.h ../../src/eepp/graphics/renderer/shaders/basegl3.frag.h ../../src/eepp/graphics/renderer/shaders/basegl3.vert.h -../../src/eepp/graphics/renderer/shaders/basegl3cp.frag.h -../../src/eepp/graphics/renderer/shaders/basegl3cp.vert.h +../../src/eepp/graphics/renderer/shaders/base.vert.h ../../src/eepp/graphics/renderer/shaders/clipped.frag.h ../../src/eepp/graphics/renderer/shaders/clipped.vert.h ../../src/eepp/graphics/renderer/shaders/pointsprite.frag.h ../../src/eepp/graphics/renderer/shaders/pointsprite.vert.h ../../src/eepp/graphics/renderer/shaders/primitive.frag.h ../../src/eepp/graphics/renderer/shaders/primitive.vert.h -../../src/eepp/maps/mapobjectlayer.cpp -../../src/eepp/graphics/arcdrawable.cpp -../../src/eepp/graphics/circledrawable.cpp -../../src/eepp/graphics/drawable.cpp -../../src/eepp/graphics/drawablesearcher.cpp -../../src/eepp/graphics/fonttruetype.cpp -../../src/eepp/graphics/fonttruetypeloader.cpp -../../src/eepp/graphics/fontbmfont.cpp -../../src/eepp/graphics/globalbatchrenderer.cpp -../../src/eepp/graphics/pixeldensity.cpp -../../src/eepp/graphics/pixelperfect.cpp -../../src/eepp/graphics/primitivedrawable.cpp -../../src/eepp/graphics/rectangledrawable.cpp -../../src/eepp/graphics/renderer/clippingmask.cpp -../../src/eepp/graphics/renderer/openglext.hpp -../../src/eepp/graphics/renderer/renderer.cpp -../../src/eepp/graphics/renderer/renderer.cpp -../../src/eepp/graphics/renderer/renderergl.cpp -../../src/eepp/graphics/renderer/renderergl3.cpp -../../src/eepp/graphics/renderer/renderergl3cp.cpp -../../src/eepp/graphics/renderer/renderergles2.cpp -../../src/eepp/graphics/renderer/rendererglshader.cpp -../../src/eepp/graphics/renderer/rendererstackhelper.hpp +../../src/eepp/graphics/scopedtexture.cpp +../../src/eepp/graphics/scrollparallax.cpp +../../src/eepp/graphics/shader.cpp +../../src/eepp/graphics/shaderprogram.cpp +../../src/eepp/graphics/shaderprogrammanager.cpp +../../src/eepp/graphics/sprite.cpp +../../src/eepp/graphics/statelistdrawable.cpp +../../src/eepp/graphics/stbi_iocb.hpp +../../src/eepp/graphics/textcache.cpp ../../src/eepp/graphics/text.cpp +../../src/eepp/graphics/textureatlas.cpp +../../src/eepp/graphics/textureatlasloader.cpp +../../src/eepp/graphics/textureatlasmanager.cpp +../../src/eepp/graphics/texture.cpp +../../src/eepp/graphics/texturefactory.cpp +../../src/eepp/graphics/texturefont.cpp +../../src/eepp/graphics/texturefontloader.cpp +../../src/eepp/graphics/textureloader.cpp +../../src/eepp/graphics/texturepacker.cpp +../../src/eepp/graphics/texturepackernode.cpp +../../src/eepp/graphics/texturepackernode.hpp +../../src/eepp/graphics/texturepackertex.cpp +../../src/eepp/graphics/texturepackertex.hpp +../../src/eepp/graphics/textureregion.cpp +../../src/eepp/graphics/scopedtexture.hpp +../../src/eepp/graphics/vertexbuffer.cpp +../../src/eepp/graphics/vertexbuffermanager.cpp +../../src/eepp/graphics/vertexbuffermanager.hpp +../../src/eepp/graphics/vertexbufferogl.cpp +../../src/eepp/graphics/vertexbuffervbo.cpp +../../src/eepp/graphics/view.cpp +../../src/eepp/main/eepp_main.cpp +../../src/eepp/maps/gameobject.cpp +../../src/eepp/maps/gameobjectobject.cpp +../../src/eepp/maps/gameobjectpolygon.cpp +../../src/eepp/maps/gameobjectpolyline.cpp +../../src/eepp/maps/gameobjectsprite.cpp +../../src/eepp/maps/gameobjecttextureregion.cpp +../../src/eepp/maps/gameobjecttextureregionex.cpp +../../src/eepp/maps/gameobjectvirtual.cpp +../../src/eepp/maps/mapeditor/mapeditor.cpp +../../src/eepp/maps/mapeditor/maplayerproperties.cpp +../../src/eepp/maps/mapeditor/maplayerproperties.hpp +../../src/eepp/maps/mapeditor/mapobjectproperties.cpp +../../src/eepp/maps/mapeditor/mapobjectproperties.hpp +../../src/eepp/maps/mapeditor/tilemapproperties.cpp +../../src/eepp/maps/mapeditor/tilemapproperties.hpp +../../src/eepp/maps/mapeditor/uigotypenew.cpp +../../src/eepp/maps/mapeditor/uigotypenew.hpp +../../src/eepp/maps/mapeditor/uimap.cpp +../../src/eepp/maps/mapeditor/uimap.hpp +../../src/eepp/maps/mapeditor/uimaplayernew.cpp +../../src/eepp/maps/mapeditor/uimaplayernew.hpp +../../src/eepp/maps/mapeditor/uimapnew.cpp +../../src/eepp/maps/mapeditor/uimapnew.hpp +../../src/eepp/maps/maplayer.cpp +../../src/eepp/maps/maplight.cpp +../../src/eepp/maps/maplightmanager.cpp +../../src/eepp/maps/mapobjectlayer.cpp +../../src/eepp/maps/tilemap.cpp +../../src/eepp/maps/tilemaplayer.cpp +../../src/eepp/math/easing.cpp ../../src/eepp/math/interpolation1d.cpp ../../src/eepp/math/interpolation2d.cpp -../../src/eepp/math/transform.cpp +../../src/eepp/math/mtrand.cpp +../../src/eepp/math/perlinnoise.cpp ../../src/eepp/math/transformable.cpp -../../src/eepp/system/color.cpp -../../src/eepp/system/directorypack.cpp -../../src/eepp/system/iostreampak.cpp -../../src/eepp/system/iostreamzip.cpp -../../src/eepp/system/translator.cpp -../../src/eepp/system/virtualfilesystem.cpp -../../src/eepp/scene/actions/actioninterpolation1d.cpp -../../src/eepp/scene/actions/actioninterpolation2d.cpp -../../src/eepp/scene/actions/delay.cpp -../../src/eepp/scene/actions/fade.cpp -../../src/eepp/scene/actions/move.cpp -../../src/eepp/scene/actions/rotate.cpp -../../src/eepp/scene/actions/scale.cpp -../../src/eepp/scene/actions/marginmove.cpp -../../src/eepp/scene/actions/sequence.cpp -../../src/eepp/scene/actions/spawn.cpp +../../src/eepp/math/transform.cpp +../../src/eepp/network/ftp.cpp +../../src/eepp/network/http.cpp +../../src/eepp/network/http/httpstreamchunked.cpp +../../src/eepp/network/http/httpstreamchunked.hpp +../../src/eepp/network/ipaddress.cpp +../../src/eepp/network/packet.cpp +../../src/eepp/network/platform/platformimpl.hpp +../../src/eepp/network/platform/unix/socketimpl.cpp +../../src/eepp/network/platform/unix/socketimpl.hpp +../../src/eepp/network/platform/win/socketimpl.cpp +../../src/eepp/network/platform/win/socketimpl.hpp +../../src/eepp/network/socket.cpp +../../src/eepp/network/socketselector.cpp +../../src/eepp/network/ssl/backend/mbedtls/mbedtlssocket.cpp +../../src/eepp/network/ssl/backend/mbedtls/mbedtlssocket.hpp +../../src/eepp/network/ssl/backend/openssl/curl_hostcheck.cpp +../../src/eepp/network/ssl/backend/openssl/curl_hostcheck.h +../../src/eepp/network/ssl/backend/openssl/opensslsocket.cpp +../../src/eepp/network/ssl/backend/openssl/opensslsocket.hpp +../../src/eepp/network/ssl/sslsocket.cpp +../../src/eepp/network/ssl/sslsocketimpl.hpp +../../src/eepp/network/tcplistener.cpp +../../src/eepp/network/tcpsocket.cpp +../../src/eepp/network/udpsocket.cpp +../../src/eepp/network/uri.cpp +../../src/eepp/physics/arbiter.cpp +../../src/eepp/physics/area.cpp +../../src/eepp/physics/body.cpp +../../src/eepp/physics/constraints/constraint.cpp +../../src/eepp/physics/constraints/dampedrotaryspring.cpp +../../src/eepp/physics/constraints/dampedspring.cpp +../../src/eepp/physics/constraints/gearjoint.cpp +../../src/eepp/physics/constraints/groovejoint.cpp +../../src/eepp/physics/constraints/pinjoint.cpp +../../src/eepp/physics/constraints/pivotjoint.cpp +../../src/eepp/physics/constraints/ratchetjoint.cpp +../../src/eepp/physics/constraints/rotarylimitjoint.cpp +../../src/eepp/physics/constraints/simplemotor.cpp +../../src/eepp/physics/constraints/slidejoint.cpp +../../src/eepp/physics/moment.cpp +../../src/eepp/physics/physicsmanager.cpp +../../src/eepp/physics/shapecircle.cpp +../../src/eepp/physics/shapecirclesprite.cpp +../../src/eepp/physics/shape.cpp +../../src/eepp/physics/shapepoint.cpp +../../src/eepp/physics/shapepoly.cpp +../../src/eepp/physics/shapepolysprite.cpp +../../src/eepp/physics/shapesegment.cpp +../../src/eepp/physics/space.cpp ../../src/eepp/scene/action.cpp ../../src/eepp/scene/actionmanager.cpp +../../src/eepp/scene/actions/actioninterpolation1d.cpp +../../src/eepp/scene/actions/actioninterpolation2d.cpp +../../src/eepp/scene/actions/close.cpp +../../src/eepp/scene/actions/delay.cpp +../../src/eepp/scene/actions/disable.cpp +../../src/eepp/scene/actions/enable.cpp +../../src/eepp/scene/actions/fade.cpp +../../src/eepp/scene/actions/marginmove.cpp +../../src/eepp/scene/actions/move.cpp +../../src/eepp/scene/actions/paddingtransition.cpp +../../src/eepp/scene/actions/resize.cpp +../../src/eepp/scene/actions/resizeborderradius.cpp +../../src/eepp/scene/actions/resizeheight.cpp +../../src/eepp/scene/actions/resizewidth.cpp +../../src/eepp/scene/actions/rotate.cpp +../../src/eepp/scene/actions/runnable.cpp +../../src/eepp/scene/actions/scale.cpp +../../src/eepp/scene/actions/sequence.cpp +../../src/eepp/scene/actions/spawn.cpp +../../src/eepp/scene/actions/tint.cpp +../../src/eepp/scene/actions/visible.cpp +../../src/eepp/scene/event.cpp +../../src/eepp/scene/eventdispatcher.cpp +../../src/eepp/scene/keyevent.cpp +../../src/eepp/scene/mouseevent.cpp +../../src/eepp/scene/nodeattribute.cpp +../../src/eepp/scene/node.cpp +../../src/eepp/scene/nodemessage.cpp +../../src/eepp/scene/scenemanager.cpp +../../src/eepp/scene/scenenode.cpp +../../src/eepp/system/base64.cpp +../../src/eepp/system/clock.cpp +../../src/eepp/system/color.cpp +../../src/eepp/system/compression.cpp +../../src/eepp/system/condition.cpp +../../src/eepp/system/directorypack.cpp +../../src/eepp/system/filesystem.cpp +../../src/eepp/system/inifile.cpp +../../src/eepp/system/iostreamdeflate.cpp +../../src/eepp/system/iostreamfile.cpp +../../src/eepp/system/iostreaminflate.cpp +../../src/eepp/system/iostreammemory.cpp +../../src/eepp/system/iostreampak.cpp +../../src/eepp/system/iostreamstring.cpp +../../src/eepp/system/iostreamzip.cpp +../../src/eepp/system/lock.cpp +../../src/eepp/system/log.cpp +../../src/eepp/system/md5.cpp +../../src/eepp/system/mutex.cpp +../../src/eepp/system/objectloader.cpp +../../src/eepp/system/pack.cpp +../../src/eepp/system/packmanager.cpp +../../src/eepp/system/pak.cpp +../../src/eepp/system/platform/platformimpl.hpp +../../src/eepp/system/platform/posix/clockimpl.cpp +../../src/eepp/system/platform/posix/clockimpl.hpp +../../src/eepp/system/platform/posix/conditionimpl.cpp +../../src/eepp/system/platform/posix/conditionimpl.hpp +../../src/eepp/system/platform/posix/muteximpl.cpp +../../src/eepp/system/platform/posix/muteximpl.hpp +../../src/eepp/system/platform/posix/threadimpl.cpp +../../src/eepp/system/platform/posix/threadimpl.hpp +../../src/eepp/system/platform/posix/threadlocalimpl.cpp +../../src/eepp/system/platform/posix/threadlocalimpl.hpp +../../src/eepp/system/platform/win/clockimpl.cpp +../../src/eepp/system/platform/win/clockimpl.hpp +../../src/eepp/system/platform/win/conditionimpl.cpp +../../src/eepp/system/platform/win/conditionimpl.hpp +../../src/eepp/system/platform/win/muteximpl.cpp +../../src/eepp/system/platform/win/muteximpl.hpp +../../src/eepp/system/platform/win/threadimpl.cpp +../../src/eepp/system/platform/win/threadimpl.hpp +../../src/eepp/system/platform/win/threadlocalimpl.cpp +../../src/eepp/system/platform/win/threadlocalimpl.hpp +../../src/eepp/system/rc4.cpp +../../src/eepp/system/resourceloader.cpp +../../src/eepp/system/sys.cpp +../../src/eepp/system/thread.cpp +../../src/eepp/system/threadlocal.cpp +../../src/eepp/system/threadpool.cpp +../../src/eepp/system/time.cpp +../../src/eepp/system/translator.cpp +../../src/eepp/system/virtualfilesystem.cpp +../../src/eepp/system/zip.cpp +../../src/eepp/ui/css/stylesheet.cpp +../../src/eepp/ui/css/stylesheetparser.cpp +../../src/eepp/ui/css/stylesheetpropertiesparser.cpp +../../src/eepp/ui/css/stylesheetproperty.cpp +../../src/eepp/ui/css/stylesheetselector.cpp +../../src/eepp/ui/css/stylesheetselectorparser.cpp +../../src/eepp/ui/css/stylesheetselectorrule.cpp +../../src/eepp/ui/css/stylesheetstyle.cpp +../../src/eepp/ui/tools/textureatlaseditor.cpp +../../src/eepp/ui/tools/textureatlasnew.cpp +../../src/eepp/ui/tools/textureatlasnew.hpp +../../src/eepp/ui/tools/textureatlastextureregioneditor.cpp +../../src/eepp/ui/tools/textureatlastextureregioneditor.hpp +../../src/eepp/ui/uicheckbox.cpp +../../src/eepp/ui/uicombobox.cpp +../../src/eepp/ui/uicommondialog.cpp +../../src/eepp/ui/uidropdownlist.cpp +../../src/eepp/ui/uieventdispatcher.cpp ../../src/eepp/ui/uigridlayout.cpp ../../src/eepp/ui/uiimage.cpp ../../src/eepp/ui/uilayout.cpp ../../src/eepp/ui/uilinearlayout.cpp +../../src/eepp/ui/uilistbox.cpp +../../src/eepp/ui/uilistboxitem.cpp ../../src/eepp/ui/uiloader.cpp -../../src/eepp/ui/uimenuseparator.cpp -../../src/eepp/ui/uinode.cpp -../../src/eepp/ui/uirelativelayout.cpp -../../src/eepp/ui/uiscrollview.cpp -../../src/eepp/ui/uitextureregion.cpp -../../src/eepp/ui/uitable.cpp -../../src/eepp/ui/uitablecell.cpp -../../src/eepp/ui/uitextview.cpp -../../src/eepp/ui/uithemedefault.cpp -../../src/eepp/ui/uitouchdragablewidget.cpp -../../src/eepp/ui/uiwidget.cpp -../../include/eepp/audio/soundmanager.hpp -../../include/eepp/audio/soundloader.hpp -../../include/eepp/audio/soundstream.hpp -../../include/eepp/audio/soundbuffer.hpp -../../include/eepp/audio/sound.hpp -../../include/eepp/audio/music.hpp -../../include/eepp/audio/audiolistener.hpp -../../include/eepp/audio/audiodevice.hpp -../../include/eepp/audio/base.hpp -../../src/eepp/audio/openal.cpp -../../src/eepp/audio/soundstream.cpp -../../src/eepp/audio/soundfileogg.cpp -../../src/eepp/audio/soundfiledefault.cpp -../../src/eepp/audio/soundfile.cpp -../../src/eepp/audio/soundbuffer.cpp -../../src/eepp/audio/sound.cpp -../../src/eepp/audio/music.cpp -../../src/eepp/audio/audiolistener.cpp -../../src/eepp/audio/audiodevice.cpp -../../include/eepp/core/utf.hpp -../../include/eepp/core/string.hpp -../../include/eepp/core/stlcontainers.hpp -../../include/eepp/core/memorymanager.hpp -../../include/eepp/core/debug.hpp -../../include/eepp/core/core.hpp -../../include/eepp/core/allocator.hpp -../../include/eepp/core/utf.inl -../../src/eepp/core/string.cpp -../../src/eepp/core/memorymanager.cpp -../../src/eepp/core/debug.cpp -../../include/eepp/system/singleton.hpp -../../include/eepp/system/resourcemanager.hpp -../../include/eepp/system/container.hpp -../../include/eepp/system/zip.hpp -../../include/eepp/system/lock.hpp -../../include/eepp/system/thread.hpp -../../include/eepp/system/resourceloader.hpp -../../include/eepp/system/rc4.hpp -../../include/eepp/system/pak.hpp -../../include/eepp/system/packmanager.hpp -../../include/eepp/system/pack.hpp -../../include/eepp/system/objectloader.hpp -../../include/eepp/system/mutex.hpp -../../include/eepp/system/log.hpp -../../include/eepp/system/iostreammemory.hpp -../../include/eepp/system/iostreamfile.hpp -../../include/eepp/system/iostream.hpp -../../include/eepp/system/inifile.hpp -../../src/eepp/system/zip.cpp -../../src/eepp/system/clock.cpp -../../src/eepp/system/thread.cpp -../../src/eepp/system/resourceloader.cpp -../../src/eepp/system/rc4.cpp -../../src/eepp/system/pak.cpp -../../src/eepp/system/packmanager.cpp -../../src/eepp/system/pack.cpp -../../src/eepp/system/objectloader.cpp -../../src/eepp/system/mutex.cpp -../../src/eepp/system/log.cpp -../../src/eepp/system/iostreammemory.cpp -../../src/eepp/system/iostreamfile.cpp -../../src/eepp/system/inifile.cpp -../../src/eepp/system/platform/platformimpl.hpp -../../src/eepp/system/platform/posix/clockimpl.hpp -../../src/eepp/system/platform/posix/threadimpl.hpp -../../src/eepp/system/platform/posix/muteximpl.hpp -../../src/eepp/system/platform/posix/clockimpl.cpp -../../src/eepp/system/platform/posix/threadimpl.cpp -../../src/eepp/system/platform/posix/muteximpl.cpp -../../src/eepp/system/platform/win/clockimpl.hpp -../../src/eepp/system/platform/win/threadimpl.hpp -../../src/eepp/system/platform/win/muteximpl.hpp -../../src/eepp/system/platform/win/clockimpl.cpp -../../src/eepp/system/platform/win/threadimpl.cpp -../../src/eepp/system/platform/win/muteximpl.cpp -../../include/eepp/maps/maphelper.hpp -../../include/eepp/maps/tilemaplayer.hpp -../../include/eepp/maps/mapobjectlayer.hpp -../../include/eepp/maps/tilemap.hpp -../../include/eepp/maps/maplightmanager.hpp -../../include/eepp/maps/maplight.hpp -../../include/eepp/maps/maplayer.hpp -../../include/eepp/maps/gameobjectvirtual.hpp -../../include/eepp/maps/gameobjectsprite.hpp -../../include/eepp/maps/gameobjecttextureregionex.hpp -../../include/eepp/maps/gameobjecttextureregion.hpp -../../include/eepp/maps/gameobject.hpp -../../include/eepp/maps/base.hpp -../../src/eepp/maps/mapeditor/uimapnew.hpp -../../src/eepp/maps/mapeditor/uimap.hpp -../../src/eepp/maps/mapeditor/uimaplayernew.hpp -../../src/eepp/maps/mapeditor/uigotypenew.hpp -../../src/eepp/maps/mapeditor/tilemapproperties.hpp -../../include/eepp/maps/mapeditor/mapeditor.hpp -../../src/eepp/maps/mapeditor/maplayerproperties.hpp -../../src/eepp/maps/tilemaplayer.cpp -../../src/eepp/maps/tilemap.cpp -../../src/eepp/maps/maplightmanager.cpp -../../src/eepp/maps/maplight.cpp -../../src/eepp/maps/maplayer.cpp -../../src/eepp/maps/gameobjectvirtual.cpp -../../src/eepp/maps/gameobjectsprite.cpp -../../src/eepp/maps/gameobjecttextureregionex.cpp -../../src/eepp/maps/gameobjecttextureregion.cpp -../../src/eepp/maps/gameobject.cpp -../../src/eepp/maps/mapeditor/uimapnew.cpp -../../src/eepp/maps/mapeditor/uimap.cpp -../../src/eepp/maps/mapeditor/uimaplayernew.cpp -../../src/eepp/maps/mapeditor/uigotypenew.cpp -../../src/eepp/maps/mapeditor/tilemapproperties.cpp -../../src/eepp/maps/mapeditor/mapeditor.cpp -../../src/eepp/maps/mapeditor/maplayerproperties.cpp -../../include/eepp/graphics/blendmode.hpp -../../src/eepp/graphics/blendmode.cpp -../../include/eepp/graphics/fonthelper.hpp -../../include/eepp/graphics/vertexbuffervbo.hpp -../../include/eepp/graphics/vertexbufferogl.hpp -../../src/eepp/graphics/vertexbuffermanager.hpp -../../include/eepp/graphics/vertexbuffer.hpp -../../src/eepp/graphics/texturepackertex.hpp -../../src/eepp/graphics/texturepackernode.hpp -../../include/eepp/graphics/texturepacker.hpp -../../include/eepp/graphics/textureloader.hpp -../../include/eepp/graphics/textureatlasloader.hpp -../../include/eepp/graphics/texturefontloader.hpp -../../include/eepp/graphics/texturefont.hpp -../../include/eepp/graphics/texturefactory.hpp -../../include/eepp/graphics/texture.hpp -../../include/eepp/graphics/textcache.hpp -../../include/eepp/graphics/sprite.hpp -../../include/eepp/graphics/textureatlasmanager.hpp -../../include/eepp/graphics/textureatlas.hpp -../../include/eepp/graphics/textureregion.hpp -../../include/eepp/graphics/shaderprogrammanager.hpp -../../include/eepp/graphics/shaderprogram.hpp -../../include/eepp/graphics/shader.hpp -../../include/eepp/graphics/scrollparallax.hpp -../../include/eepp/graphics/primitives.hpp -../../include/eepp/graphics/particlesystem.hpp -../../include/eepp/graphics/particle.hpp -../../include/eepp/graphics/image.hpp -../../include/eepp/graphics/globaltextureatlas.hpp -../../include/eepp/graphics/globalbatchrenderer.hpp -../../src/eepp/graphics/framebuffermanager.hpp -../../include/eepp/graphics/framebuffer.hpp -../../include/eepp/graphics/fontmanager.hpp -../../include/eepp/graphics/font.hpp -../../include/eepp/graphics/console.hpp -../../include/eepp/graphics/batchrenderer.hpp -../../include/eepp/graphics/base.hpp -../../include/eepp/graphics/renderer/renderergl3.hpp -../../include/eepp/graphics/renderer/renderergl.hpp -../../include/eepp/graphics/renderer/base.hpp -../../include/eepp/math/math.hpp -../../include/eepp/math/mtrand.hpp -../../include/eepp/math/base.hpp -../../src/eepp/math/mtrand.cpp -../../include/eepp/physics/settings.hpp -../../include/eepp/physics/physicshelper.hpp -../../include/eepp/physics/moment.hpp -../../include/eepp/physics/space.hpp -../../include/eepp/physics/shapesegment.hpp -../../include/eepp/physics/shapepolysprite.hpp -../../include/eepp/physics/shapepoly.hpp -../../include/eepp/physics/shapecirclesprite.hpp -../../include/eepp/physics/shapecircle.hpp -../../include/eepp/physics/shape.hpp -../../include/eepp/physics/physicsmanager.hpp -../../include/eepp/physics/body.hpp -../../include/eepp/physics/arbiter.hpp -../../include/eepp/physics/base.hpp -../../include/eepp/physics/area.hpp -../../include/eepp/physics/constraints/slidejoint.hpp -../../include/eepp/physics/constraints/simplemotor.hpp -../../include/eepp/physics/constraints/rotarylimitjoint.hpp -../../include/eepp/physics/constraints/ratchetjoint.hpp -../../include/eepp/physics/constraints/pivotjoint.hpp -../../include/eepp/physics/constraints/pinjoint.hpp -../../include/eepp/physics/constraints/groovejoint.hpp -../../include/eepp/physics/constraints/gearjoint.hpp -../../include/eepp/physics/constraints/dampedspring.hpp -../../include/eepp/physics/constraints/dampedrotaryspring.hpp -../../include/eepp/physics/constraints/constraint.hpp -../../src/eepp/physics/space.cpp -../../src/eepp/physics/shapesegment.cpp -../../src/eepp/physics/shapepolysprite.cpp -../../src/eepp/physics/shapepoly.cpp -../../src/eepp/physics/shapecirclesprite.cpp -../../src/eepp/physics/shapecircle.cpp -../../src/eepp/physics/shape.cpp -../../src/eepp/physics/physicsmanager.cpp -../../src/eepp/physics/body.cpp -../../src/eepp/physics/arbiter.cpp -../../src/eepp/physics/constraints/slidejoint.cpp -../../src/eepp/physics/constraints/simplemotor.cpp -../../src/eepp/physics/constraints/rotarylimitjoint.cpp -../../src/eepp/physics/constraints/ratchetjoint.cpp -../../src/eepp/physics/constraints/pivotjoint.cpp -../../src/eepp/physics/constraints/pinjoint.cpp -../../src/eepp/physics/constraints/groovejoint.cpp -../../src/eepp/physics/constraints/gearjoint.cpp -../../src/eepp/physics/constraints/dampedspring.cpp -../../src/eepp/physics/constraints/dampedrotaryspring.cpp -../../src/eepp/physics/constraints/constraint.cpp -../../include/eepp/ui/uihelper.hpp -../../include/eepp/ui/uiitemcontainer.hpp -../../include/eepp/ui/uiwinmenu.hpp -../../include/eepp/ui/uiwindow.hpp -../../include/eepp/ui/uitooltip.hpp -../../include/eepp/ui/uithememanager.hpp -../../include/eepp/ui/uitheme.hpp -../../include/eepp/ui/uitextinput.hpp -../../include/eepp/ui/uitextedit.hpp -../../include/eepp/ui/uitabwidget.hpp -../../include/eepp/ui/uitab.hpp -../../include/eepp/ui/uisprite.hpp -../../include/eepp/ui/uispinbox.hpp -../../include/eepp/ui/uisliderbutton.hpp -../../include/eepp/ui/uislider.hpp -../../include/eepp/ui/uiskinstate.hpp -../../include/eepp/ui/uiskinsimple.hpp -../../include/eepp/ui/uiskincomplex.hpp -../../include/eepp/ui/uiskin.hpp -../../include/eepp/ui/uiselectbutton.hpp -../../include/eepp/ui/uiscrollbar.hpp -../../include/eepp/ui/uiradiobutton.hpp -../../include/eepp/ui/uipushbutton.hpp -../../include/eepp/ui/uiprogressbar.hpp -../../include/eepp/ui/uipopupmenu.hpp -../../include/eepp/ui/uimessagebox.hpp -../../include/eepp/scene/nodemessage.hpp -../../include/eepp/ui/uimenusubmenu.hpp -../../include/eepp/ui/uimenuitem.hpp -../../include/eepp/ui/uimenucheckbox.hpp -../../include/eepp/ui/uimenu.hpp -../../include/eepp/ui/uimanager.hpp -../../include/eepp/ui/uilistboxitem.hpp -../../include/eepp/ui/uilistbox.hpp -../../include/eepp/ui/uidropdownlist.hpp -../../include/eepp/ui/uicommondialog.hpp -../../include/eepp/ui/uicombobox.hpp -../../include/eepp/ui/uicheckbox.hpp -../../include/eepp/ui/uiborder.hpp -../../include/eepp/ui/uibackground.hpp -../../include/eepp/ui/base.hpp -../../src/eepp/ui/tools/textureatlastextureregioneditor.hpp -../../src/eepp/ui/tools/textureatlasnew.hpp -../../include/eepp/ui/tools/textureatlaseditor.hpp -../../src/eepp/ui/uiwidgetcreator.cpp -../../src/eepp/ui/uiwinmenu.cpp -../../src/eepp/ui/uiwindow.cpp -../../src/eepp/ui/uitooltip.cpp -../../src/eepp/ui/uithememanager.cpp -../../src/eepp/ui/uitheme.cpp -../../src/eepp/ui/uitextinput.cpp -../../src/eepp/ui/uitextedit.cpp -../../src/eepp/ui/uitabwidget.cpp -../../src/eepp/ui/uitab.cpp -../../src/eepp/ui/uisprite.cpp -../../src/eepp/ui/uispinbox.cpp -../../src/eepp/ui/uisliderbutton.cpp -../../src/eepp/ui/uislider.cpp -../../src/eepp/ui/uiskinstate.cpp -../../src/eepp/ui/uiskinsimple.cpp -../../src/eepp/ui/uiskincomplex.cpp -../../src/eepp/ui/uiskin.cpp -../../src/eepp/ui/uiselectbutton.cpp -../../src/eepp/ui/uiscrollbar.cpp -../../src/eepp/ui/uiradiobutton.cpp -../../src/eepp/ui/uipushbutton.cpp -../../src/eepp/ui/uiprogressbar.cpp -../../src/eepp/ui/uipopupmenu.cpp -../../src/eepp/ui/uimessagebox.cpp -../../src/eepp/scene/nodemessage.cpp -../../src/eepp/ui/uimenusubmenu.cpp -../../src/eepp/ui/uimenuitem.cpp +../../src/eepp/ui/uimanager.cpp ../../src/eepp/ui/uimenucheckbox.cpp ../../src/eepp/ui/uimenu.cpp -../../src/eepp/ui/uimanager.cpp -../../src/eepp/ui/uilistboxitem.cpp -../../src/eepp/ui/uilistbox.cpp -../../src/eepp/ui/uidropdownlist.cpp -../../src/eepp/ui/uicommondialog.cpp -../../src/eepp/ui/uicombobox.cpp -../../src/eepp/ui/uicheckbox.cpp -../../src/eepp/ui/uiborder.cpp -../../src/eepp/ui/uibackground.cpp -../../src/eepp/ui/tools/textureatlastextureregioneditor.cpp -../../src/eepp/ui/tools/textureatlasnew.cpp -../../src/eepp/ui/tools/textureatlaseditor.cpp -../../include/eepp/math/vector3.hpp -../../include/eepp/math/vector2.hpp -../../include/eepp/system/bitop.hpp -../../include/eepp/math/triangle2.hpp -../../include/eepp/system/sys.hpp -../../src/eepp/system/sys.cpp -../../include/eepp/math/size.hpp -../../include/eepp/system/safedatapointer.hpp -../../include/eepp/math/rect.hpp -../../include/eepp/math/quad2.hpp -../../include/eepp/math/polygon2.hpp -../../include/eepp/math/line2.hpp -../../include/eepp/math/ease.hpp -../../include/eepp/math/easing.hpp -../../include/eepp/math/perlinnoise.hpp -../../src/eepp/system/safedatapointer.cpp -../../src/eepp/math/easing.cpp -../../src/eepp/math/perlinnoise.cpp -../../include/eepp/window/keycodes.hpp -../../include/eepp/window/joycodes.hpp -../../include/eepp/window/inputhelper.hpp -../../include/eepp/window/inputevent.hpp -../../include/eepp/window/window.hpp -../../include/eepp/graphics/view.hpp -../../include/eepp/window/cursorhelper.hpp -../../include/eepp/window/platformimpl.hpp -../../include/eepp/window/joystickmanager.hpp -../../include/eepp/window/joystick.hpp -../../include/eepp/window/inputtextbuffer.hpp -../../include/eepp/window/inputfinger.hpp -../../include/eepp/window/input.hpp -../../include/eepp/window/engine.hpp -../../include/eepp/window/cursormanager.hpp -../../include/eepp/window/cursor.hpp -../../include/eepp/window/clipboard.hpp -../../include/eepp/window/base.hpp -../../src/eepp/window/backend/SDL2/platformhelpersdl2.cpp -../../src/eepp/window/backend/SDL2/platformhelpersdl2.hpp -../../src/eepp/window/backend/SFML/platformhelpersfml.cpp -../../src/eepp/window/backend/SFML/platformhelpersfml.hpp -../../src/eepp/window/inputhelper.cpp -../../src/eepp/window/platformhelper.hpp -../../src/eepp/window/window.cpp -../../src/eepp/graphics/view.cpp -../../src/eepp/window/platformimpl.cpp -../../src/eepp/window/joystickmanager.cpp -../../src/eepp/window/joystick.cpp -../../src/eepp/window/inputtextbuffer.cpp -../../src/eepp/window/inputfinger.cpp -../../src/eepp/window/input.cpp -../../src/eepp/window/engine.cpp -../../src/eepp/window/cursormanager.cpp -../../src/eepp/window/cursor.cpp -../../src/eepp/window/clipboard.cpp -../../src/eepp/window/backend/SDL/windowsdl.hpp -../../src/eepp/window/backend/SDL/joysticksdl.hpp -../../src/eepp/window/backend/SDL/joystickmanagersdl.hpp -../../src/eepp/window/backend/SDL/inputsdl.hpp -../../src/eepp/window/backend/SDL/cursorsdl.hpp -../../src/eepp/window/backend/SDL/cursormanagersdl.hpp -../../src/eepp/window/backend/SDL/clipboardsdl.hpp -../../src/eepp/window/backend/SDL/backendsdl.hpp -../../src/eepp/window/backend/SDL/base.hpp -../../src/eepp/window/backend/SDL/windowsdl.cpp -../../src/eepp/window/backend/SDL/joysticksdl.cpp -../../src/eepp/window/backend/SDL/joystickmanagersdl.cpp -../../src/eepp/window/backend/SDL/inputsdl.cpp -../../src/eepp/window/backend/SDL/cursorsdl.cpp -../../src/eepp/window/backend/SDL/cursormanagersdl.cpp -../../src/eepp/window/backend/SDL/clipboardsdl.cpp -../../src/eepp/window/backend/SDL2/windowsdl2.hpp -../../src/eepp/window/backend/SDL2/joysticksdl2.hpp -../../src/eepp/window/backend/SDL2/joystickmanagersdl2.hpp -../../src/eepp/window/backend/SDL2/inputsdl2.hpp -../../src/eepp/window/backend/SDL2/cursorsdl2.hpp -../../src/eepp/window/backend/SDL2/cursormanagersdl2.hpp -../../src/eepp/window/backend/SDL2/clipboardsdl2.hpp +../../src/eepp/ui/uimenuitem.cpp +../../src/eepp/ui/uimenuseparator.cpp +../../src/eepp/ui/uimenusubmenu.cpp +../../src/eepp/ui/uimessagebox.cpp +../../src/eepp/ui/uinode.cpp +../../src/eepp/ui/uipopupmenu.cpp +../../src/eepp/ui/uiprogressbar.cpp +../../src/eepp/ui/uipushbutton.cpp +../../src/eepp/ui/uiradiobutton.cpp +../../src/eepp/ui/uirelativelayout.cpp +../../src/eepp/ui/uiscenenode.cpp +../../src/eepp/ui/uiscrollbar.cpp +../../src/eepp/ui/uiscrollview.cpp +../../src/eepp/ui/uiselectbutton.cpp +../../src/eepp/ui/uiskin.cpp +../../src/eepp/ui/uiskinstate.cpp +../../src/eepp/ui/uisliderbutton.cpp +../../src/eepp/ui/uislider.cpp +../../src/eepp/ui/uispinbox.cpp +../../src/eepp/ui/uisprite.cpp +../../src/eepp/ui/uistate.cpp +../../src/eepp/ui/uistyle.cpp +../../src/eepp/ui/uitab.cpp +../../src/eepp/ui/uitablecell.cpp +../../src/eepp/ui/uitable.cpp +../../src/eepp/ui/uitabwidget.cpp +../../src/eepp/ui/uitextedit.cpp +../../src/eepp/ui/uitextinput.cpp +../../src/eepp/ui/uitextinputpassword.cpp +../../src/eepp/ui/uitextureregion.cpp +../../src/eepp/ui/uitextview.cpp +../../src/eepp/ui/uitheme.cpp +../../src/eepp/ui/uithememanager.cpp +../../src/eepp/ui/uitooltip.cpp +../../src/eepp/ui/uitouchdragablewidget.cpp +../../src/eepp/ui/uiwidget.cpp +../../src/eepp/ui/uiwidgetcreator.cpp +../../src/eepp/ui/uiwindow.cpp +../../src/eepp/ui/uiwinmenu.cpp +../../src/eepp/window/backend/allegro5/cbackendal.hpp +../../src/eepp/window/backend/allegro5/cclipboardal.cpp +../../src/eepp/window/backend/allegro5/cclipboardal.hpp +../../src/eepp/window/backend/allegro5/ccursoral.cpp +../../src/eepp/window/backend/allegro5/ccursoral.hpp +../../src/eepp/window/backend/allegro5/ccursormanageral.cpp +../../src/eepp/window/backend/allegro5/ccursormanageral.hpp +../../src/eepp/window/backend/allegro5/cinputal.cpp +../../src/eepp/window/backend/allegro5/cinputal.hpp +../../src/eepp/window/backend/allegro5/cjoystickal.cpp +../../src/eepp/window/backend/allegro5/cjoystickal.hpp +../../src/eepp/window/backend/allegro5/cjoystickmanageral.cpp +../../src/eepp/window/backend/allegro5/cjoystickmanageral.hpp +../../src/eepp/window/backend/allegro5/cwindowal.cpp +../../src/eepp/window/backend/allegro5/cwindowal.hpp +../../src/eepp/window/backend.hpp +../../src/eepp/window/backend/null/clipboardnull.cpp +../../src/eepp/window/backend/null/clipboardnull.hpp +../../src/eepp/window/backend/null/cursormanagernull.cpp +../../src/eepp/window/backend/null/cursormanagernull.hpp +../../src/eepp/window/backend/null/cursornull.cpp +../../src/eepp/window/backend/null/cursornull.hpp +../../src/eepp/window/backend/null/inputnull.cpp +../../src/eepp/window/backend/null/inputnull.hpp +../../src/eepp/window/backend/null/joystickmanagernull.cpp +../../src/eepp/window/backend/null/joystickmanagernull.hpp +../../src/eepp/window/backend/null/joysticknull.cpp +../../src/eepp/window/backend/null/joysticknull.hpp +../../src/eepp/window/backend/null/windownull.cpp +../../src/eepp/window/backend/null/windownull.hpp +../../src/eepp/window/backend/SDL2/backendsdl2.cpp ../../src/eepp/window/backend/SDL2/backendsdl2.hpp ../../src/eepp/window/backend/SDL2/base.hpp -../../src/eepp/window/backend/SDL2/windowsdl2.cpp -../../src/eepp/window/backend/SDL2/joysticksdl2.cpp -../../src/eepp/window/backend/SDL2/joystickmanagersdl2.cpp -../../src/eepp/window/backend/SDL2/inputsdl2.cpp -../../src/eepp/window/backend/SDL2/cursorsdl2.cpp -../../src/eepp/window/backend/SDL2/cursormanagersdl2.cpp ../../src/eepp/window/backend/SDL2/clipboardsdl2.cpp -../../src/eepp/window/backend/allegro5/cwindowal.hpp -../../src/eepp/window/backend/allegro5/cjoystickmanageral.hpp -../../src/eepp/window/backend/allegro5/cjoystickal.hpp -../../src/eepp/window/backend/allegro5/cinputal.hpp -../../src/eepp/window/backend/allegro5/ccursormanageral.hpp -../../src/eepp/window/backend/allegro5/ccursoral.hpp -../../src/eepp/window/backend/allegro5/cclipboardal.hpp -../../src/eepp/window/backend/allegro5/cbackendal.hpp -../../src/eepp/window/backend/allegro5/cwindowal.cpp -../../src/eepp/window/backend/allegro5/cjoystickmanageral.cpp -../../src/eepp/window/backend/allegro5/cjoystickal.cpp -../../src/eepp/window/backend/allegro5/cinputal.cpp -../../src/eepp/window/backend/allegro5/ccursormanageral.cpp -../../src/eepp/window/backend/allegro5/ccursoral.cpp -../../src/eepp/window/backend/allegro5/cclipboardal.cpp -../../src/eepp/window/backend/null/windownull.hpp -../../src/eepp/window/backend/null/joysticknull.hpp -../../src/eepp/window/backend/null/joystickmanagernull.hpp -../../src/eepp/window/backend/null/inputnull.hpp -../../src/eepp/window/backend/null/cursornull.hpp -../../src/eepp/window/backend/null/cursormanagernull.hpp -../../src/eepp/window/backend/null/clipboardnull.hpp -../../src/eepp/window/backend/null/windownull.cpp -../../src/eepp/window/backend/null/joysticknull.cpp -../../src/eepp/window/backend/null/joystickmanagernull.cpp -../../src/eepp/window/backend/null/inputnull.cpp -../../src/eepp/window/backend/null/cursornull.cpp -../../src/eepp/window/backend/null/cursormanagernull.cpp -../../src/eepp/window/backend/null/clipboardnull.cpp -../../src/eepp/window/platform/null/nullimpl.hpp -../../src/eepp/window/platform/null/nullimpl.cpp -../../src/eepp/window/platform/osx/osximpl.hpp -../../src/eepp/window/platform/osx/osximpl.cpp -../../src/eepp/window/platform/win/winimpl.hpp -../../src/eepp/window/platform/win/cursorwin.hpp -../../src/eepp/window/platform/win/winimpl.cpp -../../src/eepp/window/platform/win/cursorwin.cpp -../../src/eepp/window/platform/x11/x11impl.hpp -../../src/eepp/window/platform/x11/cursorx11.hpp -../../src/eepp/window/platform/x11/x11impl.cpp -../../src/eepp/window/platform/x11/cursorx11.cpp -../../src/eepp/window/platform/platformimpl.hpp -../../src/eepp/graphics/pixelperfect.cpp -../../src/eepp/graphics/vertexbuffervbo.cpp -../../src/eepp/graphics/vertexbufferogl.cpp -../../src/eepp/graphics/vertexbuffermanager.cpp -../../src/eepp/graphics/vertexbuffer.cpp -../../src/eepp/graphics/texturepackertex.cpp -../../src/eepp/graphics/texturepackernode.cpp -../../src/eepp/graphics/texturepacker.cpp -../../src/eepp/graphics/textureloader.cpp -../../src/eepp/graphics/textureatlasloader.cpp -../../src/eepp/graphics/texturefontloader.cpp -../../src/eepp/graphics/texturefont.cpp -../../src/eepp/graphics/texturefactory.cpp -../../src/eepp/graphics/texture.cpp -../../src/eepp/graphics/textcache.cpp -../../src/eepp/graphics/sprite.cpp -../../src/eepp/graphics/textureatlasmanager.cpp -../../src/eepp/graphics/textureatlas.cpp -../../src/eepp/graphics/textureregion.cpp -../../src/eepp/graphics/shaderprogrammanager.cpp -../../src/eepp/graphics/shaderprogram.cpp -../../src/eepp/graphics/shader.cpp -../../src/eepp/graphics/scrollparallax.cpp -../../src/eepp/graphics/primitives.cpp -../../src/eepp/graphics/particlesystem.cpp -../../src/eepp/graphics/particle.cpp -../../src/eepp/graphics/image.cpp -../../src/eepp/graphics/globaltextureatlas.cpp -../../src/eepp/graphics/globalbatchrenderer.cpp -../../src/eepp/graphics/framebuffermanager.cpp -../../src/eepp/graphics/framebufferfbo.cpp -../../src/eepp/graphics/framebuffer.cpp -../../src/eepp/graphics/fontmanager.cpp -../../src/eepp/graphics/font.cpp -../../src/eepp/graphics/console.cpp -../../src/eepp/graphics/batchrenderer.cpp -../../src/eepp/graphics/renderer/renderergl3.cpp -../../src/eepp/graphics/renderer/renderergl.cpp -../../src/examples/empty_window/empty_window.cpp -../../src/test/eetest.hpp -../../src/test/eetest.cpp -../../src/eepp/graphics/renderer/renderergles2.cpp -../../include/eepp/graphics/renderer/renderergles2.hpp -../../include/eepp/ee.hpp -../../include/eepp/config.hpp -../../include/eepp/core.hpp -../../src/examples/external_shader/external_shader.cpp -../../include/eepp/window.hpp -../../include/eepp/ui.hpp -../../include/eepp/system.hpp -../../include/eepp/physics.hpp -../../include/eepp/math.hpp -../../include/eepp/graphics.hpp -../../include/eepp/maps.hpp -../../include/eepp/ee.hpp -../../include/eepp/config.hpp -../../include/eepp/core.hpp -../../include/eepp/audio.hpp -../../src/eepp/window/backend/SFML/windowsfml.hpp -../../src/eepp/window/backend/SFML/joysticksfml.hpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.hpp -../../src/eepp/window/backend/SFML/inputsfml.hpp -../../src/eepp/window/backend/SFML/cursorsfml.hpp -../../src/eepp/window/backend/SFML/cursormanagersfml.hpp -../../src/eepp/window/backend/SFML/clipboardsfml.hpp -../../src/eepp/window/backend/SFML/backendsfml.hpp -../../src/eepp/window/backend/SFML/windowsfml.cpp -../../src/eepp/window/backend/SFML/joysticksfml.cpp -../../src/eepp/window/backend/SFML/joystickmanagersfml.cpp -../../src/eepp/window/backend/SFML/inputsfml.cpp -../../src/eepp/window/backend/SFML/cursorsfml.cpp -../../src/eepp/window/backend/SFML/cursormanagersfml.cpp -../../src/eepp/window/backend/SFML/clipboardsfml.cpp -../../src/eepp/window/backend.hpp -../../src/eepp/graphics/framebufferfbo.hpp -../../include/eepp/graphics/packerhelper.hpp -../../include/eepp/system/filesystem.hpp -../../src/eepp/system/filesystem.cpp -../../include/eepp/window/windowhandle.hpp -../../include/eepp/window/windowcontext.hpp -../../include/eepp/version.hpp -../../src/eepp/core/version.cpp -../../src/eepp/physics/moment.cpp -../../src/eepp/physics/area.cpp -../../premake4.lua -../../src/eepp/audio/soundfileogg.hpp -../../src/eepp/audio/soundfiledefault.hpp -../../include/eepp/maps/gameobjectobject.hpp -../../src/eepp/maps/gameobjectobject.cpp -../../src/eepp/maps/gameobjectpolyline.cpp -../../src/eepp/maps/gameobjectpolygon.cpp -../../include/eepp/maps/gameobjectpolyline.hpp -../../include/eepp/maps/gameobjectpolygon.hpp -../../src/eepp/maps/mapeditor/mapobjectproperties.hpp -../../src/eepp/maps/mapeditor/mapobjectproperties.cpp -../../include/eepp/core/noncopyable.hpp -../../include/eepp/system/clock.hpp -../../src/eepp/system/lock.cpp -../../src/thirdparty/SOIL2/src/SOIL2/stbi_pvr_c.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_pvr.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_pkm_c.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_pkm.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_DDS_c.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_DDS.h -../../src/thirdparty/SOIL2/src/SOIL2/stb_image_write.h -../../src/thirdparty/SOIL2/src/SOIL2/stb_image.h -../../src/thirdparty/SOIL2/src/SOIL2/pvr_helper.h -../../src/thirdparty/SOIL2/src/SOIL2/pkm_helper.h -../../src/thirdparty/SOIL2/src/SOIL2/image_helper.h -../../src/thirdparty/SOIL2/src/SOIL2/image_DXT.h -../../src/thirdparty/SOIL2/src/SOIL2/etc1_utils.h -../../src/thirdparty/SOIL2/src/SOIL2/SOIL2.h -../../src/thirdparty/SOIL2/src/SOIL2/image_helper.c -../../src/thirdparty/SOIL2/src/SOIL2/image_DXT.c -../../src/thirdparty/SOIL2/src/SOIL2/etc1_utils.c -../../src/thirdparty/SOIL2/src/SOIL2/SOIL2.c -../../src/thirdparty/SOIL2/src/SOIL2/stbi_ext_c.h -../../src/thirdparty/SOIL2/src/SOIL2/stbi_ext.h -../../src/eepp/audio/soundfile.hpp -../../src/eepp/audio/openal.hpp -../../src/eepp/window/backend/SDL2/backendsdl2.cpp -../../src/examples/sound/sound.cpp -../../src/examples/sprites/sprites.cpp -../../src/examples/fonts/fonts.cpp -../../src/examples/vbo_fbo_batch/vbo_fbo_batch.cpp -../../src/examples/physics/physics.cpp -../../src/eepp/physics/shapepoint.cpp -../../include/eepp/physics/shapepoint.hpp -../../include/eepp/math/originpoint.hpp -../../include/eepp/system/condition.hpp -../../src/eepp/system/condition.cpp -../../src/eepp/system/platform/win/conditionimpl.hpp -../../src/eepp/system/platform/win/conditionimpl.cpp -../../src/eepp/system/platform/posix/conditionimpl.hpp -../../src/eepp/system/platform/posix/conditionimpl.cpp -../../src/eepp/system/time.cpp -../../include/eepp/system/time.hpp -../../src/eepp/graphics/texturesaver.hpp -../../src/eepp/graphics/texturesaver.cpp -../../include/eepp/network/udpsocket.hpp -../../include/eepp/network/tcpsocket.hpp -../../include/eepp/network/tcplistener.hpp -../../include/eepp/network/base.hpp -../../include/eepp/network/socketselector.hpp -../../include/eepp/network/sockethandle.hpp -../../include/eepp/network/socket.hpp -../../include/eepp/network/packet.hpp -../../include/eepp/network/ipaddress.hpp -../../include/eepp/network/http.hpp -../../include/eepp/network/ftp.hpp -../../include/eepp/network.hpp -../../src/eepp/network/udpsocket.cpp -../../src/eepp/network/tcpsocket.cpp -../../src/eepp/network/tcplistener.cpp -../../src/eepp/network/socketselector.cpp -../../src/eepp/network/socket.cpp -../../src/eepp/network/packet.cpp -../../src/eepp/network/ipaddress.cpp -../../src/eepp/network/http.cpp -../../src/eepp/network/ftp.cpp -../../src/eepp/network/platform/unix/socketimpl.hpp -../../src/eepp/network/platform/unix/socketimpl.cpp -../../src/eepp/network/platform/win/socketimpl.hpp -../../src/eepp/network/platform/win/socketimpl.cpp -../../src/eepp/network/platform/platformimpl.hpp -../../Makefile.base -../../Makefile -../../src/examples/http_request/http_request.cpp -../../include/eepp/system/threadlocal.hpp -../../src/eepp/system/threadlocal.cpp -../../src/eepp/system/platform/win/threadlocalimpl.hpp -../../src/eepp/system/platform/win/threadlocalimpl.cpp -../../src/eepp/system/platform/posix/threadlocalimpl.hpp -../../src/eepp/system/platform/posix/threadlocalimpl.cpp -../../include/eepp/system/threadlocalptr.hpp -../../external_projects.lua -../../src/eepp/ui/uitextinputpassword.cpp -../../include/eepp/ui/uitextinputpassword.hpp -../../src/eepp/graphics/renderer/renderergl3cp.cpp -../../include/eepp/graphics/renderer/renderergl3cp.hpp -../../src/eepp/window/backend/SDL/backendsdl.cpp -../../bin/assets/ee.ini -../../src/eepp/network/ssl/sslsocket.cpp -../../src/eepp/network/ssl/sslsocketimpl.hpp -../../src/eepp/network/ssl/backend/openssl/opensslsocket.hpp -../../src/eepp/network/ssl/backend/openssl/opensslsocket.cpp -../../include/eepp/network/ssl/sslsocket.hpp -../../src/eepp/network/ssl/backend/openssl/curl_hostcheck.cpp -../../src/eepp/network/ssl/backend/openssl/curl_hostcheck.h -../../src/eepp/core/debug.cpp -../../src/eepp/core/memorymanager.cpp -../../src/eepp/core/string.cpp -../../src/eepp/core/version.cpp -../../include/eepp/system/clock.hpp -../../include/eepp/system/clock.hpp +../../src/eepp/window/backend/SDL2/clipboardsdl2.hpp +../../src/eepp/window/backend/SDL2/cursormanagersdl2.cpp +../../src/eepp/window/backend/SDL2/cursormanagersdl2.hpp +../../src/eepp/window/backend/SDL2/cursorsdl2.cpp +../../src/eepp/window/backend/SDL2/cursorsdl2.hpp +../../src/eepp/window/backend/SDL2/displaymanagersdl2.cpp +../../src/eepp/window/backend/SDL2/displaymanagersdl2.hpp +../../src/eepp/window/backend/SDL2/inputsdl2.cpp +../../src/eepp/window/backend/SDL2/inputsdl2.hpp +../../src/eepp/window/backend/SDL2/joystickmanagersdl2.cpp +../../src/eepp/window/backend/SDL2/joystickmanagersdl2.hpp +../../src/eepp/window/backend/SDL2/joysticksdl2.cpp +../../src/eepp/window/backend/SDL2/joysticksdl2.hpp +../../src/eepp/window/backend/SDL2/platformhelpersdl2.cpp +../../src/eepp/window/backend/SDL2/platformhelpersdl2.hpp +../../src/eepp/window/backend/SDL2/windowsdl2.cpp +../../src/eepp/window/backend/SDL2/windowsdl2.hpp ../../src/eepp/window/backend/SDL2/wminfo.cpp ../../src/eepp/window/backend/SDL2/wminfo.hpp -../../include/eepp/network/uri.hpp -../../src/eepp/network/uri.cpp -../../include/eepp/system/base64.hpp -../../src/eepp/system/base64.cpp -../../include/eepp/system/md5.hpp -../../src/eepp/system/md5.cpp +../../src/eepp/window/backend/SDL/backendsdl.cpp +../../src/eepp/window/backend/SDL/backendsdl.hpp +../../src/eepp/window/backend/SDL/base.hpp +../../src/eepp/window/backend/SDL/clipboardsdl.cpp +../../src/eepp/window/backend/SDL/clipboardsdl.hpp +../../src/eepp/window/backend/SDL/cursormanagersdl.cpp +../../src/eepp/window/backend/SDL/cursormanagersdl.hpp +../../src/eepp/window/backend/SDL/cursorsdl.cpp +../../src/eepp/window/backend/SDL/cursorsdl.hpp +../../src/eepp/window/backend/SDL/inputsdl.cpp +../../src/eepp/window/backend/SDL/inputsdl.hpp +../../src/eepp/window/backend/SDL/joystickmanagersdl.cpp +../../src/eepp/window/backend/SDL/joystickmanagersdl.hpp +../../src/eepp/window/backend/SDL/joysticksdl.cpp +../../src/eepp/window/backend/SDL/joysticksdl.hpp +../../src/eepp/window/backend/SDL/windowsdl.cpp +../../src/eepp/window/backend/SDL/windowsdl.hpp +../../src/eepp/window/clipboard.cpp +../../src/eepp/window/cursor.cpp +../../src/eepp/window/cursormanager.cpp +../../src/eepp/window/displaymanager.cpp +../../src/eepp/window/engine.cpp +../../src/eepp/window/input.cpp +../../src/eepp/window/inputfinger.cpp +../../src/eepp/window/inputhelper.cpp +../../src/eepp/window/inputtextbuffer.cpp +../../src/eepp/window/joystick.cpp +../../src/eepp/window/joystickmanager.cpp +../../src/eepp/window/platformhelper.hpp +../../src/eepp/window/window.cpp +../../src/examples/empty_window/empty_window.cpp +../../src/examples/external_shader/external_shader.cpp +../../src/examples/fonts/fonts.cpp +../../src/examples/http_request/http_request.cpp +../../src/examples/physics/physics.cpp +../../src/examples/sound/sound.cpp +../../src/examples/sprites/sprites.cpp ../../src/examples/strobe/strobe.cpp +../../src/examples/vbo_fbo_batch/vbo_fbo_batch.cpp +../../src/test/eetest.cpp +../../src/test/eetest.hpp +../../src/thirdparty/SOIL2/src/SOIL2/etc1_utils.c +../../src/thirdparty/SOIL2/src/SOIL2/etc1_utils.h +../../src/thirdparty/SOIL2/src/SOIL2/image_DXT.c +../../src/thirdparty/SOIL2/src/SOIL2/image_DXT.h +../../src/thirdparty/SOIL2/src/SOIL2/image_helper.c +../../src/thirdparty/SOIL2/src/SOIL2/image_helper.h +../../src/thirdparty/SOIL2/src/SOIL2/pkm_helper.h +../../src/thirdparty/SOIL2/src/SOIL2/pvr_helper.h +../../src/thirdparty/SOIL2/src/SOIL2/SOIL2.c +../../src/thirdparty/SOIL2/src/SOIL2/SOIL2.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_DDS_c.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_DDS.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_ext_c.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_ext.h +../../src/thirdparty/SOIL2/src/SOIL2/stb_image.h +../../src/thirdparty/SOIL2/src/SOIL2/stb_image_write.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_pkm_c.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_pkm.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_pvr_c.h +../../src/thirdparty/SOIL2/src/SOIL2/stbi_pvr.h +../../src/tools/mapeditor/mapeditor.cpp +../../src/tools/textureatlaseditor/textureatlaseditor.cpp +../../src/tools/uieditor/uieditor.cpp diff --git a/src/eepp/audio/soundfilereaderwav.hpp b/src/eepp/audio/soundfilereaderwav.hpp index 9be86be0b..8b3479bad 100644 --- a/src/eepp/audio/soundfilereaderwav.hpp +++ b/src/eepp/audio/soundfilereaderwav.hpp @@ -1,5 +1,5 @@ -#ifndef SFML_SOUNDFILEREADERWAV_HPP -#define SFML_SOUNDFILEREADERWAV_HPP +#ifndef EE_AUDIO_SOUNDFILEREADERWAV_HPP +#define EE_AUDIO_SOUNDFILEREADERWAV_HPP #include #include diff --git a/src/eepp/window/backend/SDL2/cursormanagersdl2.cpp b/src/eepp/window/backend/SDL2/cursormanagersdl2.cpp index ebb6daa8f..2f4a37e7d 100644 --- a/src/eepp/window/backend/SDL2/cursormanagersdl2.cpp +++ b/src/eepp/window/backend/SDL2/cursormanagersdl2.cpp @@ -1,6 +1,5 @@ #include #include -#include #ifdef EE_BACKEND_SDL2 diff --git a/src/eepp/window/backend/SDL2/windowsdl2.cpp b/src/eepp/window/backend/SDL2/windowsdl2.cpp index b20dc7794..61cb92409 100644 --- a/src/eepp/window/backend/SDL2/windowsdl2.cpp +++ b/src/eepp/window/backend/SDL2/windowsdl2.cpp @@ -3,7 +3,6 @@ #ifdef EE_BACKEND_SDL2 #include -#include #include #include #include @@ -208,8 +207,6 @@ bool WindowSDL::create( WindowSettings Settings, ContextSettings Context ) { Renderer::instance()->init(); } - createPlatform(); - getMainContext(); setCaption( mWindow.WindowConfig.Caption ); @@ -267,24 +264,6 @@ std::string WindowSDL::getVersion() { return String::format( "SDL %d.%d.%d", ver.major, ver.minor, ver.patch ); } -void WindowSDL::createPlatform() { - eeSAFE_DELETE( mPlatform ); - -#ifdef EE_USE_WMINFO - mWMinfo = eeNew( WMInfo, ( mSDLWindow ) ); -#endif - -#if defined( EE_X11_PLATFORM ) - mPlatform = eeNew( Platform::X11Impl, ( this, mWMinfo->getWindowHandler(), mWMinfo->getWindow(), mWMinfo->getWindow(), NULL, NULL ) ); -#elif EE_PLATFORM == EE_PLATFORM_WIN - mPlatform = eeNew( Platform::WinImpl, ( this, getWindowHandler() ) ); -#elif EE_PLATFORM == EE_PLATFORM_MACOSX - mPlatform = eeNew( Platform::OSXImpl, ( this ) ); -#else - Window::createPlatform(); -#endif -} - void WindowSDL::setGLConfig() { if ( mWindow.ContextConfig.DepthBufferSize ) SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE , mWindow.ContextConfig.DepthBufferSize ); // Depth SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, ( mWindow.ContextConfig.DoubleBuffering ? 1 : 0 ) ); // Double Buffering diff --git a/src/eepp/window/backend/SDL2/windowsdl2.hpp b/src/eepp/window/backend/SDL2/windowsdl2.hpp index a844fa0f1..ea44ab1a8 100644 --- a/src/eepp/window/backend/SDL2/windowsdl2.hpp +++ b/src/eepp/window/backend/SDL2/windowsdl2.hpp @@ -96,8 +96,6 @@ class EE_API WindowSDL : public Window { Vector2i mWinPos; - void createPlatform(); - void swapBuffers(); void setGLConfig(); diff --git a/src/eepp/window/backend/SFML/backendsfml.hpp b/src/eepp/window/backend/SFML/backendsfml.hpp deleted file mode 100644 index e0e92a72a..000000000 --- a/src/eepp/window/backend/SFML/backendsfml.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef EE_WINDOWCBACKENDSFML_HPP -#define EE_WINDOWCBACKENDSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include -#include -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API WindowBackendSFML : public WindowBackend { - public: - inline WindowBackendSFML() : WindowBackend() - { - } - - inline ~WindowBackendSFML() - { - } -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/clipboardsfml.cpp b/src/eepp/window/backend/SFML/clipboardsfml.cpp deleted file mode 100644 index b49bd2c69..000000000 --- a/src/eepp/window/backend/SFML/clipboardsfml.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -ClipboardSFML::ClipboardSFML( EE::Window::Window * window ) : - Clipboard( window ) -{ -} - -ClipboardSFML::~ClipboardSFML() { -} - -void ClipboardSFML::init() { -} - -void ClipboardSFML::setText( const std::string& Text ) { -} - -std::string ClipboardSFML::getText() { - return std::string(); -} - -String ClipboardSFML::getWideText() { - return String(); -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/clipboardsfml.hpp b/src/eepp/window/backend/SFML/clipboardsfml.hpp deleted file mode 100644 index 7dc70d3af..000000000 --- a/src/eepp/window/backend/SFML/clipboardsfml.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef EE_WINDOWCCLIPBOARDSFML_HPP -#define EE_WINDOWCCLIPBOARDSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API ClipboardSFML : public Clipboard { - public: - virtual ~ClipboardSFML(); - - std::string getText(); - - String getWideText(); - - void setText( const std::string& Text ); - protected: - friend class WindowSFML; - - ClipboardSFML( EE::Window::Window * window ); - - void init(); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/cursormanagersfml.cpp b/src/eepp/window/backend/SFML/cursormanagersfml.cpp deleted file mode 100644 index 6eb9e9b67..000000000 --- a/src/eepp/window/backend/SFML/cursormanagersfml.cpp +++ /dev/null @@ -1,92 +0,0 @@ -#include -#include -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#ifdef None -#undef None -#endif -#include -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -CursorManagerSFML::CursorManagerSFML( EE::Window::Window * window ) : - CursorManager( window ) -{ -} - -Cursor * CursorManagerSFML::create( Texture * tex, const Vector2i& hotspot, const std::string& name ) { -#if defined( EE_X11_PLATFORM ) || EE_PLATFORM == EE_PLATFORM_WIN - return mWindow->getPlatform()->createMouseCursor( tex, hotspot, name ); -#else - return eeNew( CursorSFML, ( tex, hotspot, name, mWindow ) ); -#endif -} - -Cursor * CursorManagerSFML::create( Image * img, const Vector2i& hotspot, const std::string& name ) { -#if defined( EE_X11_PLATFORM ) || EE_PLATFORM == EE_PLATFORM_WIN - return mWindow->getPlatform()->createMouseCursor( img, hotspot, name ); -#else - return eeNew( CursorSFML, ( img, hotspot, name, mWindow ) ); -#endif -} - -Cursor * CursorManagerSFML::create( const std::string& path, const Vector2i& hotspot, const std::string& name ) { -#if defined( EE_X11_PLATFORM ) || EE_PLATFORM == EE_PLATFORM_WIN - return mWindow->getPlatform()->createMouseCursor( path, hotspot, name ); -#else - return eeNew( CursorSFML, ( path, hotspot, name, mWindow ) ); -#endif -} - -void CursorManagerSFML::set( Cursor * cursor ) { - mWindow->getPlatform()->setMouseCursor( cursor ); -} - -void CursorManagerSFML::set( Cursor::SysType syscurid ) { - mWindow->getPlatform()->setSystemMouseCursor( syscurid ); -} - -void CursorManagerSFML::show() { - setVisible( true ); -} - -void CursorManagerSFML::hide() { - setVisible( false ); -} - -void CursorManagerSFML::setVisible( bool visible ) { - if ( visible ) { - reinterpret_cast(mWindow)->getSFMLWindow()->setMouseCursorVisible( true ); - - mWindow->getPlatform()->showMouseCursor(); - - mVisible = true; - } else { - reinterpret_cast(mWindow)->getSFMLWindow()->setMouseCursorVisible( false ); - - mWindow->getPlatform()->hideMouseCursor(); - - mVisible = false; - } -} - -void CursorManagerSFML::remove( Cursor * cursor, bool Delete ) { - CursorManager::remove( cursor, Delete ); -} - -void CursorManagerSFML::reload() { - if ( mVisible ) { - show(); - - mWindow->getPlatform()->restoreCursor(); - } else { - hide(); - } -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/cursormanagersfml.hpp b/src/eepp/window/backend/SFML/cursormanagersfml.hpp deleted file mode 100644 index cfa47fd77..000000000 --- a/src/eepp/window/backend/SFML/cursormanagersfml.hpp +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef EE_WINDOWCCURSORMANAGERSFML_HPP -#define EE_WINDOWCCURSORMANAGERSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -using namespace EE::Window; - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class CursorManagerSFML : public CursorManager { - public: - CursorManagerSFML( EE::Window::Window * window ); - - Cursor * create( Texture * tex, const Vector2i& hotspot, const std::string& name ); - - Cursor * create( Image * img, const Vector2i& hotspot, const std::string& name ); - - Cursor * create( const std::string& path, const Vector2i& hotspot, const std::string& name ); - - void set( Cursor * cursor ); - - void set( Cursor::SysType syscurid ); - - void show(); - - void hide(); - - void setVisible( bool visible ); - - void remove( Cursor * cursor, bool Delete = false ); - - void reload(); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/cursorsfml.cpp b/src/eepp/window/backend/SFML/cursorsfml.cpp deleted file mode 100644 index a3dfbcbe5..000000000 --- a/src/eepp/window/backend/SFML/cursorsfml.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -CursorSFML::CursorSFML( Texture * tex, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( tex, hotspot, name, window ) -{ -} - -CursorSFML::CursorSFML( Image * img, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( img, hotspot, name, window ) -{ -} - -CursorSFML::CursorSFML( const std::string& path, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( path, hotspot, name, window ) -{ -} - -void CursorSFML::Create() { -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/cursorsfml.hpp b/src/eepp/window/backend/SFML/cursorsfml.hpp deleted file mode 100644 index 15536bd42..000000000 --- a/src/eepp/window/backend/SFML/cursorsfml.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef EE_WINDOWCCURSORSFML_HPP -#define EE_WINDOWCCURSORSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -using namespace EE::Window; - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class CursorSFML : public Cursor { - protected: - friend class CursorManagerSFML; - - CursorSFML( Texture * tex, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - CursorSFML( Image * img, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - CursorSFML( const std::string& path, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - void Create(); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/displaymanagersfml.cpp b/src/eepp/window/backend/SFML/displaymanagersfml.cpp deleted file mode 100644 index 1924e9e06..000000000 --- a/src/eepp/window/backend/SFML/displaymanagersfml.cpp +++ /dev/null @@ -1,92 +0,0 @@ -#include -#include -#include -using namespace sf; - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -DisplaySFML::DisplaySFML( int index ) : - Display( index ) -{} - -std::string DisplaySFML::getName() { - return std::string( "Display " + String::toStr( index ) ); -} - -Rect DisplaySFML::getBounds() { - VideoMode mode = VideoMode::getDesktopMode(); - return Rect( 0, 0, mode.width, mode.height ); -} - -Float DisplaySFML::getDPI() { - return 92.f; -} - -const int& DisplaySFML::getIndex() const { - return index; -} - -const std::vector& DisplaySFML::getModes() const { - if ( displayModes.empty() ) { - auto modes = VideoMode::getFullscreenModes(); - - for ( size_t i = 0; i < modes.size(); i++ ) { - displayModes.push_back( DisplayMode( modes[i].width, modes[i].height, 60, index ) ); - } - } - - return displayModes; -} - -DisplayMode DisplaySFML::getCurrentMode() { - VideoMode mode = VideoMode::getDesktopMode(); - return DisplayMode( mode.width, mode.height, 60, index ); -} - -DisplayMode DisplaySFML::getClosestDisplayMode( DisplayMode wantedMode ) { - getModes(); - - if ( !displayModes.empty() ) { - Vector2f wanted( wantedMode.Width, wantedMode.Height ); - size_t closestIndex = 0; - Float closestDistance = 99999999999.f; - - for ( size_t i = 0; i < displayModes.size(); i++ ) { - Vector2f cur( displayModes[i].Width, displayModes[i].Height ); - Float dist; - - if ( ( dist = wanted.distance( cur ) ) < closestDistance ) { - closestDistance = dist; - closestIndex = i; - } - } - - return displayModes[ closestIndex ]; - } - - return DisplayMode(0,0,0,0); -} - -Rect DisplaySFML::getUsableBounds() { - return getBounds(); -} - -int DisplayManagerSFML::getDisplayCount() { - return 1; -} - -Display * DisplayManagerSFML::getDisplayIndex( int index ) { - if ( displays.empty() ) { - int count = getDisplayCount(); - - if ( count > 0 ) { - for ( int i = 0; i < count; i++ ) { - displays.push_back( eeNew( DisplaySFML, ( i ) ) ); - } - } - } - - return index >= 0 && index < (Int32)displays.size() ? displays[ index ] : NULL; -} - -}}}} diff --git a/src/eepp/window/backend/SFML/displaymanagersfml.hpp b/src/eepp/window/backend/SFML/displaymanagersfml.hpp deleted file mode 100644 index 3cede6ad4..000000000 --- a/src/eepp/window/backend/SFML/displaymanagersfml.hpp +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef EE_WINDOW_DISPLAYMANAGERSFML_HPP -#define EE_WINDOW_DISPLAYMANAGERSFML_HPP - -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API DisplaySFML : public Display { - public: - DisplaySFML( int index ); - - std::string getName(); - - Rect getBounds(); - - Rect getUsableBounds(); - - Float getDPI(); - - const int& getIndex() const; - - DisplayMode getCurrentMode(); - - DisplayMode getClosestDisplayMode( DisplayMode wantedMode ); - - const std::vector& getModes() const; -}; - -class EE_API DisplayManagerSFML : public DisplayManager { - public: - int getDisplayCount(); - - Display * getDisplayIndex( int index ); -}; - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/inputsfml.cpp b/src/eepp/window/backend/SFML/inputsfml.cpp deleted file mode 100644 index 783aa9a99..000000000 --- a/src/eepp/window/backend/SFML/inputsfml.cpp +++ /dev/null @@ -1,324 +0,0 @@ -#include -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -static Uint32 KeyCodesTable[ sf::Keyboard::KeyCount ]; -static bool KeyCodesTableInit = false; - -InputSFML::InputSFML( EE::Window::Window * window ) : - Input( window, eeNew( JoystickManagerSFML, () ) ), - mWinActive( true ) -{ -} - -InputSFML::~InputSFML() { -} - -void InputSFML::update() { - sf::Event event; - InputEvent EEEvent; - - WindowSFML * win = reinterpret_cast( mWindow ); - sf::Window * window = win->getSFMLWindow(); - - cleanStates(); - - while ( window->pollEvent(event) ) - { - switch ( event.type ) - { - case sf::Event::MouseEntered: - { - EEEvent.Type = InputEvent::Active; - EEEvent.active.gain = 1; - EEEvent.active.state = EE_APPMOUSEFOCUS; - break; - } - case sf::Event::MouseLeft: - { - EEEvent.Type = InputEvent::Active; - EEEvent.active.gain = 0; - EEEvent.active.state = EE_APPMOUSEFOCUS; - break; - } - case sf::Event::MouseButtonPressed: - { - EEEvent.Type = InputEvent::MouseButtonDown; - EEEvent.button.button = getButton( event.mouseButton.button ); - EEEvent.button.x = event.mouseButton.x; - EEEvent.button.y = event.mouseButton.y; - break; - } - case sf::Event::MouseButtonReleased: - { - EEEvent.Type = InputEvent::MouseButtonUp; - EEEvent.button.button = getButton( event.mouseButton.button ); - EEEvent.button.x = event.mouseButton.x; - EEEvent.button.y = event.mouseButton.y; - break; - } - case sf::Event::MouseMoved: - { - EEEvent.Type = InputEvent::MouseMotion; - Vector2i mp( win->getInput()->getMousePos() ); - EEEvent.motion.xrel = mp.x - event.mouseMove.x; - EEEvent.motion.yrel = mp.y - event.mouseMove.y; - EEEvent.motion.x = event.mouseMove.x; - EEEvent.motion.y = event.mouseMove.y; - break; - } - case sf::Event::MouseWheelMoved: - { - int d = event.mouseWheel.delta; - - Uint8 button; - - if ( d > 0 ) - button = EE_BUTTON_WHEELUP; - else - button = EE_BUTTON_WHEELDOWN; - - EEEvent.button.button = button; - EEEvent.button.x = event.mouseWheel.x; - EEEvent.button.y = event.mouseWheel.y; - - EEEvent.Type = InputEvent::MouseButtonDown; - EEEvent.button.state = 1; - processEvent( &EEEvent ); - - EEEvent.Type = InputEvent::MouseButtonUp; - EEEvent.button.state = 0; - break; - } - case sf::Event::KeyPressed: - { - if ( sf::Keyboard::Space != event.key.code && - sf::Keyboard::Return != event.key.code && - sf::Keyboard::Tab != event.key.code && - sf::Keyboard::BackSpace != event.key.code - ) { - EEEvent.Type = InputEvent::KeyDown; - EEEvent.key.keysym.sym = KeyCodesTable[ event.key.code ]; - EEEvent.key.keysym.mod = setMod( event.key ); - EEEvent.key.keysym.unicode = 0; - } else { - EEEvent.Type = InputEvent::NoEvent; - } - - break; - } - case sf::Event::KeyReleased: - { - EEEvent.Type = InputEvent::KeyUp; - EEEvent.key.keysym.sym = KeyCodesTable[ event.key.code ]; - EEEvent.key.keysym.mod = setMod( event.key ); - EEEvent.key.keysym.unicode = 0; - break; - } - case sf::Event::TextEntered: - { - if ( KEY_TAB != event.text.unicode ) { - EEEvent.Type = InputEvent::TextInput; - EEEvent.text.timestamp = Sys::getTicks(); - EEEvent.text.text = event.text.unicode; - - processEvent( &EEEvent ); - } - - EEEvent.Type = InputEvent::KeyDown; - EEEvent.key.keysym.sym = 0; - EEEvent.key.keysym.mod = eeINDEX_NOT_FOUND; - EEEvent.key.keysym.unicode = event.text.unicode; - - break; - } - case sf::Event::GainedFocus: - { - EEEvent.Type = InputEvent::Active; - EEEvent.active.gain = 1; - EEEvent.active.state = EE_APPINPUTFOCUS; - mWinActive = true; - break; - } - case sf::Event::LostFocus: - { - EEEvent.Type = InputEvent::Active; - EEEvent.active.gain = 0; - EEEvent.active.state = EE_APPINPUTFOCUS; - mWinActive = false; - break; - } - case sf::Event::Resized: - { - EEEvent.Type = InputEvent::NoEvent; - - win->videoResize( event.size.width, event.size.height ); - - break; - } - case sf::Event::Closed: - { - EEEvent.Type = InputEvent::Quit; - EEEvent.quit.type = EEEvent.Type; - - window->close(); - - break; - } - case sf::Event::JoystickButtonPressed: - case sf::Event::JoystickButtonReleased: - case sf::Event::JoystickConnected: - case sf::Event::JoystickDisconnected: - case sf::Event::JoystickMoved: - default: - { - EEEvent.Type = InputEvent::NoEvent; - break; - } - } - - if ( InputEvent::NoEvent != EEEvent.Type ) { - processEvent( &EEEvent ); - } - } -} - -bool InputSFML::grabInput() { - return false; -} - -void InputSFML::grabInput( const bool& Grab ) { -} - -void InputSFML::injectMousePos( const Uint16& x, const Uint16& y ) { - WindowSFML * win = reinterpret_cast( mWindow ); - sf::Window * window = win->getSFMLWindow(); - sf::Mouse::setPosition( sf::Vector2i( x, y ), *window ); -} - -void InputSFML::init() { - initializeTables(); - - mJoystickManager->open(); -} - -Uint32 InputSFML::getButton( const Uint32& sfmlBut ) { - switch ( sfmlBut ) { - case sf::Mouse::Left: return EE_BUTTON_LEFT; - case sf::Mouse::Right: return EE_BUTTON_RIGHT; - case sf::Mouse::Middle: return EE_BUTTON_MIDDLE; - case sf::Mouse::XButton1: return EE_BUTTON_X1; - case sf::Mouse::XButton2: return EE_BUTTON_X2; - } - - return EE_BUTTON_LEFT; -} - -Uint32 InputSFML::setMod( sf::Event::KeyEvent& key ) { - Uint32 Ret = 0; - - if ( key.shift ) Ret |= KEYMOD_SHIFT; - if ( key.control ) Ret |= KEYMOD_CTRL; - if ( key.alt ) Ret |= KEYMOD_ALT; - if ( key.system ) Ret |= KEYMOD_META; - - return Ret; -} - -void InputSFML::initializeTables() { - if ( KeyCodesTableInit ) - return; - - Uint32 i; - - for ( i = sf::Keyboard::A; i <= sf::Keyboard::Z; i++ ) - KeyCodesTable[ i ] = KEY_A + i; - - KeyCodesTable[ sf::Keyboard::Num0 ] = KEY_0; - KeyCodesTable[ sf::Keyboard::Num1 ] = KEY_1; - KeyCodesTable[ sf::Keyboard::Num2 ] = KEY_2; - KeyCodesTable[ sf::Keyboard::Num3 ] = KEY_3; - KeyCodesTable[ sf::Keyboard::Num4 ] = KEY_4; - KeyCodesTable[ sf::Keyboard::Num5 ] = KEY_5; - KeyCodesTable[ sf::Keyboard::Num6 ] = KEY_6; - KeyCodesTable[ sf::Keyboard::Num7 ] = KEY_7; - KeyCodesTable[ sf::Keyboard::Num8 ] = KEY_8; - KeyCodesTable[ sf::Keyboard::Num9 ] = KEY_9; - KeyCodesTable[ sf::Keyboard::Escape ] = KEY_ESCAPE; - KeyCodesTable[ sf::Keyboard::LControl ] = KEY_LCTRL; - KeyCodesTable[ sf::Keyboard::LShift ] = KEY_LSHIFT; - KeyCodesTable[ sf::Keyboard::LAlt ] = KEY_LALT; - KeyCodesTable[ sf::Keyboard::LSystem ] = KEY_LMETA; - KeyCodesTable[ sf::Keyboard::RControl ] = KEY_RCTRL; - KeyCodesTable[ sf::Keyboard::RShift ] = KEY_RSHIFT; - KeyCodesTable[ sf::Keyboard::RAlt ] = KEY_RALT; - KeyCodesTable[ sf::Keyboard::RSystem ] = KEY_RMETA; - KeyCodesTable[ sf::Keyboard::Menu ] = KEY_MENU; - KeyCodesTable[ sf::Keyboard::LBracket ] = KEY_LEFTBRACKET; - KeyCodesTable[ sf::Keyboard::RBracket ] = KEY_RIGHTBRACKET; - KeyCodesTable[ sf::Keyboard::SemiColon ] = KEY_SEMICOLON; - KeyCodesTable[ sf::Keyboard::Comma ] = KEY_COMMA; - KeyCodesTable[ sf::Keyboard::Period ] = KEY_PERIOD; - KeyCodesTable[ sf::Keyboard::Quote ] = KEY_QUOTE; - KeyCodesTable[ sf::Keyboard::Slash ] = KEY_SLASH; - KeyCodesTable[ sf::Keyboard::BackSlash ] = KEY_BACKSLASH; - KeyCodesTable[ sf::Keyboard::Tilde ] = KEY_BACKQUOTE; - KeyCodesTable[ sf::Keyboard::Equal ] = KEY_EQUALS; - KeyCodesTable[ sf::Keyboard::Dash ] = KEY_MINUS; - KeyCodesTable[ sf::Keyboard::Space ] = KEY_SPACE; - KeyCodesTable[ sf::Keyboard::Return ] = KEY_RETURN; - KeyCodesTable[ sf::Keyboard::BackSpace ] = KEY_BACKSPACE; - KeyCodesTable[ sf::Keyboard::Tab ] = KEY_TAB; - KeyCodesTable[ sf::Keyboard::PageUp ] = KEY_PAGEUP; - KeyCodesTable[ sf::Keyboard::PageDown ] = KEY_PAGEDOWN; - KeyCodesTable[ sf::Keyboard::End ] = KEY_END; - KeyCodesTable[ sf::Keyboard::Home ] = KEY_HOME; - KeyCodesTable[ sf::Keyboard::Insert ] = KEY_INSERT; - KeyCodesTable[ sf::Keyboard::Delete ] = KEY_DELETE; - KeyCodesTable[ sf::Keyboard::Add ] = KEY_KP_PLUS; - KeyCodesTable[ sf::Keyboard::Subtract ] = KEY_KP_MINUS; - KeyCodesTable[ sf::Keyboard::Multiply ] = KEY_KP_MULTIPLY; - KeyCodesTable[ sf::Keyboard::Divide ] = KEY_KP_DIVIDE; - KeyCodesTable[ sf::Keyboard::Left ] = KEY_LEFT; - KeyCodesTable[ sf::Keyboard::Right ] = KEY_RIGHT; - KeyCodesTable[ sf::Keyboard::Up ] = KEY_UP; - KeyCodesTable[ sf::Keyboard::Down ] = KEY_DOWN; - KeyCodesTable[ sf::Keyboard::Numpad0 ] = KEY_KP0; - KeyCodesTable[ sf::Keyboard::Numpad1 ] = KEY_KP1; - KeyCodesTable[ sf::Keyboard::Numpad2 ] = KEY_KP2; - KeyCodesTable[ sf::Keyboard::Numpad3 ] = KEY_KP3; - KeyCodesTable[ sf::Keyboard::Numpad4 ] = KEY_KP4; - KeyCodesTable[ sf::Keyboard::Numpad5 ] = KEY_KP5; - KeyCodesTable[ sf::Keyboard::Numpad6 ] = KEY_KP6; - KeyCodesTable[ sf::Keyboard::Numpad7 ] = KEY_KP7; - KeyCodesTable[ sf::Keyboard::Numpad8 ] = KEY_KP8; - KeyCodesTable[ sf::Keyboard::Numpad9 ] = KEY_KP9; - KeyCodesTable[ sf::Keyboard::F1 ] = KEY_F1; - KeyCodesTable[ sf::Keyboard::F2 ] = KEY_F2; - KeyCodesTable[ sf::Keyboard::F3 ] = KEY_F3; - KeyCodesTable[ sf::Keyboard::F4 ] = KEY_F4; - KeyCodesTable[ sf::Keyboard::F5 ] = KEY_F5; - KeyCodesTable[ sf::Keyboard::F6 ] = KEY_F6; - KeyCodesTable[ sf::Keyboard::F7 ] = KEY_F7; - KeyCodesTable[ sf::Keyboard::F8 ] = KEY_F8; - KeyCodesTable[ sf::Keyboard::F9 ] = KEY_F9; - KeyCodesTable[ sf::Keyboard::F10 ] = KEY_F10; - KeyCodesTable[ sf::Keyboard::F11 ] = KEY_F11; - KeyCodesTable[ sf::Keyboard::F12 ] = KEY_F12; - KeyCodesTable[ sf::Keyboard::F13 ] = KEY_F13; - KeyCodesTable[ sf::Keyboard::F14 ] = KEY_F14; - KeyCodesTable[ sf::Keyboard::F15 ] = KEY_F15; - KeyCodesTable[ sf::Keyboard::Pause ] = KEY_PAUSE; - - KeyCodesTableInit = true; -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/inputsfml.hpp b/src/eepp/window/backend/SFML/inputsfml.hpp deleted file mode 100644 index ee16e7a4e..000000000 --- a/src/eepp/window/backend/SFML/inputsfml.hpp +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef EE_WINDOWCINPUTSFML_HPP -#define EE_WINDOWCINPUTSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include -#ifdef None -#undef None -#endif -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API InputSFML : public Input { - public: - virtual ~InputSFML(); - - void update(); - - bool grabInput(); - - void grabInput( const bool& Grab ); - - void injectMousePos( const Uint16& x, const Uint16& y ); - protected: - friend class WindowSFML; - - bool mWinActive; - - InputSFML( EE::Window::Window * window ); - - virtual void init(); - - Uint32 getButton( const Uint32& sfmlBut ); - - Uint32 setMod( sf::Event::KeyEvent& key ); - - void initializeTables(); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/joystickmanagersfml.cpp b/src/eepp/window/backend/SFML/joystickmanagersfml.cpp deleted file mode 100644 index 5aeb05bd0..000000000 --- a/src/eepp/window/backend/SFML/joystickmanagersfml.cpp +++ /dev/null @@ -1,46 +0,0 @@ -#include -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#ifdef None -#undef None -#endif -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -JoystickManagerSFML::JoystickManagerSFML() : - JoystickManager() -{ -} - -JoystickManagerSFML::~JoystickManagerSFML() { -} - -void JoystickManagerSFML::update() { -} - -void JoystickManagerSFML::open() { - mCount = sf::Joystick::Count; - - for ( unsigned int i = 0; i < mCount; i++ ) - create(i); - - mInit = true; -} - -void JoystickManagerSFML::close() { - mInit = false; -} - -void JoystickManagerSFML::create( const Uint32& index ) { - if ( NULL != mJoysticks[ index ] ) - mJoysticks[ index ]->reOpen(); - else - mJoysticks[ index ] = eeNew( JoystickSFML, ( index ) ); -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/joystickmanagersfml.hpp b/src/eepp/window/backend/SFML/joystickmanagersfml.hpp deleted file mode 100644 index 4c4ea093a..000000000 --- a/src/eepp/window/backend/SFML/joystickmanagersfml.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef EE_WINDOWCJOYSTICKMANAGERSFML_HPP -#define EE_WINDOWCJOYSTICKMANAGERSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API JoystickManagerSFML : public JoystickManager { - public: - JoystickManagerSFML(); - - virtual ~JoystickManagerSFML(); - - void update(); - - void close(); - - void open(); - protected: - void create( const Uint32& index ); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/joysticksfml.cpp b/src/eepp/window/backend/SFML/joysticksfml.cpp deleted file mode 100644 index 67884db56..000000000 --- a/src/eepp/window/backend/SFML/joysticksfml.cpp +++ /dev/null @@ -1,87 +0,0 @@ -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#ifdef None -#undef None -#endif -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -JoystickSFML::JoystickSFML( const Uint32& index ) : - Joystick( index ), - mHat( HAT_CENTERED ) -{ - open(); -} - -JoystickSFML::~JoystickSFML() { -} - -void JoystickSFML::open() { - mName = "Joystick " + String::toStr( mIndex ); - mHats = 0; - mButtons = eemin( sf::Joystick::getButtonCount( mIndex ), (unsigned int)32 ); - mAxes = sf::Joystick::AxisCount; - mBalls = 0; - mHat = HAT_CENTERED; - mButtonDown = mButtonDownLast = mButtonUp = 0; -} - -void JoystickSFML::close() { -} - -void JoystickSFML::update() { - clearStates(); - - for ( Int32 i = 0; i < mButtons; i++ ) { - updateButton( i, sf::Joystick::isButtonPressed( mIndex, i ) ); - } - - calcHat(); -} - -void JoystickSFML::calcHat() { - Float hatX = sf::Joystick::getAxisPosition( mIndex, sf::Joystick::PovX ); - Float hatY = sf::Joystick::getAxisPosition( mIndex, sf::Joystick::PovY ); - - mHat = HAT_CENTERED; - - if ( hatX < 0 ) mHat |= HAT_LEFT; - else if ( hatX > 0 ) mHat |= HAT_RIGHT; - - if ( hatY < 0 ) mHat |= HAT_UP; - else if ( hatY > 0 ) mHat |= HAT_DOWN; -} - -Uint8 JoystickSFML::getHat( const Int32& index ) { - return mHat; -} - -Float JoystickSFML::getAxis( const Int32& axis ) { - sf::Joystick::Axis raxis = sf::Joystick::X; - - switch ( axis ) - { - case AXIS_X: raxis = sf::Joystick::X; break; - case AXIS_Y: raxis = sf::Joystick::Y; break; - case AXIS_X2: raxis = sf::Joystick::Z; break; - case AXIS_Y2: raxis = sf::Joystick::R; break; - } - - return sf::Joystick::getAxisPosition( mIndex, raxis ) * 0.01; -} - -Vector2i JoystickSFML::getBallMotion( const Int32& ball ) { - return Vector2i(); -} - -bool JoystickSFML::isPlugged() const { - return sf::Joystick::isConnected( mIndex ); -} - - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/joysticksfml.hpp b/src/eepp/window/backend/SFML/joysticksfml.hpp deleted file mode 100644 index a982e4cd6..000000000 --- a/src/eepp/window/backend/SFML/joysticksfml.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef EE_WINDOWCJOYSTICKSFML_HPP -#define EE_WINDOWCJOYSTICKSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API JoystickSFML : public Joystick { - public: - JoystickSFML( const Uint32& index ); - - virtual ~JoystickSFML(); - - void close(); - - void open(); - - void update(); - - Uint8 getHat( const Int32& index ); - - Float getAxis( const Int32& axis ); - - Vector2i getBallMotion( const Int32& ball ); - - bool isPlugged() const; - protected: - void calcHat(); - - Uint8 mHat; -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/backend/SFML/platformhelpersfml.cpp b/src/eepp/window/backend/SFML/platformhelpersfml.cpp deleted file mode 100644 index 5185e43ba..000000000 --- a/src/eepp/window/backend/SFML/platformhelpersfml.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -PlatformHelperSFML::PlatformHelperSFML() -{ -} - -#if EE_PLATFORM == EE_PLATFORM_ANDROID -void * PlatformHelperSFML::getActivity() { - return NULL; -} - -void * PlatformHelperSFML::getJNIEnv() { - return NULL; -} - -std::string PlatformHelperSFML::getExternalStoragePath() { - return std::string(); -} - -std::string PlatformHelperSFML::getInternalStoragePath() { - return std::string(); -} - -std::string PlatformHelperSFML::getApkPath() { - return std::string(); -} - -bool PlatformHelperSFML::isExternalStorageReadable() { - return true; -} - -bool PlatformHelperSFML::isExternalStorageWritable() { - return true; -} -#endif - -}}}} diff --git a/src/eepp/window/backend/SFML/platformhelpersfml.hpp b/src/eepp/window/backend/SFML/platformhelpersfml.hpp deleted file mode 100644 index 54b7dbefd..000000000 --- a/src/eepp/window/backend/SFML/platformhelpersfml.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef EE_PLATFORMHELPERSFML_HPP -#define EE_PLATFORMHELPERSFML_HPP - -#include -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API PlatformHelperSFML : public PlatformHelper -{ - public: - PlatformHelperSFML(); - -#if EE_PLATFORM == EE_PLATFORM_ANDROID - void * getActivity(); - - void * getJNIEnv(); - - std::string getExternalStoragePath(); - - std::string getInternalStoragePath(); - - std::string getApkPath(); - - bool isExternalStorageReadable(); - - bool isExternalStorageWritable(); -#endif -}; - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/windowsfml.cpp b/src/eepp/window/backend/SFML/windowsfml.cpp deleted file mode 100644 index 8d90239d6..000000000 --- a/src/eepp/window/backend/SFML/windowsfml.cpp +++ /dev/null @@ -1,260 +0,0 @@ -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#if defined( EE_X11_PLATFORM ) - #include -#endif - -#undef None - -#endif - -#include - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -#include -#include -#include -#include - -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -WindowSFML::WindowSFML( WindowSettings Settings, ContextSettings Context ) : - Window( Settings, Context, eeNew( ClipboardSFML, ( this ) ), eeNew( InputSFML, ( this ) ), eeNew( CursorManagerSFML, ( this ) ) ), - mWinHandler( 0 ), - mVisible( false ) -{ - create( Settings, Context ); -} - -WindowSFML::~WindowSFML() { -} - -bool WindowSFML::create( WindowSettings Settings, ContextSettings Context ) { - if ( mWindow.Created ) - return false; - - sf::VideoMode mode = sf::VideoMode::getDesktopMode(); - mWindow.WindowConfig = Settings; - mWindow.ContextConfig = Context; - mWindow.DesktopResolution = Sizei( mode.width, mode.height ); - - if ( mWindow.WindowConfig.Style & WindowStyle::Titlebar ) - mWindow.Flags |= sf::Style::Titlebar; - - if ( mWindow.WindowConfig.Style & WindowStyle::Resize ) - mWindow.Flags |= sf::Style::Resize; - - if ( mWindow.WindowConfig.Style & WindowStyle::Borderless ) - mWindow.Flags = sf::Style::None; - - if ( mWindow.WindowConfig.Style & WindowStyle::UseDesktopResolution ) { - mWindow.WindowConfig.Width = mode.width; - mWindow.WindowConfig.Height = mode.height; - } - - Uint32 TmpFlags = mWindow.Flags; - - if ( mWindow.WindowConfig.Style & WindowStyle::Fullscreen ) - TmpFlags |= sf::Style::Fullscreen; - - mSFMLWindow.create( sf::VideoMode( Settings.Width, Settings.Height, Settings.BitsPerPixel ), mWindow.WindowConfig.Caption, TmpFlags, sf::ContextSettings( Context.DepthBufferSize, Context.StencilBufferSize ) ); - - mSFMLWindow.setVerticalSyncEnabled( Context.VSync ); - - if ( NULL == Renderer::existsSingleton() ) { - Renderer::createSingleton( mWindow.ContextConfig.Version ); - Renderer::instance()->init(); - } - - createPlatform(); - - getMainContext(); - - createView(); - - setup2D( false ); - - mWindow.Created = true; - mVisible = true; - - if ( "" != mWindow.WindowConfig.Icon ) { - setIcon( mWindow.WindowConfig.Icon ); - } - - /// Init the clipboard after the window creation - reinterpret_cast ( mClipboard )->init(); - - /// Init the input after the window creation - reinterpret_cast ( mInput )->init(); - - logSuccessfulInit( getVersion() ); - - return true; -} - -std::string WindowSFML::getVersion() { - return std::string( "SFML 2" ); -} - -void WindowSFML::createPlatform() { -#if defined( EE_X11_PLATFORM ) - if ( 0 != getWindowHandler() ) { - mPlatform = eeNew( Platform::X11Impl, ( this, getWindowHandler(), mSFMLWindow.getSystemHandle(), mSFMLWindow.getSystemHandle(), NULL, NULL ) ); - } else { - Window::createPlatform(); - } -#elif EE_PLATFORM == EE_PLATFORM_WIN - mPlatform = eeNew( Platform::WinImpl, ( this, GetWindowHandler() ) ); -#elif EE_PLATFORM == EE_PLATFORM_MACOSX - mPlatform = eeNew( Platform::OSXImpl, ( this ) ); -#else - Window::createPlatform(); -#endif -} - -void WindowSFML::toggleFullscreen() { -} - -void WindowSFML::setCaption( const std::string& Caption ) { - mWindow.WindowConfig.Caption = Caption; - - mSFMLWindow.setTitle( Caption ); -} - -bool WindowSFML::setIcon( const std::string& Path ) { - mWindow.WindowConfig.Icon = Path; - - Image Img( Path ); - - mSFMLWindow.setIcon( Img.getWidth(), Img.getHeight(), Img.getPixelsPtr() ); - - return true; -} - -void WindowSFML::hide() { - mSFMLWindow.setVisible( false ); - mVisible = false; -} - -void WindowSFML::show() { - mSFMLWindow.setVisible( true ); - mVisible = true; -} - -void WindowSFML::setPosition( Int16 Left, Int16 Top ) { - mSFMLWindow.setPosition( sf::Vector2i( Left, Top ) ); -} - -bool WindowSFML::isActive() { - return reinterpret_cast ( mInput )->mWinActive; -} - -bool WindowSFML::isVisible() { - return mVisible; -} - -Vector2i WindowSFML::getPosition() { - sf::Vector2i v( mSFMLWindow.getPosition() ); - return Vector2i( v.x, v.y ); -} - -void WindowSFML::setSize( Uint32 Width, Uint32 Height, bool Windowed ) { - if ( ( !Width || !Height ) ) { - Width = mWindow.DesktopResolution.getWidth(); - Height = mWindow.DesktopResolution.getHeight(); - } - - if ( this->isWindowed() == Windowed && Width == mWindow.WindowConfig.Width && Height == mWindow.WindowConfig.Height ) - return; - - sf::Vector2u v( Width, Height ); - - mSFMLWindow.setSize( v ); - mDefaultView.reset( Rectf( 0, 0, Width, Height ) ); -} - -void WindowSFML::videoResize( Uint32 Width, Uint32 Height ) { - mWindow.WindowConfig.Width = Width; - mWindow.WindowConfig.Height = Height; - - mDefaultView.reset( Rectf( 0, 0, Width, Height ) ); - - setup2D( false ); - - mCursorManager->reload(); - - sendVideoResizeCb(); -} - -void WindowSFML::swapBuffers() { - mSFMLWindow.display(); -} - -std::vector WindowSFML::getDisplayModes() const { - std::vector result; - - std::vector modes = sf::VideoMode::getFullscreenModes(); - - for (std::size_t i = 0; i < modes.size(); ++i) { - sf::VideoMode mode = modes[i]; - - result.push_back( DisplayMode( mode.width, mode.height, 60, 0 ) ); - } - - return result; -} - -void WindowSFML::setGamma( Float Red, Float Green, Float Blue ) { -} - -eeWindowContex WindowSFML::getContext() const { - return 0; -} - -void WindowSFML::getMainContext() { -} - -void WindowSFML::onWindowResize( Uint32 Width, Uint32 Height ) { -} - -eeWindowHandle WindowSFML::getWindowHandler() { -#if defined( EE_X11_PLATFORM ) - if ( 0 == mWinHandler ) { - #ifdef EE_SUPPORT_EXCEPTIONS - try { - #endif - mWinHandler = XOpenDisplay( NULL ); - #ifdef EE_SUPPORT_EXCEPTIONS - } catch (...) { - mWinHandler = 0; - } - #endif - } - - return mWinHandler; -#elif EE_PLATFORM == EE_PLATFORM_WIN - return (eeWindowHandle)mSFMLWindow.getSystemHandle(); -#elif EE_PLATFORM == EE_PLATFORM_MACOSX - return (eeWindowHandle)mSFMLWindow.getSystemHandle(); -#else - return 0; -#endif -} - -void WindowSFML::setDefaultContext() { -} - -sf::Window * WindowSFML::getSFMLWindow() { - return &mSFMLWindow; -} - -}}}} - -#endif diff --git a/src/eepp/window/backend/SFML/windowsfml.hpp b/src/eepp/window/backend/SFML/windowsfml.hpp deleted file mode 100644 index 91da76f7e..000000000 --- a/src/eepp/window/backend/SFML/windowsfml.hpp +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef EE_WINDOWCWINDOWSFML_HPP -#define EE_WINDOWCWINDOWSFML_HPP - -#ifdef EE_BACKEND_SFML_ACTIVE - -#include - -#ifdef None -#undef None -#endif -#include - -namespace EE { namespace Window { namespace Backend { namespace SFML { - -class EE_API WindowSFML : public Window { - public: - WindowSFML( WindowSettings Settings, ContextSettings Context ); - - virtual ~WindowSFML(); - - bool create( WindowSettings Settings, ContextSettings Context ); - - void toggleFullscreen(); - - void setCaption( const std::string& setCaption ); - - bool setIcon( const std::string& Path ); - - void hide(); - - void show(); - - void setPosition( Int16 Left, Int16 Top ); - - bool isActive(); - - bool isVisible(); - - Vector2i getPosition(); - - void setSize( Uint32 Width, Uint32 Height, bool Windowed ); - - std::vector getDisplayModes() const; - - void setGamma( Float Red, Float Green, Float Blue ); - - eeWindowContex getContext() const; - - eeWindowHandle getWindowHandler(); - - void setDefaultContext(); - - sf::Window * getSFMLWindow(); - protected: - friend class ClipboardSFML; - friend class InputSFML; - - sf::Window mSFMLWindow; - - eeWindowHandle mWinHandler; - - bool mVisible; - - void createPlatform(); - - void swapBuffers(); - - void getMainContext(); - - void onWindowResize( Uint32 Width, Uint32 Height ); - - std::string getVersion(); - - void videoResize( Uint32 Width, Uint32 Height ); -}; - -}}}} - -#endif - -#endif diff --git a/src/eepp/window/engine.cpp b/src/eepp/window/engine.cpp index a2c72fd60..347174304 100755 --- a/src/eepp/window/engine.cpp +++ b/src/eepp/window/engine.cpp @@ -18,9 +18,7 @@ #include #include #include -#include #include -#include #include #include @@ -29,14 +27,11 @@ #endif #define BACKEND_SDL2 1 -#define BACKEND_SFML 2 #ifndef DEFAULT_BACKEND #if defined( EE_BACKEND_SDL2 ) #define DEFAULT_BACKEND BACKEND_SDL2 -#elif defined( EE_BACKEND_SFML_ACTIVE ) -#define DEFAULT_BACKEND BACKEND_SFML #endif #endif @@ -134,14 +129,6 @@ Backend::WindowBackend * Engine::createSDL2Backend( const WindowSettings &Settin #endif } -Backend::WindowBackend * Engine::createSFMLBackend( const WindowSettings &Settings ) { -#if defined( EE_BACKEND_SFML_ACTIVE ) - return eeNew( Backend::SFML::WindowBackendSFML, () ); -#else - return NULL; -#endif -} - EE::Window::Window * Engine::createSDL2Window( const WindowSettings& Settings, const ContextSettings& Context ) { #if defined( EE_SDL_VERSION_2 ) if ( NULL == mBackend ) { @@ -154,24 +141,9 @@ EE::Window::Window * Engine::createSDL2Window( const WindowSettings& Settings, c #endif } -EE::Window::Window * Engine::createSFMLWindow( const WindowSettings& Settings, const ContextSettings& Context ) { -#if defined( EE_BACKEND_SFML_ACTIVE ) - - if ( NULL == mBackend ) { - mBackend = createSFMLBackend( Settings ); - } - - return eeNew( Backend::SFML::WindowSFML, ( Settings, Context ) ); -#else - return NULL; -#endif -} - EE::Window::Window * Engine::createDefaultWindow( const WindowSettings& Settings, const ContextSettings& Context ) { #if DEFAULT_BACKEND == BACKEND_SDL2 return createSDL2Window( Settings, Context ); -#elif DEFAULT_BACKEND == BACKEND_SFML - return createSFMLWindow( Settings, Context ); #endif } @@ -185,8 +157,6 @@ EE::Window::Window * Engine::createWindow( WindowSettings Settings, ContextSetti } switch ( Settings.Backend ) { - case WindowBackend::SDL2: window = createSDL2Window( Settings, Context ); break; - case WindowBackend::SFML: window = createSFMLWindow( Settings, Context ); break; case WindowBackend::Default: default: window = createDefaultWindow( Settings, Context ); break; } @@ -252,8 +222,6 @@ bool Engine::isRunning() const { Uint32 Engine::getDefaultBackend() const { #if DEFAULT_BACKEND == BACKEND_SDL2 return WindowBackend::SDL2; -#elif DEFAULT_BACKEND == BACKEND_SFML - return WindowBackend::SFML; #endif } @@ -291,7 +259,6 @@ WindowSettings Engine::createWindowSettings( IniFile * ini, std::string iniKeyNa String::toLowerInPlace( Backend ); if ( "sdl2" == Backend ) WinBackend = WindowBackend::SDL2; - else if ( "sfml" == Backend ) WinBackend = WindowBackend::SFML; Uint32 Style = WindowStyle::Titlebar; @@ -377,8 +344,6 @@ PlatformHelper * Engine::getPlatformHelper() { if ( NULL == mPlatformHelper ) { #if DEFAULT_BACKEND == BACKEND_SDL2 mPlatformHelper = eeNew( Backend::SDL2::PlatformHelperSDL2, () ); - #elif DEFAULT_BACKEND == BACKEND_SFML - mPlatform = eeNew( Backend::SFML::PlatformHelperSFML, () ); #endif } @@ -389,8 +354,6 @@ DisplayManager * Engine::getDisplayManager() { if ( NULL == mDisplayManager ) { #if DEFAULT_BACKEND == BACKEND_SDL2 mDisplayManager = eeNew( Backend::SDL2::DisplayManagerSDL2, () ); - #elif DEFAULT_BACKEND == BACKEND_SFML - mDisplayManager = eeNew( Backend::SFML::DisplayManagerSFML, () ); #endif } diff --git a/src/eepp/window/platform/null/nullimpl.cpp b/src/eepp/window/platform/null/nullimpl.cpp deleted file mode 100644 index d9689de20..000000000 --- a/src/eepp/window/platform/null/nullimpl.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include - -namespace EE { namespace Window { namespace Platform { - -NullImpl::NullImpl( EE::Window::Window * window ) : - PlatformImpl( window ) -{ -} - -NullImpl::~NullImpl() { -} - -void NullImpl::minimizeWindow() { -} - -void NullImpl::maximizeWindow() { -} - -bool NullImpl::isWindowMaximized() { - return false; -} - -void NullImpl::hideWindow() { -} - -void NullImpl::raiseWindow() { -} - -void NullImpl::showWindow() { -} - -void NullImpl::moveWindow( int left, int top ) { -} - -void NullImpl::setContext( eeWindowContex Context ) { -} - -Vector2i NullImpl::getPosition() { - return Vector2i(0,0); -} - -void NullImpl::showMouseCursor() { -} - -void NullImpl::hideMouseCursor() { -} - -Cursor * NullImpl::createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -Cursor * NullImpl::createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -Cursor * NullImpl::createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -void NullImpl::setMouseCursor( Cursor * cursor ) { -} - -void NullImpl::setSystemMouseCursor( Cursor::SysType syscursor ) { -} - -void NullImpl::restoreCursor() { -} - -eeWindowContex NullImpl::getWindowContext() { - return 0; -} - -}}} diff --git a/src/eepp/window/platform/null/nullimpl.hpp b/src/eepp/window/platform/null/nullimpl.hpp deleted file mode 100644 index 98918f0a9..000000000 --- a/src/eepp/window/platform/null/nullimpl.hpp +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef EE_WINDOWNULLIMPL_HPP -#define EE_WINDOWNULLIMPL_HPP - -#include -#include - -namespace EE { namespace Window { namespace Platform { - -using namespace EE::Window; - -class NullImpl : public PlatformImpl { - public: - NullImpl( EE::Window::Window * window ); - - ~NullImpl(); - - void minimizeWindow(); - - void maximizeWindow(); - - bool isWindowMaximized(); - - void hideWindow(); - - void raiseWindow(); - - void showWindow(); - - void moveWindow( int left, int top ); - - void setContext( eeWindowContex Context ); - - Vector2i getPosition(); - - void showMouseCursor(); - - void hideMouseCursor(); - - Cursor * createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ); - - void setMouseCursor( Cursor * cursor ); - - void setSystemMouseCursor( Cursor::SysType syscursor ); - - void restoreCursor(); - - eeWindowContex getWindowContext(); -}; - -}}} - -#endif diff --git a/src/eepp/window/platform/osx/osximpl.cpp b/src/eepp/window/platform/osx/osximpl.cpp deleted file mode 100644 index c9f657e8d..000000000 --- a/src/eepp/window/platform/osx/osximpl.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - -#if EE_PLATFORM == EE_PLATFORM_MACOSX - -#include - -namespace EE { namespace Window { namespace Platform { - -OSXImpl::OSXImpl( EE::Window::Window * window ) : - PlatformImpl( window ) -{ -} - -OSXImpl::~OSXImpl() { -} - -void OSXImpl::minimizeWindow() { -} - -void OSXImpl::maximizeWindow() { -} - -bool OSXImpl::isWindowMaximized() { - return false; -} - -void OSXImpl::hideWindow() { -} - -void OSXImpl::raiseWindow() { -} - -void OSXImpl::showWindow() { -} - -void OSXImpl::moveWindow( int left, int top ) { -} - -void OSXImpl::setContext( eeWindowContex Context ) { -} - -Vector2i OSXImpl::getPosition() { - return Vector2i(0,0); -} - -void OSXImpl::showMouseCursor() { -} - -void OSXImpl::hideMouseCursor() { -} - -Cursor * OSXImpl::createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -Cursor * OSXImpl::createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -Cursor * OSXImpl::createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ) { - return NULL; -} - -void OSXImpl::setMouseCursor( Cursor * cursor ) { -} - -void OSXImpl::setSystemMouseCursor( Cursor::SysType syscursor ) { -} - -void OSXImpl::restoreCursor() { -} - -eeWindowContex OSXImpl::getWindowContext() { - return NULL; -} - -}}} - -#endif diff --git a/src/eepp/window/platform/osx/osximpl.hpp b/src/eepp/window/platform/osx/osximpl.hpp deleted file mode 100644 index 740c46f82..000000000 --- a/src/eepp/window/platform/osx/osximpl.hpp +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef EE_WINDOWCOSXIMPL_HPP -#define EE_WINDOWCOSXIMPL_HPP - -#include - -#if EE_PLATFORM == EE_PLATFORM_MACOSX - -#include - -namespace EE { namespace Window { namespace Platform { - -using namespace EE::Window; - -class OSXImpl : public PlatformImpl { - public: - OSXImpl( EE::Window::Window * window ); - - ~OSXImpl(); - - void minimizeWindow(); - - void maximizeWindow(); - - bool isWindowMaximized(); - - void hideWindow(); - - void raiseWindow(); - - void showWindow(); - - void moveWindow( int left, int top ); - - void setContext( eeWindowContex Context ); - - Vector2i getPosition(); - - void showMouseCursor(); - - void hideMouseCursor(); - - Cursor * createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ); - - void setMouseCursor( Cursor * cursor ); - - void setSystemMouseCursor( Cursor::SysType syscursor ); - - void restoreCursor(); - - eeWindowContex getWindowContext(); -}; - -}}} - -#endif - -#endif diff --git a/src/eepp/window/platform/platformimpl.hpp b/src/eepp/window/platform/platformimpl.hpp deleted file mode 100644 index 451912424..000000000 --- a/src/eepp/window/platform/platformimpl.hpp +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef EE_WINDOWPLATFORMIMPL_HPP -#define EE_WINDOWPLATFORMIMPL_HPP - -#include - -#if defined( EE_X11_PLATFORM ) -#include -#elif EE_PLATFORM == EE_PLATFORM_WIN -#include -#elif EE_PLATFORM == EE_PLATFORM_MACOSX -#include -#else -#include -#endif - -#endif diff --git a/src/eepp/window/platform/win/cursorwin.cpp b/src/eepp/window/platform/win/cursorwin.cpp deleted file mode 100644 index 6cd191438..000000000 --- a/src/eepp/window/platform/win/cursorwin.cpp +++ /dev/null @@ -1,221 +0,0 @@ -#include - -#if EE_PLATFORM == EE_PLATFORM_WIN - -#ifndef NOMINMAX - #define NOMINMAX -#endif -#include - -#include -#include - -#define WINDOWS_RGB(r,g,b) ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16))) - -namespace EE { namespace Window { namespace Platform { - -CursorWin::CursorWin( Texture * tex, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( tex, hotspot, name, window ) -{ - create(); -} - -CursorWin::CursorWin( Graphics::Image * img, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( img, hotspot, name, window ) -{ - create(); -} - -CursorWin::CursorWin( const std::string& path, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( path, hotspot, name, window ) -{ - create(); -} - -CursorWin::~CursorWin() { - if ( NULL != mCursor ) - DestroyIcon( (HCURSOR)mCursor ); -} - -static BITMAPINFO *get_bitmap_info( Image * bitmap ) { - BITMAPINFO *bi; - int i; - - bi = (BITMAPINFO *) eeMalloc(sizeof(BITMAPINFO) + sizeof(RGBQUAD) * 256); - - ZeroMemory(&bi->bmiHeader, sizeof(BITMAPINFOHEADER)); - - bi->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); - bi->bmiHeader.biBitCount = 32; - bi->bmiHeader.biPlanes = 1; - bi->bmiHeader.biWidth = (int)bitmap->getWidth(); - bi->bmiHeader.biHeight = -((int)bitmap->getHeight()); - bi->bmiHeader.biClrUsed = 256; - bi->bmiHeader.biCompression = BI_RGB; - - for (i = 0; i < 256; i++) { - bi->bmiColors[i].rgbRed = 0; - bi->bmiColors[i].rgbGreen = 0; - bi->bmiColors[i].rgbBlue = 0; - bi->bmiColors[i].rgbReserved = 0; - } - - return bi; -} - -static BYTE *get_dib_from_bitmap_32(Image *bitmap) { - int w, h; - int x, y; - int pitch; - BYTE *pixels; - BYTE *dst; - - w = (int)bitmap->getWidth(); - h = (int)bitmap->getHeight(); - pitch = w * 4; - - pixels = (BYTE *) eeMalloc(h * pitch); - if (!pixels) - return NULL; - - for (y = 0; y < h; y++) { - dst = pixels + y * pitch; - - for (x = 0; x < w; x++) { - ColorA C = bitmap->getPixel( x, y ); - - /* BGR */ - dst[0] = C.b; - dst[1] = C.g; - dst[2] = C.r; - dst[3] = C.a; - - dst += 4; - } - } - - return pixels; -} - -static void local_stretch_blit_to_hdc( Image *bitmap, HDC dc, int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y, int dest_w, int dest_h) { - const int bitmap_h = (const int)bitmap->getHeight(); - const int bottom_up_src_y = bitmap_h - src_y - src_h; - BYTE *pixels; - BITMAPINFO *bi; - - bi = get_bitmap_info(bitmap); - pixels = get_dib_from_bitmap_32(bitmap); - - /* Windows treats all source bitmaps as bottom-up when using StretchDIBits - * unless the source (x,y) is (0,0). To work around this buggy behavior, we - * can use negative heights to reverse the direction of the blits. - * - * See for a detailed explanation. - */ - if (bottom_up_src_y == 0 && src_x == 0 && src_h != bitmap_h) { - StretchDIBits( dc, dest_x, dest_h+dest_y-1, dest_w, -dest_h, src_x, bitmap_h - src_y + 1, src_w, -src_h, pixels, bi, DIB_RGB_COLORS, SRCCOPY ); - } else { - StretchDIBits( dc, dest_x, dest_y, dest_w, dest_h, src_x, bottom_up_src_y, src_w, src_h, pixels, bi, DIB_RGB_COLORS, SRCCOPY ); - } - - eeFree(pixels); - eeFree(bi); -} - -static void local_draw_to_hdc( HDC dc, Image * bitmap, int x, int y ) { - int w = bitmap->getWidth(); - int h = bitmap->getHeight(); - local_stretch_blit_to_hdc(bitmap, dc, 0, 0, w, h, x, y, w, h); -} - -void CursorWin::create() { - if ( NULL == mImage && mImage->getMemSize() ) - return; - - int x, y; - int sys_sm_cx, sys_sm_cy; - HDC h_dc; - HDC h_and_dc; - HDC h_xor_dc; - ICONINFO iconinfo; - HBITMAP and_mask; - HBITMAP xor_mask; - HBITMAP hOldAndMaskBitmap; - HBITMAP hOldXorMaskBitmap; - HICON icon; - - /* Get allowed cursor size - Windows can't make cursors of arbitrary size */ - sys_sm_cx = GetSystemMetrics(SM_CXCURSOR); - sys_sm_cy = GetSystemMetrics(SM_CYCURSOR); - - if ( ( (int)mImage->getWidth() > sys_sm_cx ) || ( (int)mImage->getHeight() > sys_sm_cy ) ) { - return; - } - - /* Create bitmap */ - h_dc = GetDC( getPlatform()->getHandler() ); - h_xor_dc = CreateCompatibleDC(h_dc); - h_and_dc = CreateCompatibleDC(h_dc); - - /* Prepare AND (monochrome) and XOR (colour) mask */ - and_mask = CreateBitmap(sys_sm_cx, sys_sm_cy, 1, 1, NULL); - xor_mask = CreateCompatibleBitmap(h_dc, sys_sm_cx, sys_sm_cy); - hOldAndMaskBitmap = (HBITMAP) SelectObject(h_and_dc, and_mask); - hOldXorMaskBitmap = (HBITMAP) SelectObject(h_xor_dc, xor_mask); - - /* Create transparent cursor */ - for (y = 0; y < sys_sm_cy; y++) { - for (x = 0; x < sys_sm_cx; x++) { - SetPixel(h_and_dc, x, y, WINDOWS_RGB(255, 255, 255)); - SetPixel(h_xor_dc, x, y, WINDOWS_RGB(0, 0, 0)); - } - } - - local_draw_to_hdc( h_xor_dc, mImage, 0, 0 ); - - /* Make cursor background transparent */ - for (y = 0; y < (int)mImage->getHeight(); y++) { - for (x = 0; x < (int)mImage->getWidth(); x++) { - ColorA C = mImage->getPixel( x, y ); - - if ( C.a != 0 ) { - /* Don't touch XOR value */ - SetPixel( h_and_dc, x, y, 0 ); - } else { - /* No need to touch AND value */ - SetPixel( h_xor_dc, x, y, WINDOWS_RGB( 0, 0, 0 ) ); - } - } - } - - SelectObject(h_and_dc, hOldAndMaskBitmap); - SelectObject(h_xor_dc, hOldXorMaskBitmap); - DeleteDC(h_and_dc); - DeleteDC(h_xor_dc); - ReleaseDC( getPlatform()->getHandler() , h_dc ); - - iconinfo.fIcon = false; - iconinfo.xHotspot = mHotSpot.x; - iconinfo.yHotspot = mHotSpot.y; - iconinfo.hbmMask = and_mask; - iconinfo.hbmColor = xor_mask; - - icon = CreateIconIndirect(&iconinfo); - - DeleteObject(and_mask); - DeleteObject(xor_mask); - - mCursor = (void*)icon; -} - -WinImpl * CursorWin::getPlatform() { - return reinterpret_cast( mWindow->getPlatform() ); -} - -void * CursorWin::getCursor() const { - return mCursor; -} - -}}} - -#endif diff --git a/src/eepp/window/platform/win/cursorwin.hpp b/src/eepp/window/platform/win/cursorwin.hpp deleted file mode 100644 index b55953e8b..000000000 --- a/src/eepp/window/platform/win/cursorwin.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef EE_WINDOWCCURSORWIN_HPP -#define EE_WINDOWCCURSORWIN_HPP - -#include - -#if EE_PLATFORM == EE_PLATFORM_WIN - -using namespace EE::Window; - -namespace EE { namespace Window { namespace Platform { - -class WinImpl; - -class CursorWin : public Cursor { - public: - void * getCursor() const; - protected: - friend class WinImpl; - - void * mCursor; - - CursorWin( Texture * tex, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - CursorWin( Graphics::Image * img, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - CursorWin( const std::string& path, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ); - - ~CursorWin(); - - void create(); - - WinImpl * getPlatform(); -}; - -}}} - -#endif - -#endif diff --git a/src/eepp/window/platform/win/winimpl.cpp b/src/eepp/window/platform/win/winimpl.cpp deleted file mode 100644 index 8762a1464..000000000 --- a/src/eepp/window/platform/win/winimpl.cpp +++ /dev/null @@ -1,207 +0,0 @@ -#include - -#if EE_PLATFORM == EE_PLATFORM_WIN - -#ifndef WIN32_LEAN_AND_MEAN - #define WIN32_LEAN_AND_MEAN -#endif -#ifndef NOMINMAX - #define NOMINMAX -#endif -#include -#undef RGB - -static BOOL WIN_showWindow( HWND hWnd, int nCmdShow ) { - return ShowWindow( hWnd, nCmdShow ); -} - -#include -#include -#include - -namespace EE { namespace Window { namespace Platform { - -#ifdef UNICODE -#define WIN_CHAR_TYPE LPWSTR -#else -#define WIN_CHAR_TYPE LPCSTR -#endif - -static HCURSOR SYS_CURSORS[ Cursor::SysCursorCount ] = {0}; - -static HCURSOR GetLoadCursor( const Cursor::SysType& cursor, WIN_CHAR_TYPE syscur ) { - if ( 0 == SYS_CURSORS[ cursor ] ) { - SYS_CURSORS[ cursor ] = LoadCursor( NULL, syscur ); - } - - return SYS_CURSORS[ cursor ]; -} - -WinImpl::WinImpl( EE::Window::Window * window, eeWindowHandle handler ) : - PlatformImpl( window ), - mHandler( handler ), - mCursorCurrent( NULL ), - mCursorHidden( false ) -{ -} - -WinImpl::~WinImpl() { -} - -void WinImpl::minimizeWindow() { - WIN_showWindow( mHandler, SW_MINIMIZE ); -} - -void WinImpl::maximizeWindow() { - WIN_showWindow( mHandler, SW_MAXIMIZE ); -} - -bool WinImpl::isWindowMaximized() { - return 0 != IsZoomed( mHandler ); -} - -void WinImpl::hideWindow() { - WIN_showWindow( mHandler, SW_HIDE ); -} - -void WinImpl::raiseWindow() { - HWND top; - - if ( !mWindow->isWindowed() ) - top = HWND_TOPMOST; - else - top = HWND_NOTOPMOST; - - SetWindowPos( mHandler, top, 0, 0, 0, 0, (SWP_NOMOVE | SWP_NOSIZE) ); -} - -void WinImpl::showWindow() { - WIN_showWindow( mHandler, SW_SHOW ); -} - -void WinImpl::moveWindow( int left, int top ) { - SetWindowPos( mHandler, NULL, left, top, 0, 0, SWP_NOSIZE | SWP_NOZORDER ); -} - -void WinImpl::setContext( eeWindowContex Context ) { - wglMakeCurrent( (HDC)GetDC( mHandler ), (HGLRC)Context ); -} - -Vector2i WinImpl::getPosition() { - RECT r; - GetWindowRect( mHandler, &r ); - return Vector2i( r.left, r.top ); -} - -void WinImpl::showMouseCursor() { - mCursorHidden = false; - - if ( !mCursorCurrent ) { - setSystemMouseCursor( Cursor::SysArrow ); - } else { - SetCursor( (HCURSOR)mCursorCurrent ); - SetClassLong( getHandler(), GCL_HCURSOR, (DWORD)mCursorCurrent ); - - POINT p; - GetCursorPos( &p ); - SetCursorPos( p.x, p.y ); - } -} - -void WinImpl::hideMouseCursor() { - if ( mCursorHidden ) - return; - - mCursorHidden = true; - - PostMessage( mHandler, WM_SETCURSOR, 0, 0 ); -} - -Cursor * WinImpl::createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorWin, ( tex, hotspot, name, mWindow ) ); -} - -Cursor * WinImpl::createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorWin, ( img, hotspot, name, mWindow ) ); -} - -Cursor * WinImpl::createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorWin, ( path, hotspot, name, mWindow ) ); -} - -void WinImpl::setMouseCursor( Cursor * cursor ) { - mCursorCurrent = reinterpret_cast ( cursor )->getCursor(); - - if ( !mCursorHidden ) { - SetCursor( (HCURSOR)mCursorCurrent ); - SetClassLong( getHandler(), GCL_HCURSOR, (DWORD)mCursorCurrent ); - - POINT p; - GetCursorPos( &p ); - SetCursorPos( p.x, p.y ); - } -} - -void WinImpl::setSystemMouseCursor( Cursor::SysType syscursor ) { - HCURSOR mc; - - switch ( syscursor ) { - case Cursor::SysArrow: - mc = GetLoadCursor(Cursor::SysArrow, IDC_ARROW); break; - case Cursor::SysWait: - mc = GetLoadCursor(Cursor::SysWait, IDC_WAIT); break; - case Cursor::SysCrosshair: - mc = GetLoadCursor(Cursor::SysCrosshair, IDC_CROSS); break; - case Cursor::SysIBeam: - mc = GetLoadCursor(Cursor::SysIBeam, IDC_IBEAM); break; - case Cursor::SysWaitArrow: - mc = GetLoadCursor(Cursor::SysWaitArrow, IDC_WAIT); break; - case Cursor::SysSizeNWSE: - mc = GetLoadCursor(Cursor::SysSizeNWSE, IDC_SIZENWSE); break; - case Cursor::SysSizeNESW: - mc = GetLoadCursor(Cursor::SysSizeNESW, IDC_SIZENESW); break; - case Cursor::SysSizeWE: - mc = GetLoadCursor(Cursor::SysSizeWE, IDC_SIZEWE); break; - case Cursor::SysSizeNS: - mc = GetLoadCursor(Cursor::SysSizeNS, IDC_SIZENS); break; - case Cursor::SysSizeAll: - mc = GetLoadCursor(Cursor::SysSizeAll, IDC_SIZEALL); break; - case Cursor::SysNoCursor: - mc = GetLoadCursor(Cursor::SysNoCursor, IDC_NO); break; - case Cursor::SysHand: - mc = GetLoadCursor(Cursor::SysHand, IDC_HAND); break; - default: - return; - } - - mCursorCurrent = mc; - - if ( !mCursorHidden ) { - SetCursor( mc ); - SetClassLong( getHandler(), GCL_HCURSOR, (DWORD)mc ); - - POINT p; - GetCursorPos( &p ); - SetCursorPos( p.x, p.y ); - } -} - -void WinImpl::restoreCursor() { - if ( !mCursorHidden ) { - showMouseCursor(); - } else { - hideMouseCursor(); - } -} - -eeWindowHandle WinImpl::getHandler() const { - return mHandler; -} - -eeWindowContex WinImpl::getWindowContext() { - return wglGetCurrentContext(); -} - -}}} - -#endif diff --git a/src/eepp/window/platform/win/winimpl.hpp b/src/eepp/window/platform/win/winimpl.hpp deleted file mode 100644 index f8d5eddc4..000000000 --- a/src/eepp/window/platform/win/winimpl.hpp +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef EE_WINDOWCWINIMPL_HPP -#define EE_WINDOWCWINIMPL_HPP - -#include - -#if EE_PLATFORM == EE_PLATFORM_WIN - -#include - -namespace EE { namespace Window { namespace Platform { - -using namespace EE::Window; - -class WinImpl : public PlatformImpl { - public: - WinImpl( EE::Window::Window * window, eeWindowHandle handler ); - - ~WinImpl(); - - void minimizeWindow(); - - void maximizeWindow(); - - bool isWindowMaximized(); - - void hideWindow(); - - void raiseWindow(); - - void showWindow(); - - void moveWindow( int left, int top ); - - void setContext( eeWindowContex Context ); - - Vector2i getPosition(); - - void showMouseCursor(); - - void hideMouseCursor(); - - Cursor * createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ); - - void setMouseCursor( Cursor * cursor ); - - void setSystemMouseCursor( Cursor::SysType syscursor ); - - void restoreCursor(); - - eeWindowHandle getHandler() const; - - eeWindowContex getWindowContext(); - protected: - eeWindowHandle mHandler; - void * mCursorCurrent; - bool mCursorHidden; -}; - -}}} - -#endif - -#endif diff --git a/src/eepp/window/platform/x11/cursorx11.cpp b/src/eepp/window/platform/x11/cursorx11.cpp deleted file mode 100644 index 735aef5bf..000000000 --- a/src/eepp/window/platform/x11/cursorx11.cpp +++ /dev/null @@ -1,87 +0,0 @@ -#include - -#if defined( EE_X11_PLATFORM ) - -#include -#include -#include -#undef Window -#undef Display -#undef Cursor - -#include -#include -#include - -namespace EE { namespace Window { namespace Platform { - -CursorX11::CursorX11( Texture * tex, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( tex, hotspot, name, window ), - mCursor( None ) -{ - create(); -} - -CursorX11::CursorX11( Graphics::Image * img, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( img, hotspot, name, window ), - mCursor( None ) -{ - create(); -} - -CursorX11::CursorX11( const std::string& path, const Vector2i& hotspot, const std::string& name, EE::Window::Window * window ) : - Cursor( path, hotspot, name, window ), - mCursor( None ) -{ - create(); -} - -CursorX11::~CursorX11() { - if ( None != mCursor ) - XFreeCursor( getPlatform()->getDisplay(), mCursor ); -} - -void CursorX11::create() { - if ( NULL == mImage || 0 == mImage->getMemSize() ) - return; - - XcursorImage * image; - unsigned int c, ix, iy; - - image = XcursorImageCreate( mImage->getWidth(), mImage->getHeight() ); - - if ( image == None ) - return; - - c = 0; - for ( iy = 0; iy < mImage->getHeight(); iy++ ) { - for ( ix = 0; ix < mImage->getWidth(); ix++ ) { - Color C = mImage->getPixel( ix, iy ); - - image->pixels[c++] = ( C.a << 24 ) | ( C.r << 16 ) | ( C.g <<8 ) | ( C.b ); - } - } - - image->xhot = mHotSpot.x; - image->yhot = mHotSpot.y; - - getPlatform()->lock(); - - mCursor = XcursorImageLoadCursor( getPlatform()->getDisplay(), image ); - - getPlatform()->unlock(); - - XcursorImageDestroy( image ); -} - -X11Impl * CursorX11::getPlatform() { - return reinterpret_cast( mWindow->getPlatform() ); -} - -X11Cursor CursorX11::GetCursor() const { - return mCursor; -} - -}}} - -#endif diff --git a/src/eepp/window/platform/x11/cursorx11.hpp b/src/eepp/window/platform/x11/cursorx11.hpp deleted file mode 100644 index 0b7811033..000000000 --- a/src/eepp/window/platform/x11/cursorx11.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef EE_WINDOWCCURSORX11_HPP -#define EE_WINDOWCCURSORX11_HPP - -#include - -#if defined( EE_X11_PLATFORM ) - -using namespace EE::Window; - -namespace EE { namespace Window { namespace Platform { - -class X11Impl; - -class CursorX11 : public Cursor { - public: - X11Cursor GetCursor() const; - protected: - friend class X11Impl; - - X11Cursor mCursor; - - CursorX11( Texture * tex, const Vector2i& hotspot, const std::string& getName, EE::Window::Window * window ); - - CursorX11( Graphics::Image * img, const Vector2i& hotspot, const std::string& getName, EE::Window::Window * window ); - - CursorX11( const std::string& path, const Vector2i& hotspot, const std::string& getName, EE::Window::Window * window ); - - ~CursorX11(); - - void create(); - - X11Impl * getPlatform(); -}; - -}}} - -#endif - -#endif diff --git a/src/eepp/window/platform/x11/x11impl.cpp b/src/eepp/window/platform/x11/x11impl.cpp deleted file mode 100644 index 1ad9a199b..000000000 --- a/src/eepp/window/platform/x11/x11impl.cpp +++ /dev/null @@ -1,322 +0,0 @@ -#include - -#if defined( EE_X11_PLATFORM ) - -#define GLEW_NO_GLU -#include -#include -#include -#include -#undef Window -#undef Display -#undef Cursor -#define XAtom(str) XInternAtom( mDisplay, str, False ) - -#include -#include - -namespace EE { namespace Window { namespace Platform { - -X11Impl::X11Impl( EE::Window::Window * window, eeWindowHandle display, X11Window xwindow, X11Window mainwindow, LockFunc lock, UnlockFunc unlock ) : - PlatformImpl( window ), - mDisplay( display ), - mX11Window( xwindow ), - mMainWindow( mainwindow ), - mLock( lock ), - mUnlock( unlock ), - mCursorCurrent( 0 ), - mCursorInvisible( None ), - mCursorSystemLast( None ), - mCursorHidden( false ) -{ -} - -X11Impl::~X11Impl() { - if ( None != mCursorInvisible ) - XFreeCursor( mDisplay, mCursorInvisible ); - - if ( None != mCursorSystemLast ) - XFreeCursor( mDisplay, mCursorSystemLast ); -} - -void X11Impl::minimizeWindow() { - lock(); - - XIconifyWindow( mDisplay, mX11Window, 0 ); - - XFlush( mDisplay ); - - unlock(); -} - -void X11Impl::maximizeWindow() { - // coded by Rafał Maj, idea from Måns Rullgård http://tinyurl.com/68mvk3 - lock(); - - XEvent xev; - Atom wm_state = XAtom( "_NET_WM_STATE" ); - Atom maximizeV = XAtom( "_NET_WM_STATE_MAXIMIZED_VERT" ); - Atom maximizeH = XAtom( "_NET_WM_STATE_MAXIMIZED_HORZ" ); - - memset( &xev, 0, sizeof(xev) ); - xev.type = ClientMessage; - xev.xclient.window = mX11Window; - xev.xclient.message_type = wm_state; - xev.xclient.format = 32; - xev.xclient.data.l[0] = 1; - xev.xclient.data.l[1] = maximizeV; - xev.xclient.data.l[2] = maximizeH; - xev.xclient.data.l[3] = 0; - XSendEvent( mDisplay, DefaultRootWindow(mDisplay), 0, SubstructureNotifyMask|SubstructureRedirectMask, &xev); - - XFlush(mDisplay); - - unlock(); -} - -bool X11Impl::isWindowMaximized() { - lock(); - - //bool minimized = false; - bool maximizedhorz = false; - bool maximizedvert = false; - Atom type; - int format; - unsigned long numitems, bytesafter; - unsigned char * properties = 0; - - XGetWindowProperty( mDisplay, - mX11Window, - XAtom("_NET_WM_STATE"), - 0, - LONG_MAX, - false, - AnyPropertyType, - &type, - &format, - &numitems, - &bytesafter, &properties - ); - - if( properties && ( format == 32 ) ) { - for(unsigned int i = 0; i < numitems; ++i) { - const Atom prop = (reinterpret_cast(properties))[i]; - - if (prop == XAtom("_NET_WM_STATE_MAXIMIZED_HORZ")) - maximizedhorz = true; - - if (prop == XAtom("_NET_WM_STATE_MAXIMIZED_VERT")) - maximizedvert = true; - - /*if (prop == XAtom("_NET_WM_STATE_HIDDEN")) - minimized = true;*/ - } - } - - XFree(properties); - - XFlush(mDisplay); - - unlock(); - - if( maximizedhorz && maximizedvert ) { - return true; - } - - return false; -} - -void X11Impl::hideWindow() { - lock(); - - XUnmapWindow( mDisplay, mX11Window ); - - unlock(); -} - -void X11Impl::raiseWindow() { - lock(); - - XRaiseWindow( mDisplay, mX11Window ); - - unlock(); -} - -void X11Impl::showWindow() { - lock(); - - XMapRaised( mDisplay, mX11Window ); - - unlock(); -} - -void X11Impl::moveWindow( int left, int top ) { - lock(); - - XMoveWindow( mDisplay, mX11Window, left, top ); - - XFlush( mDisplay ); - - unlock(); -} - -void X11Impl::setContext( eeWindowContex Context ) { - lock(); - - glXMakeCurrent( mDisplay, mX11Window, Context ); - - unlock(); -} - -Vector2i X11Impl::getPosition() { - int x, y; - X11Window child_return; - - XTranslateCoordinates ( mDisplay, mX11Window, DefaultRootWindow( mDisplay ), 0, 0, &x, &y, &child_return ); - - return Vector2i( x, y ); -} - -void X11Impl::showMouseCursor() { - if ( !mCursorHidden ) - return; - - lock(); - - XDefineCursor( mDisplay, mMainWindow, mCursorCurrent ); - - mCursorHidden = false; - - unlock(); -} - -void X11Impl::hideMouseCursor() { - if ( mCursorHidden ) - return; - - lock(); - - if ( mCursorInvisible == None ) { - unsigned long gcmask; - XGCValues gcvalues; - - Pixmap pixmap = XCreatePixmap( mDisplay, mMainWindow, 1, 1, 1 ); - - GC temp_gc; - XColor color; - - gcmask = GCFunction | GCForeground | GCBackground; - gcvalues.function = GXcopy; - gcvalues.foreground = 0; - gcvalues.background = 0; - temp_gc = XCreateGC( mDisplay, pixmap, gcmask, &gcvalues); - XDrawPoint( mDisplay, pixmap, temp_gc, 0, 0 ); - XFreeGC( mDisplay, temp_gc ); - color.pixel = 0; - color.red = color.green = color.blue = 0; - color.flags = DoRed | DoGreen | DoBlue; - - mCursorInvisible = XCreatePixmapCursor( mDisplay, pixmap, pixmap, &color, &color, 0, 0 ); - - XFreePixmap( mDisplay, pixmap ); - } - - XDefineCursor( mDisplay, mX11Window, mCursorInvisible ); - - mCursorHidden = true; - - unlock(); -} - -Cursor * X11Impl::createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorX11, ( tex, hotspot, name, mWindow ) ); -} - -Cursor * X11Impl::createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorX11, ( img, hotspot, name, mWindow ) ); -} - -Cursor * X11Impl::createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ) { - return eeNew( CursorX11, ( path, hotspot, name, mWindow ) ); -} - -void X11Impl::setMouseCursor( Cursor * cursor ) { - mCursorCurrent = reinterpret_cast( cursor )->GetCursor(); - - if ( !mCursorHidden ) { - lock(); - - XDefineCursor( mDisplay, mMainWindow, mCursorCurrent ); - - unlock(); - } -} - -void X11Impl::restoreCursor() { - if ( !mCursorHidden ) { - lock(); - - XDefineCursor( mDisplay, mMainWindow, mCursorCurrent ); - - unlock(); - } else { - hideMouseCursor(); - } -} - -void X11Impl::setSystemMouseCursor( Cursor::SysType syscursor ) { - unsigned int cursor_shape; - - switch ( syscursor ) { - case Cursor::SysArrow: cursor_shape = XC_arrow; break; - case Cursor::SysWait: cursor_shape = XC_watch; break; - case Cursor::SysWaitArrow: cursor_shape = XC_watch; break; - case Cursor::SysIBeam: cursor_shape = XC_xterm; break; - case Cursor::SysSizeAll: cursor_shape = XC_fleur; break; - case Cursor::SysSizeNWSE: cursor_shape = XC_fleur; break; - case Cursor::SysSizeNESW: cursor_shape = XC_fleur; break; - case Cursor::SysSizeWE: cursor_shape = XC_sb_h_double_arrow; break; - case Cursor::SysSizeNS: cursor_shape = XC_sb_v_double_arrow; break; - case Cursor::SysCrosshair: cursor_shape = XC_tcross; break; - case Cursor::SysHand: cursor_shape = XC_hand2; break; - case Cursor::SysNoCursor: cursor_shape = XC_pirate; break; - default: return; - } - - if ( None != mCursorCurrent ) { - XFreeCursor( mDisplay, mCursorSystemLast ); - } - - lock(); - - mCursorCurrent = XCreateFontCursor( mDisplay, cursor_shape ); - mCursorSystemLast = mCursorCurrent; - - if ( !mCursorHidden ) { - XDefineCursor( mDisplay, mMainWindow, mCursorCurrent ); - } - - unlock(); -} - -eeWindowHandle X11Impl::getDisplay() const { - return mDisplay; -} - -void X11Impl::lock() { - if ( NULL != mLock ) - mLock(); -} - -void X11Impl::unlock() { - if ( NULL != mUnlock ) - mUnlock(); -} - -eeWindowContex X11Impl::getWindowContext() { - return glXGetCurrentContext(); -} - -}}} - -#endif diff --git a/src/eepp/window/platform/x11/x11impl.hpp b/src/eepp/window/platform/x11/x11impl.hpp deleted file mode 100644 index f1446c117..000000000 --- a/src/eepp/window/platform/x11/x11impl.hpp +++ /dev/null @@ -1,80 +0,0 @@ -#ifndef EE_WINDOWCX11IMPL_HPP -#define EE_WINDOWCX11IMPL_HPP - -#include - -#if defined( EE_X11_PLATFORM ) - -#include - -namespace EE { namespace Window { namespace Platform { - -using namespace EE::Window; - -class X11Impl : public PlatformImpl { - public: - typedef void (*LockFunc)(void); - typedef void (*UnlockFunc)(void); - - X11Impl( EE::Window::Window * window, eeWindowHandle display, X11Window xwindow, X11Window mainwindow, LockFunc lock, UnlockFunc unlock ); - - ~X11Impl(); - - void minimizeWindow(); - - void maximizeWindow(); - - bool isWindowMaximized(); - - void hideWindow(); - - void raiseWindow(); - - void showWindow(); - - void moveWindow( int left, int top ); - - void setContext( eeWindowContex Context ); - - Vector2i getPosition(); - - void showMouseCursor(); - - void hideMouseCursor(); - - Cursor * createMouseCursor( Texture * tex, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( Image * img, const Vector2i& hotspot, const std::string& name ); - - Cursor * createMouseCursor( const std::string& path, const Vector2i& hotspot, const std::string& name ); - - void setMouseCursor( Cursor * cursor ); - - void setSystemMouseCursor( Cursor::SysType syscursor ); - - void restoreCursor(); - - eeWindowHandle getDisplay() const; - - void lock(); - - void unlock(); - - eeWindowContex getWindowContext(); - protected: - eeWindowHandle mDisplay; - X11Window mX11Window; - X11Window mMainWindow; - LockFunc mLock; - UnlockFunc mUnlock; - X11Cursor mCursorCurrent; - X11Cursor mCursorInvisible; - X11Cursor mCursorSystemLast; - bool mCursorHidden; -}; - -}}} - -#endif - -#endif diff --git a/src/eepp/window/platformimpl.cpp b/src/eepp/window/platformimpl.cpp deleted file mode 100644 index c3e0b7f6b..000000000 --- a/src/eepp/window/platformimpl.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include -#include - -namespace EE { namespace Window { namespace Platform { - -PlatformImpl::PlatformImpl( EE::Window::Window * window ) : - mWindow( window ) -{ -} - -PlatformImpl::~PlatformImpl() { -} - -}}} diff --git a/src/eepp/window/window.cpp b/src/eepp/window/window.cpp index 344db99c2..2582829d4 100644 --- a/src/eepp/window/window.cpp +++ b/src/eepp/window/window.cpp @@ -2,8 +2,6 @@ #include #include #include -#include -#include #include #include #include @@ -47,7 +45,6 @@ Window::Window( WindowSettings Settings, ContextSettings Context, Clipboard * Cl mClipboard( Clipboard ), mInput( Input ), mCursorManager( CursorManager ), - mPlatform( NULL ), mCurrentView( NULL ), mNumCallBacks( 0 ) { @@ -59,7 +56,6 @@ Window::~Window() { eeSAFE_DELETE( mClipboard ); eeSAFE_DELETE( mInput ); eeSAFE_DELETE( mCursorManager ); - eeSAFE_DELETE( mPlatform ); } Sizei Window::getSize() { @@ -482,10 +478,6 @@ eeWindowContex Window::getContext() const { } void Window::getMainContext() { -#ifdef EE_GLEW_AVAILABLE - if ( NULL != mPlatform ) - mWindow.Context = mPlatform->getWindowContext(); -#endif } void Window::setDefaultContext() { @@ -494,59 +486,27 @@ void Window::setDefaultContext() { #endif } -void Window::minimize() { - if ( NULL != mPlatform ) - mPlatform->minimizeWindow(); -} +void Window::minimize() {} -void Window::maximize() { - if ( NULL != mPlatform ) - mPlatform->maximizeWindow(); -} +void Window::maximize() {} bool Window::isMaximized() { - if ( NULL != mPlatform ) - return mPlatform->isWindowMaximized(); - return false; } -void Window::hide() { - if ( NULL != mPlatform ) - mPlatform->hideWindow(); -} +void Window::hide() {} -void Window::raise() { - if ( NULL != mPlatform ) - mPlatform->raiseWindow(); -} +void Window::raise() {} -void Window::show() { - if ( NULL != mPlatform ) - mPlatform->showWindow(); -} +void Window::show() {} -void Window::setPosition( Int16 Left, Int16 Top ) { - if ( NULL != mPlatform ) - mPlatform->moveWindow( Left, Top ); -} +void Window::setPosition( Int16 Left, Int16 Top ) {} Vector2i Window::getPosition() { - if ( NULL != mPlatform ) - return mPlatform->getPosition(); - - return Vector2i(); + return Vector2i::Zero; } -void Window::setCurrentContext( eeWindowContex Context ) { - if ( NULL != mPlatform ) - mPlatform->setContext( Context ); -} - -void Window::createPlatform() { - eeSAFE_DELETE( mPlatform ); - mPlatform = eeNew( Platform::NullImpl, ( this ) ); -} +void Window::setCurrentContext( eeWindowContex Context ) {} void Window::setCurrent() { } @@ -565,10 +525,6 @@ Float Window::getScale() { return 1.f; } -Platform::PlatformImpl * Window::getPlatform() const { - return mPlatform; -} - void Window::startTextInput() { }