Ori Avtalion
3564032330
JANITORIAL: Reduce audio header dependencies
2016-04-14 16:10:21 +03:00
Matthew Hoops
740b6e8fbd
IMAGE: Move all ImageDecoders to image/
2014-02-28 00:27:28 -05:00
Strangerke
137f625548
DREAMWEB: Some British to American english
2014-02-19 21:45:22 +01: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
396f45f551
DREAMWEB: Fix usage of defines, rather than values for screen size.
2012-11-30 08:49:23 +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
Filippos Karapetis
28733463fa
DREAMWEB: Switch to the common PCX decoder
2012-09-13 01:51:01 +03: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
Filippos Karapetis
d41d7e5f36
DREAMWEB: Clean up the palette brightness code
2012-03-04 01:11:50 +02:00
D G Turner
966210b56d
DREAMWEB: Migrate remaining minor functions to using datafile prefix variable.
...
Currently, the usages associated with savegames have been omitted.
These will probably need a different prefix constant as it is likely
foreign variants still use "DREAMWEB.*" for savegames, while using
a different prefix for the datafiles. We may even migrate away from
this naming convention as this causes savegame collisions when multiple
language variants are present, which could cause issues.
The usages in the Room members of the constant g_roomData structure have
also been omitted, as the members are copied into the savegame format,
thus replacing these and fixing other accesses is not trivial.
2012-02-24 15:04:16 +00:00
D G Turner
542014c309
DREAMWEB: Add datafile name prefix to engine and modify showPCX() to it.
...
This new variable removes the need for duplicates strings of the form
"DREAMWEB.*" spread throughout the dreamweb engine, replacing them with
a common const string on the engine holding the datafile name prefix.
This will reduce binary size and it should also simplify adding support
for foreign language variants, where the datafile name prefix is
changed.
To demostrate usage and prove this, showPCX() is migrated to using this.
2012-02-24 15:04:09 +00:00
D G Turner
0d6b4df014
DREAMWEB: Remove uneeded duplicate function "printUnderMon".
2012-02-08 17:18:35 +00: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
fe98fbe972
DREAMWEB: Move all zoom-related functions to vgagrafx.cpp, and remove a lot of unused global constants
2011-12-28 11:38:18 +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
5e915afcd4
DREAMWEB: Remove unused functions
2011-12-27 23:09:47 +01:00
Willem Jan Palenstijn
e54196f37f
DREAMWEB: Remove Extras segment
2011-12-27 23:02:33 +01: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
5511779085
DREAMWEB: Minor removal of runtime residue in vgagrafx.cpp
...
Also, minor formatting fixes.
2011-12-27 02:18:52 +00:00
Filippos Karapetis
3ff26ba84f
DREAMWEB: Move all of the functions to DreamBase and remove stubs.h
2011-12-27 03:00:00 +02: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 4c66f74b58e9a2c191f22a37f485047dd19be131.
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
Willem Jan Palenstijn
6f85de6b6e
DREAMWEB: Combine transferMap and transferInv
2011-12-26 20:03:52 +01:00
Max Horn
04a147921f
DREAMWEB: Rename workToScreenCPP to workToScreen
2011-12-26 01:41:56 +01:00
Max Horn
d015f5d446
DREAMWEB: Remove some dead code
2011-12-26 01:41:55 +01:00
Willem Jan Palenstijn
061d24bb82
DREAMWEB: Move palettes out of buffers
2011-12-23 23:46:38 +01:00
Max Horn
2bdcbadbfe
DREAMWEB: Yet more things to DreamBase
2011-12-23 03:30:59 +02:00
Max Horn
ef2096736d
DREAMWEB: Convert greyscaleSum, allPalette, dumpCurrent
2011-12-12 11:45:35 +01:00
Max Horn
571fcfe15d
DREAMWEB: Move fadeDOS to vgafades.cpp, cleanup
2011-12-12 04:20:27 +02:00
Max Horn
51b724fa43
DREAMWEB: Remove DreamGenContext::closeFile, stop using kHandle
2011-12-11 10:01:28 +01:00
Max Horn
5b43fb6be7
DREAMWEB: Code formatting
2011-12-08 19:52:10 +01:00
Max Horn
cb0a12033b
DREAMWEB: Move more stuff to DreamBase
2011-12-08 00:24:25 +01:00
Max Horn
28ba2071e4
DREAMWEB: Move showFrame() and some things using it to DreamBase
2011-12-07 16:50:37 +01:00
Max Horn
c6ec610d5c
DREAMWEB: Move some more things to DreamBase
2011-12-07 16:50:36 +01:00
Max Horn
4c64f87892
DREAMWEB: Some more workspace cleanup
2011-12-07 14:19:44 +01:00
Max Horn
e862aa4f7c
DREAMWEB: Turn workspace from a segment into a plain array
2011-12-07 14:14:43 +01:00
Max Horn
dc34fc1dfb
DREAMWEB: Move generated constants out of class DreamGenContext
2011-12-07 10:32:22 +01:00
Max Horn
fdb8b305e0
DREAMWEB: Move more methods to DreamBase, cleanup
2011-12-07 10:30:44 +01:00
Willem Jan Palenstijn
7c81f75d27
DREAMWEB: Use symbolic constants and move functions to right files
2011-12-07 08:25:14 +01:00
Filippos Karapetis
1c9a3e7da1
DREAMWEB: 'dumpkeypad', 'dumpsymbol', 'dumpsymbox', 'dumpzoom'
2011-12-07 01:51:12 +02:00
Max Horn
3840e86d0d
DREAMWEB: Paranoia range check
2011-12-06 21:50:37 +01:00
Max Horn
0193ef590d
DREAMWEB: Cleanup end of namespace comments
2011-12-06 21:49:41 +01:00
D G Turner
887b5c8cdd
DREAMWEB: Remove unused 'openFile', merge duplicated 'getFilename'
2011-12-05 21:38:31 +00:00
Willem Jan Palenstijn
585bd7b0ef
DREAMWEB: Untangle namespaces
2011-12-05 19:26:46 +01:00
D G Turner
e19f7898b8
DREAMWEB: Minor fix to 'showPCX' call to ensure constant parameters.
2011-12-05 15:24:58 +00:00
D G Turner
5f992234de
DREAMWEB: Modified 'showPCX' to allow passing of file name string.
...
This will allow migration of fixing string values in the cs segment.
2011-12-05 15:06:58 +00:00