Anders Jenbo
f5e8ae47c0
[controller] Correct movment range
...
Previously the player could wald across lava bends and sneak past
blocked paths
6 years ago
Anders Jenbo
7e2b0dd958
[controler] Prevent actions during death/menu/pause
6 years ago
Anders Jenbo
046064fcfe
Fix PostMessageA an remove more unused event code
6 years ago
Gleb Mazovetskiy
6aae591f6c
FindMelee: Minor cleanup
6 years ago
Anders Jenbo
e847108b78
Clean up event handeling
6 years ago
Anders Jenbo
f9d4073620
Detect when gamepads are added or removed
6 years ago
Anders Jenbo
1d500497da
Ignore clicks ouside game
...
Fixes #91
6 years ago
Anders Jenbo
a261e8ad65
Better frame delay pressision
...
- Most refresh rates aliging poorly with integer ms
- Adaptive frame limit for low spec devices
6 years ago
Anders Jenbo
adad63cc72
Revert "Lazy load ini"
...
This reverts commit e316bce4d0 .
6 years ago
Anders Jenbo
dd0cd88eb8
[controller] Single BFS mele aim
6 years ago
Gleb Mazovetskiy
675a7b7363
Move RG350/RetroFW/Switch defs to CMake
6 years ago
Fabian Bieler
8ee3e75199
Do not limit clipboard paste to 31 characters.
...
Previously the clipboard contents were limited to
SDL_TEXTINPUTEVENT_TEXT_SIZE-1 (31 characters).
This is not necessary since the contents of the clipboard are written
directly to the UI element's buffer.
This is especially useful when pasting IPv6 addresses.
6 years ago
rsn8887
3db7f4ee86
Enable networking and stdio on Switch platform
6 years ago
rsn8887
d63c61e27c
Add virtual keyboard support on Switch
6 years ago
rsn8887
c1237b53dd
Correctly handle window size and docking/undocking on Switch
6 years ago
Gleb Mazovetskiy
4f3b1f0fb8
[switch] Build with CMake ( #334 )
...
* Switch port: Code changes for latest devkitpro
* switch/build.sh: Fewer devkitpro packages
6 years ago
lantus360
4c96d946c6
Initial Nintendo Switch support
6 years ago
Anders Jenbo
e316bce4d0
Lazy load ini
...
This will hopfully solve the crash issues on Android
6 years ago
rsn8887
dd569bf8e0
Implement touch controls
6 years ago
Max Desiatov
4ff8f586d6
Fix typo in plrctrls.cpp comment
...
>cordinate
6 years ago
Anders Jenbo
279535f90b
Correct GetDistanceRanged calculation
6 years ago
Anders Jenbo
425262560b
Check best case before doing a full path search
...
This gives between 2x-10x performance improvment to mele only player
auto aim performance. Further improvments could be made by ordering
enemies by minimal distance and doing a continue in while ((next_node =
GetNextPath())) if maxDistance is exceeded.
6 years ago
Anders Jenbo
b3d81a46cc
Ignore doorway so we don't get stuck behind barrels
6 years ago
Anders Jenbo
0c75636db3
[controller] Automatically apply heal-other, resurect and disarm
6 years ago
Anders Jenbo
d94b245497
[controlls] Prioritize spell targets
...
Spells will now target either the apropriate highlighted actor or the
current direction.
6 years ago
Anders Jenbo
520c1515ed
Check if towner is in range first
...
This dramatically reduces the CPU spend finding towners
6 years ago
Gleb Mazovetskiy
a13f1580d5
Prefill player name from list
6 years ago
Gleb Mazovetskiy
2acb87c743
SDL1: Set video mode flags and BPP via CMake
6 years ago
Gleb Mazovetskiy
24f7b080a5
Work around RG350 joystick mode kernel bug
6 years ago
Gleb Mazovetskiy
e2ea5b54bc
Fix devices/joystick d-pad handling
6 years ago
Gleb Mazovetskiy
040caf71d3
RetroFW: Fix brightness button using belt item 3
6 years ago
Gleb Mazovetskiy
1bc19ec1e9
Update KbCtrl mappings
...
New mappings for mouse movement.
Select is now the modifier key.
6 years ago
Gleb Mazovetskiy
5c32814820
RG350 and RetroFW improvements
...
1. Use SDL1 for RG350 for performance
2. Document controls for both
6 years ago
Anders Jenbo
a4d612d509
Clear video buffer
...
This avoids garbage appearing in the video boarder when not using a render
6 years ago
Gleb Mazovetskiy
3e8f279653
Fix FPS limiting on SDL1
...
Was previously crashing with division-by-zero as refreshRate was not set
6 years ago
Anders Jenbo
c3072c9373
Correct fade delay
...
(256 / 8) × (1000 / 60) / 256 = ms per level (8 levels per frame at
60hz, 256 levels)
6 years ago
Anders Jenbo
0127478673
Improve frame delay for non-v-synced rendering
...
Thanks to @glebm for pointing out the issue, hopfuly this is a better
solution :)
6 years ago
Anders Jenbo
448c01a969
Make all movies escapable using ESC
...
Fixes #175
6 years ago
Anders Jenbo
bc88560b41
Disable rendering when minimized
...
This recovers the original use of gbActive
6 years ago
Anders Jenbo
aa23194591
Calculate fade based on frame level time
...
This makes the frame lenght FPS independant and fixes #459
6 years ago
Anders Jenbo
d50485b119
Silence some SDL events that we do not use
6 years ago
Anders Jenbo
dffc89e41c
Limit FPS when upscaling is disabled
6 years ago
Gleb Mazovetskiy
efd9056b2b
PeekMessageA: Fix false_avail for some events
6 years ago
Anders Jenbo
54bbb4b29a
Better fake event handeling
6 years ago
Anders Jenbo
c5bca03e5a
Fix redrawing panel on unminimizing
6 years ago
Robin Eklind
49ced24d76
set name of belt_item_type typedef
...
Fixes #453 .
6 years ago
Anders Jenbo
2bb9aa4928
* Improve controller autoaim
...
- Access and detect all parts of large objects
- Prioritize targets based on orientation
- Accurate prioritize the closest enemy when using mele only
- Multiple corrections to target selection logic
6 years ago
Anders Jenbo
4532f009ff
Remove old anti-cheat code from save function
...
Tthis code simply logs the save time of a multiplayer game in the
register database, this was likly done as part of an anti cheat scheme
(the key was "Video Player"), but appears to have since been disabled.
Probably to allow moving save games between PC's which was supported
when better Windows 2000 support was added.
6 years ago
Xadhoom
0010c9307f
Fix network: creating and joining
6 years ago
Anders Jenbo
0092aa66f0
[ctlr] Fix closing inventory via quickbook
6 years ago