UnknownShadow200
292b9463a0
Android: Fix 1 block always being placed/deleted when you start the game
2020-10-23 23:51:17 +11:00
UnknownShadow200
1df5122100
Android: Fix if you cancel initial assets download partway through, then start singleplayer, then quit game, then try to continue downloading initial assets, it wouldn't download them anymore
2020-10-23 22:49:47 +11:00
UnknownShadow200
73b334f1ad
Add 'quit game' button to disconnected menu
2020-10-23 21:39:46 +11:00
UnknownShadow200
8c5cd2f303
fix android version freezing when you try to quit game and music is enabled
2020-10-23 21:04:52 +11:00
UnknownShadow200
9688c2ebd2
At long last, music works on android
2020-10-23 20:57:03 +11:00
UnknownShadow200
fa687f1e93
Get sounds to work for android, music still broken
...
Also change Audio_IsCompleted to Audio_IsAvailable to be clearer
2020-10-23 19:03:51 +11:00
UnknownShadow200
6fdcc930a1
Android: Finally get some audio output for OpenSL ES backend. Music doesn't work and sounds break after a few times, but at least it's something
2020-10-23 15:15:35 +11:00
UnknownShadow200
e100fb7476
Remove AudioHandle and use AudioContext struct directly instead
...
AudioHandle was rather fail, since it represented an index into a static array of 20 AudioContexts. As such, it was not thread safe, and imposed an arbitrary limit of how many audio contextx could be used
2020-10-23 14:54:21 +11:00
UnknownShadow200
029293d1c2
Split out Audio_Open, more work on OpenSL ES backend
2020-10-23 14:38:18 +11:00
UnknownShadow200
777412e56a
try to share some code between the audio backends
2020-10-23 13:26:18 +11:00
UnknownShadow200
8b3246b67b
Android: Starting working on OpenSL ES backend for audio
2020-10-23 10:45:33 +11:00
UnknownShadow200
251d531fb2
Launcher: Split up ResourcesScreen into CheckResourcesScreen and FetchResourcesScreen
2020-10-23 00:58:21 +11:00
UnknownShadow200
7af1a2b7c4
Android: Fix no more http requests occurring after you have clicked quit game
2020-10-23 00:17:00 +11:00
UnknownShadow200
856c7a2f2a
Bump android SDK version back up to 26 to avoid 'this app was built for an older version of android and doesn't include the latest privacy protections' message when installing
...
I also set StrictMode.disableDeathOnFileUriExposure using some disgusting reflection so screenshots can continue to use file:// urls instead of content:// urls
2020-10-22 23:54:50 +11:00
UnknownShadow200
d717c51059
Immediately terminate the game if Direct3DCreate9 returns NULL, instead of randomly crashing from invalid memory access later (Thanks aleksb385)
2020-10-22 23:02:48 +11:00
UnknownShadow200
68c24fd4f4
Change update urls from cs.classicube.net/c_client/ to cs.classicube.net/client
...
Fixes game not updating on old versions of wine which had a bug in redirection handling logic
2020-10-22 09:16:05 +11:00
UnknownShadow200
39feb29b15
Android version: Fix if you quit and return to game multiple times, you end up moving at hyperspeed
2020-10-22 00:27:49 +11:00
UnknownShadow200
174bbc6363
Change the android package name to avoid conflicting with a certain other android application
2020-10-21 23:48:10 +11:00
UnknownShadow200
7d017e7dd1
Avoid logging some memory map for android crash logs
...
From 121kb to 47kb per crash in the emulator
2020-10-21 12:01:56 +11:00
UnknownShadow200
1093db2191
Merge pull request #735 from UnknownShadow200/AndroidInputTypeTake2
...
Proper keyboard input for android version
2020-10-20 19:53:45 +11:00
UnknownShadow200
5f3655d948
Android: Attempt to fix rare launcher crash when rotating device
2020-10-20 17:39:21 +11:00
UnknownShadow200
53af396dd9
Android: Fix if you leave input field with text in it then select it again, you can't backspace the text anymore
2020-10-19 23:32:14 +11:00
UnknownShadow200
e93fa93042
Android: Fix backspace in numeric keyboard randomly crashing
2020-10-19 21:24:45 +11:00
UnknownShadow200
f6bfb86fa5
Take two at improving android keyboard
...
Still has problems of a) always adding . after space b) backspacing in numeric keyboard crashing
2020-10-18 19:06:26 +11:00
UnknownShadow200
3af3d829a1
For numeric input fields in mobile web client, try to display numeric soft keypad instead of regular one
2020-10-18 15:55:02 +11:00
UnknownShadow200
b429750127
Backport adding support for InputEvents.TextChanged from AndroidInputType branch
2020-10-18 14:51:13 +11:00
UnknownShadow200
13fda4c626
remove old String typedef completely
2020-10-18 12:31:19 +11:00
UnknownShadow200
88d1d9513a
Avoid including String.h in almost all .h files
2020-10-18 12:23:06 +11:00
UnknownShadow200
9501564a72
String --> cc_string
2020-10-18 11:53:28 +11:00
UnknownShadow200
72d7d089dc
Fix last commit
2020-10-18 00:45:06 +11:00
UnknownShadow200
ebd1c84e94
Only set MobTextureId in one place
2020-10-18 00:07:26 +11:00
UnknownShadow200
6af0c7342a
Don't try to calculate uScale/vScale in Model_SetupState, because this is done in Model_ApplyTexture
2020-10-17 22:46:41 +11:00
UnknownShadow200
851a58d743
Add support for reducing a few emoji into code page 437 characters, mostly just variants of the happy one
...
This has only been tested with mobile web client and probably doesn't work anywhere else
2020-10-17 19:32:42 +11:00
UnknownShadow200
293b2ea113
use Codepoint instead of unichar in more places
2020-10-17 17:18:23 +11:00
UnknownShadow200
4e982f3b4b
Rename Codepoint typedef to cc_unichar to more accurately reflect what it is
...
Bah, strings. A unicode codepoint definitely does not fit in 16 bits
2020-10-17 16:47:54 +11:00
UnknownShadow200
a69ca77e2c
add WIP grabbing cursor for linux backend (addresses #731 )
2020-10-17 09:56:51 +11:00
UnknownShadow200
bd451b7f31
For text input on mobile web client, instead of trying to draw an invisible text input and only showing the in-game chat input, now draw a fully solid text input box over the top of the game
...
Hopefully this makes chatting much less of a pain
2020-10-16 20:30:01 +11:00
UnknownShadow200
5fd09f2b98
Fix web client erroring when exiting fullscreen but resizeGameCanvas function was not defined
2020-10-16 12:04:46 +11:00
UnknownShadow200
8a37db5270
fix last commit causing gui buttons to get stuck down permanently
...
I mixed up and and nand oops
2020-10-14 23:13:33 +11:00
UnknownShadow200
2496ed39fb
Fix for android version, if you singleplayer -> quit game -> singleplayer again, you are stuck deleting/placing blocks sometimes
2020-10-14 23:01:39 +11:00
UnknownShadow200
87926a82f4
simplify changing surfaces code for android
2020-10-14 19:38:32 +11:00
UnknownShadow200
a15c65512c
Change android icon from default green droid to classicube one
2020-10-14 00:36:33 +11:00
UnknownShadow200
4002a8d074
for android values, round DPI values to two decimal places
...
Some older devices return values like 0.996 which causes 1 pixel wide lines to wrongly round downwards to 0 etc
2020-10-14 00:10:43 +11:00
UnknownShadow200
778c701d78
Fix android version crashing on older versions
...
how did this even work at all?
2020-10-13 23:44:05 +11:00
UnknownShadow200
1e00e9d8b4
Fix android version crashing if you singleplayer -> quit game -> singleplayer -> quit game -> click options -> click back
2020-10-13 22:53:45 +11:00
UnknownShadow200
6607e15100
Backport adding text argument to Window_OpenKeyboard from AndroidInputTouch branch
2020-10-13 19:21:32 +11:00
UnknownShadow200
9225aecfad
Android: Fix game graphics getting stuffed up if you quit game then go into it again, and fix classicube title text not appearing in launcher menus after quitting game
2020-10-13 17:48:34 +11:00
UnknownShadow200
e4d6455ffe
Android: Fix immediately exiting if try to start game with invalid IP/port. Also clicking 'quit game' returns to main menu instead of exiting.
2020-10-13 17:05:58 +11:00
UnknownShadow200
c5da3f42d0
WIP on making android version not immediately crash if you tryy to start game with an invalid IP/port
2020-10-12 19:50:49 +11:00
UnknownShadow200
6817f13235
WIP on making fullscreen button work for android client
2020-10-12 17:38:23 +11:00