Commit graph

86 commits

Author SHA1 Message Date
Strangerke
15918a00cb DM: Some refactoring in dungeonman.cpp 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
65e4098080 DM: Improve on broken display 2016-08-26 23:02:22 +02:00
Strangerke
03db641f25 DM: Refactor f151_getSquare 2016-08-26 23:02:22 +02:00
Strangerke
19317e631c DM: Some renaming in f173_setCurrentMap 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
715ef2d404 DM: Debug loading savegames, add missing save loading parts 2016-08-26 23:02:22 +02:00
Strangerke
cdbbc15e56 DM: Refactor f318_dropAllObjects, f319_championKill and f323_unpoison. Rename _moveSens 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
e8bdaee8bf DM: Add DialogMan 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
bd9fa3eb87 DM: Engine now correctly set's the activeGroupIndex of groups 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
ac1b49496d DM: Fix setting _g309_partyMapIndex when moving between levels 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
b4bebaa845 DM: Add f371_commandProcessType111To115_ClickInActionArea and it's dependencies 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
1e8dfd7bb6 DM: Add f370_commandProcessType100_clickInSpellArea 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
4d3c9d99f1 DM: Add f367_commandProcessTypes12to27_clickInChampionStatusBox 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
14bef5326a DM: Add warning with repeat parameter 2016-08-26 23:02:22 +02:00
Strangerke
9272b18329 DM: Fix typo in comment 2016-08-26 23:02:22 +02:00
Strangerke
c8f6666480 DM: Remove some more extra parenthesis, remove a useless call to c_str() 2016-08-26 23:02:22 +02:00
Strangerke
9c4236d039 DM: Remove extra parenthesis 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
2c860f1069 DM: Some soft refactoring, in order to silent some CppCheck warnings 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
dce7465ad5 DM: Silent some more CppCheck warnings 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
89473344d8 DM: Fix several bugs realted to dungeon thing management and item handling 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
723c96fffe DM: Clean up some initialization 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
f33b4f3877 DM: Fix some compilation errors using MSVC9 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
d69236e674 DM: Rename functions 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
ce45a71ba0 DM: More 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
e2300bd04c DM: Massive renaming in gfx.h 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
5bb19fd261 DM: Add GroupMan, Group, ActiveGroup, F0196_GROUP_InitializeActiveGroups 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
Strangerke
57ca9afcff DM: Move two global arrays to DMEngine 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
f00f5c19e7 DM: Add G0426_T_OpenChest, F0334_INVENTORY_CloseChest 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
398b309a03 DM: Add F0163_DUNGEON_LinkThingToList 2016-08-26 23:02:22 +02:00
Bendegúz Nagy
eddf2f494d DM: Add F0282_CHAMPION_ProcessCommands160To162_ClickInResurrectReincarnatePanel 2016-08-26 23:02:22 +02:00
Strangerke
c1abeffecc DM: Fix some GCC warnings 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
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