]> git.jsancho.org Git - lugaru.git/commit
HUGE refactoring:
authorCôme BERNIGAUD <come.bernigaud@gmail.com>
Thu, 3 Jun 2010 17:40:28 +0000 (19:40 +0200)
committerCôme BERNIGAUD <come.bernigaud@gmail.com>
Thu, 3 Jun 2010 17:40:28 +0000 (19:40 +0200)
commit5e808c58a6397c2cb1ae08293d2ba1fc91b15a0a
treea188e3eec6d71e1c35ac287e431d420b84c5dca2
parent5dc3c16842b5ad0c4fe72fafe0eed61f12fbf93a
HUGE refactoring:
-Accounts are now handled by a pretty Account class.
-Keys inputs are now handled the Input class (with static methods) and use directly SDL, no more #define MAC_CRAP
-For that I had to add thread for two things:
-the entername field
-the key configuration
Maybe when the menu system will have been cleaned up (reorganized) the threads won't be needed anymore.
This commit can read old Users files, but not completely old config.txt files (you'll have to reconfigure keyboards bindings)
12 files changed:
CMakeLists.txt
Source/Game.h
Source/GameDraw.cpp
Source/GameInitDispose.cpp
Source/GameTick.cpp
Source/Globals.cpp
Source/OpenGL_Windows.cpp
Source/Person.cpp
Source/Settings.cpp
Source/Weapons.cpp
Source/WinInput.cpp
Source/WinInput.h