Anders Jenbo
893efd51ea
Merge branch 'master' of github.com:diasurgical/devilution
2020-09-27 03:34:42 +02:00
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
2020-07-06 05:43:25 +02:00
Joel Falcou
c4223d4c29
Per file basis use of extern C
2020-04-22 13:15:29 +02:00
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
2020-04-22 13:15:29 +02:00
Anders Jenbo
3c5982083f
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-06 12:05:13 +02:00
Anders Jenbo
53ccf38a8c
Bool types
2020-04-06 05:43:20 +02:00
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 .
2020-02-14 22:41:13 +01:00
galaxyhaxz
9c98c1e43d
Fix all "pass by ref" functions
2019-12-02 09:16:01 +01:00
Anders Jenbo
5ab9f4609a
Clean up signedness
2019-07-21 00:57:53 +02:00
Anders Jenbo
aa50489569
Clean up generated comments
2019-07-21 00:57:53 +02:00
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
2019-07-08 04:12:12 +02:00
Sergey Semushin
33e9005239
Make OperateL{1-3}Door bin exact.
2019-05-05 23:33:28 +01:00
Anders Jenbo
46d96eacad
Clean up objects.cpp
2019-05-02 00:16:46 +01:00
galaxyhaxz
610580625e
Split data from files
2019-04-29 01:40:44 +02:00
Sergey Semushin
bef1e7d616
Clean up AddObject.
...
Also adds unused arguments to AddBarrel and AddTrap.
2019-04-25 13:53:45 +02:00
Sergey Semushin
0c71dd35fc
Add 6 functions duplicating some existing ones.
...
Necessary to get AddObject bin exact.
Order and names provided by @galaxyhaxz.
2019-04-25 13:53:45 +02:00
Sergey Semushin
b099d74e06
Clean up OperateL3LDoor.
2019-04-25 04:16:55 +02:00
Sergey Semushin
48787364c5
Clean up OperateL3RDoor.
2019-04-25 04:16:55 +02:00
Sergey Semushin
d60740e5d9
Clean up OperateL2LDoor.
2019-04-25 04:16:55 +02:00
Sergey Semushin
4e137f975e
Clean up OperateL2RDoor.
2019-04-25 04:16:55 +02:00
Sergey Semushin
fe4f391673
Clean up OperateL1LDoor.
2019-04-25 04:16:55 +02:00
Sergey Semushin
ed3f57bb03
Clean up OperateL1RDoor.
2019-04-24 00:34:01 +03:00
Sergey Semushin
090e3d36fd
Clean up BreakBarrel.
2019-04-22 22:46:52 +03:00
Sergey Semushin
d6c8e6e44c
Clean up OperateObject. ( #1003 )
...
Also correct argument type for some functions it calls. They did not lost
their binary exactness.
2019-04-22 13:30:40 +02:00
Sergey Semushin
9dd6b7f504
Clean up OperateFountains.
2019-04-21 20:12:14 +02:00
qndel
60b3e03d15
OperateArmorStand bin exact
2019-04-18 21:24:27 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Robin Eklind
47ebd2a8d0
Merge pull request #806 from qndel/OperateWeaponRack
...
OperateWeaponRack almost bin exact?
2019-04-02 20:27:43 +09:00
qndel
aa8e183f37
OperateBookCase bin exact ( #808 )
2019-03-30 20:59:40 +01:00
qndel
7908860d3b
OperateSkelBook bin exact ( #809 )
2019-03-30 20:40:42 +01:00
qndel
dbbd6f2700
OperateWeaponRack almost bin exact?
2019-03-30 19:39:48 +01:00
qndel
841f531f0f
FindValidShrine bin exact ( #769 )
2019-03-28 12:32:07 +01:00
qndel
46eb4a63fe
RndLocOk bin exact
2019-03-27 19:37:19 +01:00
qndel
79a6678570
WallTrapLocOk bin exact ( #755 )
2019-03-27 19:35:21 +01:00
Robin Eklind
a94ac659a7
rename DeleteObject to DeleteObject_ to avoid collision with windows.h
2018-12-30 03:19:10 +01:00
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
2018-11-04 22:27:26 +01:00
Robin Eklind
dff0dc4226
CreateThemeRooms bin exact
2018-10-31 17:04:19 +01:00
Anders Jenbo
43a5b74c69
Format objects.cpp
2018-10-22 04:00:24 +02:00
Anders Jenbo
9bd3b4189e
Clean up CheckNewPath ( #332 )
2018-09-25 20:46:09 +02:00
Andrew Dunstan
50d3db3ec2
add an enum for types of shrines
2018-09-14 22:08:37 +02:00
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
2018-08-22 23:15:16 -05:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
2018-08-15 22:13:15 -05:00
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
dde68ff89e
Add files via upload
2018-06-06 21:25:54 -05:00