Robin Eklind
e9f16669ab
Add clang-format script.
...
Base default style on WebKit and set a few options
specific to Devilution.
* `AlignTrailingComments: true`
* `AllowShortBlocksOnASingleLine: true`
* `AllowShortFunctionsOnASingleLine: None`
* `PointerAlignment: Right`
For header files, we also want to add
* `AlignConsecutiveAssignments: true`
8 years ago
squidcc
99f1a7c1d8
Fix AutomapZoomIn, AutomapZoomOut, AutomapZoomReset ( #349 )
...
Clean DrawAutomapGame (binary exact)
Clean GetAutomapType ("not eax" instead of "not ax")
8 years ago
Anders Jenbo
46897e9c6e
Correct a couple of values ( #389 )
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
Robin Eklind
9772cd0743
Add definition of j_lock_buf_priv and j_unlock_buf_priv for debug release.
...
Also add a debug target for MakefileVC.
8 years ago
Robin Eklind
3103da7f1d
Add missing arg to j_lock_buf_priv and j_unlock_buf_priv ( #374 )
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
Andrew Dunstan
e34be64ef4
Resolve conflicts
8 years ago
Andrew Dunstan
22dc793b7d
Clean remaining pfile.cpp functions
...
full file is binary exact except for pfile_create_player_description (minor diff)
8 years ago
squidcc
3561450624
clean plrmsg.cpp ( #386 )
8 years ago
galaxyhaxz
2f46409b64
Add inlining to render.cpp (btm) ( #383 )
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
squidcc
7c1d00d15c
Finish cleaning player.cpp ( #365 )
...
* clean RespawnDeadItem
clean PM_ChangeLightOffset
Clean PlrDeadItem (exact)
* fix typo in PlrDeadItem
* Fix PM_ChangeLightOff (exact)
* Fix remaning issues with RespawnDeadItem
8 years ago
galaxyhaxz
8a7f5eca14
Fix Fireball Collision
8 years ago
galaxyhaxz
cd82710607
Fix __int64 in missiles ( #380 )
8 years ago
galaxyhaxz
395adc3c6b
Minor fixes ( #379 )
8 years ago
galaxyhaxz
c775439589
Cleanup "loadsave.cpp" ( #376 )
8 years ago
Anders Jenbo
fff0a9161c
movie.cpp ( #378 )
8 years ago
Anders Jenbo
79faf4a3c4
Update .travis.yml
8 years ago
Anders Jenbo
f269f4561b
PlaySFX_priv, stream_play ( #371 )
...
* PlaySFX_priv, stream_play
* Fix build warnings in player.cpp
* Clean up FreeMonsterSnd
* Added more enums and defines for sound and effects.
8 years ago
galaxyhaxz
6ee4d0dad0
Cleanup L5roomGen ( #372 )
8 years ago
squidcc
b9eca92474
pfile cleaning #2 ( #373 )
...
* clean GetSaveDirectory and pfile_read_hero
clean pfile_open_save_archive
clean pfile_archive_contains_game
clean pfile_get_player_class
clean pfile_get_file_name
clean GetTempSaveNames
clean GetPermSaveNames
clean pfile_update
clean pfile_init_save_directory
clean pfile_write_hero
clean pfile_open_archive
clean pfile_flush_W
* add stub for mpqapi_update_multi_creation_time
8 years ago
galaxyhaxz
eabad93e09
Cleanup "DRLG_L5" ( #368 )
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
0152a03f6e
Merge pull request #370 from AJenbo/effects.cpp
...
effects.cpp
8 years ago
Anders Jenbo
afbe7a5ffa
sfx_stop, InitMonsterSND, FreeEffects, PlayEffect and calc_snd_position
8 years ago
squidcc
4b7c3fed3e
add header files to project ( #367 )
8 years ago
squidcc
df89dd7333
more pfile cleaning ( #356 )
...
* clean pfile_check_available_space
clean pfile_get_save_num_from_name
clean pfile_encode_hero
clean pfile_get_save_path
clean pfile_flush
clean game_2_ui_class and game_2_ui_player
* type fix-ups
8 years ago
galaxyhaxz
9be6af68c4
Cleanup L5FillChambers ( #364 )
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
Anders Jenbo
489c25ceac
RemovePlrFromMap ( #352 )
...
* RemovePlrFromMap
* Move PM_DoNewLvl to the correct position
8 years ago
Andrew Dunstan
ae703ea7b0
make PosOkPlayer bin exact
8 years ago
galaxyhaxz
85b66032d2
Merge pull request #361 from galaxyhaxz/DRLG_PlaceMiniSet
...
Cleanup DRLG_PlaceMiniSet
8 years ago
galaxyhaxz
d440b06f2a
Cleanup DRLG_PlaceMiniSet
...
Another thanks to the Beta, although it had a few slight differences that took awhile to figure out
8 years ago
galaxyhaxz
0c0194fdeb
Cleanup "drlg_l1.cpp" ( #354 )
8 years ago
Anders Jenbo
837119d581
Merge branch 'master' of github.com:diasurgical/devilution into nightly
8 years ago
Anders Jenbo
00fb9ef714
Merge pull request #179 from nomdenom/cp-sizeof
...
Use sizeof() for memset()
8 years ago
Anders Jenbo
54a764e2ea
Merge pull request #358 from squidcc/DoHealOther
...
make DoHealOther bin exact
8 years ago
Andrew Dunstan
344d259066
make DoHealOther bin exact
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
galaxyhaxz
e0684b5056
Merge pull request #350 from galaxyhaxz/L5tileFix
...
Cleanup L5tileFix (drlg_l1.cpp)
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Anders Jenbo
465f2a56bd
Clean up InitPlrGFXMem ( #341 )
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
a8e6691f54
RestartTownLvl ( #348 )
8 years ago
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
8 years ago
galaxyhaxz
59f1d2ba6b
Merge pull request #346 from galaxyhaxz/diabloui
...
Fix "DiabloUI" for GCC + disclaim.cpp
8 years ago