aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/input
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-28SWORD25: Removed a lot of debug/unimplemented/unused functionsFilippos Karapetis
svn-id: r55600
2011-01-23SWORD25: Replaced BS_ASSERT() with assert()Filippos Karapetis
svn-id: r55464
2011-01-23SWORD25: Removed the custom log class and replaced it with ↵Filippos Karapetis
warning/error/debugC calls svn-id: r55462
2010-11-10SWORD25: Added basic debugging console to engine (Command Key Disabled)David Turner
Since SWORD25 uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. However, this is not currently usable as the command key code is commented out. This is due to the event loop which reads keyboard input being buried 2 object layers below the Engine VM object and I am unsure how the engine development team would want this exposed / interfaced. svn-id: r54184
2010-10-28SWORD25: Start to rename read/write methods of *PersistenceBlock classesMax Horn
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899
2010-10-28SWORD25: Simplify InputEngine::(un)persistMax Horn
svn-id: r53897
2010-10-27SWORD25: Fix keyboard state handlingMax Horn
Previously, you could get the game into a state where it would think a key was constantly being pressed. E.g. by pressing 'p' several times quickly in a row, the game would end in a state where it endlessly toggled between pause mode and regular mode. svn-id: r53878
2010-10-27SWORD25: Use ScummVM keycodesMax Horn
This should enable use of F-keys in BS25. Most of the KEY_* constants are not used by the scripts anyway. svn-id: r53877
2010-10-27SWORD25: Fix out of bounds writes when pressing keys like ctrl or F-keysMax Horn
This fixes a crash one got by quitting via the GMM. svn-id: r53876
2010-10-25SWORD25: Get rid of most of the 'kernel service/superclass' codeMax Horn
svn-id: r53835
2010-10-25SWORD25: Get rid of classes ScummVMWindow and WindowMax Horn
svn-id: r53832
2010-10-23SWORD25: Register LUA callbacks insider registerScriptBindings() methodsMax Horn
Previously, the constructor of an anonymous global object was used to do this, for no apparent reason. However, maybe there was a hidden reason which I missed, so this change might cause regressions. I.e., please test. svn-id: r53735
2010-10-23SWORD25: Get rid of global SharedPtr instancesMax Horn
svn-id: r53734
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-18SWORD25: Renamed Lua .c files to .cpp and make it compilableEugene Sandulenko
svn-id: r53568
2010-10-15SWORD25: Do not use Kernel::GetService directly anymoreMax Horn
svn-id: r53477
2010-10-13SWORD25: Semi-colon cleanup.Johannes Schickel
svn-id: r53446
2010-10-13SWORD25: Renamed getInstance() -> instance()Max Horn
svn-id: r53430
2010-10-13SWORD25: Enforced code naming conventions in script/*Eugene Sandulenko
svn-id: r53391
2010-10-12SWORD25: Get rid of ScummVMInput classEugene Sandulenko
svn-id: r53354
2010-10-12SWORD25: Comply to the code conventions for several classesEugene Sandulenko
svn-id: r53310
2010-10-12SWORD25: unsigned int -> uintEugene Sandulenko
svn-id: r53309
2010-10-12SWORD25: unsigned char -> byteEugene Sandulenko
svn-id: r53308
2010-10-12SWORD25: removed BS_ prefix from rest of the classes.Eugene Sandulenko
The things which are intentionally left with the prefix: BS_LOG, BS_ASSERT, BS_Rect, BS_String. svn-id: r53261
2010-10-12SWORD25: eliminated BS_ prefix in all but kernel/Eugene Sandulenko
svn-id: r53259
2010-10-12SWORD25: brought CallBackRegisry class to our naming standardsEugene Sandulenko
svn-id: r53257
2010-10-12SWORD25: Fix warningsEugene Sandulenko
svn-id: r53254
2010-10-12SWORD25: Final linking fixes. Now it links!Eugene Sandulenko
svn-id: r53234
2010-10-12SWORD25: Clean compile!Eugene Sandulenko
Under MinGW, with OpenGL and tinyxml. svn-id: r53225
2010-10-12SWORD25: Mass-astyle.Eugene Sandulenko
svn-id: r53222
2010-10-12SWORD25: Converted remainder of Kernel/ folderPaul Gilbert
svn-id: r53216
2010-10-12SWORD25: Fix for void * conversion errorsPaul Gilbert
It turns out that strict C++ doesn't allow function pointers to be converted to void pointers and vice versa. Since there are two callback function pointer types - one with a KEY_COMMANDS enum parameter, and the other with an unsigned char type, I changed all void * occurances to a function pointer type with an 'int' parameter, and changed all implementation methods to take in an int parameter. svn-id: r53208
2010-10-12SWORD25: Mostly converted input/inputengine_script.cppPaul Gilbert
I have the same problem with this file as inputengine.cpp.. I'm getting errors converting between 'void *' and CommandCallback function pointers. svn-id: r53205
2010-10-12SWORD25: Converted the input engine to use the ScummVM event managerPaul Gilbert
svn-id: r53203
2010-10-12SWORD25: Converted inputengine.cppPaul Gilbert
svn-id: r53200
2010-10-12SWORD25: Moved the Lua library into it's own namespacePaul Gilbert
Previously with some of the files I was leaving the #include references to the library inside the global namespace. However, since the engine itself is now inside a namespace, I had to do a lot of changes, such as lua_State to ::lua_State. This way is cleaner, and I just need to add a 'using namespace Lua' where needed. svn-id: r53198
2010-10-12SWORD25: Replacing headers with ScummVM ones plus original (C)Eugene Sandulenko
svn-id: r53188
2010-10-12SWORD25: Converted kernel/kernel.cpp to compile under ScummVMPaul Gilbert
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation. The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files. svn-id: r53184
2010-10-12SWORD25: Compilation fixesEugene Sandulenko
Majority of files now compile under Windoze. svn-id: r53182
2010-10-12SWORD25: Path fixes for includesEugene Sandulenko
svn-id: r53180
2010-10-12SWORD25: Importing original sourcesEugene Sandulenko
svn-id: r53171