Gleb Mazovetskiy
|
95946e3a7c
|
🧹 Cleanup unused variables (#1584)
Fixes `unused-variable` and `unused-but-set-variable` compiler warnings.
|
2021-04-18 18:15:47 +02:00 |
|
Anders Jenbo
|
997c1dba55
|
🚚 Split up all.h in to proper header relations
|
2021-04-16 01:04:54 +02:00 |
|
Anders Jenbo
|
6e1a106a38
|
🚚 Move header we implement into the project
|
2021-04-16 01:04:54 +02:00 |
|
Anders Jenbo
|
f450d6a125
|
🚚 Move defines to there proper files
|
2021-04-16 01:04:54 +02:00 |
|
Juliano Leal Goncalves
|
28ad9d43c5
|
🎨 Rename 'plr_class' enum to 'HeroClass'
Members were renamed as well for readability.
|
2021-04-12 20:00:53 +02:00 |
|
Juliano Leal Goncalves
|
7d95bfed39
|
♻️ Convert 'plr_class' to a scoped enumeration
|
2021-04-12 20:00:53 +02:00 |
|
Anders Jenbo
|
6cfcc4708e
|
♻️ Simplify Diablos health adjusment.
|
2021-04-11 21:05:46 +02:00 |
|
Anders Jenbo
|
2732aea1b2
|
♻️ Use GameInfo instead of individual globals
|
2021-04-10 07:30:12 +02:00 |
|
Anders Jenbo
|
61244c4d93
|
♻️ Rearange and apply more enums
|
2021-04-10 05:24:01 +02:00 |
|
Anders Jenbo
|
4f8b5e2f5f
|
🎨 Correct style of true comparisons
|
2021-04-09 15:13:02 +02:00 |
|
Anders Jenbo
|
36ebd857ad
|
🎨 Correct style of false comparisons
|
2021-04-09 15:13:02 +02:00 |
|
Anders Jenbo
|
20186e0370
|
🎨 Replace TRUE/FALSE with true/false
fix
Fix
fix
|
2021-04-09 15:13:02 +02:00 |
|
Anders Jenbo
|
93d42b62b8
|
♻️ Change BOOL to bool
|
2021-04-09 15:13:02 +02:00 |
|
Anders Jenbo
|
4ee84aea1a
|
♻️ Change BOOLEAN to bool
fixup BOOLEAN
|
2021-04-09 15:13:02 +02:00 |
|
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 |
|