Commit Graph
300 Commits
Author SHA1 Message Date
Eugene Sandulenko b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Travis Howell a820400f8c Replace warnings with debug, errors or printfs:
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs

svn-id: r18681
2005-08-14 01:41:52 +00:00
Eugene Sandulenko 6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn 8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Travis Howell ae7f676667 Rename opcode/function
svn-id: r18381
2005-06-13 07:09:12 +00:00
Torbjörn Andersson a2c90de0db Cleanup.
svn-id: r18375
2005-06-11 15:25:38 +00:00
Travis Howell 151f09ed53 Sync opcode names and add HE72+ version of o_systemOps.
svn-id: r18278
2005-05-28 08:37:44 +00:00
Travis Howell 913da5f4dd Remove old comment, verb charset is now used.
svn-id: r18271
2005-05-27 08:24:42 +00:00
Max Horn 6e42068c8b In V7/V8 games, use the blast text system to render verbs (this fixes bug #1208956, but certainly will cause new regressions ;-)
svn-id: r18267
2005-05-26 16:39:40 +00:00
Max Horn 1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn adc21c1ac3 Move _numActors to a more sensible place, and make it protected; fix confirmFOODialog() method names to comply with our guidelines
svn-id: r17658
2005-04-17 22:40:45 +00:00
Travis Howell caae2f00de Add separate function for loading palette from choosen room.
Avoid pointer problems.

svn-id: r17653
2005-04-17 12:55:42 +00:00
Travis Howell db43946f05 Add flObject lock/unlock support for HE games.
svn-id: r17474
2005-04-09 09:57:54 +00:00
Travis Howell 879de392d1 A random object state is possible in scumm7 too.
svn-id: r17324
2005-04-01 09:55:17 +00:00
Max Horn ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Eugene Sandulenko 7ae3da082e Support for direct reading from NES ROM:
o extend MemoryReadStream with XOR facility
  o implement MemoryWriteStream
  o _fileHandle now is a reference to BaseScummFile class and is created on the fly
  o implement ScummNESFile class which is basically extract_mm_nes utility
  o update NES MM md5's due to above changes

NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename
ROM to standard conventional name 'Maniac Mansion (XXX).nes'

svn-id: r17300
2005-03-30 21:59:12 +00:00
Max Horn ebb49d5cfe In V7/V8 games, just always call translateText, it'll check for the '/' prefix anyway (this allows us to perform additional magic in it, should we need to, e.g. to fix bug #1172655)
svn-id: r17297
2005-03-30 17:30:47 +00:00
Eugene Sandulenko 154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Max Horn 0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Max Horn cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn f15f517bb4 Add 'speech' sound type to mixer; make use of that in iMuse Digital
svn-id: r16331
2004-12-27 01:32:40 +00:00
Chris Apers 1ac29aae1e Help PalmOS (and more ?) to save memory
svn-id: r15611
2004-10-19 12:30:42 +00:00
Travis Howell 903073df2e Small correction
Ensure object exists, before pushing data.

svn-id: r15464
2004-10-08 07:04:57 +00:00
Travis Howell db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +00:00
Max Horn 6a50ba2308 Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
svn-id: r15331
2004-09-28 19:28:59 +00:00
Travis Howell 1c84b9fb50 Value is correct, but string index not array id.
svn-id: r15233
2004-09-22 07:21:57 +00:00
Max Horn 2f9ea12ddd cleanup
svn-id: r15224
2004-09-21 13:54:30 +00:00
Max Horn 3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Max Horn 054460a170 Fix for bug #1021538 (COMI: Graphic glitches in ship-to-ship fight)
svn-id: r14876
2004-09-03 19:54:58 +00:00
Max Horn ae4cb96f39 Make clearTextQueue call removeBlastTexts -- this fixes a text redraw issue in the ship-to-ship combat
svn-id: r14867
2004-09-02 22:47:10 +00:00
Max Horn b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell a13966d64c Switch to debug channel
svn-id: r14678
2004-08-22 09:30:08 +00:00
Max Horn d35ef7c7f1 Removed some obsolete TODO comments
svn-id: r14669
2004-08-21 22:33:23 +00:00
Travis Howell 6ebe5ab306 Enable function
svn-id: r14642
2004-08-19 07:25:34 +00:00
Travis Howell 4f4b5c713d Add missing code
Not sure where they are used though.

svn-id: r14621
2004-08-15 07:40:09 +00:00
Travis Howell e8a10c219e COMI/DIG always redraws verbs too
Remove old var, no longer required

svn-id: r14481
2004-08-06 06:19:14 +00:00
Travis Howell 4b4ab244b1 Correct default settings used by COMI
Allow object_labels config option in COMI

svn-id: r14408
2004-08-01 06:52:56 +00:00
Max Horn 5e3236ac47 Add symbolic names for the array types, which makes the code easier to read/understand (note that array types != res types)
svn-id: r14404
2004-08-01 01:54:37 +00:00
Max Horn 98ea92322b Fix for bug #953302 (COMI: Crash when you choose Rottingham as your first oponent); this would be suitable for the 0.6.x branch, too...
svn-id: r14401
2004-08-01 01:19:54 +00:00
Travis Howell 5ecfa56b5e Rename object fields
svn-id: r14270
2004-07-19 01:58:08 +00:00
Travis Howell 078dc6220f Remove old hack and comment
svn-id: r14224
2004-07-16 10:17:41 +00:00
Travis Howell 032405d6f7 Bump save game version for HE 7.0 changes
Remove mention of talkspeed default, since it no longer applies.

svn-id: r14191
2004-07-11 11:59:18 +00:00
Travis Howell ebafa060c6 Always stop actor walkscript when required.
svn-id: r14184
2004-07-10 23:32:31 +00:00
Travis Howell 03ddb782d1 Code is correct, check against disasm.
svn-id: r14172
2004-07-05 06:29:38 +00:00
Travis Howell a1cd1787e8 Unused in original game (According to diasm.)
svn-id: r14171
2004-07-05 06:26:57 +00:00
Travis Howell 5b7157e3c9 Match disasm., applies to The Dig too.
svn-id: r14167
2004-07-04 12:06:17 +00:00
Max Horn b1de21accb Don't use getGameDataPath()
svn-id: r14094
2004-06-28 00:00:33 +00:00
Max Horn df984b3824 Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14087
2004-06-27 21:52:25 +00:00
Max Horn 6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00