qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
Anders Jenbo
2ec7c78eae
Format source
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
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
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
cbacbe88dd
Fix 1.09 diff
6 years ago
Anders Jenbo
bf89572183
[hellfire] Fix 1.09 build
6 years ago
Anders Jenbo
8baf860e95
[hellfire] TalkToTowner
6 years ago
Anders Jenbo
e3e7451a84
[hellfire] SpawnLoot
6 years ago
Anders Jenbo
dad6d418e3
[hellfire] Rename item spawn functions
6 years ago
Anders Jenbo
edb6badd43
Fix spawn
6 years ago
Anders Jenbo
14aab09dee
[hellfire] TalkToTowner and CreateAmulet ( #1966 )
...
* [hellfire] CreateAmulet
* [hellfire] TalkToTowner
6 years ago
qndel
f57af2fa7d
tMsgSaid type change
6 years ago
Anders Jenbo
b8971057a2
[hellfire] TownDead
...
Also add a missing bit from TalkToTowner
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
a7c8750e92
[hellfire] Add QuestTalkData data
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 .
6 years ago
galaxyhaxz
80840b4d69
PlrHasItem: change pointer to reference
6 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
galaxyhaxz
282e42b46b
Town/misc fixes
7 years ago
qndel
e84ff301a9
[hellfire] CowSFX bin exact
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
a99e2877f0
[hellfire] 6 towners.cpp functions bin exact
7 years ago
qndel
3668c20fe3
NewTownerAnim cleanup
7 years ago
qndel
2147b71b25
[hellfire] InitFarmer bin exact ( #1625 )
7 years ago
qndel
8cbf999d53
[hellfire] TownCtrlMsg bin exact
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