88 Commits

Author SHA1 Message Date
Filippos Karapetis
fc5261b0c4 DREAMWEB: Fix speech during the monk cutscene in non-English versions
Fixes bugs #6288 and #6417
2018-07-09 00:41:04 +03:00
Johannes Schickel
aaff7b1736 DREAMWEB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
D G Turner
bcee44793f DREAMWEB: Simplify _lastHardKey usage and migrate to Common::KeyCode.
This improves readability and should help with dealing with changes
to fix bug #3590814 ("DREAMWEB: M key does not work in Network").
2012-11-29 01:39:08 +00:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
D G Turner
628cfa3d47 DREAMWEB: Objectify Sound functions & data into DreamWebSound class.
This change should have no functional change, but makes the sound code
more decoupled, modular and readable, prior to attempting a fix for
bug #3528164 - "DREAMWEB: missing sound effects/music cues during main
title".
2012-05-31 05:16:10 +01:00
Torbjörn Andersson
261fc2f4be DREAMWEB: Simplify some uses of randomNumber()
Our random number generator isn't restricted to producing numbers
between 0 and 255. We can just ask it for the desired range.
2012-03-03 13:55:04 +01:00
D G Turner
31bf535a83 DREAMWEB: Migrate loadTempText() to using datafile prefix variable. 2012-02-24 15:04:10 +00:00
Willem Jan Palenstijn
143363d5b6 DREAMWEB: Improve subtitle durations in madman scene 2012-02-12 23:57:25 +01:00
Max Horn
36778c8221 DREAMWEB: Remove unnecessary DreamWebEngine:: uses 2011-12-28 23:56:30 +01:00
Filippos Karapetis
972ebc0c75 DREAMWEB: Allow skipping the mad man sequence with the ESC key 2011-12-28 20:15:08 +02:00
Filippos Karapetis
eaed1b725a DREAMWEB: Replaced most isCD calls with calls checking for speech
This is quite useful for devices with limited storage, where the user
can use the CD version without its speech files
2011-12-28 18:54:17 +02:00
Filippos Karapetis
279746fcf0 DREAMWEB: Completely remove all of the runtime, and move everything into DreamWebEngine
Also, remove dead code (allocateMem/deallocateMem)
2011-12-28 15:07:17 +02:00
Willem Jan Palenstijn
57e940f678 DREAMWEB: Move all saved variables to a GameVars struct
The data segment is now completely unused.
2011-12-28 13:12:22 +01:00
Willem Jan Palenstijn
4c2d2684ea DREAMWEB: Mass-move variables out of data
This has been done by an automated search/replace, culling unused
variables in the process. The remaining variables in data are all stored
in savegames.
2011-12-28 02:36:52 +01:00
D G Turner
a09fdaa0b1 DREAMWEB: Move 4 volume related variables out of data blob. 2011-12-28 01:31:24 +00:00
D G Turner
93173a11ca DREAMWEB: Move 'wongame' flag out of data blob. 2011-12-28 00:04:12 +00:00
D G Turner
56191e3928 DREAMWEB: Move 3 sound related variables out of data blob. 2011-12-27 23:49:35 +00:00
Willem Jan Palenstijn
08be0411b1 DREAMWEB: Streamline text file handling 2011-12-27 18:40:25 +01:00
Filippos Karapetis
d503838fd6 DREAMWEB: Moved the two rollEndCredits functions together in print.cpp and renamed them to rollEndCreditsGameWon and rollEndCreditsGameLost 2011-12-26 03:15:47 +02:00
Max Horn
04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Willem Jan Palenstijn
0f36350e03 DREAMWEB: Fix regression from moving ReelRoutines out of data
The struct People still had an old-style pointer to a ReelRoutine.
Fix this by converting People to use a real ReelRoutine * and moving
the PeopleList from the buffers segment to a Common::List.

