Paweł Kołodziejski
409108df82
cleanup whitespaces
...
svn-id: r11212
2003-11-08 19:47:20 +00:00
Torbjörn Andersson
9106229bef
Removed some now redundant header files.
...
svn-id: r11209
2003-11-08 18:15:35 +00:00
Torbjörn Andersson
688c80b062
Moved more stuff into classes, changed some static allocation to dynamic,
...
and removed some of the references to global variables.
At this point I believe everything in the main game engine has been moved
into classes - not necessarily the correct ones, but still... However,
there is some stuff in the driver directory that need to be taken care of
as well.
svn-id: r11207
2003-11-08 15:47:51 +00:00
Jonathan Gray
9a1cfe838f
spelling fixes
...
svn-id: r11175
2003-11-07 01:36:53 +00:00
Torbjörn Andersson
b3b0118292
The resource and memory managers are now created dynamically.
...
Renamed the resource manager's open/close methods openResource() and
closeResource() to avoid confusion. (It was I who originally shortened
their names to open() and close(), but I've changed my mind now.)
Moved more stuff into Sword2Engine.
svn-id: r11088
2003-11-03 07:47:42 +00:00
Torbjörn Andersson
db9b8070f6
More moving of stuff into classes. I had to make a few changes/cleanups to
...
events.cpp, so there could be regressions.
svn-id: r11053
2003-11-02 15:58:45 +00:00
Max Horn
2fef2dcb84
bs2 -> sword2
...
svn-id: r10997
2003-10-28 19:51:30 +00:00
Torbjörn Andersson
7c4cc25cec
Enable the debug console. Actually, what I've done is to adapt the debug
...
console from the SCUMM engine. I decided that would be easier than to clean
up the original console code.
Unfortunately there's a bunch of code that I just copied - a pretty lousy
form of code-reusal. It'd be nice if the console could be made part of the
Engine class, or something like that.
Most of the debug commands seem to be working. Some aren't relevant for
ScummVM, and some are a bit obscure so I'm not quite sure what they're
supposed to be doing.
svn-id: r10978
2003-10-26 15:42:49 +00:00
Torbjörn Andersson
3be2f0f1e0
Moved some more stuff into the Logic class.
...
svn-id: r10923
2003-10-21 08:54:50 +00:00
Torbjörn Andersson
3a43829b88
Moved the opcode functions into the Logic class.
...
svn-id: r10885
2003-10-18 08:11:50 +00:00
Torbjörn Andersson
8b42d65a7e
Dumped most of the remaining "driver" code into a new "Display" class. This
...
touches a lot of the code, of course, and adds yet another global variable
(temporarily, I hope), but everything still seems to work.
Knock on wood.
svn-id: r10806
2003-10-15 06:40:31 +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
ade93aabff
cleanup
...
svn-id: r10728
2003-10-10 16:14:52 +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
7174a32c8e
Made a separate class for the cutscene functions, removed some unused code
...
and made some other minor cleanups.
svn-id: r10614
2003-10-05 15:28:15 +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
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
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
09a01e4cbe
Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.
...
svn-id: r10391
2003-09-24 06:40:23 +00:00
Torbjörn Andersson
6539b8a0e6
cleanup
...
svn-id: r10333
2003-09-20 12:43:52 +00:00
Jonathan Gray
c1cbd4605e
fix some VC7 warnings
...
svn-id: r9240
2003-07-28 11:21:25 +00:00
Travis Howell
ccc40eecc9
Compiles on mingw now
...
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
544168e96b
fixed yet more warnings
...
svn-id: r9220
2003-07-28 02:37:47 +00:00
Jonathan Gray
f020d28b5e
bs2
...
svn-id: r9211
2003-07-28 01:44:38 +00:00