Commit graph

48 commits

Author SHA1 Message Date
Anders Jenbo
e11b86b6f1 Clang-tidy: llvm-namespace-comment 2021-06-27 01:44:20 +02:00
Anders Jenbo
de4ced7e4f Clang-tidy: readability-qualified-auto 2021-06-27 00:56:08 +02:00
obligaron
b5ad92eb2c Convert _mAnimData to CelSprite 2021-06-18 21:47:19 +02:00
obligaron
ceda0b46ce Introduce InitDeadAnimationFromMonster 2021-06-18 21:47:19 +02:00
Juliano Leal Goncalves
b3ec79af4f
Leverage 'Point' in Lighting and Player functions (#2048) 2021-05-24 17:28:52 +02:00
Juliano Leal Goncalves
d55cd99dd5 🚚 Rename 'direction' enum to 'Direction' 2021-05-24 04:46:08 +02:00
Gleb Mazovetskiy
28182ca5e3 🧹 Fix a couple more compilation warnings 2021-05-01 23:55:45 +02:00
Vladimir Olteanu
4d5b9ac023 Coding style changes for dead.h, dead.cpp 2021-04-28 12:56:00 +02:00
Vladimir Olteanu
2a3cf98850 Slight cleanup of dead{.h,.cpp} 2021-04-28 12:56:00 +02:00
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles (#1680) 2021-04-25 13:32:33 +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
Anders Jenbo
b238d320c2 🎨 Clean up dead.cpp 2021-04-18 21:21:51 +02:00
Anders Jenbo
01afe7c997 🎨 clang-tidy iterators 2021-04-18 21:21:51 +02:00
Anders Jenbo
d9c2108513 🎨 clang-tidy type definition 2021-04-18 21:21:51 +02:00
Anders Jenbo
997c1dba55 🚚 Split up all.h in to proper header relations 2021-04-16 01:04:54 +02:00
Anders Jenbo
61244c4d93 ♻️ Rearange and apply more enums 2021-04-10 05:24:01 +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
pionere
f5c1079d6f eliminate unused code 2021-02-19 22:04:11 +01:00
Anders Jenbo
3c5982083f Merge branch 'master' of github.com:diasurgical/devilution 2020-04-06 12:05:13 +02:00
Anders Jenbo
f217b14e3e Order variables logically 2020-04-06 05:43:20 +02:00
Anders Jenbo
8f635b779c Correct style of checks 2020-04-06 05:43:20 +02:00
Anders Jenbo
c39f668deb Enable some asserts that are helpful for testing 2020-04-06 05:43:20 +02:00
Anders Jenbo
776ab10476 Merge branch 'master' of github.com:diasurgical/devilution 2020-03-29 23:40:05 +02:00
Anders Jenbo
3c276a3cd3 Add documentation
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
2020-03-01 22:18:00 +01:00
Anders Jenbo
25993b4043 Merge branch 'master' of github.com:diasurgical/devilution 2020-02-14 23:03:31 +01:00
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h (#2005)
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.

Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
2020-02-14 13:12:54 +01:00
Xadhoom
6856fb74e2 Merge upstream beanch 'devilution/master' 2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8 Merge branch 'TownDead' 2019-04-24 14:08:25 +02:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Xadhoom
5283a9ffd1 Put everything into namespace dvl 2019-03-11 20:10:23 +00:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo
f33898648e Correct MonsterData width property 2018-12-07 23:54:39 +01:00
galaxyhaxz
fd5d8298c9 Cleanup dead.cpp 2018-11-06 04:36:42 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
87ef2f91e7 Format mostly cleaned files 2018-10-22 01:56:10 +02:00
Anders Jenbo
2db187faf5 Correct AnimStruct names (#417)
Fixes #384
2018-10-14 20:57:19 +02:00
Anders Jenbo
c878a630f5 Monster.cpp (#402)
* Clean up DeleteMonster

* AddMonster

* Clean up NewMonsterAnim

* Clean up M_Ranged, M_Talker and M_GetDir

* Clean up M_StartDelay

* Clean up M_StartSpStand

* Clean M_StartSpStand

* Add enum to monster Anim
2018-10-11 08:34:09 +02:00
squidcc
e8e725c35a clean dead.cpp (#369) 2018-10-06 14:48:43 +02:00
galaxyhaxz
2a377ea876
Fix some struct names and lighting (#190) 2018-09-04 12:31:58 -05:00
galaxyhaxz
5ed2336e90
Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
a371a5af71
Fixed stone curse and blood burst 2018-06-10 20:03:15 -05:00
galaxyhaxz
c5b1141430
Update dead.cpp 2018-06-10 18:08:01 -05:00
galaxyhaxz
dde68ff89e
Add files via upload 2018-06-06 21:25:54 -05:00