Commit Graph

7619 Commits

Author SHA1 Message Date
Torbjörn Andersson
446a01ba09 Moved low-level keyboard and mouse handling to a new Input class, and
renamed the Display class Graphics for no better reason than me liking the
phrase "sound and graphics" better than "sound and display".

svn-id: r11258
2003-11-11 07:43:02 +00:00
Max Horn
0bcc7ce80e made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup
svn-id: r11257
2003-11-11 00:40:35 +00:00
Max Horn
b38995b288 cleanup (merged the two base set() methods)
svn-id: r11256
2003-11-11 00:26:38 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +00:00
Max Horn
5c2a3da7f2 fix for bug #833537 (Config manager saves "save_slot")
svn-id: r11254
2003-11-10 23:17:11 +00:00
Max Horn
deef1ef32b get-rid-of-queencomp TODO
svn-id: r11253
2003-11-10 21:29:28 +00:00
Max Horn
f71fe1316e don't use tabs in README
svn-id: r11252
2003-11-10 19:24:56 +00:00
Joost Peters
23669de2f3 deprecated adj. Said of a program or feature that is considered
obsolescent and in the process of being phased out, usually in favor of
a specified replacement.

svn-id: r11251
2003-11-10 19:17:52 +00:00
Gregory Montoir
98d4b4cb31 hack for special french character
svn-id: r11250
2003-11-10 15:45:53 +00:00
Gregory Montoir
72d9199022 fix some bugs :
- bettle not disappearing when caught
- wrong Joe position when switching rooms
- bellboy dispappearing after spoken to him (partially fixed)

svn-id: r11249
2003-11-10 14:06:55 +00:00
David Eriksson
ff07a453e3 Make the fix like the original game instead.
svn-id: r11248
2003-11-10 12:32:46 +00:00
David Eriksson
cd4eb7deff Return mouse cursor and panel after cutaway.
svn-id: r11247
2003-11-10 12:21:10 +00:00
Joost Peters
6fec54b411 Forgot to commit this
svn-id: r11246
2003-11-10 10:37:46 +00:00
Paweł Kołodziejski
6727a31884 added subopcode comments
svn-id: r11245
2003-11-10 09:16:41 +00:00
Paweł Kołodziejski
a26f9872ac update
svn-id: r11244
2003-11-10 08:50:25 +00:00
Paweł Kołodziejski
aa848961b3 changed opcode name to actorOps
svn-id: r11243
2003-11-10 08:46:40 +00:00
Paweł Kołodziejski
514a9b5120 renamed back to o6_ifclassofif and extended names for dim opcodes
svn-id: r11242
2003-11-10 08:00:55 +00:00
Torbjörn Andersson
3d012651fd The script engine frequently needs to pass pointers to various structures
etc. to the different opcodes. Until now it has done so by casting the
pointer to an int32 (opcode parameters are represented as arrays of int32)
and then the opcode function casts it back to whatever pointer it needs.

At least in C there is no guarantee that a pointer can be represented as an
integer type (though apparently C99 may define such a type), so this has
struck me as unsafe ever since I first noticed it.

However, since all such pointers appear to point to the memory block owned
by the memory manager, we can easily convert them to integers by treating
them as offsets into the memory block. So that's what I have done. I hope I
caught all the occurences in the opcode functions, or we're going to have
some pretty interesting regressions on our hands...

