Commit graph

90 commits

Author SHA1 Message Date
Strangerke
e02d165fce DM: Move g186_doorFrame_D1C to DisplayMan 2016-08-26 23:02:22 +02:00
Strangerke
c74c4f362e DM: Make some arrays static and local 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
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
Bendegúz Nagy
d7b0413be6 DM: Reorder blitshrink parameters 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
bd06132072 DM: Box objects are not expected to conatain inclusive boundaries, blitting and other methods adapted 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
f01a03e918 DM: Add default parameters to DipslayMan::f132_blitToBitmap 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
c756d17556 DM: Reorder DisplayMan::D24_clearScrenBox parameters 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ec0b26ce79 DM: Reorder blitting method parameters 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
d69236e674 DM: Rename functions 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
31b10d6d0d DM: Remove blitToBitmap overload 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ce1c52bceb DM: Remove blitToScreen overloads 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
883370eb7d DM: Remove several blitting overloads 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
8c06b0afd0 DM: Add F0097_DUNGEONVIEW_DrawViewport 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
c5f118079c DM: Renaming stuff 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
683230207c DM: Refactor DisplayMan::_walsetBitmaps 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
46b9b1100e DM: Refactor DungeonMan 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
63ff1666d6 DM: More constant and global variable renaming 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
a9cda9df7c DM: More renaming 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
da317f14be DM: Massive renameing in gfx.cpp 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
e2300bd04c DM: Massive renaming in gfx.h 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
5f25c6aae2 DM: Add missing code to DisplayMan::drawSquareD3R (@F0117_DUNGEONVIEW_DrawSquareD3R) 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
e95470d189 DM: Fix errors in DisplayMan::isDerivedBitmapInCache 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
579b56d212 DM: Reversing several modifications and adding missing code warninings
Add missing code warnings to DisplayMan::drawSquareD3L  (@F0116_DUNGEONVIEW_DrawSquareD3L)
Add missing annotations to SquareAspectIndice.
Add several Frame globals.
Remove StairIndex, replace DisplayMan::_stairIndices with direct class members.
Refactor Frame into class, make it use Box type.
Add several entries to GraphicIndices type.
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
bf4ae50e6b DM: Add F0115_DUNGEONVIEW_DrawObjectsCreaturesProjectilesExplosions_CPSEF 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
d312ac086d DM: Add dependencies for F0115_DUNGEONVIEW_DrawObjectsCreaturesProjectilesExplosions_CPSEF 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
6d2d839d27 DM: Add creature masks/types, F0176_GROUP_GetCreatureOrdinalInCell 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
f3d4b854b7 DM: Add F0142_DUNGEON_GetProjectileAspect 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
a09ff6a165 DM: Add F0114_DUNGEONVIEW_GetExplosionBitmap 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
b3e1760bfb DM: Add dummy blitBoxFilledWithMaskedBitmap and DisplayMan::drawField 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
3f19bcdf6b DM: Add F0491_CACHE_IsDerivedBitmapInCache, F0492_CACHE_GetDerivedBitmap 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
e6c3389e53 DM: Continue F0460_START_InitializeGraphicData 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
1f73d771ce DM: F0342_INVENTORY_DrawPanel_Object, F0031_OBJECT_LoadNames 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
fc6837b964 DM: Add F0392_MENUS_BuildSpellAreaLine 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
d893075343 DM: Fix unused viewport in DisplayMan::clearScreenBox 2016-08-26 23:02:22 +02:00
Strangerke
45461a4908 DM: Fix compilation on GCC 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
4044dfa364 DM: Add F0157_DUNGEON_GetSquareFirstThingData, F0377_COMMAND_ProcessType80_ClickInDungeonView
Also add ElementType enum and G0462_as_Graphic561_Box_ObjectPiles, refactor DungeonMan::_dungeonViewClickableBoxes into Box type
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
23e0dfcc28 DM: Add standard GPLv2 header 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
94bd6db7a6 DM: Add F0291_CHAMPION_DrawSlot, G0425_aT_ChestSlots and constructor to Viewport, swap some warnings for code 2016-08-26 23:02:22 +02:00
Strangerke
8ffd4a0bad DM: Add some default statements in switches, change the scope of namespace DM in gfx.cpp 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
9d7cfe5cd8 DM: Add several functions realted to text display
Add F0290_CHAMPION_DrawHealthStaminaManaValues, F0289_CHAMPION_DrawHealthOrStaminaOrManaValue,
F0288_CHAMPION_GetStringFromInteger, F0052_TEXT_PrintToViewport, swap warning for real code, expand viewport fields with width, height, remove self-inclusion
in dungeonman.h, remove extra black line when loading fonts, fix alignment error in TextMan::printTextToBitmap
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
2048539522 DM: Initialize some variables 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
9538db0b61 Add: TextMan, font loading and basic text display 2016-08-26 23:02:22 +02:00
Strangerke
f46a588164 DM: Silent two more GCC warnings 2016-08-26 23:02:22 +02:00
Strangerke
f1ef774a28 DM: Fix another GCC warning and a bug 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
4b83ebc0da DM: Add fix gDungeonViewport, some comments 2016-08-26 23:02:22 +02:00