Anders Jenbo
db801ea4fd
Clean up MAI_Fireman ( #517 )
7 years ago
Anders Jenbo
024d99fc9e
C compatability from s ( #521 )
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
fe92bebaba
Clean up MAI_* ( #515 )
...
* Clean up MAI_Bat
* Apply MM_* enums to AI
* Clean up MAI_Fallen
* Unify MAI_* code style
7 years ago
Anders Jenbo
43f98614b0
Clean up MAI_Zombie ( #514 )
7 years ago
Anders Jenbo
d26d307194
Towners.cpp ( #513 )
...
* Clean up FreeTownerGFX
* Apply talk_id
7 years ago
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
7 years ago
Anders Jenbo
f1c2d3ddb6
Clean up PlrDeadItem
7 years ago
galaxyhaxz
040b4b0cc9
Cleanup game_loop
7 years ago
galaxyhaxz
eceb1c3b5b
Fix tempstr length, add array
7 years ago
galaxyhaxz
c302881060
Fix gszHero
7 years ago
galaxyhaxz
849ec37b70
Fix TBuffer type and buffer_init
7 years ago
Anders Jenbo
cd408cf3ee
Fix multiplayer crashing
...
Fixes #487 again
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
355d78fb84
C declaration ( #500 )
...
* Convert monster.cpp to C
* Convert automap.cpp to C
* Convert codec.cpp to C
7 years ago
Anders Jenbo
0eb47e8b1a
Align automap with PSX
7 years ago
Anders Jenbo
7dee72d446
C declaration ( #498 )
...
* Convert player.cpp functions to C
* Convert capture.cpp functions to C
7 years ago
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!
7 years ago
Anders Jenbo
7924c04acb
Use TSFX_COW2
7 years ago
Anders Jenbo
13c5af29ed
clean up towners.cpp ( #496 )
7 years ago
Anders Jenbo
18034ca776
Correct monster attribute name ( #492 )
...
* Correct monster attribute name
* Not possibl _mAFNum in MonsterStruct
7 years ago
Anders Jenbo
db3805ae05
Clean up Force*Trig ( #495 )
7 years ago
Anders Jenbo
b4fe143e29
Add player_weapon_type
7 years ago
Anders Jenbo
14610a2345
Apply FILE_SYSTEM enum
7 years ago
Anders Jenbo
f33898648e
Correct MonsterData width property
7 years ago
galaxyhaxz
51d5793e08
Cleanup LeftMouseCmd
7 years ago
Anders Jenbo
ef28a74db5
Correct var names in StartPlrHit ( #484 )
...
* Correct var names in StartPlrHit
* Clean up RespawnDeadItem
* Update Source/player.cpp
Co-Authored-By: AJenbo <anders@jenbo.dk>
7 years ago
Anders Jenbo
5a3b61ac9b
Clean up PosOkMonst3
7 years ago
Anders Jenbo
61d62c426e
Clean up MAI_Warlord
7 years ago
Robin Eklind
4ee363b124
mainmenu_loop bin exact ( #481 )
...
* mainmenu_loop bin exact
Fixes #254 .
* simplify mainmenu_loop, @galaxyhaxz cracked it
7 years ago
Robin Eklind
2b696c4f22
dthread_send_delta almost bin exact
...
uses eax instead of ecx in one instruction,
but semantically equivalent.
Updates #236 .
7 years ago
Robin Eklind
fa8c5f7cfa
CheckDungeonClear binary exact
...
Fixes #230 .
7 years ago
Anders Jenbo
bd7898ce05
monster.cpp ( #476 )
...
* Clean up PreSpawnSkeleton
* Clean up decode_enemy
* Clean up encode_enemy
* Clean up SpawnGolum
* Clean up TalktoMonster
* Clean up SpawnSkeleton
* Clean up IsGoat
* Clean up ActivateSpawn
* Clean up M_SpawnSkel
7 years ago
Anders Jenbo
9edeecb3bb
Consisten use of structs
7 years ago
Anders Jenbo
f505809699
C compatible enum.h and struct.h
7 years ago
Anders Jenbo
d69ed419db
Correct style
7 years ago
Anders Jenbo
23897a640b
Correct types
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
cd2c434c15
Clean up PosOkMonst ( #477 )
7 years ago
Anders Jenbo
1941cff144
Clean up MAI_Fat
7 years ago
Anders Jenbo
5cc5661676
Clean up MAI_SkelBow
7 years ago
Anders Jenbo
ac755aeb51
Clean up MAI_Path
7 years ago
Anders Jenbo
2774e5c7ed
Clean up MAI_SkelSd
7 years ago