Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-28 | SWORD25: Start to rename read/write methods of *PersistenceBlock classes | Max Horn | |
All should be renamed to reduce risk of accidental incorrect use. svn-id: r53899 | |||
2010-10-28 | SWORD25: Simplify InputEngine::(un)persist | Max Horn | |
svn-id: r53897 | |||
2010-10-27 | SWORD25: Fix keyboard state handling | Max 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-27 | SWORD25: Use ScummVM keycodes | Max 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-27 | SWORD25: Fix out of bounds writes when pressing keys like ctrl or F-keys | Max Horn | |
This fixes a crash one got by quitting via the GMM. svn-id: r53876 | |||
2010-10-25 | SWORD25: Get rid of most of the 'kernel service/superclass' code | Max Horn | |
svn-id: r53835 | |||
2010-10-25 | SWORD25: Get rid of classes ScummVMWindow and Window | Max Horn | |
svn-id: r53832 | |||
2010-10-23 | SWORD25: Register LUA callbacks insider registerScriptBindings() methods | Max 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-23 | SWORD25: Get rid of global SharedPtr instances | Max Horn | |
svn-id: r53734 | |||
2010-10-19 | SWORD25: Enforced code formatting rules in rest of the engine | Eugene Sandulenko | |
svn-id: r53626 | |||
2010-10-18 | SWORD25: Renamed Lua .c files to .cpp and make it compilable | Eugene Sandulenko | |
svn-id: r53568 | |||
2010-10-15 | SWORD25: Do not use Kernel::GetService directly anymore | Max Horn | |
svn-id: r53477 | |||
2010-10-13 | SWORD25: Semi-colon cleanup. | Johannes Schickel | |
svn-id: r53446 | |||
2010-10-13 | SWORD25: Renamed getInstance() -> instance() | Max Horn | |
svn-id: r53430 | |||
2010-10-13 | SWORD25: Enforced code naming conventions in script/* | Eugene Sandulenko | |
svn-id: r53391 | |||
2010-10-12 | SWORD25: Get rid of ScummVMInput class | Eugene Sandulenko | |
svn-id: r53354 | |||
2010-10-12 | SWORD25: Comply to the code conventions for several classes | Eugene Sandulenko | |
svn-id: r53310 | |||
2010-10-12 | SWORD25: unsigned int -> uint | Eugene Sandulenko | |
svn-id: r53309 | |||
2010-10-12 | SWORD25: unsigned char -> byte | Eugene Sandulenko | |
svn-id: r53308 | |||
2010-10-12 | SWORD25: 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-12 | SWORD25: eliminated BS_ prefix in all but kernel/ | Eugene Sandulenko | |
svn-id: r53259 | |||
2010-10-12 | SWORD25: brought CallBackRegisry class to our naming standards | Eugene Sandulenko | |
svn-id: r53257 | |||
2010-10-12 | SWORD25: Fix warnings | Eugene Sandulenko | |
svn-id: r53254 | |||
2010-10-12 | SWORD25: Final linking fixes. Now it links! | Eugene Sandulenko | |
svn-id: r53234 | |||
2010-10-12 | SWORD25: Clean compile! | Eugene Sandulenko | |
Under MinGW, with OpenGL and tinyxml. svn-id: r53225 | |||
2010-10-12 | SWORD25: Mass-astyle. | Eugene Sandulenko | |
svn-id: r53222 | |||
2010-10-12 | SWORD25: Converted remainder of Kernel/ folder | Paul Gilbert | |
svn-id: r53216 | |||
2010-10-12 | SWORD25: Fix for void * conversion errors | Paul 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-12 | SWORD25: Mostly converted input/inputengine_script.cpp | Paul 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-12 | SWORD25: Converted the input engine to use the ScummVM event manager | Paul Gilbert | |
svn-id: r53203 | |||
2010-10-12 | SWORD25: Converted inputengine.cpp | Paul Gilbert | |
svn-id: r53200 | |||
2010-10-12 | SWORD25: Moved the Lua library into it's own namespace | Paul 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-12 | SWORD25: Replacing headers with ScummVM ones plus original (C) | Eugene Sandulenko | |
svn-id: r53188 | |||
2010-10-12 | SWORD25: Converted kernel/kernel.cpp to compile under ScummVM | Paul 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-12 | SWORD25: Compilation fixes | Eugene Sandulenko | |
Majority of files now compile under Windoze. svn-id: r53182 | |||
2010-10-12 | SWORD25: Path fixes for includes | Eugene Sandulenko | |
svn-id: r53180 | |||
2010-10-12 | SWORD25: Importing original sources | Eugene Sandulenko | |
svn-id: r53171 |