Thanks to digitall for the assistance with tracking this down.
2011-12-23 19:15:25 +01:00
Willem Jan Palenstijn
99b7fce611 DREAMWEB: Fix regression in sparky 2011-12-23 17:09:46 +01:00
Willem Jan Palenstijn
60ece632b8 DREAMWEB: Remove reelRoutines from data blob 2011-12-18 16:54:16 +01:00
Willem Jan Palenstijn
49877b2319 DREAMWEB: Move all reel functions to DreamBase 2011-12-18 16:34:57 +01:00
Willem Jan Palenstijn
8449493eff DREAMWEB: Convert removeObFromInv, deleteExObject, deleteExFrame, deleteExText 2011-12-18 16:01:06 +01:00
Willem Jan Palenstijn
ebbc8ae3d2 DREAMWEB: Set es for reel callbacks while it may be necessary 2011-12-18 15:57:24 +01:00
Filippos Karapetis
421c8cd262 DREAMWEB: Port 'setpickup' to C++ and added an enum for the object types 2011-12-18 11:26:19 +02:00
Willem Jan Palenstijn
46caa77164 DREAMWEB: Add disabled reelRoutine conversion work 2011-12-17 22:28:54 +01:00
Filippos Karapetis
b1edf24462 DREAMWEB: Fix a regression in businessMan(), and updated its comments 2011-12-17 15:43:10 +02:00
Max Horn
2f0c671256 DREAMWEB: Move most of people.cpp to DreamBase 2011-12-16 17:44:59 +01:00
Max Horn
010714ce5b DREAMWEB: Move more to DreamBase; fix regression in introMonks1() 2011-12-16 17:44:36 +01:00
Willem Jan Palenstijn
86c3c8b462 DREAMWEB: Fix regressions in helicopter and poolGuard 2011-12-16 11:02:51 +01:00
Filippos Karapetis
84be5b0446 DREAMWEB: Rename 'reelCallbacksCPP' to reelCallbacks' 2011-12-16 00:46:05 +02:00
Filippos Karapetis
a6b2b9c7ff DREAMWEB: Enable the C++ callback of poolGuard() 2011-12-16 00:42:25 +02:00
Filippos Karapetis
30b4037ffb DREAMWEB: Port 'poolguard' to C++
This is the last of the people-related functions, so the assembly-like
wrappers of addToPeopleList() and showGameReel() have been removed. Also,
madManText() has been simplified
2011-12-16 00:41:27 +02:00
Filippos Karapetis
66618f4e02 DREAMWEB: Port 'endgameseq' to C++ 2011-12-16 00:15:04 +02:00
Filippos Karapetis
6792fa2fb6 DREAMWEB: Port 'businessman' to C++ 2011-12-16 00:02:57 +02:00
Filippos Karapetis
60f9b91ced DREAMWEB: Port 'mugger' to C++, remove the unused 'findpuztext' function and fix tasm-recover 2011-12-15 23:45:09 +02:00
Filippos Karapetis
2a96ee48d4 DREAMWEB: Fix regression in helicopter() 2011-12-15 23:21:57 +02:00
Filippos Karapetis
93bf275f4c DREAMWEB: Port 'helicopter' to C++ 2011-12-15 12:15:22 +02:00
Filippos Karapetis
d4124e116a DREAMWEB: Port 'heavy' to C++ 2011-12-14 01:52:13 +02:00
Filippos Karapetis
9042f85ef3 DREAMWEB: Fix regression in bartender() and receptionist() 2011-12-13 23:04:26 +02:00
Filippos Karapetis
f9419db947 DREAMWEB: Port 'bartender' and 'receptionist' to C++ 2011-12-13 22:39:34 +02:00
Filippos Karapetis
e685a171d3 DREAMWEB: Simplify getUnderCentre(), putUnderCentre() and move some functions to DreamBase 2011-12-12 22:55:29 +02:00
Filippos Karapetis
30b2c37e53 DREAMWEB: Convert 'setuptimeduse', 'entrytexts' to C++ and move priestText() to DreamBase 2011-12-12 20:02:34 +02:00
Filippos Karapetis
597ff0bb98 DREAMWEB: Port 'soldier1' to C++ 2011-12-09 09:43:42 +02:00
Filippos Karapetis
96360bb153 DREAMWEB: Port 'intromonks2' to C++ 2011-12-08 21:10:39 +02:00
Filippos Karapetis
e731d9b813 DREAMWEB: Fix warnings 2011-12-08 20:47:55 +02:00
Filippos Karapetis
fcb2060445 DREAMWEB: Port 'intromonks1' to C++ 2011-12-08 20:43:35 +02:00
Filippos Karapetis
87e60f8430 DREAMWEB: Port 'copper' to C++. Remove 'advisor' (unused) 2011-12-08 11:37:35 +02:00