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
Bendegúz Nagy
aa269b9f5e
DM: Add blitToScreen using Box
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
e9a4e818f2
DM: Add F0355_INVENTORY_Toggle_CPSE
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
0597fdc658
DM: Add D24_FillScreenBox
2016-08-26 23:02:22 +02:00
Strangerke
bcbb3e447f
DM: Some more renaming
2016-08-26 23:02:22 +02:00
Strangerke
9ad057a486
DM: Some more renaming, remove extra semi-column
2016-08-26 23:02:22 +02:00
Strangerke
ea33eb8c87
DM: Some renaming
2016-08-26 23:02:22 +02:00
Strangerke
42567b744d
DM: Fix compilation on MSVC9
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
9b57cdb8dd
DM: Add champion POD and it's enums
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
98c79f89bf
DM: Add mouse input processing and display for movement arrows
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
bcfe176df5
DM: Add mouseclick processing
2016-08-26 23:02:22 +02:00
Strangerke
bdc57056cd
DM: Move some structs to header in gfx
2016-08-26 23:02:22 +02:00
Strangerke
35677f1c82
DM: Fix Frame initializations
2016-08-26 23:02:22 +02:00
Strangerke
24c7c1e905
DM: Fix some compilation errors under MSVC9
2016-08-26 23:02:22 +02:00
WinterGrascph
b9935dfddc
DM: Add blitToBitmapShrinkWithPalChange
2016-08-26 23:02:22 +02:00
WinterGrascph
ab1e17257c
DM: Add isDrawnWallOrnAnAlcove function
2016-08-26 23:02:22 +02:00
WinterGrascph
082e3fb37c
DM: Add global variable dependencies for isDrawnWallOrnAnAlcove
2016-08-26 23:02:22 +02:00
WinterGrascph
3ada56f6b1
DM: Add stairs display
2016-08-26 23:02:22 +02:00
WinterGrascph
807fda8a9a
DM: Add wall flipping display
2016-08-26 23:02:22 +02:00
WinterGrascph
d9bb44eeb9
DM: Add the partial drawing of dungeonwalls
2016-08-26 23:02:22 +02:00
WinterGrascph
134b482e60
DM: Add flipped wall bitmaps
2016-08-26 23:02:22 +02:00
WinterGrascph
e3136f4247
DM: Add viewsquare enum
2016-08-26 23:02:22 +02:00
WinterGrascph
7ddd96bc60
DM: Fix destructor and allocation issues in DungeonMan and DisplayMan
2016-08-26 23:02:22 +02:00
WinterGrascph
a8c82c1e94
DM: Add some draw dungeon dependencies
...
I forgot to do commits and it was already too late to revert back the
changes I've because they were too numerous.
2016-08-26 23:02:22 +02:00
WinterGrascph
253730787d
DM: Finish implementing ornament masks in DungeonMan::getSquare
2016-08-26 23:02:22 +02:00
WinterGrascph
05fbf0b358
DM: Add dungeonman.o to module.mk, fix _bitmaps memory leak
2016-08-26 23:02:22 +02:00
WinterGrascph
af6e6ca468
DM: Refactor Frame POD
2016-08-26 23:02:22 +02:00
WinterGrascph
16199b4091
DM: Add loadWallSet(..) and loadFloorSet(..)
2016-08-26 23:02:22 +02:00
WinterGrascph
853b87f19e
DM: Add drawDungeon test code
2016-08-26 23:02:22 +02:00
WinterGrascph
4f9182507a
DM: Implement Dungeon.dat file parsing, add relevant structures
2016-08-26 23:02:22 +02:00
WinterGrascph
a8434fc165
DM: Add support for viewports with blitting
2016-08-26 23:02:22 +02:00
WinterGrascph
98a4379244
DM: Delete TOBE2 macro, use READ_BE_UINT16 instead
2016-08-26 23:02:22 +02:00
WinterGrascph
9823845c99
DM: Fix constant and global variable names according to coding conventions
2016-08-26 23:02:22 +02:00
WinterGrascph
64371787e2
DM: Rewrite blitting methods, revise FRAME POD
2016-08-26 23:02:22 +02:00
WinterGrascph
c725fdec9e
DM: Add horizontal and vertical bitmap flipping
2016-08-26 23:02:22 +02:00
WinterGrascph
18ff2e9940
DM: Refactor DisplayMan::DrawFrame and Frame POD
2016-08-26 23:02:22 +02:00
WinterGrascph
cb2bb82b32
DM: Add support for transparency in blitting
2016-08-26 23:02:22 +02:00
WinterGrascph
77cd7df08d
DM: Add support for drawing portions of bitmaps
...
Create Frame structure and drawFrame(..) convenience method, also
DisplayMan unpacks all the bitmaps with unpackGraphics()
2016-08-26 23:02:22 +02:00
WinterGrascph
4a8b34e993
DM: Add the original palettes, edit palette loading accordingly
2016-08-26 23:02:22 +02:00
WinterGrascph
b7987d84c1
DM: Fix memory leak in dm.cpp and gfx.cpp
2016-08-26 23:02:22 +02:00