Anders Jenbo
48dbb47d70
🌐 Apply static translations
2021-04-29 01:21:28 +02:00
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
2021-04-28 12:56:00 +02:00
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
2021-04-25 18:14:58 +02:00
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
2021-04-25 13:32:33 +02:00
Anders Jenbo
f77c52941a
♻️ Make GetDirection take Points instead of ints
2021-04-25 02:25:52 +02:00
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
2021-04-25 01:25:48 +02:00
Anders Jenbo
98cd435fba
♻️ Apply point types to missiles
2021-04-24 21:41:04 +02:00
Anders Jenbo
efbe8a8338
♻️ add possition points to monsters
2021-04-24 20:29:52 +02:00
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
2021-04-24 17:07:07 +02:00
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
2021-04-24 04:46:08 +02:00
Anders Jenbo
e2aa3d1c57
♻️ Deduplicate LineClear
2021-04-23 04:53:46 +02:00
Anders Jenbo
1e3ed903be
🎨 strip redundant else
2021-04-22 00:39:48 +02:00
Anders Jenbo
aa290b6f63
🎨 Add missing braces
2021-04-22 00:31:39 +02:00
Anders Jenbo
d392f70509
🎨 Do not pass item lists by value
2021-04-22 00:21:05 +02:00
Anders Jenbo
593c6a6f17
🎨 Drop unused param and rename random_ to GenerateRnd
2021-04-22 00:08:19 +02:00
Jmgr
1d84156509
Simplify bitshift divisions/multiplications
2021-04-21 05:31:17 +02:00
Anders Jenbo
a9874d65c1
♻️ Remove SDL types from player header
2021-04-20 19:39:38 +02:00
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
2021-04-19 22:42:19 +02:00
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
2021-04-19 16:02:05 +02:00
qndel
202ac36a52
golems, dont fight each other
2021-04-19 03:13:48 +02:00
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
2021-04-19 02:44:39 +02:00
Anders Jenbo
5fdb9ce459
🎨 Format code
2021-04-19 00:37:33 +02:00
Anders Jenbo
946ff5b0fa
♻️ Performe static casts when load save game data
2021-04-18 23:27:21 +02:00
Anders Jenbo
61d15e23db
🎨 Apply direction enum to monsters and relations
...
Missiles _mimfnum is being used for a lot more then just directions and
can also be a 16 degree direction so can't apply enum verbs and
restricitons to it in most cases. This in turns also affects SetMissDir
and some other functions that have to stay int.
2021-04-18 23:13:03 +02:00
staphen
4faf09c2df
Consolidate logic for Mana Shield and player damage.
2021-04-18 21:12:16 +02:00
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