Robin
da7ea7b593
items: add BUGFIX for PrintItemPower ( #2241 )
5 years ago
Vladimir Olteanu
b17ff04ee2
Use string_view in DrawString and friends
5 years ago
qndel
d68181fd91
_pIEnAc bugfix
5 years ago
qndel
169f980038
ranged/magic formulas
5 years ago
qndel
bd5e30db52
replace armor formula
5 years ago
Gleb Mazovetskiy
3e5a593021
🐞 Fix reading PCX files with odd widths
...
PCX files always have an even number of bytes on each uncompressed source line, which means there is an unused byte of each compressed line if the width is odd.
References:
1. https://kaba.hilvi.org/pastel-1.5.0/pastel/gfx/image_file/pcx/pcx_file.htm
2. https://www.moon-soft.com/program/FORMAT/graphics/pcx.htm#decoding%20.pcx%20files
5 years ago
Robin Eklind
8f936de2c5
missiles: add BUGFIXes for MI_LArrow, MI_Arrow, MI_Lightctrl and MI_Weapexp
...
These bugs are related to time of access, where fields of e.g. a
player or monster struct is accessed upon missile impact (instead
of missile launch), and at this point, the monster may be dead, or
the player may have left the game, resulting in accessing garbage
data that may have been overwritten by other data (e.g. new monster
spawn or new player joining).
One way to resolve this issue is to store e.g. the damage in the
missile struct when lanuching the missing. This way, the missile
would have all information required to know its damage on imact
instead of having to rely on outside sources that may no longer
be present.
5 years ago
Robin Eklind
27df8f7aef
monsters: add BUGFIXes for ProcessMonsters, PosOkMonst, PosOkMonst2, PosOkMonst3
...
Incorrect firewall check and time of access bug related to
monster enemy targets.
5 years ago
Robin Eklind
7d536834ce
inv: add incorrect enum/off-by-one BUGFIX for UseInvItem
5 years ago
qndel
7263aa5f74
bugfix for loading/saving dLight
5 years ago
Robin Eklind
b2e94e2d8a
towners: add BUGFIX for Griswold custom towner order animation
...
Issue located by Andi and Anders if my memory serves me right.
5 years ago
qndel
dfcaf3a032
code fix
5 years ago
Anders Jenbo
1b6196f39b
Correct missile ring offset
...
Without this the
5 years ago
qndel
f8dc7bd3e3
clamp melee hit chance ( #2491 )
5 years ago
Gleb Mazovetskiy
502b2684c9
🐞 Disable hardware cursor during video playback
...
Fixes #2448
5 years ago
qndel
81fadc79ae
fix name check and limit to multi ( #2486 )
5 years ago
Robin Eklind
b13c002c14
control: add BUGFIX for loop termination in DrawGoldSplit
5 years ago
Anders Jenbo
d523fc1e81
Cleanups
5 years ago
Anders Jenbo
01f66d7f73
[android] Implement loading translations from assets
5 years ago
Anders Jenbo
522f748179
[android] Detect prefered language
5 years ago
Anders Jenbo
0475aed939
[android] Allow FileExists to work on assets
5 years ago
Anders Jenbo
5c2a559487
Get default langauge
5 years ago
ephphatha
8930b789d6
Rename UiType members to follow naming convention
...
Convention seems to be that scrollbar is treated as a single unhyphenated word so the UiScrollbar class was renamed to match.
5 years ago
ephphatha
0575716eac
Rename UiFlags members to group related options
5 years ago
ephphatha
bd140142c3
Convert UiType to a scoped enum
5 years ago
ephphatha
7d93cada67
Refactor UiItemBase and derived types to reduce duplicate constructors
...
Using optional arguments where possible so that all use cases can share the same constructor. Also moving member initialisation to the initialiser list syntax as this makes it clear that the derived class is only setting properties on that class, leaving the parent constructor to initialise members of the parent class.
5 years ago
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
5 years ago
obligaron
fb562b29e9
Timedemo: Regard ProcessInput and gfProgressToNextGameTick
5 years ago
Anders Jenbo
eda4a5061e
Implement demo recording and playback
...
This records all keyboard and mouse events to a file and lets you play
it back at a later point with a differen game speed.
5 years ago
Anders Jenbo
1703901c2d
Explicitly mark strings as not c-formatted
5 years ago
obligaron
fe034ce709
Towncast: Fix character changes direction for casting
5 years ago
obligaron
fba534de0a
Remove unused LastMouseButtonTime
5 years ago
Anders Jenbo
4451a519eb
Fix two OOBs in missiles.cpp
5 years ago
Jmgr
84b8b5828d
Keymapper: remove now useless INI access functions
5 years ago
Anders Jenbo
24d0d37d26
Add drop shadow to DrawMapLineSteep
5 years ago
obligaron
551645060b
Fix item swapping and AnimationInfo::ChangeAnimationData
5 years ago
Anders Jenbo
9818ad4891
[Android] Locate external App data path and migrate data files
5 years ago
obligaron
7d9891b249
ADL GetOffsetForWalking: remove diagonal special
5 years ago
Anders Jenbo
ab8afa7cd7
Fix edge cases in mouse action tracking code ( #2452 )
...
Fixes #2431
Also:
- Track spell targets
- Merge repeat walk in to the new repeat action code
- Avoid time based repeats (use action frame instead)
5 years ago
obligaron
d2b2a5a4fc
Fix Counselor always hiding
5 years ago
staphen
22da429d4b
Restore return statement removed by 9ebdb6d.
5 years ago
Vladimir Olteanu
2d0c818a63
Use SdlThread stuff in appfat.cpp
5 years ago
Vladimir Olteanu
1889f2badd
Get rid of utils/thread.{h,cpp}
5 years ago
Vladimir Olteanu
e6412ff8ab
Use SdlThread in nthread
5 years ago
Vladimir Olteanu
fc8fc46e17
Use SdlThread in dthread.cpp
5 years ago
Vladimir Olteanu
77a3955bae
Introduce SdlThread
5 years ago
Vladimir Olteanu
629bd69fab
Remove duplicate code in AddFooRune
5 years ago
Vladimir Olteanu
fae1e4eee5
Replace CCritSect with SdlMutex
5 years ago
Anders Jenbo
7effa1a931
Merge pull request #2433 from diasurgical/player
5 years ago
obligaron
62ac7cc453
Fix DirOK for unique monsters
5 years ago