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
qndel
f57af2fa7d
tMsgSaid type change
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
7 years ago
galaxyhaxz
80840b4d69
PlrHasItem: change pointer to reference
7 years ago
Anders Jenbo
d2b1f0cfc8
Apply the Cel helper functions in a few more places
7 years ago
Anders Jenbo
da78f54712
Apply plr_class
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
3668c20fe3
NewTownerAnim cleanup
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Sergey Semushin
54e66e08a0
Remove workaround goto from TalkToTowner.
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
a7788ccddf
Format bin exact code
7 years ago
Sergey Semushin
20260f11e7
Fix min diffs in init functions for towner.
7 years ago
Sergey Semushin
cb05f8f3e4
Clean up InitQstSnds.
7 years ago
galaxyhaxz
9bcf71ca38
TalkToTowner + debug
7 years ago
galaxyhaxz
bb37ed9120
SetTownerGPtrs
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Anders Jenbo
f3a140b047
Clean up TownDead
7 years ago
Anders Jenbo
3b646a6ec4
Clean up InitCows
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
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
7a084eebf8
Clean up SetTownerGPtrs
7 years ago
Anders Jenbo
20758aae83
Clean up PlrHasItem ( #573 )
7 years ago
Anders Jenbo
3d1159fa9c
Clean up ProcessTowners ( #572 )
7 years ago
Anders Jenbo
574a8b14f0
Clean up InitCows
7 years ago
Anders Jenbo
d4bc8a394c
Init towner ( #569 )
...
* Clean up InitSmith
* Clean up Init<Towner>
7 years ago
Anders Jenbo
d26d307194
Towners.cpp ( #513 )
...
* Clean up FreeTownerGFX
* Apply talk_id
7 years ago
Anders Jenbo
7924c04acb
Use TSFX_COW2
7 years ago
Anders Jenbo
13c5af29ed
clean up towners.cpp ( #496 )
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
8 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
596f244f50
Align structured data tables
8 years ago
Anders Jenbo
ec2f95bdf2
Format town files
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago