Commit Graph

129 Commits

Author SHA1 Message Date
Strangerke
535ded7e55 DM: Add DoorOrnament enum, some refactoring in drawDoorOrnament to make use of it 2016-09-14 21:59:39 +02:00
Strangerke
20a27fac63 DM: Add DoorState enum, make use of it 2016-09-14 21:27:09 +02:00
Strangerke
c969647bc5 DM: Add an enum (ViewFloor), enforce its use, fix a bug in the case of kDMElementTypeDoorFront 2016-09-14 07:44:06 +02:00
Strangerke
9f324dff86 DM: Silence some GCC warnings 2016-09-13 22:08:01 +02:00
Strangerke
f0a6f6b269 DM: Make some functions private, move 2 functions to more specific classes 2016-09-11 10:27:29 +02:00
Strangerke
9284e4c9fd DM: Remove a variant of blitToScreen, refactor drawActionDamage 2016-09-04 18:29:16 +02:00
Strangerke
fbe9c92ce1 DM: Fix the style used for some pointers and casts 2016-09-03 14:20:13 +02:00
Bendegúz Nagy
cb8fca46c5 DM: Fix include headers
Add DM_ prefix
Add missing include guards
2016-09-03 10:47:16 +02:00
Bendegúz Nagy
cd3b485952 DM: Clean up includes
Swap <> to "" with scummvm files
Add dm/ prefix to dm files
Reorder includes to system files, dm files
2016-09-03 10:38:43 +02:00
Strangerke
5ca6975665 DM: Remove custom warning function 2016-08-27 11:07:49 +02:00
Strangerke
6a02a571cd DM: Rename variables and functions of DisplayMan 2016-08-26 23:02:22 +02:00
Strangerke
30eea48e4a DM: Fix some more GCC warnings 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
6aabe84bf6 DM: Complete f437_STARTEND_drawTittle 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
44a5e36fc1 DM: Pull K0016_aui_Palette_FadeTemporary into a class vaiable 2016-08-26 23:02:22 +02:00
Strangerke
09c865fb8f DM: Some refactoring, get rid of some more globals 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
7cc41a1929 DM: Add support for LZW compresssed graphics.dat 2016-08-26 23:02:22 +02:00
Strangerke
514bad0d09 DM: Get rid the last globals of gfx.cpp 2016-08-26 23:02:22 +02:00
Strangerke
641ef973b0 DM: More work on globals in gfx.cpp 2016-08-26 23:02:22 +02:00
Strangerke
fd1022d722 DM: More work on globals 2016-08-26 23:02:22 +02:00
Strangerke
7f11c2551f DM: Get rid of more globals 2016-08-26 23:02:22 +02:00
Strangerke
89030204bc DM: More work on globals in gfx.cpp 2016-08-26 23:02:22 +02:00
Strangerke
e49bda9994 DM: Move some globals in DisplayMan, renaming 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
52f76a5d74 DM: Remove default parameters from blitToBitmap 2016-08-26 23:02:22 +02:00
Strangerke
6ea782eeb5 DM: Start moving globals to DisplayMan 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
5fb1b3e808 DM: Add missing code related to palettes 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
6113b75ca9 DM: Complete DisplayMan::f436_STARTEND_fadeToPalette 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
181995cff9 DM: Deprecate DisplayMan::loadPalette 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
94ba2fdb2b DM: Add partial fix of color palette 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
7570844f5e DM: Fill stub method f438_STARTEND_OpenEntranceDoors 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
d69c2d12fa DM: Change Box's member fields from uint16 to int16 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ead63373ca DM: Add stub methods, clean up warnings and some comments 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
262e74aee8 DM: Fix item display in the dungeon, add f480_releaseBlock 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
2e2732df39 DM: Partially fix drawing of shrunk bitmaps 2016-08-26 23:02:22 +02:00
Strangerke
e29d843cfa DM: Refactor f427_dialogDraw 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
f52469ce05 DM: Add a stub for f436_STARTEND_FadeToPalette 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
2b2a028332 DM: Add f444_endGame and checks for Common::EVENT_QUIT 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ec28573a3b DM: Add f385_drawActionDamage 2016-08-26 23:02:22 +02:00
Strangerke
b174331e71 DM: refact f293_drawAllChampionStates, f283_viAltarRebirth, f327_isProjectileSpellCast and f326_championShootProjectile. Rename Direction. 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
63fc9fb27d DM: Add f427_dialogDraw, f425_printCenteredChoice, f426_isMessageOnTwoLines 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
aacecd6c06 DM: Add entrance processing 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
3a654ff91e DM: Add ChampionMan::f320_applyAndDrawPendingDamageAndWounds() 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
0d4b09980e DM: Replace ChampionMan::f292_drawChampionState with original 2016-08-26 23:02:22 +02:00
Strangerke
e02d165fce DM: Move g186_doorFrame_D1C to DisplayMan 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
c95b23317c DM: Add some missing code 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
411ad40ca4 DM: Add missing code to several display functions 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
7fef7b8312 DM: Add paritial drawing of doors 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
94c878143e DM: Add F0108_DUNGEONVIEW_DrawFloorOrnament 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
01ed61e066 DM: Fix some comments 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
816319c659 DM: Revert to using byteWidths where the original does so as well 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
cb345ff614 DM: Reorder fillBitmap parameters 2016-08-26 23:02:22 +02:00