Torbjörn Andersson
c571026a20
More cleanups and renamings:
...
* Rewrote updateCallback41() in terms of updateAndOutput1(), since they were
almost identical to begin with.
* Rewrote updateAndOutput1() for better readability.
* Made unk10 signed, and renamed it baseOctave.
* Made unk14 signed, and renamed it baseNote.
* Made unk15 signed, and renamed it baseFreq.
* Renamed unk17 regAx. It appears to be a cache for that register.
* Renamed unkOutputValue1 regBx. It appears to be a cache for that register.
* Renamed updateCallback8() update_setBaseOctave().
* Renamed updateCallback13() update_setBaseNote().
* Renamed updateCallback20() update_setBaseFreq().
Which still leaves the mystery of unk16 and _unkTables[]. Perhaps *this* is the
pitch bend?
svn-id: r21183
2006-03-09 17:04:00 +00:00
Lars Persson
5129635257
Updated build scripts
...
svn-id: r21182
2006-03-09 15:07:10 +00:00
Max Horn
6db0289f30
Moved SAGA plugin interface code from saga.cpp to game.cpp
...
svn-id: r21181
2006-03-09 14:33:07 +00:00
Max Horn
6b988a51bd
Moved SIMON plugin interface code from simon.cpp to game.cpp
...
svn-id: r21180
2006-03-09 14:30:43 +00:00
Lars Persson
04151343a7
Compile fixes for VC6
...
svn-id: r21179
2006-03-09 13:54:36 +00:00
Max Horn
1d14d18893
Modified SIMON engine to use DetectedGame::updateDesc
...
svn-id: r21176
2006-03-09 13:29:45 +00:00
Eugene Sandulenko
a4a79dd951
Credit Tyst for new SVG logo.
...
svn-id: r21173
2006-03-09 13:25:52 +00:00
Max Horn
aad520026c
Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new TODO in the saveload code now)
...
svn-id: r21171
2006-03-09 13:22:30 +00:00
Max Horn
783264fe28
Made sure the generic ITE description matches the 'special' ones in game.cpp
...
svn-id: r21169
2006-03-09 13:03:23 +00:00
Max Horn
de295c562d
Replaced GF_ENGLISH in LureGameSettings by a proper Common::Language member variable; added (commented out) entries for the german and french lure
...
svn-id: r21168
2006-03-09 12:59:46 +00:00
Max Horn
6b19677e1d
Make use of DetectedGame::updateDesc in the kyra & lure engines
...
svn-id: r21167
2006-03-09 12:52:54 +00:00
Max Horn
46ee5c8f26
Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
...
svn-id: r21166
2006-03-09 12:52:10 +00:00
Eugene Sandulenko
cd732d680b
Fix compilation on MSVC. Reported by Quietust
...
svn-id: r21165
2006-03-09 12:45:23 +00:00
Torbjörn Andersson
671450fcb8
Set down in comments what I know about _outputTable[], and what I suspect about
...
_unkTable[]. Investigating the latter further might help unravelling several of
the "unk" variables. (Right now, I'm suspecting that unk15 is the pitch bend.)
svn-id: r21164
2006-03-09 12:36:11 +00:00
Torbjörn Andersson
9d19f7d32e
Corrected a few comments where I had mistaken the note on/off bit for one of
...
the octave bits.
The unkOuput1() function always turns off the note, so I've renamed it
noteOff(). I've added some comments to unkOuput2() as well, but I'm still not
quite sure what its purpose is. It seems unlikely that it's simply a "note on"
function, given the many things it will clear for the channel. It does end by
turning the note on, though. Strange.
svn-id: r21162
2006-03-09 12:04:41 +00:00
Travis Howell
ff676b0b54
Correct GCC_PACK define for non-GCC
...
svn-id: r21160
2006-03-09 09:51:42 +00:00
Travis Howell
47f66f80b9
Revert GCC_PACK removal, which broke compile
...
svn-id: r21159
2006-03-09 09:40:07 +00:00
Travis Howell
f848dd1d99
Revert GCC_PACK removal, which broke compile
...
svn-id: r21158
2006-03-09 09:36:09 +00:00
Eugene Sandulenko
8a5f44d797
Converted last dialogs to new scheme. Now it seems to be everything. Please,
...
test throghoutly.
svn-id: r21157
2006-03-09 05:18:00 +00:00
Jamieson Christian
effed85448
Implemented SysEx command 1 for non-S&M SCUMM games, per the latest comment on Bug 1088045.
...
svn-id: r21156
2006-03-09 03:29:12 +00:00
Max Horn
ea26ccea4a
Add the known 'extra' info to the description string; and removed the old hack which added this information during launch (which really was a bad hack)
...
svn-id: r21155
2006-03-09 03:21:23 +00:00
Max Horn
e53e0e5885
- Removed the code from the launcher that adds language/platform to the
...
game descriptions. Doing this now is the responsibility of the engines.
- Adapted the SCUMM engine to add lang/platform to the desc string if
necessary. Other engines still have to be adapted (but many do not seem to
need this at all, since they either are lang/platform agnostic, or already
include this information in their MD5 tables).
svn-id: r21154
2006-03-09 03:09:21 +00:00
Max Horn
72d6022fa9
Yet another plugin/game detector related TODO
...
svn-id: r21153
2006-03-09 03:04:57 +00:00
Max Horn
12755197f2
Tiny code simplification
...
svn-id: r21152
2006-03-09 03:01:28 +00:00
Eugene Sandulenko
51495fb199
Moved keys mapping dialog to new scheme. Made it generic. Fixed several
...
compilation errors associated with it.
svn-id: r21151
2006-03-09 02:54:02 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af
- added new toDetectedGame() template function (analog to toGameSettings)
...
- made use of the new DetectedGame constructor from my last commit
- some related cleanup
svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
0d4b1a2c85
Yet another plugin related TODO
...
svn-id: r21148
2006-03-09 01:34:33 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Johannes Schickel
f5efc8b169
Commits patch #1437774 ("KYRA1: Game will crash if bitmap is missing").
...
svn-id: r21146
2006-03-08 21:21:56 +00:00
Oystein Eftevaag
39c9af43ae
Implemented the last menu (the settings screen). Walking speed, text speed,
...
and speech modes (text only, speech only, speech & text) can now be
configured. Toggling music and sound in general is not enabled yet.
Also formatted the static menu resources a bit differently, made
sure some vars in the menu code always got initalized, and
fixed a slight formatting error :).
svn-id: r21145
2006-03-08 13:15:13 +00:00
Max Horn
4c1e4c6987
Added alternate DetectedGame constructor, to make it possible to add games to a detection list w/o first creating a temporary GameSettings struct
...
svn-id: r21144
2006-03-08 12:09:07 +00:00
Max Horn
9b6b816a01
Adapting plugin.syms to the changes made to the plugin API (matching it with the conent of plugin.exp)
...
svn-id: r21143
2006-03-08 11:47:17 +00:00
Travis Howell
4f4d4de018
Update win32 dist
...
svn-id: r21142
2006-03-08 11:44:13 +00:00
Max Horn
d9a9fac937
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
...
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
14f1337c60
Use %p to print pointers portably (even on 64bit systems). Note: this will add a 0x prefix automatically
...
svn-id: r21140
2006-03-08 10:07:02 +00:00
Max Horn
c59ca20ce6
Check format string in calls of debug/error (adapted from patch #1445422 )
...
svn-id: r21139
2006-03-08 10:00:12 +00:00
Eugene Sandulenko
871c394e28
Cleanup
...
svn-id: r21138
2006-03-08 01:49:22 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Oystein Eftevaag
cca7da5ba1
The adlib code was calling the Kyra delay() function instead of the
...
system delay, which was causing concurrency problems.
svn-id: r21136
2006-03-08 01:38:27 +00:00
Travis Howell
431c820e4f
Correct order of cases in o72_redimArray()
...
svn-id: r21135
2006-03-07 22:27:14 +00:00
Chris Apers
532f38f19f
Updated project file with lastest added/removed files from CinE, Gui, Kyra, imuse
...
svn-id: r21134
2006-03-07 19:24:58 +00:00
Eugene Sandulenko
c3e223afdb
Fix implementation of UseWithPrefix keyword
...
svn-id: r21133
2006-03-07 19:23:38 +00:00
Chris Apers
1157cbf842
Fixed invalid event returned with ARM OS5 backend
...
svn-id: r21132
2006-03-07 19:19:37 +00:00
Eugene Sandulenko
fc84c7fc1d
o More widgets fot alternative constructors
...
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
2006-03-07 19:02:42 +00:00
Eugene Sandulenko
d7bc756edc
Add XxH to evaluation precedence.
...
svn-id: r21127
2006-03-07 18:26:04 +00:00
Oystein Eftevaag
3f31e1b27d
Added the proper death dialog, changed the sequence skipping code a bit to avoid
...
possible frame losses, and removed a (now) redundant call to showOverlay() in the
debugger.
svn-id: r21125
2006-03-07 14:16:52 +00:00
Eugene Sandulenko
1f22481d83
Do not override .prev for simple variable assignments, i.e. VAR=VALUE
...
svn-id: r21124
2006-03-07 13:52:53 +00:00
Eugene Sandulenko
1eff73cb41
GUI widget positions:
...
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
2006-03-07 13:41:36 +00:00
Eugene Sandulenko
059c7a0296
Set svn keywords on theme file.
...
svn-id: r21120
2006-03-07 05:53:28 +00:00