Sergey Semushin
5a50f30f36
Make delta_quest_inited bin exact.
2019-06-01 14:31:08 +01:00
Sergey Semushin
cb05f8f3e4
Clean up InitQstSnds.
2019-06-01 02:18:16 +01:00
Anders Jenbo
26d7327b1f
Cleanup ( #1200 )
...
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
2019-05-21 00:34:42 +01:00
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
2019-05-21 00:32:10 +01:00
Sergey Semushin
6ec6e3c530
Make MonstrStruct::_msquelch and DMonstrStr::_mactive unsigned.
...
Also utilize UCHAR_MAX for value of 255 used extensively for those flags.
2019-05-10 21:52:23 +01:00
Anders Jenbo
faeb360c88
Revert multi.h to not include storm.h
2019-05-09 00:33:01 +02:00
Anders Jenbo
790197cae5
Define SEVTHANDLER
2019-05-08 19:15:27 +01:00
Sergey Semushin
e336f56a9d
Clean up M_CheckEFlag.
2019-05-02 10:09:41 +01:00
Anders Jenbo
16db544c46
Clean up GetItemPower ( #1075 )
2019-04-29 09:43:49 +02:00
Robin Eklind
61dbf2a224
Merge pull request #1036 from AJenbo/multi.cpp
...
Multi.cpp
2019-04-26 13:24:29 +09:00
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
2019-04-26 03:17:06 +02:00
Anders Jenbo
7dc47ed8ce
Clean up multi_player_left_msg
2019-04-26 01:19:24 +02:00
Anders Jenbo
dade490e9f
Clean up InitThemes
2019-04-21 03:11:51 +02:00
Sergey Semushin
e59ba64cf0
Change ObjectStruct::_oDelFlag to BOOL.
2019-04-20 07:02:17 +03:00
galaxyhaxz
fe55ca18cc
Item Records & DrawDiabloMsg ( #971 )
2019-04-18 16:03:25 -05:00
Robin Eklind
65504a9de8
Remove size comment from RECT32 struct
2019-04-17 11:46:50 +09:00
Robin Eklind
4d16a54da8
Merge pull request #935 from qndel/ReleaseChrBtns
...
ReleaseChrBtns bin exact
2019-04-17 11:44:22 +09:00
Robin Eklind
0501ff10ef
Use RECT32 struct for attribute_inc_rects
2019-04-17 11:36:30 +09:00
galaxyhaxz
6edc52a2c2
RFC: cleanup msgcmd.cpp ( #933 )
2019-04-14 18:39:45 -05:00
Anders Jenbo
1b58c18223
Clean up gmenu_enable
2019-04-09 20:35:39 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
galaxyhaxz
eb1758f86a
Fix broken game menu
2019-04-09 03:30:22 +02:00
Anders Jenbo
97df986fa3
Clean up FindGetItem
2019-04-05 18:30:29 +02:00
Anders Jenbo
df61fc06b0
CheckThemeObj3 bin exact
...
This also fixes ThemeStruct and there by most functions in themes.cpp
(again)
2019-03-30 17:14:05 +01:00
qndel
86ba2dc2ae
items.cpp - SetupItem bin exact + changed some flags from int to BOOL
2019-03-30 11:43:31 +01:00
qndel
46c07573eb
AddL1Door bin exact ( #774 )
2019-03-28 16:31:47 +01:00
Robin Eklind
7707f5f335
Merge pull request #752 from qndel/PkPlayerStruct
...
Make pack.cpp bin exact
2019-03-28 21:28:37 +09:00
Anders Jenbo
0fc30c1260
Make AddMissile bin exact
2019-03-27 22:11:11 +01: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
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
2019-03-18 22:28:38 +09:00
Anders Jenbo
ea9993e5b7
Update structs.h
2019-03-16 13:32:09 +01:00
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
2019-03-11 23:59:26 +01:00
Max Desiatov
bb61e286a4
Fix initdata type in structs.h
2019-03-08 03:07:49 +01:00
Anders Jenbo
bc015e9af1
Make _miDelFlag bool
2019-03-02 16:12:03 +01:00
Anders Jenbo
b048de798a
SetMissAnim & SetMissDir ( #584 )
...
* Clean up SetMissAnim & SetMissDir
* Use enums for _miAnimType
* Use const for gdwMsgLenTbl & glpMsgTbl
2019-01-26 17:28:48 +01:00
Anders Jenbo
3812287dd5
Clean up AllItemsList related code ( #565 )
...
* Clean up ItemMiscIdIdx
* Clean up RndItem
* Clean up RndUItem
2019-01-14 16:48:59 +01:00
Anders Jenbo
57d7c99a8f
Stores.cpp ( #551 )
...
* Clean up FreeStoreMem
* Clean up AddSLine
* Clean up AddSText
* Clean up SmithSellOk
2019-01-05 10:54:32 +01:00
Anders Jenbo
4a62a7c678
Code style
2018-12-29 02:15:20 +01:00
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
2018-12-22 13:23:59 +01:00
galaxyhaxz
849ec37b70
Fix TBuffer type and buffer_init
2018-12-18 09:37:37 +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
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
2018-12-15 18:13:31 +01:00
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.
2018-12-15 18:13:31 +01:00
Anders Jenbo
cd11592e50
Fix multiplayer crashing
...
Fixes #487
2018-12-15 18:13:31 +01:00
Ogodei
69f6b90dd3
Update monster.cpp
...
In the monster data tables, the "mType" comment has been renamed as
Seeding size. The game, as depicted by Jarulf, uses that number to
calculate how many monster type can spawn within a level (iirc the max
seeding is 4000, and each monster type takes a part of it). I hope this
helps!
2018-12-13 20:28:27 +01:00
Anders Jenbo
13c5af29ed
clean up towners.cpp ( #496 )
2018-12-13 10:44:41 +01:00
Anders Jenbo
18034ca776
Correct monster attribute name ( #492 )
...
* Correct monster attribute name
* Not possibl _mAFNum in MonsterStruct
2018-12-11 02:43:19 +01:00
Anders Jenbo
f33898648e
Correct MonsterData width property
2018-12-07 23:54:39 +01:00
Anders Jenbo
f505809699
C compatible enum.h and struct.h
2018-11-26 14:19:27 +01:00