ephphatha
01ee2ecefc
Pretty print Size values in test failure messages
4 years ago
ephphatha
d5622d5080
Add point constructor to allow comparison in test macros
4 years ago
staphen
537f557206
Use 0-based frame index for talk buttons
4 years ago
qndel
6af2c322d8
fix dungeon test in visual studio
4 years ago
qndel
d5744ba421
fix multiplayer
4 years ago
qndel
f84c35d2dc
fix typos
4 years ago
staphen
83168f7954
Add option for selecting audio device
4 years ago
Anders Jenbo
c241cae9e3
Test cathedral level generation
4 years ago
Anders Jenbo
4acd71c71d
Fix build
4 years ago
KPhoenix
0692c75403
Implement 3XDAMVDEM Logic for Arrows ( #3864 )
...
The Deadly Hunter bow contains the 3XDAMVDEM affix power which isn't present in missiles.cpp, preventing the affix from doing anything altogether. This fix adds the logic from player.cpp in a consistent way with how damage gets handled in melee combat.
4 years ago
staphen
5ec83d0b79
Reintroduce c-str overload for SetIniValue()
4 years ago
Andrew James
1047e408bd
Simplify logic of UpdateMissilePos using helpers from 4620 ( #4621 )
4 years ago
staphen
18bfe39d5b
Reset plr_self after leaving game session
4 years ago
Gleb Mazovetskiy
99d490180c
Settings: Add Resampler
...
Makes the resampler algorithm configurable from the settings menu.
4 years ago
qndel
354e329644
Players[MyPlayerId] -> MyPlayer
4 years ago
staphen
9c0ec048b4
Improve refresh behavior in selgame
4 years ago
staphen
7ad32e6503
Check if dthread is running before locking mutex
4 years ago
obligaron
583da30151
Fix GuardianTryFireAt missing monster index check
4 years ago
Andrew James
a9a325dc7b
Document/simplify the UpdateMissileVelocity logic
...
The multiplication by `1 << 21` was unnecessary, with the way the division is performed it doesn't add precision. Missile velocities are 16 bit fixed values so split out the normalisation step in order to make it clearer what the multiplication and use of `v` ends up doing.
4 years ago
k-bar
bc2c13e8ef
fix for monster melee hit monster ( #4617 )
4 years ago
k-bar
7e3d3c34b9
CheckMissileCol cognitive compexity reduction ( #4614 )
4 years ago
Anders Jenbo
0508311959
Cleanup block_lvid checks
4 years ago
Anders Jenbo
a185b659e7
Set default sample rate to 22050 on Windows
4 years ago
obligaron
bc15bdf3a9
Remove PANEL_ defines and replace them with GetMainPanel()
4 years ago
obligaron
d86c4e5d84
Introduce GetUIRectangle() to distinguish between UI and main panel
4 years ago
obligaron
5337bf1f6a
Initialize Viewport in CalculatePanelAreas
4 years ago
obligaron
539bc6ceea
Adjust variable names for Fireball/Elemental explosion
4 years ago
obligaron
702fd7ba32
Fireball/Elemental: Use missile start position instead of current caster position to check block for explosions
4 years ago
obligaron
ef9dcccb86
Simplify MI_Element explosion calculation
4 years ago
staphen
7b0ae932b0
Blit UI surface to game surface when waiting for game data
4 years ago
obligaron
2f629b6315
Unify cost of wisdom shrines (Fascinating, Sacred and Ornate)
4 years ago
Anders Jenbo
895057584e
Use mtype instead of index id to check for golem monsters
4 years ago
Anders Jenbo
c89d28fe47
Remove leftover firemen code
4 years ago
Anders Jenbo
d6b258926e
Apply type checking on monster type
4 years ago
staphen
0c4940fc00
Skip touch interactions with stash when stash is not open
4 years ago
staphen
0b41ce271f
Skip touch interactions with main panel when not in a game session
4 years ago
Anders Jenbo
8c03e4a73b
Fix code style in IsPossibleToHit
4 years ago
Anders Jenbo
fcfb701ba0
Extract identical MonsterDeath code
4 years ago
Anders Jenbo
5f51092f15
[hellfire] Fix spiderloard not leaving acid when killed by monsters
4 years ago
Anders Jenbo
b99521b376
Do not change animation state for petrified monsters during death
4 years ago
k-bar
4a4e3a5404
Unwindle If-Elses around petrify monster
4 years ago
k-bar
5b29eda518
Remove of CheckMonsterHit (aka LiftGargoylesAndIgnoreMages)
4 years ago
k-bar
417c4c9ce2
Extract duplicated code to functions related to monster
4 years ago
obligaron
8bc89f9b9f
Show hostile players red in talk panel (instead of muted players)
4 years ago
obligaron
1124dd1bd2
Don't show hostile players in automap
4 years ago
obligaron
2b0b944afb
Manage friendly mode per player and sync state between clients
4 years ago
obligaron
70c5cf6cad
Fix item label text with open stash ( #4595 )
...
* Item labels: check if stash is open in IsMouseOverGameArea
* Add IsLeft/RightPanelOpen
4 years ago
Dmitry Marakasov
446ec5f95d
check for either linux or BSDs as defined(__unix__)
4 years ago
Dmitry Marakasov
04d0950c9e
Fix UB in random generator
...
abs(INT_MIN) is undefined behavior, so process this case without
calling abs()
4 years ago
Stephen C. Wills
99ab06776c
Apply clang-format to inv.cpp ( #4581 )
4 years ago