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
UnknownShadow200
b49a617d58
disable redraw debug messages for android
2020-10-11 09:59:47 +11:00
UnknownShadow200
27a0498bbc
Fix with text input from mobile, if you type something then backspace so the text input is empty, the '> ' chat input prefix or background menu input turns into an invalid black texture
2020-10-10 21:24:37 +11:00
UnknownShadow200
ecddb28d34
Add keyboard type to Window_OpenKeyboard (not used yet)
2020-10-10 10:37:49 +11:00
UnknownShadow200
c508f680a3
Make Camera a component
2020-10-09 22:27:14 +11:00
UnknownShadow200
0591f755e4
move chunk updating logic for changing block out of Game.c and into MapRenderer.c where it belongs
2020-10-09 20:39:50 +11:00
UnknownShadow200
769e441953
If updating fails, specifically indicate which step failed, instead of just 'Running updater failed'
2020-10-08 12:46:56 +11:00
UnknownShadow200
168143fecc
Simplify block permissions reset code
2020-10-07 19:53:46 +11:00
UnknownShadow200
18dcbd710f
one less incompatibility with c89
2020-10-07 00:10:26 +11:00
UnknownShadow200
6b8a9cc1e3
Don't print garbage characters after actual debug messages to MSVC debug window
2020-10-05 20:18:02 +11:00
UnknownShadow200
ae2443bb91
Fix if you try to sign in multiple times very quickly, you'd go to the server list, but trying to start the game would show 'error: missing IP and/or port' (Thanks 123DMWM)
...
One way to trigger this was to click 'sign in' at MFA required menu, then click 'sign in' again on the main launcher menu.
It could also be triggered by clicking Sign In, then very quickly clicking Options then Back, then clicking Sign In again.
2020-10-05 11:33:58 +11:00
UnknownShadow200
1758667f1d
Merge pull request #728 from Fam0r/master
...
Make enter key work in MFA screen
2020-10-05 11:02:35 +11:00
Fam0r
b211a48378
Make enter key work in MFA screen
2020-10-04 20:57:56 +03:00
UnknownShadow200
70ffe98149
if flying is disabled and you are using scrolled out third person camera, immediately reset scroll distance to default instead of when next time user tries to scroll (Thanks Goodly)
2020-10-04 17:02:21 +11:00
UnknownShadow200
bc33bfb686
Avoid the confusing ReducePadding, use simpler SetPadding instead (still got to fix chat though)
2020-10-03 17:12:38 +10:00
UnknownShadow200
ac98c00f3b
fix last commit
2020-10-03 15:51:56 +10:00
UnknownShadow200
4fb020a336
font_style --> font_flags
2020-10-03 14:49:39 +10:00
UnknownShadow200
d125a133f4
call HUDScreen_Update directly instead of in Render method
2020-10-03 14:17:06 +10:00
UnknownShadow200
2d9d5561f3
Move AddVertices out of Builder_Stretch and into respective StretchX/Z methods
2020-10-02 20:21:54 +10:00
UnknownShadow200
01c7f1a08f
less warnings compiling with emscripten
2020-10-02 01:04:29 +10:00
UnknownShadow200
73a68dca39
Add some touch padding to the right of the inventory scrollbar
...
This way if you touch your finger a little bit to the right of the scrollbar, it still activates it instead of closing the inventory. (this was quite easy to do on accident)
2020-10-01 23:07:48 +10:00
UnknownShadow200
cad713e6fe
Release 1.2.0
1.2.0
2020-10-01 12:22:05 +10:00
UnknownShadow200
b14fd478d7
don't crash game if server sends invalid block id over 768
2020-09-30 23:54:56 +10:00
UnknownShadow200
2e64e28003
Merge pull request #725 from UnknownShadow200/HttpRewrite2
...
Improve HTTP api
2020-09-30 00:48:47 +10:00
UnknownShadow200
304a3c3651
Opening tab list shouldn't cause mouse button PlayerClick release packets to be sent (Thanks Goodly)
2020-09-29 22:03:11 +10:00
UnknownShadow200
619d061a70
fix last commit and get border around chat (when drawn) to properly DPI scale
2020-09-28 22:05:04 +10:00
UnknownShadow200
d4702e9693
chat logging is disabled on android by default, don't compile freetype code when compiling with emscripten to shave few seconds off compile time
2020-09-28 21:45:51 +10:00
UnknownShadow200
982d0bb925
Reduce target SDK version from 26 to 23 so I can use file:// uris when sharing screenshots to other applications. >= 24 throws a android.os.FileUriExposedException when I try that.
...
If this causes problems in the future, I made a properly working ContentProvider implementation for screenshots in AndroidContentProvider branch. I tested and it does seem to work, although it's terribly written code and probably breaks somehow. Definitely not worth the two hours I wasted on that and FileProvider.
2020-09-27 22:56:09 +10:00