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
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Anders Jenbo
528f8873cf
Clean up CheckUnique
7 years ago
Anders Jenbo
1893fc9e1c
Clean up GetStaffSpell
7 years ago
Anders Jenbo
045667a8a2
Clean up RndTypeItems
7 years ago
Anders Jenbo
d7593fd125
Clean up CreateRndItem
7 years ago
qndel
f4becf4521
GetStaffPower bin exact ( #1080 )
7 years ago
Anders Jenbo
16db544c46
Clean up GetItemPower ( #1075 )
7 years ago
Anders Jenbo
f220ec8172
Clean up CreateTypeItem
7 years ago
galaxyhaxz
610580625e
Split data from files
7 years ago
Anders Jenbo
104ddff16b
Clean up PrintUString
7 years ago
Anders Jenbo
85bc3c6d36
Clean up CreateSpellBook
7 years ago
Daniel Liden
387b5e572f
bin perfect CreateRndUseful ( #1072 )
7 years ago
galaxyhaxz
fe55ca18cc
Item Records & DrawDiabloMsg ( #971 )
7 years ago