37 Commits
Author SHA1 Message Date
Anders Jenbo 75a14114bb Reorder msg.cpp 2020-11-04 05:17:31 +01: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
galaxyhaxzandRobin Eklind 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
galaxyhaxz 38c748b6fd Add network commands and cursors (#1967) 2020-01-17 13:37:22 -06: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
galaxyhaxz 150cb875ff On_DLEVEL 2019-05-20 10:02:49 +01:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz 40ffc0d00c Clean the dirty sink 2019-04-05 12:17:26 +02:00
Anders Jenbo 5bc5da3597 Clean up DeltaLoadLevel 2018-12-22 13:23:59 +01:00
Anders Jenbo de1fb3c002 Clean up ParseCmd 2018-12-16 16:16:22 +01:00
Anders Jenbo bd310ff8d5 Delta data (#504)
* Clean up DeltaImport*
* Clean up DeltaExportData related functions
2018-12-16 16:15:59 +01:00
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
2018-12-16 16:15:13 +01:00
Anders Jenbo 9edeecb3bb Consisten use of structs 2018-11-26 14:19:27 +01:00
Anders Jenbo 9123d92ab6 M teleport (#470)
* Correct NetSendCmdGolem()-cl type.
* Correct gbActivePlayers type
* Clean up M_Teleport
* Clean up PutMissile
2018-11-22 01:52:20 +01:00
galaxyhaxz bace152240 Fix tail functions (#463) 2018-11-13 15:40:01 -06:00
galaxyhaxz 83e817a9bb Fix CreateMagicItem and cheat cmd (#460) 2018-11-12 15:26:36 -06:00
Andrew Dunstan 47244b9f3c clean all On_* functions 2018-10-20 14:42:59 +02:00
Andrew Dunstan c2fbc0e661 player_mask -> pmask 2018-10-18 02:37:33 +02:00
Andrew Dunstan 1430acc47f msg.cpp cleanup part #0 2018-10-18 02:37:33 +02:00
Anders Jenbo 4d8ceea32d Types (#395)
* Apply plr_class

* Apply attribute_id

* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
Anders Jenbo b7dfcf5ed5 Clean up CheckPlrSpell (#339) 2018-09-28 01:49:17 +02:00
Anders Jenbo 9bd3b4189e Clean up CheckNewPath (#332) 2018-09-25 20:46:09 +02:00
Anders Jenbo 91eecec686 WIP PlrHitPlr 2018-09-17 21:37:55 +02:00
Anders Jenbo ca2271bf90 Clean up StartNewLvl 2018-09-15 15:17:41 +02:00
Dennis Duda 6792078180 Merge remote-tracking branch 'devilution/master' 2018-09-10 20:44:41 +02:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
Anders Jenbo 8525142fa8 Clean up ModifyPlrDex 2018-09-09 15:23:58 +02:00
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.
2018-08-28 16:40:49 +02:00
galaxyhaxz 6fbb559a30 Fix sgJunk array (#177) 2018-08-23 01:20:25 -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