svn-id: r11241
2003-11-10 07:52:15 +00:00
Torbjörn Andersson
439bc8364d Fix warning
svn-id: r11240
2003-11-10 07:41:21 +00:00
Max Horn
e34f2b8b33 cut down on unnecessary GameDetector references
svn-id: r11239
2003-11-10 01:04:12 +00:00
Jonathan Gray
63c6944492 mark zak256 as a depreciated target, zakTowns will be used in future to be more consistent with the other target names. Config magic to automatically set a gameid=zak256 in config files not yet implemented.
svn-id: r11238
2003-11-10 00:58:22 +00:00
Max Horn
03f50231d2 cleanup / some warnings (I'd like to know if and where those opcodes are used)
svn-id: r11237
2003-11-10 00:28:09 +00:00
Paweł Kołodziejski
2b509bc0b6 renamed opcode and added sobopcode comments
svn-id: r11236
2003-11-10 00:05:17 +00:00
Jonathan Gray
d330de5f28 comment out all the targets for newer humongous games until they start doing something useful
svn-id: r11235
2003-11-09 23:50:40 +00:00
Joost Peters
b264f836fb Enable intro again
svn-id: r11234
2003-11-09 23:49:39 +00:00
Joost Peters
69c4fd3595 update
svn-id: r11233
2003-11-09 22:22:56 +00:00
Paweł Kołodziejski
a657b8e7ba renamed some opcodes and added sobopcode comments
svn-id: r11232
2003-11-09 22:12:16 +00:00
Joost Peters
357cfb8aea fix small leak
svn-id: r11231
2003-11-09 21:55:19 +00:00
Joost Peters
b64c6fcbfc Added (quick-)Saving/Loading
svn-id: r11230
2003-11-09 21:31:18 +00:00
Gregory Montoir
1b6e9a9b00 forgot to update comment
svn-id: r11229
2003-11-09 21:24:23 +00:00
Gregory Montoir
a7aac36341 fix flipped faye issue in c3a.cut
svn-id: r11228
2003-11-09 21:10:42 +00:00
Gregory Montoir
c9feb712bc enable (some of) the original debug passwords
svn-id: r11227
2003-11-09 20:50:03 +00:00
David Eriksson
79f84425dd Moved _talkSelected to Logic.
svn-id: r11226
2003-11-09 14:16:46 +00:00
David Eriksson
1d3d581879 - Fix cutaway bug that made Joe end up in the wrong location when the
cutaway was cancelled.
- Fix cutaway bugs that made it very bad to cancel the cutaway where Joe
  looks out from the hotel window.

svn-id: r11225
2003-11-09 12:19:47 +00:00
Paweł Kołodziejski
8f130401a1 cleanup whitespaces
svn-id: r11224
2003-11-08 23:45:45 +00:00
Paweł Kołodziejski
14b7d027a2 cleanup whitespaces
svn-id: r11223
2003-11-08 23:22:16 +00:00
Gregory Montoir
e01e3ae463 fix bad animation string at amazon entrance room
svn-id: r11222
2003-11-08 23:20:23 +00:00
Paweł Kołodziejski
1f99fbe77c cleanup whitespaces
svn-id: r11221
2003-11-08 23:05:04 +00:00
Paweł Kołodziejski
13c7acee9d cleanup whitespaces
svn-id: r11220
2003-11-08 22:57:42 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Paweł Kołodziejski
bd972c97e5 cleanup whitespaces
svn-id: r11218
2003-11-08 22:05:58 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
David Eriksson
9e7402e14b Enable pinnacle room
svn-id: r11216
2003-11-08 21:02:25 +00:00
David Eriksson
0908b794ec Show mouse cursor in dialogue.
svn-id: r11215
2003-11-08 21:00:11 +00:00
Paweł Kołodziejski
7d6c5bc1da cleanup whitespaces
svn-id: r11214
2003-11-08 20:54:31 +00:00
Paweł Kołodziejski
b99af18bd5 cleanup whitespaces
svn-id: r11213
2003-11-08 20:27:27 +00:00
Paweł Kołodziejski
409108df82 cleanup whitespaces
svn-id: r11212
2003-11-08 19:47:20 +00:00
Paweł Kołodziejski
394c96b033 update
svn-id: r11211
2003-11-08 19:16:39 +00:00
Torbjörn Andersson
980ad7daba This one can go as well
svn-id: r11210
2003-11-08 18:41:44 +00:00
Torbjörn Andersson
9106229bef Removed some now redundant header files.
svn-id: r11209
2003-11-08 18:15:35 +00:00