Commit Graph

699 Commits

Author SHA1 Message Date
Strangerke
ae9ff70204 DM: More renaming in Gfx enums 2016-09-16 06:58:48 +02:00
Eugene Sandulenko
66b9de0cba DM: Fix compilation 2016-09-15 22:04:52 +02:00
Strangerke
cdc319e8c4 DM: Renaming of enums in gfx, some refactoring 2016-09-15 21:34:08 +02:00
Strangerke
cb2b1b17db DM: Some renaming and refactoring in Gfx 2016-09-15 07:36:40 +02:00
Strangerke
1fa2519a12 DM: Add DoorButton enum, fix a bug in drawSquareD3C 2016-09-14 22:25:27 +02:00
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
a0e9dedfa1 DM: Rename enum values in EventMan 2016-09-13 23:00:03 +02:00
Strangerke
9f324dff86 DM: Silence some GCC warnings 2016-09-13 22:08:01 +02:00
Strangerke
f9d28464ea DM: Get rif od SquareType, rename SquareMask 2016-09-13 07:47:47 +02:00
Strangerke
ed9b883543 DM: more renaming in DungeonMan 2016-09-12 22:46:38 +02:00
Strangerke
edf6e4f2d9 DM: Enforce the use of SoundMode 2016-09-12 22:37:54 +02:00
Strangerke
4e28542029 DM: Rename some enums in DungeonMan 2016-09-12 22:37:51 +02:00
Strangerke
668142e905 DM: Change the declaration of addEvent 2016-09-12 22:37:48 +02:00
Strangerke
935df3b397 DM: Enforce the use of Cell enum, some renaming 2016-09-12 21:56:49 +02:00
Strangerke
ce6d3fed8f DM: Use SensorEffect in two functions 2016-09-12 21:48:16 +02:00
Strangerke
5e9363b6d9 DM: Make use of Common::String in menusPrintSpellFailureMessage 2016-09-12 21:20:45 +02:00
Strangerke
db3ba8ecc0 DM: Avoid null pointer dereferencing in unlinkThingFromList 2016-09-12 21:19:52 +02:00
Strangerke
2aada126a2 DM: Fix potential divide by zero 2016-09-12 20:58:21 +02:00
Strangerke
3be1c24af8 DM: Fix a couple of string manipulations into fix-sized buffer 2016-09-12 20:52:04 +02:00
Strangerke
c4e362bf04 DM: Rename leftover variable 2016-09-12 20:50:40 +02:00
Bendegúz Nagy
06d6e118eb DM: Add partial fix to drawing explosions 2016-09-12 15:49:25 +02:00
Strangerke
3b3572a110 DM: More renaming in DungeonMan 2016-09-12 00:07:00 +02:00
Eugene Sandulenko
be12f7a835 DM: Fix another variable shadowing.
NOTE: This affects the logic flow, so needs to be checked against original
2016-09-11 23:32:40 +02:00
Eugene Sandulenko
a48d15c758 DM: Fix variable shadowing warning 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
c673c5654b DM: Fix comparison warnings 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
efe44f1eb0 DM: Fix warning 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
802ec48a3d DM: Fix variable clash 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
426c3eb0d8 DM: Fix warning 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
3db12da516 JANITORIAL: Remove extra whitespaces 2016-09-11 23:32:40 +02:00
Eugene Sandulenko
6172be6ef0 DM: Fix logical error with local variables 2016-09-11 23:32:40 +02:00
Strangerke
040d71bca5 DM: Rename more constants 2016-09-11 23:06:29 +02:00
Strangerke
e413f44d47 DM: Start renaming constants in DungeonMan 2016-09-11 21:24:02 +02:00
Strangerke
2f311a800f DM: Get rid of getBoundedValue, replace it by CLIP 2016-09-11 11:10:22 +02:00
Strangerke
b0bfa2e4f5 DM: Replace multiple if statements by a switch in commandMoveParty 2016-09-11 11:00:03 +02:00
Strangerke
935d9f22d3 DM: Rework square code in commandMoveParty() 2016-09-11 10:53:54 +02:00
Strangerke
b17f3490f8 DM: Rework functions related to Directions in order to make them consistent and remove redundancy 2016-09-11 10:45:20 +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
f90bf31bea DM: Move some globals to DMEngine 2016-09-11 09:46:35 +02:00
Strangerke
34d636d72e DM Rename enum members in dm.h and dialog.h 2016-09-11 00:34:44 +02:00
Willem Jan Palenstijn
b8fa67bd33 DM: Don't build by default 2016-09-11 00:30:19 +02:00
Eugene Sandulenko
2fd2374992 DM: Rename _C to _Cu 2016-09-10 21:54:22 +02:00
Eugene Sandulenko
786f244929 DM: Rename _B to _Bu to avoid name clashes on some platforms 2016-09-10 21:50:57 +02:00
Eugene Sandulenko
7871874dab DM: Another attempt for compilation fixes on older compilers 2016-09-10 20:44:30 +02:00
Eugene Sandulenko
d973b2314d JANITORIAL: Whitespace fixes 2016-09-10 20:37:14 +02:00
Eugene Sandulenko
fd411dbc84 DM: Fix compilation 2016-09-10 20:37:03 +02:00
Strangerke
4099814fbe DM: Finish the renaming in champion.h 2016-09-10 14:53:10 +02:00
Strangerke
d2b0829476 DM: Change constants into enums in champion.h, renaming 2016-09-10 14:31:49 +02:00
Strangerke
d588e15dad DM: Rename ChampionSlot enum 2016-09-10 11:47:36 +02:00