Anders Jenbo
87f478d82f
Remove unnecessary indentation
5 years ago
BC Ko
a9754d664b
Reduce use of globals: VisionList
5 years ago
Yuri Pourre
cb8f706af8
Merge pull request #2543 from yuripourre/patch-2
5 years ago
ephphatha
96e3ce6ea4
ensure std::min call uses correct types, cast result explicitly
...
No idea why template deduction was failing on 3ds builds only... It was using the context of the return type to deduce what the template arguments should be? Hopefully specifying the template explicitly works.
5 years ago
ephphatha
8f2e94ae4d
Use unsigned types for player experience and related values
5 years ago
Andrew James
f10005e0b6
use std::clamp and std::min for multiplayer experience gain caps
5 years ago
ephphatha
a561cb18de
Explicitly check values are in expected range instead of casting to unsigned for <0
5 years ago
Oleksandr Kalko
a6219bcfd3
Remove SDL_mixer dependency metions
...
It's no longer needed as project has switched SDL_audiolib
5 years ago
BC Ko
b3e002de79
cleanup manual value clamping: sdl2_to_1_2_backports.cpp ( #2580 )
...
* cleanup manual value clamping: sdl2_to_1_2_backports.cpp
* static_cast Sint16 and int in SDL_BlitScaled
5 years ago
Anders Jenbo
7463d2c7dc
Update Source/lighting.cpp
5 years ago
BC Ko
c589ccb0ac
cleanup manual value clamping: lighting.cpp
5 years ago
BC Ko
2a7712794e
cleanup manual value clamping: stores.cpp 2 ( #2583 )
5 years ago
BC Ko
4853deb0e5
cleanup manual value clamping: monster.cpp ( #2581 )
5 years ago
Tytannial
c5d48674d1
Update Translations/zh_CN.po Import item and monster translation from "diablo 3" Random fix some translation error
5 years ago
qndel
bb4d087d60
fix resurrect ( #2577 )
5 years ago
Anders Jenbo
09cbbc30cf
🚨 format autofill_array.h
5 years ago
Anders Jenbo
ffc9b0e6a8
Apply clang-format
5 years ago
Vladimir Olteanu
b76e8c060b
Introduce MissileDataFlags
5 years ago
Vladimir Olteanu
4253ea7a39
Rename MisFileData to MissileFileData
5 years ago
Vladimir Olteanu
61f82d1944
Remove LoadMissileGFX
5 years ago
Vladimir Olteanu
040ca7b1e9
Remove logic related to unused MFLAG_ALLOW_SPECIAL
5 years ago
Vladimir Olteanu
7482b23473
MissileSpriteData: move checks for hidden sprites to class members
5 years ago
Vladimir Olteanu
b5d6758295
Introduce AutofillArray
5 years ago
Vladimir Olteanu
3364a4e00c
Refactor MisFileData
...
MisFileData: make pinnedMem private
5 years ago
vladtepesch
0e56e52c75
fixes casting level 0 spell says "not enough mana" ( #2568 )
5 years ago
obligaron
f5344bd722
Add clang-format validation to CI
5 years ago
obligaron
82cea78def
Apply clang-format
5 years ago
obligaron
e3a2142941
Move picosha2.h to 3rdParty
5 years ago
BC Ko
a02eaeecda
use abs
5 years ago
BC Ko
a293abc2a6
cleanup manual value clamping: inv.cpp
5 years ago
qndel
1538f84ddc
apply enum and fix invalid check
5 years ago
BC Ko
5951e2abb2
cleanup manual value clamping: player.cpp ( #2572 )
5 years ago
BC Ko
ff7891d66a
cleanup manual value clamping: stores.cpp
5 years ago
obligaron
8dbe16d4f6
Introduce GetSpellListItems
5 years ago
obligaron
95daecc1bb
Introduce GetSpellListSelection and remove selection game logic from DrawSpellList
5 years ago
Anders Jenbo
23fdb5aa27
[vanilla] Fix missing dirt corners in automap
5 years ago
Anders Jenbo
0b68a8b2d3
Fix missing dirt tiles in automap
5 years ago
BC Ko
b1d9bfdbf8
cleanup manual value clamping: cursor.cpp CheckCursMove() ( #2563 )
5 years ago
qndel
640d32a750
make ReadySpellFromEquipment have correct item data
5 years ago
obligaron
6f6412fced
diablo_quit also frees game state (and with this sound objects)
5 years ago
ephphatha
7007663917
Bring translations in sync with the changed message ids for help text
5 years ago
ephphatha
0cbaaf56f2
Normalise spacing between words/sentences in help.cpp
5 years ago
BC Ko
0a4361d5fc
cleanup manual value clamping: control.cpp
5 years ago
Juliano Leal Goncalves
f64521a722
🐛 Centralize readied spell update on equipment change
...
This ensures all equipment changes will undergo the check to see if the readied spell needs to change, including auto-equipping items on pickup and with shift click.
5 years ago
Juliano Leal Goncalves
022502660d
♻️ Extract logic to ready spell from staff to player function
5 years ago
Epifanov Ivan
531acbe760
Vita locale detection: safety precautions ( #2557 )
5 years ago
BC Ko
221718250f
cleanup manual value clamping: spells.cpp GetManaAmount() ( #2556 )
5 years ago
BC Ko
c85d3f4b21
Merge pull request #2555 from bcko/2348_bcko_refactor_FindTransparencyValues_2
5 years ago
BC Ko
bcd60ea0b4
refactor 3 versions of FindTransparencyValues in: drlg_l1.cpp, drlg_l2.cpp, drlg_l4.cpp ( #2554 )
5 years ago
staphen
703e5a3f14
3DS: Detect system language and select the appropriate translation
5 years ago