Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
7 years ago
galaxyhaxz
849ec37b70
Fix TBuffer type and buffer_init
7 years ago
Anders Jenbo
bd310ff8d5
Delta data ( #504 )
...
* Clean up DeltaImport*
* Clean up DeltaExportData related functions
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
cd11592e50
Fix multiplayer crashing
...
Fixes #487
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
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
f33898648e
Correct MonsterData width property
7 years ago
Anders Jenbo
f505809699
C compatible enum.h and struct.h
7 years ago
Anders Jenbo
8e8bd67ebf
Correct ThemeStruct
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
galaxyhaxz
2715a80e93
Change struct member mMode to mTrnName
7 years ago
galaxyhaxz
b4e158a29d
Cleanup UseItem ( #445 )
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
8 years ago
Anders Jenbo
37d294acc9
Clean up encrypt.cpp ( #424 )
8 years ago
Anders Jenbo
a08bfa22c0
Autoformat some base files
8 years ago
Anders Jenbo
82f0839658
Clean up path_parent_path
8 years ago
Anders Jenbo
bf81cd5462
Clean up some property handeling in monster.cpp
8 years ago
Anders Jenbo
5481c784f7
Add bug notice
8 years ago
Dennis Duda
bff845feb0
Updated _SNETUIDATA.selectnamecallback declaration
...
Updated _SNETUIDATA.selectnamecallback declaration for #329 .
8 years ago
Andrew Dunstan
0a17c0961d
clean and format portal.cpp
8 years ago
Andrew Dunstan
5dd1153979
rename riff_chunk -> CKINFO
8 years ago
Andrew Dunstan
4c085a734b
clean wave.cpp
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
Anders Jenbo
2db187faf5
Correct AnimStruct names ( #417 )
...
Fixes #384
8 years ago
Anders Jenbo
48a1035d4a
Remove unused varialbes
8 years ago
Anders Jenbo
83e52d47e1
Clean up MaxSpellsCheat and SetSpellLevelCheat
8 years ago
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
8 years ago
Robin Eklind
7515655efb
Run format.sh
8 years ago
squidcc
8fd0561588
clean all tmsg functions ( #357 )
...
* clean all tmsg functions
* type fix-ups
8 years ago
squidcc
e8e725c35a
clean dead.cpp ( #369 )
8 years ago
Anders Jenbo
226fbc68b0
effects_cleanup_sfx & stream_update ( #375 )
...
* effects_cleanup_sfx & stream_update
* effects_play_sound
* effect_is_playing, PlaySFX, PlaySfxLoc & effects_play_sound
8 years ago
squidcc
3561450624
clean plrmsg.cpp ( #386 )
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
galaxyhaxz
395adc3c6b
Minor fixes ( #379 )
8 years ago
Anders Jenbo
5df6a0d771
Sound.cpp ( #353 )
...
* Clean up of sound.cpp
* Fix builds that don't support max()
8 years ago
Anders Jenbo
afbe7a5ffa
sfx_stop, InitMonsterSND, FreeEffects, PlayEffect and calc_snd_position
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
Anders Jenbo
d0f620f0b2
Clean up CreatePlayer ( #343 )
8 years ago
Anders Jenbo
ff2f0bf8ab
Clean up ProcessPlayers ( #347 )
8 years ago
Anders Jenbo
5cea7f9f95
Clean up PlrHitMonst ( #305 )
8 years ago
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago
galaxyhaxz
42c9076ce5
Sync with nightly ( #302 )
8 years ago
Dennis Duda
2f7f7d055e
Switched all remaining uses of `UINT64` to `unsigned __int64` to make it compilable on <=VC5
8 years ago
Anders Jenbo
146cd9fe8c
Change UINT64 to __int64
8 years ago