78 Commits

Author SHA1 Message Date
Torbjörn Andersson
3a43829b88 Moved the opcode functions into the Logic class.
svn-id: r10885
2003-10-18 08:11:50 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Torbjörn Andersson
1b52e11d55 Moved the "router" code into a new Router class. I'm hoping this is
analogous to the SkyAutoRoute class.

svn-id: r10754
2003-10-12 14:40:04 +00:00
Torbjörn Andersson
7adf0ff1fc Some more cosmetic changes while I'm considering the next move. (Or maybe
I'm just hoping that if I stall long enough, someone else will make the
move for me. :-)

svn-id: r10676
2003-10-08 06:58:34 +00:00
Torbjörn Andersson
4fad04846a Changed to use #include "bs2/..." and removed the inclusion of standard C
headers. Most (all?) of the ones we need should probably come from stdafx.h
instead.

svn-id: r10588
2003-10-04 08:07:03 +00:00
Max Horn
5a074e6137 added namespace Sword2
svn-id: r10581
2003-10-04 00:52:27 +00:00
Torbjörn Andersson
da1b4f1e36 Moved the memory manager functions into an object of its own (and enabled
debugging levels). This needs further cleanups, but I believe I have
reached a stable point where I can commit it without too much anxiety.

svn-id: r10502
2003-09-30 14:37:42 +00:00
Torbjörn Andersson
568a4bd839 Changed the resource manager object to use more ScummVM-like naming.
svn-id: r10499
2003-09-30 09:27:27 +00:00
Torbjörn Andersson
b8fa67a8bb Changed the "logic" object to use ScummVM naming conventions.
svn-id: r10496
2003-09-30 06:40:01 +00:00
Torbjörn Andersson
8ad28e3a7e More cleanup, and I've replaced most - not quite all - of BS2's debug
message functions with our own.

We still need to go through them and assign sensible debug levels to them.

svn-id: r10422
2003-09-27 11:02:58 +00:00
Torbjörn Andersson
b21208e6a9 Some more reformatting / cleanup, and removal of comments that did nothing
but say who added what when. (No disrespect intended, but this information
means very little to us.)

svn-id: r10413
2003-09-26 10:07:18 +00:00
Torbjörn Andersson
3c7c60196f ScummVM code formatting conventions
svn-id: r10350
2003-09-21 16:11:26 +00:00
Torbjörn Andersson
ffce9177d0 The usual cleanup, plus make sure to delete SaveFileManager if
open_savefile() fails.

svn-id: r10339
2003-09-20 17:48:53 +00:00
Torbjörn Andersson
058273ed7c The 'colliding' flag is never set to anything else than zero, so it should
be safe to remove it. (I'll remove it completely soon, but I'll start here
to avoid compilation errors.)

svn-id: r10331
2003-09-20 12:26:55 +00:00
Oliver Kiehl
ffd39dc95a if saveslot specified with -x doesn't exist, show restore menu
svn-id: r10256
2003-09-14 21:45:42 +00:00
Max Horn
30e4785896 simplified code
svn-id: r10245
2003-09-13 21:20:05 +00:00
Max Horn
7eb758f697 I am not happy at all with the slack our team has shown recently! I barely concealed these obvious mistakes, to check who's paying attention. And only one person (olki) did notice, and even he only got 50%... tsk tsk tsk, how shall this go on. What will happen if I make real mistakes instead of purposeful ones? *cough cough* yeah, right
svn-id: r10240
2003-09-13 19:26:44 +00:00
Max Horn
2afc2c0ca9 fix global vars storing
svn-id: r10237
2003-09-13 18:18:02 +00:00
Max Horn
54a6946eee cleanup
svn-id: r10235
2003-09-13 17:36:53 +00:00
Max Horn
059781c80a fix g_header -> header in comments
svn-id: r10225
2003-09-13 13:20:28 +00:00
Max Horn
d2e56ed4a2 endian conversion in save/restore code (may not be complete, beware!)
svn-id: r10223
2003-09-13 13:04:55 +00:00
Jonathan Gray
4df7dd406f fix a resman method and make saving work using SaveFileManager
svn-id: r9828
2003-08-23 14:33:57 +00:00
Oliver Kiehl
0f85cc3061 rename bs2 to sword2 to have the same name as the original engine.
besides this way all our engines start with an "s" ;)

svn-id: r9301
2003-07-30 19:25:31 +00:00
Max Horn
2ef51278b2 fix shadow warning
svn-id: r9244
2003-07-28 11:56:34 +00:00
Jonathan Gray
f22cca2be2 rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC
svn-id: r9237
2003-07-28 09:49:46 +00:00
Jonathan Gray
71a9b1bc2d rename _mkdir
svn-id: r9232
2003-07-28 07:36:27 +00:00
Travis Howell
ccc40eecc9 Compiles on mingw now
svn-id: r9222
2003-07-28 03:12:49 +00:00
Jonathan Gray
f020d28b5e bs2
svn-id: r9211
2003-07-28 01:44:38 +00:00