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
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
Strangerke
e59be236e1
DM: Move junkInfo to getObjectWeight, make it static and const.
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
0e0fb97632
DM: Some renaming
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
cfebcea041
DM: Add dummy test code for chmpion selection
2016-08-26 23:02:22 +02:00
Strangerke
c87e3ba048
DM: Fix compilation, fix typos and some comment alignement
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
472778a06e
DM: Replace WeaponClass enum with #defines
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
b7c225b4d4
DM: Add G0237_as_Graphic559_ObjectInfo
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
7dd90c3daf
DM: Add F0141_DUNGEON_GetObjectInfoIndex, getType for Container
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
Bendegúz Nagy
d6e90e8a90
DM: Add F0140_DUNGEON_GetObjectWeight and types for Potions, Armour, Weapons and Junk
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
c96f24d8fe
DM: Add G0241_auc_Graphic559_JunkInfo
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
5874a7fb56
DM: Add G0239_as_Graphic559_ArmourInfo
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ef95c50fbb
DM: Add gWeaponInfo
2016-08-26 23:02:22 +02:00
Strangerke
59af06fd82
DM: Fix some CppCheck warnings
2016-08-26 23:02:22 +02:00
Strangerke
75db418e64
DM: Fix a couple of warnings
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
251768b883
DM: Add commands
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
3ca7622a6c
DM: Fix wrong MemoryReadStream size when loading dungeon.dat
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
6ffca3a7db
DM: Forgot to commit these lines earlier
2016-08-26 23:02:22 +02:00
Strangerke
442d417140
DM: Fix some warnings
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
ab1e17257c
DM: Add isDrawnWallOrnAnAlcove function
2016-08-26 23:02:22 +02:00
WinterGrascph
02c0487b57
DM: Add decodeText function
2016-08-26 23:02:22 +02:00
WinterGrascph
3a85c56581
DM: Add decodeText dependencies
2016-08-26 23:02:22 +02:00
WinterGrascph
3ada56f6b1
DM: Add stairs display
2016-08-26 23:02:22 +02:00
WinterGrascph
f591cbbcf3
DM: Add dummy movement code for testing
2016-08-26 23:02:22 +02:00
WinterGrascph
9655066a06
DM: getSquareAspect(..) is complete
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
d49c081785
DM: Fix loadDungeonFile(..) zero sized array allocation
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
909ec36edf
DM: Fix loading map data in loadDungeonFile(..)
2016-08-26 23:02:22 +02:00
WinterGrascph
2e9483cf2e
DM: Fix dungeon.dat file loading
2016-08-26 23:02:22 +02:00
WinterGrascph
f21a9197a6
DM: Fix file loading dependancy
2016-08-26 23:02:22 +02:00
Bendegúz Nagy
73a7cba589
DM: Fix bug with uninitialized _currMap.index and file loading order
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
6d5f8e2757
DM: Add wrapper class around raw map bytes
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
f39b22f321
DM: Refactor Thing POD
2016-08-26 23:02:22 +02:00
WinterGrascph
8172a07d1a
DM: Add square query in DungeonMan
2016-08-26 23:02:22 +02:00
WinterGrascph
68f13e8462
DM: Implement F0173_DUNGEON_SetCurrentMap
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
66c55db9f0
DM: Fix typos and whitespace
2016-08-26 23:02:22 +02:00
WinterGrascph
cdf377f7a7
DM: Add support for Dungeon.dat uncompression
...
Add DungeonMan class with support for loading and uncompressing
Dungeon.dat file into memory
2016-08-26 23:02:22 +02:00