Commit Graph

42 Commits

Author SHA1 Message Date
Max Horn
a2f16d9155 SWORD25: Const correctness 2011-05-26 08:22:46 +02:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Max Horn
3931e1dc50 SWORD25: Avoid including lua headers in other headers 2011-05-23 19:12:25 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
bf4dc80419 SWORD25: Reduce code duplication; formatting 2011-03-21 14:36:25 +01:00
Filippos Karapetis
1250785822 SWORD25: Replaced BS_ASSERT() with assert()
svn-id: r55464
2011-01-23 15:01:24 +00:00
Filippos Karapetis
00a0f8d15d SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
svn-id: r55462
2011-01-23 14:49:50 +00:00
Max Horn
b2fa7e58a3 SWORD25: Start to rename read/write methods of *PersistenceBlock classes
All should be renamed to reduce risk of accidental incorrect use.

svn-id: r53899
2010-10-28 00:26:25 +00:00
Max Horn
e761f76653 SWORD25: Get rid of most of the 'kernel service/superclass' code
svn-id: r53835
2010-10-25 22:41:25 +00:00
Paul Gilbert
66ecd08868 SWORD25: Fix to correctly write game state to savegame files
svn-id: r53637
2010-10-20 10:53:50 +00:00
Eugene Sandulenko
6629efc676 SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko
3feac393b0 SWORD25: Renamed Lua .c files to .cpp and make it compilable
svn-id: r53568
2010-10-18 17:12:00 +00:00
Max Horn
550073ee04 SWORD25: Do not use Kernel::GetService directly anymore
svn-id: r53477
2010-10-15 12:18:19 +00:00
Johannes Schickel
bc2781fdb3 SWORD25: Semi-colon cleanup.
svn-id: r53446
2010-10-13 20:04:50 +00:00
Eugene Sandulenko
54ccc8f4c9 SWORD25: Enforced code naming conventions in script/*
svn-id: r53391
2010-10-13 00:08:28 +00:00
Eugene Sandulenko
8582c1ad57 SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko
017d461b3a SWORD25: Fix bug with script debug flags
svn-id: r53369
2010-10-12 23:57:05 +00:00
Eugene Sandulenko
06bce68860 SWORD25: Comply to the code conventions for several classes
svn-id: r53310
2010-10-12 23:32:32 +00:00
Eugene Sandulenko
086f5961b6 SWORD25: unsigned int -> uint
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko
0cdb2ded85 SWORD25: unsigned char -> byte
svn-id: r53308
2010-10-12 23:26:48 +00:00
Eugene Sandulenko
c875856d20 SWORD25: Implemented script tracing
To turn on traces turn on debugchannel 'script' and then use
debug level as a bitmask:
  1 - show function calls
  2 - show function exits
  3 - show every line

svn-id: r53267
2010-10-12 23:09:53 +00:00
Eugene Sandulenko
b01994a53b SWORD25: removed BS_ prefix from rest of the classes.
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.

svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko
be44216e5c SWORD25: eliminated BS_ prefix in all but kernel/
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
a1d22a063b SWORD25: Fix warnings
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
f95da5e3ee SWORD25: Made game run with extracted data
svn-id: r53252
2010-10-12 22:49:08 +00:00
Eugene Sandulenko
06fc35ffe8 SWORD25: Make Lua package registering more robust.
svn-id: r53242
2010-10-12 22:45:32 +00:00
Eugene Sandulenko
3a8e1622af SWORD25: Fix conversion bugs in BS_LuaBindhelper::_CreateTable()
svn-id: r53237
2010-10-12 22:43:55 +00:00
Eugene Sandulenko
72130c284d SWORD25: Fix couple more warnings
svn-id: r53236
2010-10-12 22:43:36 +00:00
Eugene Sandulenko
47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +00:00
Paul Gilbert
86bef1508c SWORD25: Converted the input engine to use the ScummVM event manager
svn-id: r53203
2010-10-12 22:21:24 +00:00
Paul Gilbert
2006e564a1 SWORD25: Moved the Lua library into it's own namespace
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 22:18:35 +00:00
Paul Gilbert
53a9d2d0a1 SWORD25: Converted the math folder files
svn-id: r53197
2010-10-12 22:17:11 +00:00
Paul Gilbert
2d8e94e4ff SWORD25: Converted Lua interface classes
svn-id: r53195
2010-10-12 22:16:21 +00:00
Eugene Sandulenko
bed623b11e SWORD25: Fix compilation
svn-id: r53193
2010-10-12 22:15:10 +00:00
Eugene Sandulenko
293bf95c01 SWORD25: Replacing headers with ScummVM ones plus original (C)
svn-id: r53188
2010-10-12 22:13:00 +00:00
Paul Gilbert
e78b19a650 SWORD25: Converted kernel/kernel.cpp to compile under ScummVM
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 21:55:38 +00:00
Eugene Sandulenko
69b618a8f5 SWORD25: Compilation fixes
Majority of files now compile under Windoze.

svn-id: r53182
2010-10-12 21:54:21 +00:00
Eugene Sandulenko
65da804f58 SWORD25: Path fixes for includes
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
7b964a2823 SWORD25: Make couple file compilable
svn-id: r53179
2010-10-12 21:47:48 +00:00
Eugene Sandulenko
804cf1c4c7 SWORD25: Fix some includes
svn-id: r53175
2010-10-12 21:40:00 +00:00
Eugene Sandulenko
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00