qndel
2aa3919214
fix typos ( #2291 )
2024-01-02 21:24:34 +01:00
Anders Jenbo
0c01aa9928
[hellfire] M_TryH2HHit
2021-01-15 00:42:37 +01:00
Anders Jenbo
043d15db66
[hellfire] PackPlayer and frinds
2021-01-01 01:34:54 +01:00
Anders Jenbo
2b15f61c56
[hellfire] UnPackPlayer
2020-12-07 02:14:02 +01:00
Anders Jenbo
38dbcf7641
Format source
2020-12-02 00:52:38 +01:00
Anders Jenbo
77038ddd77
Share pDiabloKillLevel in UnPackPlayer
...
pDiabloKillLevel is handled the same so no reason for ifdefing it
2020-10-15 03:47:01 +02:00
Anders Jenbo
bd5c7233d4
Add missing bit to UnPackPlayer
...
Ther is still a small diff, but should be functinoally identical
2020-10-15 03:32:32 +02:00
Anders Jenbo
c5d02b21bd
Load hellfire spells from hero save
2020-10-14 08:57:43 +02:00
qndel
b0142637b7
Ear cleanup #2 ( #2100 )
2020-10-12 00:14:24 +02:00
Anders Jenbo
7e04c63977
Merge branch 'hellfire' of github.com:diasurgical/devilution
2020-10-11 23:53:07 +02:00
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
2020-07-06 05:43:25 +02:00
Anders Jenbo
e6e0ebe15a
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-07 03:46:20 +02:00
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
2020-04-07 03:26:38 +02:00
Anders Jenbo
cc0f92d45b
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-06 06:09:30 +02:00
Anders Jenbo
e8454376d3
Semantically get the first item instead of the array
2020-04-06 05:43:20 +02:00
Anders Jenbo
b040c04a18
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-04 07:56:06 +02:00
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)
2020-03-01 22:18:00 +01:00
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).
2020-02-14 13:12:54 +01:00
qndel
c2587d9786
use enums ( #1997 )
2020-01-28 17:33:34 +01:00
Anders Jenbo
85ab626437
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-12-15 02:22:17 +01:00
Robin Eklind
c583d82a1c
pack: use IDI_GOLD enum instead of boolean operation for is->IDidx
2019-11-13 13:55:22 -06:00
galaxyhaxz
3bd28cc0c1
Fix function order [spells+pack.cpp]
2019-11-03 14:45:32 +01:00
Anders Jenbo
babddf2921
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-10-08 00:35:03 +02:00
qndel
7129558d0b
apply enums
2019-10-05 15:24:44 +02:00
Anders Jenbo
0bdd819ca9
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-09-18 01:00:24 +02:00
qndel
c26ec70434
VerifyGoldSeeds cleanup
2019-09-12 11:39:44 +02:00
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
2019-09-04 22:20:54 +02:00
Anders Jenbo
0022702c38
Clean up CalcPlrInv calls
2019-06-09 19:42:10 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
4c497e1775
Use values from defs.h
2019-03-27 18:02:01 +01:00
Anders Jenbo
614ebe2e5c
Make pack.cpp bin exact
2019-03-27 02:30:22 +01:00
qndel
3573a086e3
UnPackPlayer bin exact ( #745 )
2019-03-27 02:00:09 +01:00
qndel
c5c3564b42
UnPackItem bin exact
2019-03-25 18:57:07 +01:00
qndel
991727882a
PackPlayer bin exact
2019-03-25 15:23:15 +01:00
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
2019-03-11 23:59:26 +01:00
Anders Jenbo
efec32bcd5
Compile files as C ( #527 )
...
* Compile files as C
* Provide fallback for qmemcpy
Enable C compilation for:
Source/gendung.cpp
Source/inv.cpp
Source/minitext.cpp
Source/pack.cpp
2018-12-30 13:16:11 +01:00
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
2018-12-29 17:54:22 +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
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
c46d92be7a
Format save game related files
2018-10-22 01:49:43 +02:00
Anders Jenbo
48a1035d4a
Remove unused varialbes
2018-10-12 11:04:23 +02:00
Anders Jenbo
83e52d47e1
Clean up MaxSpellsCheat and SetSpellLevelCheat
2018-10-11 16:05:12 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
2018-09-27 16:30:33 +02:00
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
2018-09-25 10:14:12 +10:00
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
2018-09-24 16:50:45 +02:00
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
2018-09-23 09:40:05 +02:00
Anders Jenbo
3a0e40597b
Clean up InitPlayer
2018-09-13 00:28:57 +02:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
2018-09-09 15:40:23 -05:00