Anders Jenbo
9a56a19c2b
Clean up DeltaExportData
7 years ago
Anders Jenbo
ec60523956
Clean up msg_wait_resync
7 years ago
Anders Jenbo
de1fb3c002
Clean up ParseCmd
7 years ago
Anders Jenbo
bd310ff8d5
Delta data ( #504 )
...
* Clean up DeltaImport*
* Clean up DeltaExportData related functions
7 years ago
Anders Jenbo
69d68254d5
Clean up msg.cpp ( #502 )
...
* Clean up msg_wait_for_turns
* Clean up msg_get_next_packet
* Clean up msg_pre_packet
* Clean up DeltaSaveLevel
* Simple clean ups for msg.cpp
* Clean up NetSendCmdQuest
* Clean up NetSendCmdGItem
* Clean up NetSendCmdGItem2
* Clean up NetSendCmdPItem
* Clean up NetSendCmdChItem
* Clean up NetSendCmdDItem
* Clean up multi_send_packet
* Clean up msg_errorf
* Clean up i_own_level
* Clean up msg_free_packets
7 years ago
Anders Jenbo
dbd69332fa
msg.cpp use sizeof() instead of hardcoded sizes
7 years ago
Anders Jenbo
2a33606bbb
Clean up msg.cpp
...
msg_send_drop_pkt
msg_send_packet
delta_kill_monster
delta_monster_hp
delta_sync_monster
delta_sync_golem
delta_leave_sync
delta_portal_inited
delta_quest_inited
delta_open_portal
Fix On_* bin exact
7 years ago
Anders Jenbo
4aac75e836
Change msg attributes to signed where relevant
...
The variables are either being compared to -1, transfered between values
that are signed or closely related to such. Having them as unsigned has
the potential to break the game, having them signed shoudn't have any
negative effects.
7 years ago
Anders Jenbo
9edeecb3bb
Consisten use of structs
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
9123d92ab6
M teleport ( #470 )
...
* Correct NetSendCmdGolem()-cl type.
* Correct gbActivePlayers type
* Clean up M_Teleport
* Clean up PutMissile
7 years ago
galaxyhaxz
bace152240
Fix tail functions ( #463 )
7 years ago
galaxyhaxz
83e817a9bb
Fix CreateMagicItem and cheat cmd ( #460 )
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
8276252e6e
Foarmat multiplayer related files
8 years ago
Anders Jenbo
9b590ea36a
Zero check for currlevel
8 years ago
Andrew Dunstan
47244b9f3c
clean all On_* functions
8 years ago
Andrew Dunstan
c2fbc0e661
player_mask -> pmask
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
Andrew Dunstan
c2d49ff75f
add missing va_end "calls"
8 years ago
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
411fa9f24a
Add enumds for _pgfxnum and fully use inv_body_loc ( #392 )
...
* Add enumds for _pgfxnum and fully use inv_body_loc
* _iIdentified is BOOL
* _pgfxnum
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
squidcc
4ed6d83265
fix regression in DrawSpellList() that caused only the first 1/4 spells to be drawn ( #355 )
...
fix places where sTownSpell was still being cast to DWORD
change SpellData::sTargeted to BOOL, fix spelldata[] definition to use TRUE/FALSE
8 years ago
Anders Jenbo
b7dfcf5ed5
Clean up CheckPlrSpell ( #339 )
8 years ago
galaxyhaxz
cf10dadb91
Correct function names in "encrypt.cpp" ( #344 )
8 years ago
Anders Jenbo
9bd3b4189e
Clean up CheckNewPath ( #332 )
8 years ago
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Anders Jenbo
5d2130e52e
Confirm itemavail size via beta
8 years ago
Anders Jenbo
e05679b1c9
Clean up ProcessPlayers ( #319 )
...
* Clean up ProcessPlayers
* Change drawhpflag and drawmanaflag to BOOL
8 years ago
Anders Jenbo
91eecec686
WIP PlrHitPlr
8 years ago
Anders Jenbo
ca2271bf90
Clean up StartNewLvl
8 years ago
Anders Jenbo
6e50ec5337
Work on LoadPlrGFX
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
Anders Jenbo
8525142fa8
Clean up ModifyPlrDex
8 years ago
Dennis Duda
a061f6d6f0
Cleaned up `CheckInvSwap` (0x3B6 → 0x390, orig: 0x373)
...
Pretty close to the original binary except for the first loop, which generates differently. (TODO comment added) There are also some questionable double address calculations, which hopfully clear up when the loop is fixed as well.
Also added enums `inv_body_loc` and `inv_xy_slot` to clean up a lot of magic numbers.
8 years ago
galaxyhaxz
d49bdeaae6
Fix portals/quests in multiplayer
8 years ago
galaxyhaxz
6fbb559a30
Fix sgJunk array ( #177 )
8 years ago
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago