aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2003-09-20The usual cleanup. Removed the "run from CD" check.Torbjörn Andersson
This pretty much concludes the first stage of the engine cleanup. All of the files, except for console/debugging stuff and possibly some header files, have been changed to use the ScummVM brace style. As for the console, that one could probably do with some rewriting, in which case cleaning it up first would just be unnecessary work. The next stages of the cleanup should include renaming of variables and functions to follow the ScummVM coding standards, and turning everything into C++ classes. And so on. Of course, the driver directory should go through a similar cleanup as well. This has all been enormously tedious, so don't count on me doing any of these things at the moment. Particularly not turning everything into C++ classes. I'm really not that familiar with C++. :-) svn-id: r10340
2003-09-20The usual cleanup, plus make sure to delete SaveFileManager ifTorbjörn Andersson
open_savefile() fails. svn-id: r10339
2003-09-20cleanupTorbjörn Andersson
svn-id: r10338
2003-09-20cleanupTorbjörn Andersson
svn-id: r10337
2003-09-20Cleanup. I removed the PLOT_PATHS blocks since they depended on someTorbjörn Andersson
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-20cleanupTorbjörn Andersson
svn-id: r10335
2003-09-20Clarified commentTorbjörn Andersson
svn-id: r10334
2003-09-20cleanupTorbjörn Andersson
svn-id: r10333
2003-09-20The 'colliding' flag is never set to anything else than zero, so it shouldTorbjörn Andersson
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-20Minor cleanupTorbjörn Andersson
svn-id: r10330
2003-09-19cleanupTorbjörn Andersson
svn-id: r10314
2003-09-19cleanupMax Horn
svn-id: r10313
2003-09-19cleanupTorbjörn Andersson
svn-id: r10310
2003-09-19cleanupTorbjörn Andersson
svn-id: r10308
2003-09-19Cleanup. Apart from reformatting, I've also removed the #ifdef blocks toTorbjörn Andersson
skip or mute cutscenes. At the very least, we want to show the subtitles like we do now. svn-id: r10307
2003-09-18added initial support for building our 4 adventure engines as loadable ↵Max Horn
modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP svn-id: r10304
2003-09-18plugin work: right now, only with build rules for OS X. Once I can get it to ↵Max Horn
work here, I'll add more build rules. Work in progress, a lot ain't work, but the plugin stuff is disabled by default, so no harm should arise svn-id: r10292
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-17new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there ↵Max Horn
(this removes the need for an ugly hack in the build system, and is also conceptionally cleaner) svn-id: r10282
2003-09-17some tweaks to the build system (work toward plugin support)Max Horn
svn-id: r10279
2003-09-17added a static method setDefaultDirectory to class File; used this to ↵Max Horn
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-17cleanupMax Horn
svn-id: r10277
2003-09-17remove unused variableMax Horn
svn-id: r10276
2003-09-17cleanupTorbjörn Andersson
svn-id: r10274
2003-09-17cleanupTorbjörn Andersson
svn-id: r10273
2003-09-17Rewrote Read_file() to use our File class, and removed the unused functionsTorbjörn Andersson
Direct_read_file() and Direct_write_file(). This change is completely untested, but that should be ok since Read_file() (which is now the only function left in tony_gsdk.cpp) only seems to be used in debug builds. Perhaps we should remove these files completely? svn-id: r10272
2003-09-17Removed some #includes that seem to be unnecessary. I think we're going toTorbjörn Andersson
have to clean up the header files at some point... svn-id: r10271
2003-09-17cleanupTorbjörn Andersson
svn-id: r10269
2003-09-17Cleanup.Torbjörn Andersson
Since this file contains a list of global variables which are accessed both directly by the engine and - presumably - by the scripts, this could lead to some nasty regressions. I've triple-checked the list against the old version, so it *should* be ok, I just thought I'd point it out. svn-id: r10268
2003-09-17cleanupTorbjörn Andersson
svn-id: r10267
2003-09-16Removed some unnecessary #includes and #defines.Torbjörn Andersson
svn-id: r10264
2003-09-16Some cleanup. More to follow, I hope.Torbjörn Andersson
svn-id: r10263
2003-09-14actually this is the correct fix to "Cutscene - Press ESC to exit" :)Oliver Kiehl
svn-id: r10259
2003-09-14fix "Cutscene - Press ESC to exit" messageOliver Kiehl
svn-id: r10258
2003-09-14if saveslot specified with -x doesn't exist, show restore menuOliver Kiehl
svn-id: r10256
2003-09-14enable ``proper'' -x loadingOliver Kiehl
svn-id: r10255
2003-09-14Fingolfin, now I am really disappointed with you that you didn't see this ↵Oliver Kiehl
bug... ;) svn-id: r10252
2003-09-13simplified codeMax Horn
svn-id: r10245
2003-09-13and another endian fixOliver Kiehl
svn-id: r10241
2003-09-13I am not happy at all with the slack our team has shown recently! I barely ↵Max Horn
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-13fix global vars storingMax Horn
svn-id: r10237
2003-09-13cleanupMax Horn
svn-id: r10236
2003-09-13cleanupMax Horn
svn-id: r10235
2003-09-13pack _parallax to be on the safe sideOliver Kiehl
svn-id: r10234
2003-09-13convert run lists in the res managerMax Horn
svn-id: r10233
2003-09-13fix speech on BEOliver Kiehl
svn-id: r10229
2003-09-13fix g_header -> header in commentsMax Horn
svn-id: r10225
2003-09-13some more endian fixesOliver Kiehl
svn-id: r10224
2003-09-13endian conversion in save/restore code (may not be complete, beware!)Max Horn
svn-id: r10223
2003-09-13cleanupMax Horn
svn-id: r10222