Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson 74ae914df2 Make it possible to specify language at run-time, since the Gobliiins 1
support for other languages appears to work at least fairly well, and this
makes it easier to test it.

svn-id: r17804
2005-04-26 06:29:53 +00:00
Travis Howell a0f56739cd Add Macintosh version of puttrace
svn-id: r17803
2005-04-26 04:22:08 +00:00
Torbjörn Andersson 21ea71a762 Keep track per piece whether or not it was dynamically allocated, otherwise
we'll end up trying to free invalid pointers. (Happened to me at the end of
the level where you get the voodoo doll.)

svn-id: r17802
2005-04-25 19:03:13 +00:00
Torbjörn Andersson f08a767aa8 This one looks wrong too, but I don't think it has caused any crash for me.
Not yet, at least. And now, hopefully, it never will.

svn-id: r17801
2005-04-25 18:53:58 +00:00
Travis Howell 93279ff29e Minor cleanup
svn-id: r17800
2005-04-25 10:22:38 +00:00
Travis Howell 8e36728526 No music file in lost/smaller.
svn-id: r17799
2005-04-25 05:59:01 +00:00
Travis Howell 9380304832 Read index of music file in HE games at startup.
Only reliable way to always get correct music tracks.

svn-id: r17798
2005-04-25 05:44:12 +00:00
Torbjörn Andersson 8776150321 Better support for "seamless" cutscenes, i.e. ones where - in theory - you
shouldn't see where the cutscene begins/ends as it's the same image as is
currently displayed by the game engine itself.

Of course, in reality you can still see the seams easily. But at least it
looks a bit beter now. I made most of this change yesterday, but it's less
hard-wired now.

svn-id: r17797
2005-04-25 05:23:21 +00:00
Torbjörn Andersson eb3b057836 This ought to fix bug #1188910
svn-id: r17796
2005-04-25 05:14:01 +00:00
Travis Howell 23fa40d56c Add misisng r.
svn-id: r17795
2005-04-25 04:35:42 +00:00
Travis Howell 967fd877b1 Remove excess ;
svn-id: r17794
2005-04-25 03:45:37 +00:00
Max Horn 14f56887ea Some C++ compilers don't support the 'not' keyword, it seems
svn-id: r17793
2005-04-24 22:41:21 +00:00
Max Horn da5f819cf9 You can safely delete/free null pointers
svn-id: r17792
2005-04-24 18:26:12 +00:00
Torbjörn Andersson 4cdcb0b049 Don't wait for the lead-out sound to finish when playing the "shaman"
cutscene, as it's obviously meant to blend in with the rest of the game.

svn-id: r17791
2005-04-24 15:38:53 +00:00
Torbjörn Andersson 59f6002b03 Fixed warning. (Unused variables.)
svn-id: r17790
2005-04-24 15:35:03 +00:00
Andrew Kurushin a909052c8d fixed object frawing
implemented sfGetObjImage, sfSetObjImage, sfSetObjName

svn-id: r17789
2005-04-24 15:17:38 +00:00
Max Horn ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Torbjörn Andersson 5553ef53f1 Moved conversation stuff from Logic to Mouse.
svn-id: r17787
2005-04-24 12:13:03 +00:00
Torbjörn Andersson 6f29b92a5f I believe this is the correct fix for the sanctuary door bug.
svn-id: r17786
2005-04-24 12:08:27 +00:00
Travis Howell 29532320c1 Corection a few more heversion checks, caused music regression.
svn-id: r17785
2005-04-24 10:26:31 +00:00
Travis Howell 637e86e5b4 Remove out dated comment.
svn-id: r17784
2005-04-24 04:51:36 +00:00
Travis Howell 43286fc880 Add additional check for comments with ().
Required for map.ini file included with mustard.

svn-id: r17783
2005-04-24 03:58:12 +00:00
Travis Howell 2a14ff0a1a Use new ConfigFile class for read/writeConfigFile in HE games.
svn-id: r17782
2005-04-24 03:52:56 +00:00
Travis Howell c318d82f01 The last section of config file was not saved, when loading config file.
Fix all string compares.

