KPhoenix
8db521727d
`enum missile_id` -> `enum class MissileID`
...
Changes `enum missile_id` to `enum class MissileID`
3 years ago
KPhoenix
3eed9228ab
Fix alignment
3 years ago
KPhoenix
f52b2cb71f
Enum Class: MagicType
...
Changes enum magic_type to enum class MagicType
3 years ago
Gleb Mazovetskiy
b281f0afac
Run tools/cpp_format_struct_table.py
3 years ago
KPhoenix
a1822bca8e
Remove sSkillText from spelldat.cpp
4 years ago
Anders Jenbo
671fdbd125
Implement contextural translation (pgettext)
...
Fixes #2369
Fixes #2790
5 years ago
Anders Jenbo
2d259cc9e9
Make spelldata const
5 years ago
Anders Jenbo
d835d0d783
Correct hellfire/spawn Elemental spell levels
5 years ago
obligaron
a3229741d1
🖌️ Refurbish tables in source code (clang-format off)
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
6f1498d315
🚚 Move structures to there respective headers
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
bb9315db92
Correct shareware data
...
This fixes the intro music being played to frequently in the menu, and
makes sure that some spells are not avalible.
6 years ago
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
6 years ago
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)
6 years ago
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).
6 years ago
Anders Jenbo
c62a9086b7
[hellfire] Fix broken data
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
ad74e68ade
[hellfire] missile data
7 years ago
Anders Jenbo
c1f9e8293e
Correct new line encoding
...
_asm.cpp and _render.cpp is still incorrectly encoded
7 years ago
galaxyhaxz
610580625e
Split data from files
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
429ececce0
Fix debug build as C ( #566 )
...
* Clean up todo
* Fix debug build
7 years ago
Anders Jenbo
024d99fc9e
C compatability from s ( #521 )
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
f1d4e707f7
Auto format
8 years ago
Anders Jenbo
4708345d31
Align spelldata data table
8 years ago
Robin Eklind
7515655efb
Run format.sh
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
Andrew Dunstan
344d259066
make DoHealOther bin exact
8 years ago
squidcc
4ed6d83265
fix regression in DrawSpellList() that caused only the first 1/4 spells to be drawn ( #355 )
...
fix places where sTownSpell was still being cast to DWORD
change SpellData::sTargeted to BOOL, fix spelldata[] definition to use TRUE/FALSE
8 years ago
Anders Jenbo
b7dfcf5ed5
Clean up CheckPlrSpell ( #339 )
8 years ago
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago
Anders Jenbo
e05679b1c9
Clean up ProcessPlayers ( #319 )
...
* Clean up ProcessPlayers
* Change drawhpflag and drawmanaflag to BOOL
8 years ago
Dennis Duda
b23f92805c
DoHealOther is now almost binary exact, except for the flipped usage of `esi` and `edi`.
8 years ago
Dennis Duda
855bb4a42a
PlacePlayer is now binary exact
8 years ago