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
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
13773455a4
whitespace changes
...
svn-id: r10517
2003-10-01 10:00:35 +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
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
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
4eca44704b
Cleanup. I removed the PLOT_PATHS blocks since they depended on some
...
functions we don't have, and since I didn't deem them useful to us. But
feel free to put them back if you like to.
I'd also like to take this opportunity to say that while I deeply admire
how smoothly BS2 handles the transition between stock animations (e.g.
walking) and special-purpose animations, it certainly needs an unholy
amount of code to do so.
svn-id: r10336
2003-09-20 15:34:53 +00:00
Max Horn
600d4c60d4
cleanup
...
svn-id: r10313
2003-09-19 15:01:49 +00:00
Oliver Kiehl
52ff6acc1f
and another endian fix
...
svn-id: r10241
2003-09-13 20:42:08 +00:00
Max Horn
54a6946eee
cleanup
...
svn-id: r10235
2003-09-13 17:36:53 +00:00
Max Horn
41a17b9da6
let the interpreter use native endianess for variables -> this allows us to get rid of various endian conversions, and also fixs lots of other problems on BE systems. Beware, though, this may impair save game exchange between LE/BE: we'll have to adjust save_rest.cpp to convert to/from LE upon save/load
...
svn-id: r10216
2003-09-13 12:03:29 +00:00
Max Horn
01fc842d91
endian fix for walk data
...
svn-id: r10198
2003-09-13 00:19:39 +00:00
Max Horn
4d9296d4c4
cleanup
...
svn-id: r10197
2003-09-12 23:22:45 +00:00
James Brown
ec447fdfbb
Remove a bunch of unneeded cruft - but barely the surface of it. This code is depressing and duplicated all over the place... I don't think I can bear to touch this code until it's undergone some MAJOR cleanup :)
...
svn-id: r9782
2003-08-19 14:57:26 +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
Jonathan Gray
6d392a73e2
fix shadow'd vars
...
svn-id: r9245
2003-07-28 12:24:13 +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
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