Commit Graph
188 Commits
Author SHA1 Message Date
Strangerke 857d4e72ed DM: Renaming of Champion and ChampionMan functions 2016-08-26 23:02:22 +02:00
Strangerke f9323fe9fa DM: Get rid of some globals in inventory 2016-08-26 23:02:22 +02:00
Strangerke 53121afb09 DM: Fix some GCC warnings 2016-08-26 23:02:22 +02:00
Strangerke d90f365728 DM: Work on eventman globals, renaming and apply some coding conventions 2016-08-26 23:02:22 +02:00
Strangerke c469c72824 DM: Move some more globals 2016-08-26 23:02:22 +02:00
Bendegúz Nagy d97a8905cc DM: Remove some warnings 2016-08-26 23:02:22 +02:00
Strangerke 92c9c54481 DM: Start refactoring of eventMan 2016-08-26 23:02:22 +02:00
Strangerke 705e906698 DM: Some renaming, move some globals to class member 2016-08-26 23:02:22 +02:00
Strangerke 58d1bcc3e7 DM: Silent a couple of CppCheck warnings 2016-08-26 23:02:22 +02:00
Strangerke a5b8085c48 DM: Fix regression (pressure plate), fix compilation 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 80f2199151 DM: Clear check some warnings, complete minor functions 2016-08-26 23:02:22 +02:00
Strangerke b4b76047ff DM: Fix some GCC warnings 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 0eb61d0a7d DM: Pull sound handling into a separate class 2016-08-26 23:02:22 +02:00
Bendegúz Nagy aacbcc0757 DM: Correct language from GR_GRE to DE_DEU 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 5bd6e3a49b DM: Add missing calls in constructors to initConstant methods 2016-08-26 23:02:22 +02:00
Bendegúz Nagy f7ad6488e3 DM: Add localization 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 3fffb08a40 DM: Add missing localization warnings and query function for language 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 52f76a5d74 DM: Remove default parameters from blitToBitmap 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 5c2ee5c748 DM: Fix wrong champIcon hidden in f319_championKill 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 50f3cfa625 DM: Add debug command godmode 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 774ae8e821 DM: Remove unnecessary redirection through DMEngine members 2016-08-26 23:02:22 +02:00
Strangerke a80ae55379 DM: some minor changes in f291_drawSlot and f281_renameChampion 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 084b1df8f3 DM: Refactor f281_renameChampion 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 2b2a028332 DM: Add f444_endGame and checks for Common::EVENT_QUIT 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 734abf8d48 DM: Adjust idle delay when renaming champion 2016-08-26 23:02:22 +02:00
Strangerke 8540fdc800 DM: Some rework in f303_getSkillLevel 2016-08-26 23:02:22 +02:00
Strangerke 800aec5d57 DM: Remove duplicate array 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 040a02003b DM: Complete ChampionMan::f281_renameChampion 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 2cb7938c52 DM: Fix broken champion after loading 2016-08-26 23:02:22 +02:00
Strangerke 571a6b7a07 DM: Refactoring of f292_drawChampionState, including removing its GOTOs 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 111d5ddc38 DM: Fix champion bargraphs 2016-08-26 23:02:22 +02:00
Bendegúz Nagy 700c4327d3 DM: Move DMEngine::_rnd to private, fix erroneous ranges with random number generations 2016-08-26 23:02:22 +02:00
Strangerke f0a916197a DM: Use ternary operator in f287_drawChampionBarGraphs to reduce code duplication 2016-08-26 23:02:22 +02:00
Strangerke c8ab784330 DM: Get rid of labels and GOTOs in f280_addCandidateChampionToParty 2016-08-26 23:02:22 +02:00
Strangerke 698eb12770 DM: Rename a variable in f287_drawChampionBarGraphs 2016-08-26 23:02:22 +02:00
Strangerke 4de7ff5703 DM: First pass of refactoring in f280_addCandidateChampionToParty 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 afaaa4d58e DM: Use error() in f278_resetDataToStartGame 2016-08-26 23:02:22 +02:00
Strangerke e0219fd6f7 DM: Refactor f331_applyTimeEffects 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 58d8235344 DM: Refactor f320_applyAndDrawPendingDamageAndWounds 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
Strangerke af84d233d0 DM: Refactor f322_championPoison, f284_setPartyDirection, f316_deleteScent, f317_addScentStrength, f310_getMovementTicks and f294_isAmmunitionCompatibleWithWeapon 2016-08-26 23:02:22 +02:00
Strangerke d5d41f4559 DM: Refactor f324_damageAll_getDamagedChampionCount, f286_getTargetChampionIndex, f311_getDexterity and f308_isLucky 2016-08-26 23:02:22 +02:00
Strangerke 831eca5c42 DM: Refactor f304_addSkillExperience, change _g313_gameTime to int32 2016-08-26 23:02:22 +02:00
Strangerke 710464c5d2 DM: Refactor f307_getStatisticAdjustedAttack, f305_getThrowingStaminaCost and f330_disableAction 2016-08-26 23:02:22 +02:00
Strangerke 76667176f4 DM: Refactor f313_getWoundDefense 2016-08-26 23:02:22 +02:00
Strangerke eab5879ef5 DM: Get rid of a GOTO in f321_addPendingDamageAndWounds_getDamage 2016-08-26 23:02:22 +02:00
Strangerke 9b12ddd6a9 DM: Some refactoring in f321_addPendingDamageAndWounds_getDamage 2016-08-26 23:02:22 +02:00
Strangerke 9d0541035b DM: Rename f325_decrementStamina, refactor f300_getObjectRemovedFromSlot and f325_decrementStamina
Also remove a couple of GOTOs in f321_addPendingDamageAndWounds_getDamage
2016-08-26 23:02:22 +02:00