Commit Graph
440 Commits
Author SHA1 Message Date
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 2021-04-06 15:21:25 +02:00
Anders Jenbo 630e507f63 🚚 Apply namespace 2021-04-06 15:21:25 +02:00
Anders Jenbo 6f1498d315 🚚 Move structures to there respective headers 2021-04-06 12:41:00 +02:00
Anders Jenbo 0953b3524e 🚨 Resolve monster.cpp clang warnings 2021-04-06 11:47:03 +02:00
Juliano Leal Goncalves 800dbce066 ♻️ Move options-related structs to new 'options.h' file 2021-03-27 03:26:44 +01:00
Anders Jenbo fbd86cd3c5 🎨 Mark noreturn functions as such 2021-03-26 02:24:32 +01:00
Anders Jenbo 3936f2f088 ♻️ Initialize type with nullptr 2021-03-22 20:49:48 +01:00
Anders Jenbo b68ad9394b 🚨 Fix warning about reaches end of non-void
Techinically this coudn't happen, unless someone added another monster
type
2021-03-22 19:50:44 +01:00
Juliano Leal Goncalves 1bf3fd6f35 🚩 Add ini toggle for displaying monster type. Disabled by default. 2021-03-21 21:39:49 +01:00
Juliano Leal Goncalves 1a8e09a7f5 ✨ Expose monster types on monster info 2021-03-21 21:39:49 +01:00
Anders Jenbo 38fdf34c14 💄 Apply code style 2021-03-20 20:39:28 +01:00
Anders Jenbo 17803d5923 ♻️ Apply proper types to PlayerStruct 2021-03-14 15:38:23 +01:00
Anders Jenbo 8b8caf5a7e 🐛 Fix quests not activating on Windows
Compare _uniqtype instead mName
Fixes #1152
2021-03-13 09:09:47 +01:00
Anders Jenbo ad867a2f2b 💚 Fix 3DS build 2021-03-11 06:25:00 +01:00
Anders Jenbo def2253386 ♻️ Move monster.h related structs and enums and apply propper types 2021-03-11 03:36:32 +01:00
Anders Jenbo d6ec6395e0 ♻️ change QuestTalkData in to an array of _speech_id
This gets rid of casting QuestTalkData to DWORD/int in various parts of
the code.
2021-03-11 01:40:13 +01:00
Anders Jenbo 1284333765 ♻️ Use explicit types and remove globals from save file logic 2021-03-09 22:27:11 +01:00
Anders Jenbo 39999791b3 Revamp ini options and sync in multiplayer
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!

[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0

[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1

[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1

[Diablo]
Intro=0

[Hellfire]
Intro=0
SItem=

[Phone Book]
Entry1=127.0.0.1

[Network]
Bind Address=0.0.0.0
2021-03-01 11:52:26 +01:00
Anders Jenbo 70ca20b59f Clean up Hellfire special cases 2021-02-25 05:50:24 +01:00
Anders Jenbo 36a196389b Fix remaning basic compiler errors and warnings 2021-02-22 13:51:42 +01:00
pionere 5e84fd715b proper mWhoHit flag settings
implementation of MonstStartKill and M2MStartKill are synced a bit
2021-02-20 01:25:31 +01:00
pionere 486be4efeb use defs instead of constants 2021-02-20 00:39:31 +01:00
pionere ab7bc5e3d7 correct fallenfear direction 2021-02-20 00:22:10 +01:00
pionere e240dcd606 code cleanup using std::max 2021-02-20 00:13:36 +01:00
Anders Jenbo 327042c2e5 Strip out debug features from the release builds
leveldebug and lightmax still remains
2021-02-19 22:04:11 +01:00
pionere f5c1079d6f eliminate unused code 2021-02-19 22:04:11 +01:00
Anders Jenbo 60d3e9ceb1 Clean up rendering 2021-02-19 03:05:12 +01:00
qndel ab9911064f unify checks for single and multiplayer 2021-02-18 22:32:01 +01:00
FluffyQuack 44d8b9fb3a Refactored the monster functions DoWalk(), DoWalk2(), and DoWalk3() into one function. 2021-02-03 19:01:00 +01:00
Anders Jenbo 298092b81d [hellfire] Make monster lights follow monsters when hidden 2021-02-01 06:46:17 +01:00
qndel c0f5749728 Fix RNG diverging during level generation depending on the code path
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
2021-02-01 06:44:16 +01:00
Anders Jenbo 9c0bc202c8 Fix additional wrong checks for monsters lights 2021-01-31 08:36:06 +01:00
Anders Jenbo 8527d1e44a Fix wrong _qlog state for Gharbad quest 2021-01-31 07:39:23 +01:00
Anders Jenbo 7313b10cfa Fix Archbishop Lazarus entering a broken state when taking the teleport again
Fixes #889
2021-01-31 07:38:43 +01:00
qndel 6e096143f0 Add no-light define and fix usage 2021-01-31 04:13:44 +01:00
Anders Jenbo 61adc7b987 [hellfire] Fix Scavenger/Gravedigger AI
When done eating monsters where supose to return to normal behavior
instead they would just idle untill next turn.
2021-01-26 03:12:58 +01:00
Anders Jenbo 38224b4d98 Unify last of monster hellfire code 2021-01-26 03:12:58 +01:00
Anders Jenbo 3d2707b40e Fix Golem check (again) 2021-01-26 01:45:59 +01:00
Anders Jenbo 973d95b9d4 Unify code, and fix bugs related to golems
- OOBs
- Not getting XP from monsters hit by golems
- Sneaks fleeing in the wrong direction of golem
- Monsters going in active when fighting golems offscreen
2021-01-24 03:49:49 +01:00
Anders Jenbo f6a4eaf0bc Apply 1.09 fixes to Hellfire monsters 2021-01-21 05:20:00 +01:00
Anders Jenbo f05ae4c19a Unify monster data 2021-01-21 04:26:03 +01:00
Anders Jenbo f6b3e0156c [diablo] Fix monsters seeing all missiles as firewalls
If any firewall was present monsters would treat all missiles as
firewalls
2021-01-17 19:56:31 +01:00
Anders Jenbo 9cd6bd96a9 [hellfire] Fix monster eating logic
- Nolonger drop health when not on normal difficulty
- Uniques will nolonger drop health
- All monsters heal at the same rate
2021-01-17 19:52:31 +01:00
Anders Jenbo de72719826 [diablo] Fix wrong monster death sound
When a monster is killed by another monster both woul play there death
sound
2021-01-17 18:09:28 +01:00
Anders Jenbo 2eaf750240 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-17 18:03:46 +01:00
Anders Jenbo 2b6286dd7f Clean ups and BUGFIX notes 2021-01-17 14:29:33 +01:00
Anders Jenbo 00e3ff08ae Unify majorty of monster.cpp 2021-01-17 03:55:23 +01:00
Anders Jenbo 9c786b3d42 Fix build 2021-01-16 02:54:05 +01:00
Anders Jenbo c8a4cc1d1e Unify trivial monster code 2021-01-16 02:33:10 +01:00
Anders Jenbo ccd0e7fd23 Merge branch 'master' of github.com:diasurgical/devilution 2021-01-16 02:10:25 +01:00