Robin Eklind
2901b22fd3
msg: add BUGFIX for DeltaLoadLevel
...
The incorrect monster array index is used.
The active monster index should be used, which
may fall outside of range [0, nummonsters).
2023-02-11 18:12:02 +01:00
Robin
b86b8fd7c4
msg: add BUGFIX for delta_kill_monster ( #2261 )
...
The monster direction is synced even if the receiving player is not
on the same dungeon level as the player killing the monster.
Note, this happens, even if one player is in town, and the other
kills a monster at e.g. dlvl=1. Then the code will check the
monster at index mi even for the player in town, so it will just
read garbage data from memory.
2022-05-14 02:40:18 +02:00
qndel
7bcea607bc
golem bugfix
2021-08-19 01:34:33 +02:00
qndel
a178483382
codefix
2021-04-19 11:56:55 +02:00
Anders Jenbo
adf5f8f504
Clean up hellfire related code
2021-01-31 13:37:42 +01:00
Anders Jenbo
869c490715
[hellfire] NetSendCmdGItem
2021-01-11 11:09:24 +01:00
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
2020-12-04 19:16:58 +01:00
Anders Jenbo
38dbcf7641
Format source
2020-12-02 00:52:38 +01:00
qndel
0947ede2fe
Cleanup11 ( #2156 )
2020-11-12 15:11:07 +01:00
qndel
6ade48e855
msg.cpp cleanup
2020-11-10 23:48:09 +01:00
qndel
0bd8b2b664
2 functions
2020-11-08 00:26:18 +01:00
qndel
6e2873c3fb
msg.cpp functions bin exact
2020-11-07 23:41:28 +01:00
SourceCodeDeleted
e5c2744b83
[hellfire] NetSendCmdGItem2 binexact ( #2148 )
...
* [hellfire] NetSendCmdGItem2 binexact
2020-11-07 21:36:37 +01:00
Anders Jenbo
75a14114bb
Reorder msg.cpp
2020-11-04 05:17:31 +01:00
qndel
1b18927bf2
fix multi quest bug
2020-10-22 19:42:09 +02:00
qndel
e31a7bc22e
enums and cleanups
2020-10-22 18:55:26 +02:00
qndel
fb81425ac6
some magic numbers cleanup
2020-10-22 18:54:22 +02:00
qndel
aa9a938665
DeltaAddItem
2020-10-22 18:53:44 +02:00
qndel
51ca45e0d6
On_SPELLXYD cleanup ( #2130 )
2020-10-22 17:24:40 +02:00
qndel
4fa00f9079
DeltaImportData bin exact and cleanup
2020-10-22 17:22:18 +02:00
qndel
2d6f5d09b8
delta_get_item cleanup
2020-10-22 17:19:11 +02:00
qndel
7dde42c89e
On_SBSPELL cleanup
2020-10-22 15:25:00 +02:00
qndel
b81d2eb831
some cleanups ( #2099 )
2020-10-12 00:42:02 +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
8272a37aea
Add connection state and player state enums
2020-09-25 06:47:11 +02:00
qndel
166029c95b
apply enums
2020-09-01 07:00:49 +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
a291939a7d
Value types
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
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
2020-03-12 04:32:53 +01:00
Anders Jenbo
8491a67135
[hellfire] NetSendCmdMonDmg
2020-03-12 04:27:37 +01:00
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 >
2020-03-11 21:27:40 -05:00
Anders Jenbo
0383f9abcd
Add documentation to more files
2020-03-02 02:29:28 +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
galaxyhaxz
38c748b6fd
Add network commands and cursors ( #1967 )
2020-01-17 13:37:22 -06:00
Anders Jenbo
7369deba1b
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-12-25 20:25:56 +01:00
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
2019-12-22 23:57:10 +01:00
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
2019-12-15 06:14:57 +01:00
Anders Jenbo
85ab626437
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-12-15 02:22:17 +01:00
Anders Jenbo
3e7d352fde
Format files
2019-10-21 20:04:14 +02:00
Anders Jenbo
babddf2921
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-10-08 00:35:03 +02:00
Anders Jenbo
683a50527d
Correct missmatched bool types
2019-10-04 09:26:26 +02:00
galaxyhaxz
e49036a801
Fix net commands in hellfire
2019-09-20 07:10:55 +02:00
Anders Jenbo
0bdd819ca9
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-09-18 01:00:24 +02:00
Sergey Semushin
e133d23946
hellfire: InvPutItem and it callers bin exact.
...
Callers:
On_GETITEM
On_AGETITEM
On_PUTITEM
On_SYNCPUTITEM
On_RESPAWNITEM
2019-09-16 12:52:15 +02:00
Anders Jenbo
b7a4d32e91
Use sizeof(TMegaPkt)
2019-09-14 22:55:40 +02:00
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
2019-09-04 22:20:54 +02:00