161 Commits

Author SHA1 Message Date
UnknownShadow200
dda2f34523 Rename Window_Close to Window_RequestClose to better reflect what it does, also ignore game files in root directory for .gitignore 2024-01-14 15:25:12 +11:00
UnknownShadow200
f5d8b44b8f Change X/Y/Z to lowercase in structs 2023-12-18 20:33:13 +11:00
UnknownShadow200
8d012e9029 Fix last commit oops 2023-10-23 20:42:46 +11:00
UnknownShadow200
0355fdf863 Use elapsed game time instead of elapsed system time for automatic periodic block place/delete when mouse is held down 2023-10-23 20:38:36 +11:00
UnknownShadow200
fd612bd95a Add gamepad controller bindings for left stick and right stick press to Web, Android and Xbox builds 2023-09-25 18:18:18 +10:00
UnknownShadow200
1fce20a30a Webclient: Support controller input too 2023-09-01 20:43:05 +10:00
UnknownShadow200
f9c65faa0f WIP on menu for switching between whether configuring controller or keyboard/mouse bindings 2023-09-01 20:10:30 +10:00
UnknownShadow200
55316623a7 WIP on supporting both mouse/keyboard and gamepad bindings at the same time 2023-09-01 18:45:14 +10:00
UnknownShadow200
a9535fbd3f Add key bindings for advancing hotbar selected slot by one slot left or right, which is also bound to ZL and ZR on gamepad by default 2023-08-18 21:21:14 +10:00
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