5135 Commits

Author SHA1 Message Date
UnknownShadow200
354884a80b Get rid of usages of VertexP3fT2fC4b/P3fC4b typedef, just use raw struct 2020-05-06 22:31:57 +10:00
UnknownShadow200
64a968237c Phase 1 of renaming VertexP3fT2fC4b/P3fC4b to VertexTextured/Coloured 2020-05-06 22:08:06 +10:00
UnknownShadow200
a092b86ac8 better c89 compatibility 2020-05-06 21:48:26 +10:00
UnknownShadow200
b6b200d118 Add missing compile instructions for dragonfly bsd to main readme
Also rename macos app bundle identifier from 'com.classicube.game' to 'com.classicube.mac'
2020-05-06 16:36:55 +10:00
UnknownShadow200
d949b5b34e Redesign DynamicLib api to return void* directly
The 'returning cc_result' was rather useless, since it only returned an error code if lib/symbol was non-NULL, and that error code only even made sense on Windows. So instead for Windows, DynamicLib_DescribeError does the call to GetLastError()
2020-05-06 12:20:12 +10:00
UnknownShadow200
606a6eb123 Add dragonflybsd OS detection, and to makefile
I just treat it the same as FreeBSD
2020-05-05 20:05:40 +10:00
UnknownShadow200
80c78653bd day 394 of removing unused freetype code 2020-05-05 00:35:28 +10:00
UnknownShadow200
f6b6c5d2f2 Get rid of some of commented out OLD_ENGINE code 2020-05-03 23:16:32 +10:00
UnknownShadow200
6ab5dca914 Day 379 of removing unused freetype code 2020-05-03 23:05:08 +10:00
UnknownShadow200
d089b7b1bb remove unnecessary GetLineObj from TextGroupWidget
And fix some warnings
2020-05-03 20:39:04 +10:00
UnknownShadow200
8dc4ebb9fe
Merge pull request #648 from UnknownShadow200/gre78
GUI fixes (part 1)
2020-05-03 17:02:31 +10:00
UnknownShadow200
34e0d636ac Fix a few warnings when compiled with more warnings enabled 2020-05-03 11:25:00 +10:00
UnknownShadow200
1c0dcb03d7 When client disconnects from invalid opcode, it should also say what opcode (Thanks AndrewPH) 2020-05-03 08:50:43 +10:00
UnknownShadow200
3fdeb3ed88 Make DynamicLib_DescribeError available to plugins per request 2020-05-02 17:54:52 +10:00
UnknownShadow200
07e95ed9e6 Future-proof json handler and make it work with over 64k of data 2020-05-02 13:55:51 +10:00
UnknownShadow200
b42d8317f1 Make touch extra buttons screen use new rendering method too 2020-05-02 13:34:49 +10:00
UnknownShadow200
1d7bc6953f Optimise tex ids overlay rendering (part 2) 2020-05-02 12:56:18 +10:00
UnknownShadow200
feeaf9c7b5 Fix tex ids overlay not updating properly with resize in OpenGL, or when terrain atlas changes 2020-05-01 22:35:10 +10:00
UnknownShadow200
ab1cdd9dde Optimise tex ids overlay rendering (part 1) 2020-05-01 22:14:09 +10:00
UnknownShadow200
dc878f8da0 fix last commit 1.1.5 2020-05-01 15:51:15 +10:00
UnknownShadow200
58ac70f48a Release 1.1.5 2020-05-01 15:45:35 +10:00
UnknownShadow200
3a725a390e PlayerListWidget -> TabListOverlay 2020-05-01 12:21:43 +10:00
UnknownShadow200
a005e3b9ea Phase 1 of redesigning player list widget into a screen 2020-05-01 12:09:04 +10:00
UnknownShadow200
ced1392d9b Implement more logical block selection behaviour when picking from outside the map, especially when edge height is at 0. (Thanks yovel) 2020-04-30 19:01:45 +10:00
UnknownShadow200
1ea049b622 day 341 of removing unused freetype stuff 2020-04-30 18:35:00 +10:00
UnknownShadow200
ce99219bd9 remove some unused code 2020-04-30 17:59:09 +10:00
UnknownShadow200
6cf37ea07c Make block model rendering slightly faster 2020-04-29 23:27:06 +10:00
UnknownShadow200
16cd42e005 Eliminate last uses of Size2D struct 2020-04-29 20:50:38 +10:00
UnknownShadow200
8ce30ea785 Remove Drawer2D_MeasureText and use Drawer2D_TextWidth/Height instead 2020-04-29 20:04:36 +10:00
UnknownShadow200
f2c107b79e Allow ampersands in skin urls 2020-04-29 14:40:08 +10:00
UnknownShadow200
3c6d837088 remove String_StripCols from public API 2020-04-29 11:44:33 +10:00
UnknownShadow200
556134290b Hide the evidence I didn't fully test last commit 2020-04-28 22:34:52 +10:00
UnknownShadow200
22e0afc2fc Make system font drawing a little bit faster 2020-04-28 22:21:43 +10:00
UnknownShadow200
135b0fedae Fix for some mice with new raw input for linux, if you move mouse very gently vertically, it is treated as moving horizontally instead 2020-04-28 00:23:24 +10:00
UnknownShadow200
a7a42f1f5d make temp cam_delta float too 2020-04-27 18:16:45 +10:00
UnknownShadow200
c039a2c83b Use float for raw motion arguments, should fix issues with XInput2 2020-04-27 17:29:00 +10:00
UnknownShadow200
806a9b0d29 Fix animations with 0 frame size crashing the game (Thanks NexonProGT)
Also improve invalid anim framex/y etc messages to only log value that failed instead of the whole line
2020-04-26 11:29:42 +10:00
UnknownShadow200
b915038936 Fix launcher/game widgets appearing screwed on macOS/Linux (thanks Pear) 2020-04-26 09:37:21 +10:00
UnknownShadow200
24b4ede5fb Fix rare wrong behaviour where block is picked with bedrock height <= 0
If bedrock height is <= 0 and you're inside the map and picking a block on horizontal border inside, you pick block above the border instead of the block of the border
2020-04-25 21:01:29 +10:00
UnknownShadow200
94d154aa57 rename some variables in entity struct 2020-04-25 20:05:51 +10:00
UnknownShadow200
f34c7e7ec8 Mention you need to use 'extern C' when compiling C++ plugins. (Thanks Tree) 2020-04-25 11:34:23 +10:00
UnknownShadow200
7a0a9d628a Export DisplayInfo to plugins 2020-04-24 21:30:29 +10:00
UnknownShadow200
28a8086e37 Export window info to plugins 2020-04-24 19:12:01 +10:00
UnknownShadow200
b3b2ed22f6 Half sensitivity for XInput2 raw motion so it's about same as cursor sensitivity from before 2020-04-23 18:39:21 +10:00
UnknownShadow200
ca231d854c Camera struct was supposed to be exported to plugins, oops 2020-04-23 17:55:24 +10:00
UnknownShadow200
d703f632cd Fallback to mediump for glsl fragment shader if compiling with highp fails 2020-04-23 11:54:33 +10:00
UnknownShadow200
8da9b92973 Split off compilng glsl shaders from handling compilation errors 2020-04-23 09:19:53 +10:00
UnknownShadow200
12c8cbd2d5 If fail to compile shader/program, show a dialog with compilation failure message
Used to just log to stdout, but this was pretty user unfriendly. Especially for mobile web browser.
2020-04-22 21:30:02 +10:00
UnknownShadow200
e7e119eab4 Switch to using XInput 2.2 to fix raw motion not being received when mouse button is pressed
According to http://wine.1045685.n8.nabble.com/PATCH-0-9-Implement-DInput8-mouse-using-RawInput-and-XInput2-RawEvents-only-td6016923.html#a6016976 raw motion events aren't sent when pointer is grabbed before XInput 2.1
2020-04-22 18:20:38 +10:00
UnknownShadow200
4711090b14 X 2020-04-22 17:48:36 +10:00