Commit Graph
86814 Commits
Author SHA1 Message Date
Max Horn 1e47edcd22 cleanup
svn-id: r21921
2006-04-15 21:29:41 +00:00
Max Horn ce13d8e946 cleanup
svn-id: r21920
2006-04-15 21:27:56 +00:00
Max Horn 68450b31e3 cleanup
svn-id: r21919
2006-04-15 21:22:33 +00:00
Max Horn ec17b6505e Removed unused #include
svn-id: r21918
2006-04-15 21:20:32 +00:00
Max Horn 18975a298d Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h header file
svn-id: r21917
2006-04-15 21:20:16 +00:00
Max Horn 68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn ad45318328 Removed GameDetector::_gameid in favor of using a config manager entry
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn dc5f513bcf Set *plugin to 0, not plugin, which has the advantage that games launch again... stupid me
svn-id: r21914
2006-04-15 17:32:06 +00:00
Max Horn fa085439b9 Removed GameDetector::createMixer(), GameDetector::createEngine(), GameDetector::_plugin
svn-id: r21913
2006-04-15 16:37:48 +00:00
Travis Howell e3737b9f47 Fix display of swap character logo in FF
svn-id: r21912
2006-04-15 14:25:41 +00:00
Max Horn ebea155b8e Always use base 0 in strtol when parsing integer command line options / config file entries (this makes it possible to optionally use hex values)
svn-id: r21911
2006-04-15 13:58:01 +00:00
Max Horn c07fc494d2 oops
svn-id: r21910
2006-04-15 13:51:49 +00:00
Max Horn 9c4577b639 - Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in favor of settings in the transient config domain
- This also means you can now set those options in the config file
- Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form

svn-id: r21909
2006-04-15 13:50:44 +00:00
Max Horn aa4214f940 Properly init _activeDomain to 0
svn-id: r21908
2006-04-15 13:34:02 +00:00
Max Horn f3278d7f82 Clear the transient domaing *after* running the launcher, not before, so that the graphics mode gets set correctly
svn-id: r21907
2006-04-15 13:21:02 +00:00
Max Horn 3628629007 - Replaced ConfigManager::_globalDomains by _appDomain (we don't support multiple global domains anymore)
- Restructured parts of the ConfigManager to be more consistent and a bit easier to understand
- Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs)
- Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain
- Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits
- Introduced various hidden easter bugs. Happy easter, and have fun searching!

svn-id: r21906
2006-04-15 13:12:03 +00:00
Travis Howell 2f024e2701 Increase size of variable array entries, to prevent overflows that often occur in FF. The original FF used unsigned variable arrays, but Simon 1/2 requires a signed variable array.
svn-id: r21905
2006-04-15 12:19:38 +00:00
Travis Howell 5e8f44fcf2 Minor cleanup
svn-id: r21904
2006-04-15 07:56:55 +00:00
Travis Howell 0c8d182106 Change _numTextBoxes to unsigned, to stop compile warnings
svn-id: r21903
2006-04-15 06:47:26 +00:00
Travis Howell 3d36a28296 Adjust various number of textBox checks for FF
svn-id: r21902
2006-04-15 06:42:40 +00:00
Travis Howell 647b318a97 Increase array sizes for FF and cleanup
svn-id: r21901
2006-04-15 06:35:40 +00:00
Travis Howell 18e6b21e28 Add support for switching voice file in PC versions of FF and cleanup
svn-id: r21900
2006-04-15 05:24:44 +00:00
Travis Howell f1592e1fef Fix compile warnings I caused
svn-id: r21899
2006-04-15 01:56:49 +00:00
Travis Howell 10bc7b0887 Remove last use of hard coded language values and adjust settings for FF
svn-id: r21898
2006-04-15 01:48:52 +00:00
Travis Howell c8fa54ec80 Adjust video opcodes for second variable array
svn-id: r21897
2006-04-15 01:09:04 +00:00
Max Horn aa2964ceff Some more detector stub code (unused)
svn-id: r21896
2006-04-15 00:24:20 +00:00
Max Horn 0bad4c701e Disable RTTI and exceptions (we don't use 'em and over here it saves 700kb in the executable)
svn-id: r21895
2006-04-15 00:12:14 +00:00
Max Horn 04709491f7 Avoid using exceptions
svn-id: r21894
2006-04-14 23:21:59 +00:00
Travis Howell 0076235ebb Fix another glitch in save game interface of FF
svn-id: r21893
2006-04-14 22:30:34 +00:00
Max Horn eb1459334f Tiny optimization for empty strings, which avoids allocating a single byte just to store an empty string (we pass around empty strings in lots of places)
svn-id: r21892
2006-04-14 22:29:51 +00:00
Travis Howell ce4927244c Update win32 dist
svn-id: r21891
2006-04-14 22:03:44 +00:00
Max Horn 199e5cb4f7 Some cleanup of the SCUMM ConfigDialog; also added a big FIXME comment explaining what the dialog does badly, and how that could be fixed (anybody feeling bored, feel free to implement the solution I outline there)
svn-id: r21890
2006-04-14 18:51:42 +00:00
Sven Hesse cff96b0a75 - Seems like I forget a branch in Mult_v2::animate()
- sub_1A52B is Scenery::updateStatic()

