Commit Graph

129 Commits

Author SHA1 Message Date
Max Horn
feb4d79506 cleanup
svn-id: r14866
2004-09-02 17:29:48 +00:00
Travis Howell
22fb004e20 akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes

svn-id: r14799
2004-08-28 03:18:52 +00:00
Max Horn
6c48497059 Show a bit less info so that the output of the 'actors' command fits into the console
svn-id: r14628
2004-08-15 14:40:02 +00:00
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
809c3bd943 Fixed variable access in the debugger
svn-id: r14523
2004-08-08 22:44:15 +00:00
Max Horn
b8ad54b3af Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
2004-06-27 22:14:35 +00:00
Max Horn
fd52b3a3c0 Patch #917503: Remove stray semicolons
svn-id: r13319
2004-03-16 23:51:41 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
9d5dace366 whitespaces
svn-id: r12998
2004-02-22 21:02:06 +00:00
James Brown
0e24cabec8 Remove debug printf()
svn-id: r12843
2004-02-13 10:26:40 +00:00
Max Horn
9fe1aaa921 renamed _saveLoadCompatible to _saveTemporaryState; make use of requestLoad/requestSave
svn-id: r12691
2004-01-31 22:12:35 +00:00
James Brown
ac5b7036c2 Fix for bug #862263 - Maniac actors never stop talking. I know this could probably be neater :)
svn-id: r12430
2004-01-16 10:45:56 +00:00
James Brown
8cc0b7163c Move SCUMM debugger init later on. With this _numVariables is set, so theoretically the Debugger's scumm_vars[] array should work again. Although it
doesn't, for some reason I have yet to look into.

svn-id: r12377
2004-01-14 10:02:33 +00:00
Paweł Kołodziejski
e4628fbb07 - indent
- fix for compilation, is it proper ?

svn-id: r12343
2004-01-12 18:51:15 +00:00
Max Horn
7237b6a2ec changed the name of the former removeObjectFromRoom yet again, to markObjectRectAsDirty - that describes its functionality more accurately, I hope :-)
svn-id: r12326
2004-01-11 20:42:40 +00:00
Max Horn
0712cb95af renamed removeObjectFromRoom to forceObjectRedraw
svn-id: r12325
2004-01-11 20:15:05 +00:00
James Brown
c4528ac022 More conversion to debug channels
svn-id: r12293
2004-01-10 11:01:47 +00:00
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Max Horn
6222d6e643 more cleanup
svn-id: r12234
2004-01-08 03:24:41 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
cc67301791 renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
svn-id: r12168
2004-01-06 11:47:34 +00:00
Max Horn
d834bd9684 replace more usages of _screenWidth by more appropriate variables/values
svn-id: r12162
2004-01-05 16:49:14 +00:00
Max Horn
a469559d13 added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
svn-id: r12160
2004-01-05 16:19:14 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Max Horn
bceb48f5e0 renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
c06b1af619 be a bit more gentle to people typing in invalid box IDs :-)
svn-id: r12044
2003-12-30 23:05:34 +00:00
Max Horn
f23d990fda improved box drawing in debugger (now also draws boxes of height 0
svn-id: r12042
2003-12-30 22:50:55 +00:00
Max Horn
e3e6bb3191 got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
svn-id: r11953
2003-12-26 23:11:35 +00:00
Max Horn
27e32a7b42 fix debugger
svn-id: r11930
2003-12-25 22:49:10 +00:00
Max Horn
b5db74b2ac _inventory was sometimes accessed one-based and sometimes zero-based -> always use zero-base, for consistency
svn-id: r11925
2003-12-25 21:56:12 +00:00
Max Horn
6a318fcdfe cleanup
svn-id: r11921
2003-12-25 18:00:30 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
a4d2a47820 factor out common debugger code
svn-id: r10984
2003-10-26 21:30:52 +00:00
Max Horn
d581c99ab5 cleanup
svn-id: r10982
2003-10-26 19:16:59 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
b3f8b4010b cleanup
svn-id: r10764
2003-10-12 17:49:52 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Travis Howell
4a62eb3e3b More Amiga V2/V3 sound updates from _Q_:
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a
2. Some changes to player_v3a as a result of #1, including reduced music volume
3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h

svn-id: r10392
2003-09-24 06:56:30 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Paweł Kołodziejski
698e40ff1b fixed conversion warning under vc7
svn-id: r10370
2003-09-23 08:56:12 +00:00
Max Horn
21ce55bc9f make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
6512592d0f moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
2003-09-14 18:16:45 +00:00
Max Horn
c697e0fa67 nicer box matrix output in V3-V8 games
svn-id: r10178
2003-09-11 20:49:10 +00:00
Max Horn
6aa7a63ea0 fix V1/V2 walkmatrix debug command
svn-id: r10177
2003-09-11 18:23:53 +00:00
Max Horn
ce7e59e1ae V2 walk matrix support
svn-id: r10176
2003-09-11 14:11:45 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
90ec1dc34e make even more use of Scumm::_musicEngine; added MusicEngine::setMasterVolume
svn-id: r10097
2003-09-08 17:06:44 +00:00
Max Horn
0012f7fa96 added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 (initial stab, more work to follow)
svn-id: r10066
2003-09-07 16:16:19 +00:00