Commit graph

50 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
2c23cf985f DREAMWEB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Eugene Sandulenko
93dfd3922e DREAMWEB: Added support for Russian fan-translation 2020-01-29 00:50:41 +01:00
Filippos Karapetis
f524745774 DREAMWEB: Simplify the character kerning checks 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
617f6179c1 DREAMWEB: Change various loop variables to uint, rather than size_t.
This is partly for readability and partly to avoid any possible
portability issues i.e. though they should be the same, size_t is
defined by system headers, whereas uint is defined within our build
system.

Also, replaced a array size calculation with our ARRAYSIZE macro.
2012-11-30 12:08:55 +00:00
D G Turner
06cc3b051a DREAMWEB: Further migration to screen size constants. 2012-11-30 10:49:25 +00: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
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
D G Turner
bca22d4bee DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable. 2012-02-24 15:04:13 +00:00
D G Turner
31bf535a83 DREAMWEB: Migrate loadTempText() to using datafile prefix variable. 2012-02-24 15:04:10 +00: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
dc4af2afc2 DREAMWEB: Added commandOnlyCond() method 2011-12-28 23:06:49 +01:00
Max Horn
bfd891d571 DREAMWEB: Mark some member vars as only being used in keypad.cpp; cleanup 2011-12-28 23:06:49 +01:00
Willem Jan Palenstijn
ea6546ae25 DREAMWEB: Clean up checkCoords 2011-12-28 19:55:06 +01:00
Max Horn
c6dfac9b0a DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASM 2011-12-28 19:36:17 +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
Filippos Karapetis
1d4337ebb5 DREAMWEB: Remove some unused globals 2011-12-28 05:27:16 +02: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
Willem Jan Palenstijn
90cb52b7f6 DREAMWEB: Streamline graphics file access 2011-12-27 23:01:58 +01:00
D G Turner
5cfa1899bd DREAMWEB: Move kQuitRequested out of data blob. 2011-12-27 03:08:43 +00:00
Filippos Karapetis
e311f678b9 DREAMWEB: Move pressList out of the data blob, and remove loads of unused global variables from the data blob 2011-12-26 15:06:15 +02:00
Max Horn
04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Willem Jan Palenstijn
bcf789274f DREAMWEB: Move many use-related functions to DreamBase 2011-12-24 13:52:50 +01:00
Willem Jan Palenstijn
10774daa58 DREAMWEB: Move backgrounds, zoom space, initial vars out of buffers 2011-12-23 23:46:38 +01:00
Max Horn
ef98df5895 DREAMWEB: cleanup 2011-12-23 03:43:19 +02:00
Max Horn
cdc6bc421b DREAMWEB: Turn RectWithCallback into template
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a
temporary HACK, which allows moving functions that use checkCoords to
DreamBase one at a time, instead of all at once (and at the same time as
checkCoords). This can be undone once everything using checkCoords has been
moved to DreamBase.
2011-12-23 03:39:44 +02:00
Max Horn
202f9d18f1 DREAMWEB: Move more things to DreamBase; cleanup some code 2011-12-16 17:43:33 +01:00
Max Horn
9ebcaa33e7 DREAMWEB: Move even more stuff to DreamBase 2011-12-15 13:45:43 +01:00
Max Horn
9972fc613a DREAMWEB: Move more methods to DreamBase 2011-12-15 13:45:43 +01:00
Willem Jan Palenstijn
6c443ab5fe DREAMWEB: Fix regression in quitSymbol 2011-12-10 18:17:02 +01:00
Filippos Karapetis
6c5f424540 DREAMWEB: Port 'quitSymbol' to C++ 2011-12-09 18:40:34 +02:00
Filippos Karapetis
447f0c6643 DREAMWEB: Use the C++ version of workScreen() in C++ code 2011-12-09 18:18:32 +02:00
Willem Jan Palenstijn
7c81f75d27 DREAMWEB: Use symbolic constants and move functions to right files 2011-12-07 08:25:14 +01:00
Max Horn
0193ef590d DREAMWEB: Cleanup end of namespace comments 2011-12-06 21:49:41 +01:00
Filippos Karapetis
1bedd8bc18 DREAMWEB: 'openeden', 'openlouis', 'openpoolboss', 'openryan', 'opensarters', 'openyourneighbour' ported to C++ 2011-12-06 04:44:54 +02:00
Bertrand Augereau
07633d0c8b DREAMWEB: 'loadKeypad' ported to C++ 2011-12-05 00:14:39 +01:00
Bertrand Augereau
a02457a122 DREAMWEB: 'showOuterPad' ported to C++ 2011-12-03 15:25:35 +01:00
Bertrand Augereau
a3b8eb30cb DREAMWEB: 'addToPressList' ported to C++ 2011-12-02 18:27:36 +01:00
Bertrand Augereau
8f7473f533 DREAMWEB: 'isItRight' ported to C++ 2011-12-02 18:11:54 +01:00
Bertrand Augereau
fb9b5d11ef DREAMWEB: Clearer API for enterCode 2011-12-02 17:49:55 +01:00
Bertrand Augereau
dadabd252a DREAMWEB: 'buttonPress' ported to C++ 2011-12-02 17:22:39 +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
Bertrand Augereau
734e6c49b1 DREAMWEB: Keypad button callbacks blacklisted 2011-12-02 16:05:44 +01:00
Bertrand Augereau
7211a790b2 DREAMWEB: 'enterCode' ported to C++ 2011-12-02 14:30:39 +01:00
Bertrand Augereau
3f02cfe771 DREAMWEB: 'showKeypad' ported to C++ 2011-12-02 13:09:03 +01:00
Bertrand Augereau
95a8cdd36c DREAMWEB: 'singleKey' ported to C++ 2011-12-02 13:09:01 +01:00
D G Turner
349cbc527f DREAMWEB: Fix compilation due to dreamgen.* function renaming. 2011-12-01 19:43:43 +00:00
Bertrand Augereau
8012c3274e DREAMWEB: keypad.cpp to mimic keypad.asm 2011-11-16 21:59:49 +01:00