Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +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
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
a29d128bd3
Use RandomSource instead of rand().
...
svn-id: r10682
2003-10-08 18:02:53 +00:00
Torbjörn Andersson
29b646b30a
Some cleanup, some code removal and some unstubbing. Nothing important.
...
svn-id: r10659
2003-10-07 07:07:47 +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
2a41216f08
ScummVM naming conventions and cleanup in the Sword2Sound class.
...
svn-id: r10514
2003-10-01 06:36:25 +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
93b8cefe19
Tiny whitespace / comment change.
...
svn-id: r10478
2003-09-29 06:48:48 +00:00
Torbjörn Andersson
e19e7c879a
Save enough information about the currently playing music before the
...
credits so that it can be properly resumed afterwards.
svn-id: r10429
2003-09-27 16:10:43 +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
f5d8300043
Really clear the screen during the credits.
...
svn-id: r10408
2003-09-25 13:04:46 +00:00
Torbjörn Andersson
57d99796ea
Changed the keyboard handling to store "keyboard events", rather than just
...
characters. Hopefully this will make things work smoother on the Mac, but I
have no way of testing that.
svn-id: r10376
2003-09-23 15:59:52 +00:00
Torbjörn Andersson
f8591911ab
Since we probably won't have anything like the original BS2 launcher menu,
...
make the 'C' key run the credits. I haven't yet implemented the credits
function, but it does play the music at least.
svn-id: r10366
2003-09-23 06:27:58 +00:00
Torbjörn Andersson
3c7c60196f
ScummVM code formatting conventions
...
svn-id: r10350
2003-09-21 16:11:26 +00:00
Max Horn
468275bb94
added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
...
svn-id: r10278
2003-09-17 21:06:16 +00:00
Torbjörn Andersson
d6c2957d5c
cleanup
...
svn-id: r10269
2003-09-17 13:03:13 +00:00
Jonathan Gray
5825a28330
properly close down when playing demo
...
svn-id: r9921
2003-08-30 15:21:51 +00:00
Max Horn
01f020da2b
SetPalette conflicts with an OS symbol on OS X
...
svn-id: r9829
2003-08-23 14:42:37 +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
f1a6025aa2
turn d_sound.cpp into class BS2Sound
...
svn-id: r9280
2003-07-29 12:34:46 +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
Jonathan Gray
f020d28b5e
bs2
...
svn-id: r9211
2003-07-28 01:44:38 +00:00