svn-id: r17781
2005-04-24 03:41:57 +00:00
Max Horn a6b59c0be1 Implement some missing methods
svn-id: r17780
2005-04-23 22:28:37 +00:00
Max Horn 55947fb319 Make StringMap class (with case insensitive keys) global
svn-id: r17779
2005-04-23 17:33:28 +00:00
Max Horn ef760277e6 This code should be revised...
svn-id: r17778
2005-04-23 17:02:38 +00:00
Max Horn 554ecd57cb Don't use Common::Map for the object table at all; rather use bsearch on a fixed size table.
svn-id: r17777
2005-04-23 16:52:11 +00:00
Max Horn b43e1e960f Map is only needed in intern.h
svn-id: r17776
2005-04-23 16:09:22 +00:00
Max Horn 06a313f0a8 Change the way the command line options are put into the ConfigManager
svn-id: r17775
2005-04-23 14:39:15 +00:00
Travis Howell 88dfc9891e decompressWizImage shouldn't be called directly by charset renderer in HE games.
Fix palette issues with charset type 0 in HE games

svn-id: r17774
2005-04-23 14:32:40 +00:00
Max Horn 2cc5040a9a Added new ConfigFile class. It is not yet used anywhere. ConfigManager will be rewritten around this class. Note that it is not final yet and may be revised in many ways.
svn-id: r17773
2005-04-23 14:30:53 +00:00
Max Horn 29d249c696 Remove StringMap class from map.h (at least for now)
svn-id: r17772
2005-04-23 14:28:59 +00:00
Torbjörn Andersson 78b340adfb Whitespace
svn-id: r17771
2005-04-23 14:15:00 +00:00
Max Horn 5626581da8 These structs must be packed
svn-id: r17770
2005-04-23 14:00:51 +00:00
Max Horn 8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Torbjörn Andersson e70c98fa22 Oops. This should have been removed long ago.
svn-id: r17768
2005-04-23 12:55:54 +00:00
Andrew Kurushin edad36ee60 fixed sfDropObject implementation
svn-id: r17767
2005-04-23 12:34:35 +00:00
Max Horn 40c3fdddc7 Document our tools a little bit
svn-id: r17766
2005-04-23 11:31:26 +00:00
Travis Howell 760017e462 Should be HE61 now.
svn-id: r17765
2005-04-23 11:06:17 +00:00
Travis Howell cc526f0a01 Simpler check, since VAR_NEW_ROOM is no longer set in small header games.
svn-id: r17764
2005-04-23 09:53:56 +00:00
Travis Howell 789007ec67 Check for a '\' before adding slash too, otherwise starting a game in root directory will fail.
svn-id: r17763
2005-04-23 09:21:41 +00:00
Travis Howell 24f2ca3d34 Adjust for last cvs change.
svn-id: r17762
2005-04-23 01:57:46 +00:00
Travis Howell c61d834c6e Always set file path separately in o72_openFile() so upper and lower case filenames are checked.
svn-id: r17761
2005-04-23 01:50:42 +00:00
Max Horn 7903943019 oops
svn-id: r17760
2005-04-22 21:56:32 +00:00
Max Horn 78030693fc Added macros for integer options; added some explantory comments to the option parser macros
svn-id: r17759
2005-04-22 21:49:29 +00:00
Max Horn 86752763c8 add a comment regarding an odd hack
svn-id: r17758
2005-04-22 21:30:07 +00:00
Max Horn 1f3ce23da8 GameDetector isn't actually used here
svn-id: r17757
2005-04-22 21:20:22 +00:00
Max Horn 94c4f0cbe7 We have an official PS2 port now (although its status is not clear to me)
svn-id: r17756
2005-04-22 21:13:09 +00:00
Max Horn f7402737d7 Added SDL backend TODO
svn-id: r17755
2005-04-22 21:12:37 +00:00