Anders Jenbo
783e4a70b1
♻️ Strongly type items structures
5 years ago
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
5 years ago
Juliano Leal Goncalves
2c14908cf4
🚚 Move 'ItemStruct' to 'items.h'
5 years ago
Gleb Mazovetskiy
d55a1c8a7d
Pass CelOutputBuffer to game text printing ( #1095 )
...
* Pass CelOutputBuffer to game text printing
* DrawHalfTransparentRectTo: minor cleanup
5 years ago
Anders Jenbo
d46daa5a00
♻️ Remove unused return value from SpawnUnique
...
Introduced erroneously in f87bc0ca8b
5 years ago
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
5 years ago
Anders Jenbo
5035ac8062
Strip Hellfire items in Diablo sessions
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
c08a10e44b
Unify calculation of gold icon
5 years ago
Anders Jenbo
adf5f8f504
Clean up hellfire related code
5 years ago
Anders Jenbo
06b7c78406
Notes of untimly header cleanups
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
21d18d5c31
[hellfire] SpawnOnePremium
5 years ago
Anders Jenbo
f884d8b06a
Fix more compiler warnings
5 years ago
Anders Jenbo
9ffcab40e3
Fix LLVM builds
5 years ago
Anders Jenbo
9f9a7920d4
Reorder items.cpp
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
pionere
f0a51ccf65
use defs instead of literals
6 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Anders Jenbo
c27a0a8c35
Fix bad merge
6 years ago
Anders Jenbo
30f4f1d71b
Add struct for CornerStone
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
qndel
92c4824820
[hellfire] CalcPlrItemVals
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Robin Eklind
27b40436a9
Use pointers instead of references for Devilution exported API
...
With this change, all exported declarations of Devilution are now
compatible with the C-ABI; that is, all declarations of Source/*.h.
This makes it possible to link against DevilutionX from mods written in
other languages than C++, for instance Rust, Go or Python.
Updates #612 .
6 years ago
Anders Jenbo
dad6d418e3
[hellfire] Rename item spawn functions
6 years ago
galaxyhaxz
2c60ceb92a
Fix items and cutscenes
6 years ago
Anders Jenbo
14aab09dee
[hellfire] TalkToTowner and CreateAmulet ( #1966 )
...
* [hellfire] CreateAmulet
* [hellfire] TalkToTowner
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Anders Jenbo
5d57c3cb9c
[hellfire] SetupTownStores and SmithBuyPItem ( #1950 )
6 years ago
Anders Jenbo
865575bb99
[hellfire] TryIconCurs && DoOil ( #1941 )
6 years ago
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
6 years ago
qndel
7956bf81da
[hellfire] gamemenu_save_game / gamemenu_load_game bin exact ( #1772 )
7 years ago
qndel
ffbcccbab6
[hellfire] items.cpp_2 ( #1774 )
...
* [hellfire] items.cpp_2
* formatting
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
qndel
d375bb2852
[hellfire] InitItems / items_42390F bin exact ( #1787 )
7 years ago
qndel
14f74deb95
[hellfire] items.cpp
7 years ago
qndel
3d3ac25831
[hellfire] items.cpp - 5 functions bin exact ( #1651 )
...
* [hellfire] items.cpp - 5 functions bin exact
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
* Update Source/items.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
7 years ago
qndel
ce7040cad1
[hellfire] items.cpp - 4 functions bin exact
7 years ago
galaxyhaxz
3a37b4fc0b
Add music code+quest ( #1575 )
7 years ago
Sergey Semushin
78ba2838e9
hellfire: make GetItemAttrs, GetOilType bin exact. ( #1558 )
7 years ago
Sergey Semushin
c067846937
hellfire: Make DropHalfPlayersGold bin exact.
7 years ago
galaxyhaxz
4658959f44
DRLG_L5 cleanups (Crypt support) ( #1491 )
7 years ago
Anders Jenbo
b24d36b153
[Hellfire] items_get_currlevel
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Robin Eklind
2669223cc1
items: rename ItemDropStrs to ItemDropNames
...
The rationate for preferring Name over Str is that Str
suggest a string for printing and Name a file name,
also based on the following associated PSX debug info:
char *FileName;
unsigned char mAnimName;
ItemDropNames correspond to the base file name (e.g. foo) of
diabdat.mpq/items/foo.cel
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago