152 Commits

Author SHA1 Message Date
UnknownShadow200
0c54b9d696 WIP on better supporting gamepad as an alternative input source
Also move PSP to newer window style implementation
For Visual Studio project, move windowing backends to separate Window folder
Also add more console backends into the Visual Studio project
2023-08-12 21:10:50 +10:00
UnknownShadow200
14fee0c2ee Broken Dreamcast stuff 2023-08-07 21:00:39 +10:00
UnknownShadow200
29ea9139d1 Consoles: Allow rebinding mappings
3DS: Also fixes that clicking on bottom screen would always mass delete blocks
2023-08-04 20:11:14 +10:00
UnknownShadow200
8406571804 Separate gamepad Start/Select from Enter/Escape keys 2023-08-04 18:48:10 +10:00
UnknownShadow200
48211f9b47 Wii/GameCube: Some small improvements in input
GameCube: Increase deadzone range (thanks GK6475)
Wii: Changed classic controller mapping (thanks SuperMYL)

Also in general, start adding separate input buttons for gamepad buttons
2023-08-01 17:28:24 +10:00
UnknownShadow200
736d28946d Split up IPT enum into CCKEY and CCMOUSE enums
Also start building GameCube build with github actions again
2023-07-31 18:44:45 +10:00
UnknownShadow200
b6985480e1 Fix eb164f588ac7060008307a133594939a2754bef2 completely breaking inventory rendering with OpenGL, which usually then caused either massive graphical artifacts or crash shortly after 2023-07-01 08:30:36 +10:00
UnknownShadow200
8807e2d4b8 Allow rebinding 1 - 9 hotbar keys 2023-06-30 22:58:53 +10:00
UnknownShadow200
1855213e6d Better BeOS compatibility 2023-06-29 19:46:24 +10:00
UnknownShadow200
9809e34e78 3DS: Implement rudimentary controls and support for clicking Singleplayer/Multiplayer from main menu 2023-06-22 20:40:33 +10:00
UnknownShadow200
28aba23a1a Rename KEY enum to IPT enum
Given that KEY enum was being misused for e.g. KEY_LMOUSE
2023-06-22 18:22:58 +10:00
UnknownShadow200
68d8b748d2 Allow blocking sockets 2023-05-13 10:49:50 +10:00
360ied
c64f01b244 Don't move camera while in menus 2023-05-10 13:58:41 -04:00
360ied
c0628d4a68 Add basic keyboard-only aiming support 2023-05-08 13:22:21 -04:00
UnknownShadow200
72694b5bdf WIP on interpolation flags rewrite, breaks network interpolation though 2022-10-29 20:05:35 +11:00
UnknownShadow200
ceaf0658fc Move prev/next state from interpolation component to Entity struct 2022-10-29 17:53:45 +11:00
UnknownShadow200
1bec4922f9 Further simplify LocationUpdate by also integrating interpolation flag 2022-10-23 08:46:52 +11:00
UnknownShadow200
d3a0ba8808 Simplify LocationUpdate related code 2022-10-22 20:06:48 +11:00
UnknownShadow200
21b934a4c6 Mobile: Fix server defined hotkeys still persisting after you quit the server, and then join a different server or singleplayer 2022-09-10 18:10:52 +10:00
UnknownShadow200
04637af331 Redesign default block properties to use a table instead (backport from 0.0.23a branch) 2022-01-30 16:29:44 +11:00
UnknownShadow200
7b44e2d48d Minor GUI tweaks to be more classic like
Display original names for keys (e.g. RBRACKET instead of BracketRight)
Always show 'Select block' title in inventory, even when no block is selected
Load level menu has 'Load level' title instead of 'Select a level'
2021-12-21 09:27:22 +11:00
UnknownShadow200
b62e9fd10c Track whether a hotkey is user or server defined 2021-11-15 22:33:45 +11:00
UnknownShadow200
fa4a63b3bd Make hotkey struct field naming more consistent 2021-11-15 21:47:42 +11:00
UnknownShadow200
6aac1c804f Mobile: Allow turning off hold/tap place/delete behaviour (Thanks HeteroChromia420) 2021-08-22 10:05:31 +10:00
UnknownShadow200
cea4e26ad1 Web: Fix can't scroll in inventory anymore (Thanks Fam0r) 2021-05-24 22:30:43 +10:00
UnknownShadow200
b8b29dfb07 Android: Fix deleting blocks when double click to join from server list 2021-05-15 15:31:24 +10:00
Fam0r
cf07f102ca Make changes only affect gas blocks 2021-03-31 14:25:38 +03:00
Fam0r
505f3e4262 Fix last commit 2021-03-25 11:16:35 +02:00
Fam0r
d90ff8c192 Make BlockPermissions affect non-solid blocks better
Currently setting a non-solid block to be undeletable doesn't do anything, as you can still replace it with other blocks. This change will make it so that if a non-solid block is undeletable, the client cannot replace the block with anything else.
2021-03-25 11:08:53 +02:00
UnknownShadow200
a9086e3dea Android: Partially fix case where a particular device would get stuck punching blocks 2021-02-13 13:09:29 +11:00
UnknownShadow200
a7647a1ba1 Android: Fix if you hold finger to start deleting blocks, then switch to another app, then release finger in that app, then return to the game, you are stuck deleting blocks 2021-02-13 10:24:06 +11:00
UnknownShadow200
1f1b9f983d Mobile: Fix clicking onscreen delete button still placing a block (Thanks kaikai) 2021-02-07 23:27:38 +11:00
UnknownShadow200
58380529f9 Add Input_SetTouchMode 2021-02-01 18:36:10 +11:00
UnknownShadow200
5b82fbb124 Webclient: Fix copy/paste not working on IE11 because of last two commits 2021-01-31 21:03:54 +11:00
UnknownShadow200
083652ebf4 Simplify clipboard API 2021-01-31 18:57:35 +11:00
UnknownShadow200
608ee705ca Mobile: Holding jump should still move camera around (Thanks zLegqcy) 2021-01-01 22:29:07 +11:00
UnknownShadow200
53e3ab92e6 Return touch type instead of true in screen pointer up's, return void for widget input/pointer up 2021-01-01 18:54:47 +11:00
UnknownShadow200
8f888c0589 Make StringsBuffer no longer hardcoded to max 512 character entries 2020-12-30 18:56:44 +11:00
UnknownShadow200
aedd53eeb6 CC_BUILD_OSX -> CC_BUILD_DARWIN, add ARM register dumping 2020-12-29 22:16:15 +11:00
UnknownShadow200
3758fc3e84 Screen PointerUp should not be cancellable 2020-12-29 18:54:34 +11:00
UnknownShadow200
fb4c74d0a0 Opening chat input shouldn't cause 'speed: X' to immediately vanish 2020-12-27 18:32:03 +11:00
UnknownShadow200
1457d1207c Only save the one keybind that changed instead of all keybinds 2020-12-27 16:58:12 +11:00
UnknownShadow200
9e7d19bfd1 Eliminate Mouse_X/Y completely, start work on new keybinding changed event 2020-12-27 16:48:47 +11:00
UnknownShadow200
07b0086f9e Launcher: Eliminate all uses of Mouse_X/Y 2020-12-27 16:11:05 +11:00
UnknownShadow200
44773bc28e Add field to Gui for screen currently grabbing input, faster than having to iterate through all screens 2020-12-27 13:39:08 +11:00
UnknownShadow200
12ee3a1ec6 Make InputUp event non cancellable for screens 2020-12-27 13:25:27 +11:00
UnknownShadow200
13dcf51f9f Move FOV stuff into Camera module instead 2020-12-21 10:40:47 +11:00
UnknownShadow200
9aba62615d Fix classic pause menu still showing empty quit game button 2020-12-21 00:01:25 +11:00
UnknownShadow200
6fe58feae6 Make the GUI code a little bit less ugly 2020-12-20 21:33:03 +11:00
UnknownShadow200
42c4e1c841 Webclient: Fix being unable to change controls in some browser versions
This was my fault for not implementing pressing buttons on mouse movement properly. Also fixes on Windows where if you pressed on a control and still held down left mouse for a bit, the game would set the control binding to LeftMouse.
2020-12-13 21:58:21 +11:00