aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2003-10-26factor out common debugger codeMax Horn
svn-id: r10984
2003-10-26cleanupMax Horn
svn-id: r10982
2003-10-26Enable the debug console. Actually, what I've done is to adapt the debugTorbjörn Andersson
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-23Corrected/clarified some debug messages/commentsTorbjörn Andersson
svn-id: r10945
2003-10-22Moved a few remaining pieces of the script interpreter into the Logic classTorbjörn Andersson
svn-id: r10939
2003-10-21Moved some more stuff into the Logic class.Torbjörn Andersson
svn-id: r10923
2003-10-19Small cleanup, and added FIXME comment.Torbjörn Andersson
svn-id: r10907
2003-10-18Moved the opcode functions into the Logic class.Torbjörn Andersson
svn-id: r10885
2003-10-17moved game detection code out to the pluginsMax Horn
svn-id: r10882
2003-10-15Dumped most of the remaining "driver" code into a new "Display" class. ThisTorbjörn Andersson
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-12some more target<->game cleanupMax Horn
svn-id: r10769
2003-10-12some renaming for more consistent terminology (although we might want to ↵Max Horn
reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game svn-id: r10766
2003-10-12Moved the "router" code into a new Router class. I'm hoping this isTorbjörn Andersson
analogous to the SkyAutoRoute class. svn-id: r10754
2003-10-12Alignment fix in debug messageNicolas Bacca
svn-id: r10742
2003-10-11Moved the text drawing stuff into a class of its own. (Adding anotherTorbjörn Andersson
global variable which will hopefully be dealt with later.) svn-id: r10734
2003-10-10cleanupTorbjörn Andersson
svn-id: r10728
2003-10-10some cleanupMax Horn
svn-id: r10720
2003-10-09Some cleanups and clarifications. Mainly, we no longer refer to theTorbjörn Andersson
inventory/conversation menu (which is drawn at the bottom of the screen) as the "top menu". svn-id: r10693
2003-10-08new config manager. not everything is completed, and some things will still ↵Max Horn
be changed, but it seems to work well enough to put it into CVS svn-id: r10687
2003-10-08Use RandomSource instead of rand().Torbjörn Andersson
svn-id: r10682
2003-10-08cleanupTorbjörn Andersson
svn-id: r10681
2003-10-08Some more cosmetic changes while I'm considering the next move. (Or maybeTorbjörn Andersson
I'm just hoping that if I stall long enough, someone else will make the move for me. :-) svn-id: r10676
2003-10-07Some cleanup, some code removal and some unstubbing. Nothing important.Torbjörn Andersson
svn-id: r10659
2003-10-07Renamed the FontRenderer class as FontRendererGui since there's anotherTorbjörn Andersson
font renderer for the game itself. (It just doesn't live in any separate class yet.) svn-id: r10658
2003-10-06Removed obsolete FIXME commentTorbjörn Andersson
svn-id: r10631
2003-10-05Made a separate class for the cutscene functions, removed some unused codeTorbjörn Andersson
and made some other minor cleanups. svn-id: r10614
2003-10-05factor out common gfx_mode/fullscreen setup code from the game engines into ↵Max Horn
the main code (maybe putting this into the Engine constructor would be better, though?) svn-id: r10611
2003-10-04use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵Max Horn
gets reset); remove obsolete 256 color blending code svn-id: r10592
2003-10-04Moved some stuff out of driver96.h. Eventually I'd like to get rid of mostTorbjörn Andersson
Moved some stuff out of driver96.h. Eventually I'd like to get rid of this file completely. Or at the very least most of it. svn-id: r10589
2003-10-04Changed to use #include "bs2/..." and removed the inclusion of standard CTorbjörn Andersson
headers. Most (all?) of the ones we need should probably come from stdafx.h instead. svn-id: r10588
2003-10-04removed Sword2 prefixes of most classes (made obsolete by our namespace ↵Max Horn
usage); renamed Sword2State to Sword2Engine svn-id: r10583
2003-10-04added namespace Sword2Max Horn
svn-id: r10581
2003-10-03fix doxygen commentMax Horn
svn-id: r10570
2003-10-03use C++ struct naming instead of typedefs -> this fixes (or works around, ↵Max Horn
whatever you prefer to call it) the GCC_PACK problem in Doxygen svn-id: r10569
2003-10-03Some renaming (ironic in the light of Fingolfin's recent namespaceTorbjörn Andersson
suggestion, but I prepared the patch long before reading the mail :-). Also, the remaining parts of the control panel etc. have been moved into a class of their own. This is still work in progress. I'm well aware that some of the classes aren't as well separated as they ought to be, and that using global variables to keep track of the different classes probably isn't pretty. svn-id: r10561
2003-10-02renamed namespace ScummVM to CommonMax Horn
svn-id: r10544
2003-10-02Cleanups, mostly related to sound effects.Torbjörn Andersson
svn-id: r10532
2003-10-01whitespace changesTorbjörn Andersson
svn-id: r10517
2003-10-01ScummVM naming conventions and cleanup in the Sword2Sound class.Torbjörn Andersson
svn-id: r10514
2003-09-30Clear cutscene subtitles before changing back the palette, and slow downTorbjörn Andersson
the subtitles slightly. svn-id: r10503
2003-09-30Moved the memory manager functions into an object of its own (and enabledTorbjörn Andersson
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-30Changed the resource manager object to use more ScummVM-like naming.Torbjörn Andersson
svn-id: r10499
2003-09-30Changed the "logic" object to use ScummVM naming conventions.Torbjörn Andersson
svn-id: r10496
2003-09-29Removed - it's the same file as _mouse.hTorbjörn Andersson
svn-id: r10487
2003-09-29cleanupTorbjörn Andersson
svn-id: r10486
2003-09-29cleanup (I meant to do this in my previous commit)Torbjörn Andersson
svn-id: r10485
2003-09-29cleanupTorbjörn Andersson
svn-id: r10484
2003-09-29cleanupTorbjörn Andersson
svn-id: r10483
2003-09-29Tiny whitespace / comment change.Torbjörn Andersson
svn-id: r10478
2003-09-28cleanupTorbjörn Andersson
svn-id: r10468