svn-id: r21889
2006-04-14 18:18:46 +00:00
Max Horn edd8557a0e cleanup
svn-id: r21888
2006-04-14 14:26:34 +00:00
Max Horn 1eb526f71a Instead of calling our main them 'default-theme', call it 'modern' and reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is
svn-id: r21887
2006-04-14 13:20:39 +00:00
Travis Howell 7a74eeda08 Fix glitch when entering saved game name in FF
svn-id: r21886
2006-04-14 11:05:54 +00:00
Travis Howell 6ba9a5fcf3 Correct size, when clearing image in renderString() for FF
svn-id: r21885
2006-04-14 11:02:56 +00:00
Travis Howell 601820548c Avoid possible regression in set_video_mode_internal() for Simon1
svn-id: r21884
2006-04-14 10:37:34 +00:00
Travis Howell 1a629682a5 Fix object name display, after conversation in FF
svn-id: r21883
2006-04-14 10:36:44 +00:00
Max Horn 6df54763ef Yes, it is really necessry to compute a special 'disk number' here (in fbear at least)
svn-id: r21882
2006-04-14 10:32:06 +00:00
Travis Howell 77ad88a2f2 Add variant for updated Spy Fox 1
svn-id: r21881
2006-04-14 09:58:20 +00:00
Travis Howell f254b5b73a Cleanup
svn-id: r21880
2006-04-14 09:57:43 +00:00
Max Horn de08164420 Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
svn-id: r21879
2006-04-14 09:45:29 +00:00
Max Horn 64343ef2c0 Fix for bug #1470104 ("Compiled features" string empty)
svn-id: r21878
2006-04-14 09:29:58 +00:00
Travis Howell 8a7950d87b Remove unused code
svn-id: r21877
2006-04-14 09:06:39 +00:00
Travis Howell 081a7b737a A few corrections to path finding in FF
svn-id: r21876
2006-04-14 07:24:40 +00:00
Torbjörn Andersson d3a0f122a9 Adjusted debug message levels: loading a cutscene is more interesting than the
drawing of a scaled sprite.

svn-id: r21875
2006-04-14 07:06:54 +00:00
Travis Howell bd2adbee81 Ooops, increment table, not field in invertBox{}
svn-id: r21874
2006-04-14 06:36:35 +00:00
Travis Howell 89e0e27f6a Add missing increment in invertBox()
svn-id: r21873
2006-04-14 06:26:18 +00:00
Torbjörn Andersson 3058efc168 Fixed stupid mistake (it's my mistake, I can call it whatever I want!) in the
scaling code. Hopefully it's right now. The scaling glitches seem to be gone,
at any rate.

svn-id: r21872
2006-04-14 05:15:11 +00:00