Commit Graph

56 Commits

Author SHA1 Message Date
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
D G Turner
ae31469a9a DREAMWEB: Replaced vsync() function with waitForVSync().
As a call to waitForVSync() was the only contents of vsync(), there
should be no functional change.
2012-05-30 04:23:34 +01:00
Alyssa Milburn
256d160679 DREAMWEB: Remove shared temp graphics variables.
Instead, have a different variable for each use.
2012-02-23 22:34:22 +01:00
Max Horn
36778c8221 DREAMWEB: Remove unnecessary DreamWebEngine:: uses 2011-12-28 23:56:30 +01: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
Willem Jan Palenstijn
90cb52b7f6 DREAMWEB: Streamline graphics file access 2011-12-27 23:01:58 +01:00
Willem Jan Palenstijn
39a0153fbf DREAMWEB: Remove mapStore segment 2011-12-27 17:56:50 +01:00
D G Turner
5256919434 DREAMWEB: Move kSubtitles out of data blob. 2011-12-27 04:12:16 +00:00
D G Turner
5cfa1899bd DREAMWEB: Move kQuitRequested out of data blob. 2011-12-27 03:08:43 +00:00
Willem Jan Palenstijn
2bbc1cbd6a DREAMWEB: Clean up monitor functions 2011-12-27 01:37:35 +01:00
Filippos Karapetis
fb07400086 DREAMWEB: Remove dead code 2011-12-26 22:35:05 +02:00
Filippos Karapetis
1ba4f0a1a8 Revert "DREAMWEB: Remove dead code and move most functions to DreamBase"
This reverts commit 4c66f74b58.

These functions aren't ready to be moved yet till the remaining two are
finished, and they're so crossreferenced that the safest thing to do is
revert this commit and break it down to smaller chunks
2011-12-26 22:31:50 +02:00
Filippos Karapetis
4c66f74b58 DREAMWEB: Remove dead code and move most functions to DreamBase 2011-12-26 22:10:20 +02: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
af85b85a84 DREAMWEB: Convert rollEndCredits/rollEndCredits2 to C++ 2011-12-12 13:26:03 +01:00
Max Horn
5b43fb6be7 DREAMWEB: Code formatting 2011-12-08 19:52:10 +01:00
Willem Jan Palenstijn
627d3f8d41 DREAMWEB: Move functions to DreamBase 2011-12-08 19:18:27 +01:00
Max Horn
b07edcb8fe DREAMWEB: Move printBoth, printChar, printDirect to DreamBase 2011-12-08 00:24:22 +01:00
Max Horn
dc34fc1dfb DREAMWEB: Move generated constants out of class DreamGenContext 2011-12-07 10:32:22 +01:00
Max Horn
c0e2dddd27 DREAMWEB: Move a few methods to DreamBase, remove some unused code 2011-12-07 10:30:44 +01:00
Max Horn
0193ef590d DREAMWEB: Cleanup end of namespace comments 2011-12-06 21:49:41 +01:00
Bertrand Augereau
3d4aa7ea32 DREAMWEB: Cleanup in 'getNumber' 2011-12-05 00:37:19 +01:00
Bertrand Augereau
65b2bfe8a1 DREAMWEB: Ported 'getNumber' to C++ 2011-12-05 00:19:16 +01:00
Bertrand Augereau
2b2f4a90a6 Revert "DREAMWEB: Cleanup"
This reverts commit 5871a6943f.
2011-12-05 00:14:39 +01:00
Willem Jan Palenstijn
5871a6943f DREAMWEB: Cleanup 2011-12-04 20:48:10 +01:00
Willem Jan Palenstijn
f154ff626b DREAMWEB: Fix kernChars 2011-12-04 20:48:10 +01:00
Bertrand Augereau
dfd1ff2db3 DREAMWEB: kTempCharset and kCurrentSet are managed out of the VM 2011-12-04 18:54:08 +01:00
Bertrand Augereau
38ec14b15b DREAMWEB: 'segRef' was redundant with 'getSegment' (thanks to Max for noting this) 2011-12-02 16:29:16 +01:00
D G Turner
349cbc527f DREAMWEB: Fix compilation due to dreamgen.* function renaming. 2011-12-01 19:43:43 +00:00
Bertrand Augereau
00eaf55fdf DREAMWEB: 'printdirect' returns the last read char in al 2011-11-28 15:47:23 +01:00
Bertrand Augereau
7190f1374e DREAMWEB: Accessor for kTempcharset 2011-11-20 14:18:27 +01:00
Willem Jan Palenstijn
90ecc195c1 DREAMWEB: Clean up loop 2011-11-19 19:17:04 +01:00
Bertrand Augereau
2701439250 DREAMWEB: 'monprint' ported to C++ 2011-11-19 16:54:28 +01:00
Bertrand Augereau
e808034e1d DREAMWEB: 'printchar' now has an overload that doesn't advance x for convenience, and supports NULL output widthheight parameters 2011-11-18 08:39:27 +01:00
Bertrand Augereau
a2620d6edf DREAMWEB: Fix quitting in several modal parts of the game 2011-09-08 09:11:16 +02:00
Bertrand Augereau
6764bfaa1d DREAMWEB: Useless includes removed 2011-09-07 04:14:33 +02:00
Bertrand Augereau
ad3b70b539 DREAMWEB: Simpler flavour of 'printdirect' for cases when the output layout information is not needed by the client 2011-09-07 03:58:04 +02:00
Bertrand Augereau
5cd7f3f82c DREAMWEB: Removed an useless stub ('kernchars') 2011-08-25 08:13:40 +02:00
Bertrand Augereau
50fdbd34b8 DREAMWEB: 'waitframes' ported to C++ 2011-08-25 08:12:27 +02:00
Bertrand Augereau
c2e9f01ae4 DREAMWEB: A stub has become useless 2011-08-11 03:23:22 +02:00
Bertrand Augereau
707c6ed01c DREAMWEB: 'printslow' API improved 2011-08-11 03:19:51 +02:00
Bertrand Augereau
b701deed4f DREAMWEB: Less ds pollution in 'printslow' and 'printdirect' 2011-08-11 02:30:25 +02:00
Bertrand Augereau
3e9773a858 DREAMWEB: Stricter typing in the printing subsystem 2011-08-11 02:27:41 +02:00
Bertrand Augereau
a710b32c61 DREAMWEB: Removed useless push/pops 2011-08-10 17:35:55 +02:00
Bertrand Augereau
81a522e03e DREAMWEB: Improvement of 'printslow' signature 2011-08-10 17:20:34 +02:00
Bertrand Augereau
78e337203d DREAMWEB: Improvement of 'printdirect' signature and register usage 2011-08-10 17:12:26 +02:00
Bertrand Augereau
d8cbea02f9 DREAMWEB: Improvement of 'getnumber' signature 2011-08-10 17:03:02 +02:00