Oleksandr Kalko
4a7d34a502
Upgrade some Android stuff
1 year ago
Stephen C. Wills
6b988fcfdb
Fix clang-format violation ( #7500 )
1 year ago
Peppersawce
bd1881957b
Update paths.cpp
1 year ago
Peppersawce
da0418d654
Define Haiku assets path
1 year ago
Bubio
6523ac8796
Update ja_JP translations
1 year ago
Andrew James
5758e561fd
allow auto-equipping two-handed weapons with both hands occupied
...
specifically where the larger item is in the right hand, this would fail previously in certain circumstances.
1 year ago
Andrew James
1b32872db2
Shuffle items around when auto-equipping so less inv space is required
1 year ago
Andrew James
a8ca96452a
Only use holditem if we're actually picking the item to hand
1 year ago
Andrew James
b19f2e80ce
Move anonymous namespace functions to the top of the file
1 year ago
Andrew James
c7abf2f778
Extract logic from CheckInvCut/AutoPlaceItemInInventory ( #7494 )
...
* Remove unnecessary namespace
* Extract FindSlotUnderCursor
* Split logic for finding a space in the inventory to dedicated functions
1 year ago
staphen
fade1d0b22
Fix error in Lua require() function
1 year ago
Gleb Mazovetskiy
197827acc9
Update Source/utils/surface_to_clx.cpp
...
Well spotted!
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
1 year ago
Gleb Mazovetskiy
382dbd988e
Run tools/update_bundled_assets.sh
1 year ago
Gleb Mazovetskiy
aa751ff538
Reduce CLX header size from 10 to 6
...
We remain compatible with the 10-byte header size,
and actually now support any header size.
1 year ago
hiperiondev
304a7797dd
Add missing translation
1 year ago
hiperiondev
05feb0778c
Update from source
1 year ago
Sten Feldman
95c79ecd61
🇪🇪 ET Translation patch ( #7479 )
...
- First iteration of Estonian translations
- Added to Eesti to Options as well as included the strings to the Asset file.
1 year ago
Gleb Mazovetskiy
dbfa2feb48
SDL1: Avoid redundant palette update
...
When the display surface is 8-bit, skips a redundant call to `SDL_SetPalette`.
1 year ago
staphen
e1a08d369e
Do not assume 10-byte header for CL2 data
1 year ago
staphen
3caa80f453
Fix double to float conversion warnings in virtual gamepad logic
1 year ago
Eric Robinson
181247924b
Cleanup LoadGameLevel() ( #7467 )
1 year ago
Eric Robinson
d6c81898d6
Move Lazarus spawn code
1 year ago
Anders Jenbo
8dc6e0516a
Fix GetUniqueMonstPosition()
1 year ago
Eric Robinson
06528a58e7
Clean up PlaceUniqueMonster() position logic
1 year ago
Eric Robinson
baaa906583
Remove CheckCheatStats() ( #7461 )
1 year ago
Eric Robinson
0fd4a7b348
Fix Life/Mana bugs ( #5777 )
1 year ago
Gleb Mazovetskiy
63fd721d98
Set FMT_USE_FALLBACK_FILE=1 on some platforms
...
These platforms incorrectly declare but do not define `f(un)lockfile`.
`FMT_USE_FALLBACK_FILE=1` prevents libfmt from trying to use these
functions.
1 year ago
Gleb Mazovetskiy
985940342d
libfmt: Set FMT_USE_LOCALE=0
1 year ago
Gleb Mazovetskiy
ac062a3907
libfmt: FMT_BUILTIN_TYPES=0 on rg99
1 year ago
Gleb Mazovetskiy
dcb496614f
Update libfmt
1 year ago
qndel
b11a0952cb
get rid of libTolk.dll in artifacts
1 year ago
Gleb Mazovetskiy
1a32a705fe
Replaces uses of doubles with floats
...
Looks like the KallistiOS Dreamcast SDK disables double support
by default: 495e77fd60/environ_dreamcast.sh (L16)
We don't really need doubles in this code.
The one place where we might have needed them is the SMK video
decoder, handled in a separate PR.
1 year ago
Gleb Mazovetskiy
f476754313
Videos: Avoid float math for frame durations
...
SMK format actually defines frame durations in units that are 0.01ms:
91e732bb69/src/SmackerDecoder.cpp (L329-L334)
That's great because it means we can do everything using integer math.
1 year ago
staphen
1078598226
Hide Upscale option in Settings menu
1 year ago
Gleb Mazovetskiy
92aeb01ebb
Fix stairs rendering in Caves and Hell
...
Stairs can have the same `TileProperties` as floors but do not
always follor the same graphics layout as floors, so we shouldn't
apply optimizations to them.
The only floors affected seem to be:
1. Caves: tile 48 sub-tile 171 frame 461 (TileProperties: None)
2. Hell: tile 46 sub-tile 141 frame 386 (TileProperties: BlocksMissile)
Note that the few broken in pixels in caves are actually incorrectly
attributed to the non-Solid tile, really they should be part of the
solid tile 49.
As there doesn't seem to be a quick and easy way to check if a frame
is part of Stairs, we add a check for BlocksMissile tile property
instead.
This fixes Hell but isn't enough to fix Caves.
To fix Caves, we then add a `BlocksMissile` flag to the broken sub-tile.
1 year ago
Gleb Mazovetskiy
8c39edfe7e
Add `dev.display.tileData('microTiles')`
1 year ago
Andrew James
59471f0828
Remove special case when auto-placing 2x2 items
1 year ago
Gleb Mazovetskiy
67f822f659
Speed-up debug grid
...
`dev.display.grid()` previously tanked the FPS even on my beefy machine.
It is now much faster.
I've also noticed that the grid is glitchy when but this is also the
case before this PR.
1 year ago
Gleb Mazovetskiy
898cb3ae3d
Screenshotting: Use `SDL_RWops` throughout
...
Turns out `SDL_RWFromFP` isn't implemented in SDL for mingw.
1 year ago
staphen
b78ec23362
Fix bounds check in RenderClxOutline()
1 year ago
Eric Robinson
d7b5a0c972
Update hwcursor.cpp
1 year ago
qndel
fe15ae32f0
fix warnings
1 year ago
Eric Robinson
793eb7a835
Fix 0 charge staff in speed spell ( #6502 )
...
* Fix 0 charge staff in speed spell
1 year ago
Eric Robinson
9f197f5ebc
Rename Missile::_mirange to Missile::duration ( #7214 )
2 years ago
Eric Robinson
cdd22626b4
Fix Knockback direction ( #7093 )
2 years ago
Anders Jenbo
ee8907eb96
Use Point in cursor.cpp
2 years ago
Todd-C-Goldfarb
cadb6d86a5
Refactor: Check_Curs_Move() (Issue: 1995)
2 years ago
Eric Robinson
109c3b165c
Bugfix/Refactor: Min-Max Damage Range Calculations ( #7022 )
2 years ago
Eric Robinson
e90855b3c4
Rename stores.cpp global variables ( #7425 )
2 years ago
Anders Jenbo
974f517fd9
Make belt_item_type in to an enum class
2 years ago