aboutsummaryrefslogtreecommitdiff
path: root/saga/game.cpp
AgeCommit message (Collapse)Author
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-04-23Remove StringMap class from map.h (at least for now)Max Horn
svn-id: r17772
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-19Fixed warnings.Torbjörn Andersson
svn-id: r17682
2005-04-18converse support improved (still has some bugs)Andrew Kurushin
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
2005-03-18- changescene on fair for tentsAndrew Kurushin
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
2005-03-08Added constant for the resource number for the first IHNM scene. Actually,Torbjörn Andersson
I believe it's the wrong scene. Currently we use resource 152, which run the scripts "CampFireSetup" and "CampFireScene". If I use resource 151 instead it will run the scripts "ColumnSetup" and "ColumnScene" instead. I'm speculating that this is the "hate" speech and the rest of the intro ("ColumnScene" is a fairly long script, as far as I can tell), but unfortunately this causes ScummVM to crash almost immediately. I'll need to dissect the scripts to see if I can figure out what's wrong. svn-id: r17036
2005-01-21problems solved:Andrew Kurushin
- Allow more than one script work at once - Proper implementation of address methods some opcodes may be broken - cause work in progress todo: rewrite opcodes with new address functionality svn-id: r16604
2005-01-17o Proper implementation of sfPlaySound() which knows about CD<->floppyEugene Sandulenko
difference o Fix regression in Mac titles where scene LUT wasn't conversed o Fix sound types in many games. Old Win demo is still wrong. svn-id: r16586
2005-01-14o Added support for German ITE. There are also Puzzle-related messagesEugene Sandulenko
hardcoded, but I'll save that for later :) o Eliminated all leftovers of previous language loader. If you'll spot another one, just remove it silently. svn-id: r16556
2005-01-13- introduced SagaEngine::getTextString (for i18n it should route to ↵Andrew Kurushin
corresponding string array) - first step in verb implementation: proper button draw, keyboard respond 'w','l' &etc - added comments and some fields to GameDisplayInfo svn-id: r16554
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-11Make voicess.res the first IHNM voice file, since that's the one that'sTorbjörn Andersson
used in the intro. That way, if the IHNM demo plays an intro we'll use the first voice file both for the demo and the full game. Eventually we'll need to implement switching between different voice files, of course, but that can wait. svn-id: r16542
2005-01-10German retail IHNM patch.re_ md5 is confirmedEugene Sandulenko
svn-id: r16519
2005-01-09- GameModule is goneAndrew Kurushin
- structures renamed - SagaEngine class gives all current game descriptions regression : "verb" is broken cause work in progress svn-id: r16511
2005-01-09o Fixed some indentationEugene Sandulenko
o Now we correctly show Wyrmkeep logo in Mac demos o Applied patch #1098971 ITE credits svn-id: r16507
2005-01-07o Add reported German IHNM and ITEEugene Sandulenko
o Fix IHNM. It does not have actors now (all actors in IHNM are in resources, not hardcoded) svn-id: r16478
2005-01-02o Started putting all panels stuff in order. Still incompleteEugene Sandulenko
o Proper detection for Mac Wyrmkeep CD o Support for wyrmkeep logos svn-id: r16415
2005-01-02Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,Torbjörn Andersson
and used ARRAYSIZE() instead in two cases. svn-id: r16408
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-28Fix regression with IHNM.Eugene Sandulenko
Add IHNM demo MD5s. demo does not work at all yet svn-id: r16365
2004-12-28- many actor walk related functions addedAndrew Kurushin
- implemented script functions for scriptDoors (except iso mode) - introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset() svn-id: r16363
2004-12-28Added MD5 sums for IHNM so that we can watch the intro again. It seems toTorbjörn Andersson
have developed a few regressions though. svn-id: r16358
2004-12-27Added MD5 sum for Linux music file.Torbjörn Andersson
svn-id: r16340
2004-12-25o Merge game detection and game probing in one functionEugene Sandulenko
o Print out message about unknown MD5s svn-id: r16313
2004-12-25There appeared to be different DOS CD version. Also fixed DOS demo detectionEugene Sandulenko
svn-id: r16307
2004-12-24Implement proper game autodetectionEugene Sandulenko
svn-id: r16292
2004-12-23o Lowercased all filenames for better readabilityEugene Sandulenko
o Merged in windows demos files lists o Added Linux CD target. Someone (erik?) please provide md5 of first 5000 bytes of that file svn-id: r16273
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263
2004-12-22o Fix regression with Mac versionsEugene Sandulenko
o Normalize GIDs and GTypes o Introduce MD5-based game detection. Now only 2 games should be ordered. Linux demo should go before Win32 newer demo o Fix sound in Mac versions svn-id: r16262
2004-12-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-18sprite loading fix in win demoAndrew Kurushin
svn-id: r16119
2004-12-15Patch #1081904 ITE: MAC demo supportEugene Sandulenko
o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051
2004-12-09Pass subdirectories to gamedetector functionsRobert Göffringmann
svn-id: r16002
2004-12-08Use some disassembly-based values.Eugene Sandulenko
svn-id: r16000
2004-12-03First pass at migrating from the old Reinherit console to the ScummVMTorbjörn Andersson
console. Some things are likely to have broken. For instance, I believe the old console was could be visible during gameplay, while ScummVM's is modal. So any place where we output something to the console during gameplay should probably be removed. Some things I've stubbed out. Basically any code that registers a variable. Most of the debugging commands are untested. Syntax may have changed because of different command-line parsing. (I never actually used the old console, so I don't know for sure. :-) Actually, I'm not that interested in reproducing the old console commands faithfully. What we should do now is to make the immediately useful console stuff work. Anything that remains unimplemented should probably be removed. svn-id: r15976
2004-11-25Removed the hard-coded monologue. I realized that it was probably scripted,Torbjörn Andersson
and sev later confirmed this. Instead I now try to start the - hopefully - correct scene. This should start the script, but unfortunately we do not yet support IHNM script loading so it won't work yet. svn-id: r15880
2004-11-19Added music to the partial IHNM intro. I think I picked the correct tune,Torbjörn Andersson
but I can't be absolutely sure. I'm also not sure if I'm using the correct music data. I'm fairly sure that the MUSICGM.RES file is the appropriate choice for "General MIDI", but I have no way of verifying that the MUSICFM.RES is really the right choice for MT-32. (Is either of them a good choice for Adlib, or are they both equally bad?) svn-id: r15831
2004-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
2004-11-06IndentationTorbjörn Andersson
svn-id: r15721
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-01Set up file paths to handle the differences between the file layout of theTorbjörn Andersson
Windows and Linux versions. (TODO: Handle game detection.) Added preliminary support for the P2_A.aif file that the Linux version uses, where the Windows version uses p2_a.voc. Someone will have to verify the actual format of it, and we have a silly bug in playVoice() which will have to be fixed before things work properly. svn-id: r15365
2004-08-27R_GAMETYPE -> GID, remove unused supported flag and trim some unused bits of ↵Jonathan Gray
GAME svn-id: r14793
2004-08-22 o Eliminate all structure _tags.Eugene Sandulenko
o Fix RSCFile on MSVC8. o Started fixing script opcodes. svn-id: r14686
2004-08-11Move ITE_* and IHNM_* to Scene class.Eugene Sandulenko
svn-id: r14560
2004-08-06Move INTERFACE_ to class.Eugene Sandulenko
svn-id: r14478
2004-08-02Fix #include paths.Eugene Sandulenko
svn-id: r14443
2004-08-01merge reinherit.h into saga.h and gfx_mod.h, note the error loading ↵Jonathan Gray
animations wasn't caused by this commit :) svn-id: r14405
2004-07-31remove YS_IGNORE_PARAM macro and some uneeded yslib.h includesJonathan Gray
svn-id: r14385