Juliano Leal Goncalves
0e2d734bbb
♻️ Leverage 'Size' in 'CheckInvPaste' implementation
5 years ago
Juliano Leal Goncalves
4ab80d25f4
♻️ Leverage 'Size' in 'AddItemToInvGrid' function
5 years ago
nsm53project
713abdca8f
Update Korean localization
...
725/1173 lines
5 years ago
staphen
b16eec262a
Disable ASAN and UBSAN for 3DS builds
5 years ago
staphen
1ca50e65eb
Fix and reenable SNetReceiveTurns on 3DS
5 years ago
staphen
c6a9eaaf88
Implement sendmsg and recvmsg
5 years ago
staphen
9ab268ee31
Reduce memory usage requirement for key derivation
5 years ago
staphen
fea2cbb104
Initialize AC and SOC services at startup
5 years ago
staphen
12cd536259
Stub missing functions for 3DS
5 years ago
staphen
d0059c01cc
Headers for 3DS asio compilation
5 years ago
staphen
14a0da7fb3
Enable TCP in 3DS build
5 years ago
staphen
57856fa2a6
3DS SOC service initialization functions
5 years ago
staphen
f2bf6f3ff3
3DS custom RNG for libsodium
5 years ago
staphen
b6398b75d0
Replace std::mutex with SdlMutex
5 years ago
staphen
9ca9de3eba
Add virtual keyboard hints and 3DS keyboard improvements
5 years ago
ephphatha
5b0accb13c
Make it clearer when seeds are being converted from unsigned to signed
5 years ago
ephphatha
8d5b5e833b
Add tests for LCG random engine
...
This documents the chosen LCG parameters and the default mapping function used in random number generation.
GetLCGEngineState() is a helper needed for testing because AdvanceRndSeed combines a distribution with a call to progress the engine. I'll split those eventually but this at least shows the current behaviour and should flag any bugs introduced by future changes.
5 years ago
ephphatha
fa8eada221
Remove unused variable.
...
It was documented as if this stored a seed in the previous LCG cycle but it actually stored the initial seed for the current cycle. This value is never used.
5 years ago
Anders Jenbo
3affe2eb2a
Fix SDL1 builds
5 years ago
Anders Jenbo
9dd7de027f
Limit screen to landscape mode
5 years ago
ephphatha
b478d8295c
Remove dead code, FreeText() is never called
...
Given the program already lets the destructors get called naturally there's no need to explicitly call this function. Even if it was desirable to re-init the font data the old instances will be destroyed when the new instance is assigned to the optional.
5 years ago
Anders Jenbo
c3eed43012
Add "useful" items to test
5 years ago
Gleb Mazovetskiy
43bc08bd63
Hardware Cursor: Fall back to software on failure
5 years ago
Gleb Mazovetskiy
523d838bd4
Hardware Cursor: Use item hotpoint
...
For a hardware item cursor, set the hotpoint to the center
instead of manually setting the cursor position.
5 years ago
Anders Jenbo
4e6870a92f
Fix building Android release versions
...
With out -03 -flto=full android builds will fail with a message that
it's not possible wiht out O1 - O3
5 years ago
Anders Jenbo
019db81351
Bump Android SDK version to 29
...
Google now requires apps to target version 29 in order for them be be
admissable.
5 years ago
Gleb Mazovetskiy
c875c0c213
Optimize FadeIn/Out palette updates
...
Only call `SetFadeLevel` when needed.
5 years ago
Gleb Mazovetskiy
f9d20b44d6
🎉 Hardware cursor (SDL2-only)
...
Disabled by default because of these known issues:
1. When clicking on inventory item, it briefly appears a bit shifted (in the wrong coordinates).
This issue can happen with software cursor as well, but is a lot more
obvious with the hardware cursor.
2. Cursor is scaled with nearest-neighbour scaling, which may look a bit different from
how the rest of the graphics are scaled.
See also previous attempt: https://github.com/diasurgical/devilutionX/pull/955 by @viciious
Co-authored-by: Victor Luchits <vluchits@gmail.com>
5 years ago
obligaron
b5ad92eb2c
Convert _mAnimData to CelSprite
5 years ago
obligaron
7e594db683
Simplify SyncMonsterAnim
5 years ago
obligaron
40faa6e186
Introduce MonsterStruct::CheckStandAnimationIsLoaded
5 years ago
obligaron
ceda0b46ce
Introduce InitDeadAnimationFromMonster
5 years ago
obligaron
ab9a300393
Introduce InitMissileAnimationFromMonster
5 years ago
Anders Jenbo
f99ef2c195
A couple of clean ups suggested by Android Studio/Clang Tidy
5 years ago
Gleb Mazovetskiy
e9544c2fdc
♻️ Cleanup `DrawCursor`
...
1. Only copy the outline if the cursor is an item.
2. Deduplicate clipping math.
5 years ago
staphen
a7123e7a5d
Update ASIO to diasurgical fork
5 years ago
staphen
470a012e2b
Update 3DS build instructions
5 years ago
Gleb Mazovetskiy
e7b105b6ed
🐞 Fix off-by-one in `DrawCursor`
...
The correct size is +2px for the outline, because the outline is on both
sides.
Fixes #2179
5 years ago
Gleb Mazovetskiy
432fdacd81
Clip `InvDrawSlotBack` draw call
5 years ago
Gleb Mazovetskiy
9c2677c368
DrawCutscene: Clip progress bar draw call
5 years ago
Gleb Mazovetskiy
982260d94e
Clip control.cpp draw calls
...
No longer crashes there when running at a resolution smaller than
640x480
5 years ago
Gleb Mazovetskiy
e6a432bc5e
Add `MakeSdlRect` helper function for -Wnarrowing
5 years ago
Epifanov Ivan
b16d3e8b54
Re-enable graphical settings on PSVita ( #2175 )
5 years ago
Licaon_Kter
f7dafc5073
Android - Enable multiplayer ( #2171 )
5 years ago
Licaon_Kter
0ee23d9198
Replace JCenter repos
...
Fix https://github.com/diasurgical/devilutionX/issues/2170
5 years ago
Oleksandr Kalko
aae61b0c05
Android building and installation instructions ( #2172 )
5 years ago
Licaon_Kter
23d73c860d
Android - move version to build.gradle ( #2168 )
5 years ago
Anders Jenbo
3f7ad14306
Set up CI for Android builds
5 years ago
Anders Jenbo
1c13f283cf
Fix Clang warning
5 years ago
Anders Jenbo
0227519267
Enable mouse emulation for Android
...
As a temporarly solution untill we implement a proper virtual controller
5 years ago