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
Anders Jenbo
8c5c703375
Implement Android installation wizard
5 years ago
Krzysztof Klinikowski
1a3075c362
Add DevilutionX Android activity
5 years ago
staphen
90a840999c
Add Android dependencies via CMake FetchContent scripts
5 years ago
Anders Jenbo
e2ead2cc5e
Port engine to Android
...
Set the font path for Android
Do not check for FileExists on CharisSILB.ttf for Android, FileExists
will always fail as it doesn't detect files located in the APK
port
5 years ago
Juraj Michálek
fe6e9e9cc2
Use CMake as build system
5 years ago
Anders Jenbo
08f8e5b502
Add Android icon
5 years ago
Krzysztof Klinikowski
751485b5db
Add SDL Android porject files
5 years ago
obligaron
660f8d2f43
Ensure AnimationInfo is reset when a game is loaded
5 years ago
Juliano Leal Goncalves
d47fc924f3
♻️ Use '_item_indexes' instead of 'int' for 'ItemStruct.IDidx' field
5 years ago
Juliano Leal Goncalves
1cb2de47c4
🏷️ Expand underlying type of '_item_indexes' to 'uint16'
...
This matches existing usages which rely on constant value 0xFFFF when unpacking items.
5 years ago
qndel
6931c438d3
fix typo ( #2150 )
5 years ago
qndel
4e6eeaa9d7
update asio
5 years ago
qndel
70bf808512
change 1 to bool
5 years ago
Anders Jenbo
cd1d1242b6
Reset all players on game start
5 years ago
ephphatha
0c99ae0206
Add descriptive name and comments for the Na-Krul spell tome check function
5 years ago
Anders Jenbo
c6f6c99add
Fix GCC warning
5 years ago
qndel
816b244689
HasItem/RemoveInvItem combo refactor
5 years ago
qndel
0c39656c91
fix reconstructed note
5 years ago
qndel
8aec2faed0
Fix clang format in towners.cpp
5 years ago
staphen
5379525c2e
Update CMake platform variable for NINTENDO_3DS
5 years ago
staphen
6aba719ed1
Remove 3DS package updates from CI script
5 years ago
Juliano Leal Goncalves
1328c9ea93
🎨 Make 'Size' fields camelCase
5 years ago
Anders Jenbo
c9ac589a3e
Delete ru.mo
5 years ago