Commit Graph

710 Commits

Author SHA1 Message Date
Strangerke
0750c20fe7 DM: rename members of DescriptionMask, PanelContent, CreatureSize, CreatureMask 2016-09-18 11:46:53 +02:00
Strangerke
ebe014f4be DM: Rename Creature masks, move SoundMode to sound.h 2016-09-18 11:18:11 +02:00
Strangerke
ea8f3dfb19 DL: Enforce the use of CreatureType 2016-09-18 01:02:51 +02:00
Strangerke
94f1c71c08 DM: Some renaming in group 2016-09-17 15:13:20 +02:00
Strangerke
9691da2b05 DM: Fix the style of some pointers in gfx, remove some implicit casts to Box 2016-09-17 00:07:04 +02:00
Strangerke
314d52dbc1 DM: Fix some more warnings 2016-09-16 23:43:27 +02:00
Strangerke
421d47db85 DM: Fix some more non-MSVC warnings, remove a useless variable 2016-09-16 23:15:27 +02:00
Strangerke
85341206c5 DM: Fix some non-MSVC warnings 2016-09-16 22:41:46 +02:00
Strangerke
93109b77ff DM: Clarify some assignments 2016-09-16 22:06:01 +02:00
Strangerke
f6039153ec DM: Refactor Box() 2016-09-16 22:05:59 +02:00
Strangerke
952abc3243 DM: More renaming in gfx enums 2016-09-16 07:46:10 +02:00
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