galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
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
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
08aa6a860a
Move generic helpers out of miniwin
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Marco
df2e6b2bb9
affix_item_type enum
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Marco
4626450e11
some more item based enum consts
6 years ago
Anders Jenbo
34238dc30a
UITYPE_INVALID
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Gleb Mazovetskiy
6bb3c14073
Fix OOB in ItemSpaceOk ( #484 )
6 years ago
Anders Jenbo
284b96cb45
Add bugfix note to ItemSpaceOk
6 years ago
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
8976e4fd39
Check if panels conver the screen before affecting the viewport
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
Anders Jenbo
dc157d82b2
Align unique item info box
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
Anders Jenbo
da679a66a6
Convert inc file to a function
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
40cb1c01f0
Calcualte SStringY instead of using a prebaked table
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
qndel
7129558d0b
apply enums
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
qndel
6b286941f3
enums
7 years ago
qndel
23386285a9
GetStaffPower cleanup
7 years ago
qndel
8741ddc6c2
SetupItem cleanup
7 years ago
qndel
afa1306e91
GetUniqueItem cleanup
7 years ago
qndel
2f6a428f4b
ProcessItems cleanup
7 years ago
qndel
a47a797468
RecreateEar cleanup
7 years ago
qndel
33b3711662
SortSmith cleanup
7 years ago
qndel
b47af60b6f
SortHealer cleanup
7 years ago
qndel
a5de88ab39
SortWitch cleanup
7 years ago
qndel
a05071551a
CalcPlrItemMin cleanup
7 years ago
qndel
d9fdfdaeec
RecreateHealerItem cleanup
7 years ago
qndel
9f3bb09635
RecreateSmithItem cleanup
7 years ago
qndel
607051c0b6
ItemNoFlippy cleanup
7 years ago
qndel
d4ae8e5606
Clean up CreatePlrItems
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
galaxyhaxz
8a22ab6f24
Fixes to item.cpp
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
galaxyhaxz
a3ce219891
Fix bug in InitItems
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
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Martin Hauke
6fc09ea8a6
Fix some typos
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago