Commit graph

175 commits

Author SHA1 Message Date
UnknownShadow200
bfada15b23 3DS/PSP: Fix rarely drawing from wrong vertex buffer 2023-08-12 09:38:47 +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
d3783eec8b 3DS: Fix facing opposite direction, fix some rendered chunks getting unexpectedly frustum culled 2023-07-29 20:02:29 +10:00
UnknownShadow200
ca02f5e4a4 Improve readme TCC and console compiling instructions (Thanks uneven) 2023-07-23 13:53:40 +10:00
UnknownShadow200
d10df783e8 Various build improvements for 3DS, GameCube, Wii, PSP, Haiku
Fix PSP build not compiling, and makefile not working due to not having -I and -L paths
Fix GameCube build not compiling
Change Haiku build to avoid using libexecinfo
Add github action workflows for 3DS, PSP, GameCube/Wii, Haiku
2023-07-16 16:56:11 +10:00
UnknownShadow200
0ef0e2bd9f WIP better BeOS support 2023-07-15 11:30:47 +10:00
UnknownShadow200
259147d6ef Add readme note to change app ID on android/ios to avoid installation conflict between modified versions and original classicube client, also fix SChannel SSL backend not compiling on some MinGW versions 2023-07-15 09:41:40 +10:00
UnknownShadow200
2caa47452e Wii/Gamecube: Add rudimentary controls, add makefiles, fix launcher rendering being completely wrong colours 2023-07-01 13:31:11 +10:00
UnknownShadow200
c4858bb8d0 Windows: Fix crash handling stackwalking code rarely crashing
Based on the CPU registers provided in the crash log, the crash was happening near the end of copying from 'ctx' to 'copy' local variable

Given that the user was running on Windows 95/98, it's quite possible that the 'ctx' CONTEXT was smaller in older operating systems - and so trying to copy a full sized CONTEXT into 'copy' would mean that memory past the smaller sized CONTEXT was wrongly read, which could thus rarely cause an access violation

I can't confirm whether this is actually the case or not though, since I couldn't easily find SDK headers for Windows 95/98.

But since we don't care about StackWalk modifying the CONTEXT provided as an argument anyways (given that the process will be terminated right after this), the simplest solution is to just pass the original 'ctx' to StackWalk instead of passing a copy of the CONTEXT
2023-06-23 20:42:12 +10:00
UnknownShadow200
5f7526e732 Switch to ldexp in Vorbis float32_unpack 2023-06-10 17:37:22 +10:00
UnknownShadow200
fd6301a840 Update buildbot.sh with more recent changes, and minorly tidy up readme 2023-06-09 23:25:21 +10:00
UnknownShadow200
20277e4dec Fix clicking links not working on Windows 95/98, improve readme a bit to be clearer about OpenGL 1.1 support and link to WIP compiling with overriden defaults 2023-06-08 22:15:37 +10:00
UnknownShadow200
09d000fec2
Tidy up and expand readme a bit 2023-05-11 21:59:12 +10:00
UnknownShadow200
9eb115c991 Tidy up plugin compiling instructions, especially for mingw-w64 2023-01-17 20:46:25 +11:00
UnknownShadow200
b714af1fe0 Haiku: Fix default build
Minorly simplify OpenGL context code too
2022-10-31 23:42:57 +11:00
UnknownShadow200
94ab244eeb Add unfinished SerenityOS port 2022-10-18 21:27:16 +11:00
UnknownShadow200
f05c275b25 Haiku: Implement partial open file dialog support, and make launcher drawing faster by avoiding unnecessary image blit
Also switch over makefile and instructions to use native haiku windowing backend by default
2022-10-06 23:56:54 +11:00
UnknownShadow200
3f6d9d4d20
Merge pull request #967 from UnknownShadow200/WebStartup1
Load IndexedDB and textures asynchronously in webclient
2022-09-22 10:29:26 +10:00
UnknownShadow200
24a54e1b1b Importing preclassic and classic 0.13 maps now defaults to spawning at above ground in centre of the map
Previously you used spawned at same position as spawn position from previous level, which typically resulted in spawning underground somewhere

Also fix Visual Studio Command Line compilation instructions not actually compiling due to missing comdlg32 link library (Thanks popgoesme700)
2022-09-20 20:46:18 +10:00
UnknownShadow200
9f76f39cc7 Fix files not being loaded after saving, and fix documentation for changes 2022-09-12 20:23:31 +10:00
UnknownShadow200
dcbd7d8b94 Simplify mingw compiling instructions 2022-08-21 20:58:12 +10:00
UnknownShadow200
224df71aac Improve ios/android instructions in readme, and also get rid of one redundant frame in stacktraces on some platforms 2022-08-17 21:17:09 +10:00
UnknownShadow200
cb3d8db550 iOS: Fix some input widgets being shifted offscreen
Android: Attempt to show error dialog when EGL context creation fails
Windows: Remove unnecessary Direct3D9Ex S_PRESENT_OCCLUDED result check
2022-06-01 20:18:42 +10:00
UnknownShadow200
5a0f83c650 Add 64 bit raspberry pi build 2022-05-17 20:41:12 +10:00
UnknownShadow200
637a56e90e Direct3D11: Fix fog with assistance from RenderDoc graphics debugger
The Direct3D11 hlsl pixel shaders were ported from the OpenGL2 glsl fragment shaders.
In the documentation for OpenGL glsl, the W component of gl_FragCoord is specified as being 1/w. However in Direct3D11 hlsl, the W component of SV_POSITION is just w - hence why fog appeared to not work.
The solution to this is simple - when calculating depth, multiply by w instead of dividing by w.
2021-11-02 19:33:00 +11:00
UnknownShadow200
c7a9621fd0
Improve compiling instructions 2021-10-18 21:13:17 +11:00
UnknownShadow200
6ee74cba02
Better clarify some things in readme 2021-10-14 16:08:45 +11:00
UnknownShadow200
708a4c8495 Fix iOS compile instructions 2021-09-26 23:08:04 +10:00
UnknownShadow200
f655999bb2 Fix compiling on haiku/solaris erroring due to d_type field not existing in dirent struct 2021-09-12 08:37:46 +10:00
UnknownShadow200
c59173a377 credit where credit is due 2021-08-13 22:41:19 +10:00
UnknownShadow200
907ddd90cd Tidy up readme, add TCC WIP compile instructions 2021-07-24 13:51:30 +10:00
UnknownShadow200
16ce6c7506 Audio_Close/Audio_Stop don't need to return anything 2021-07-23 11:00:27 +10:00
UnknownShadow200
cef1e5b484 Fix timing out not working properly 2021-05-23 15:38:34 +10:00
UnknownShadow200
ef62038011 Split up Platform.c into Platform_WinApi.c, Platform_Web.c, and Platform_Posix.c 2021-05-23 10:04:34 +10:00
UnknownShadow200
763a7e23eb Less compiler warnings 2021-05-19 07:27:29 +10:00
UnknownShadow200
e60e852eee Less warnings and slightly improve readme 2021-03-04 19:06:16 +11:00
UnknownShadow200
2957db19e5 Simplify dynamic symbol stuff a little bit 2021-02-25 23:06:10 +11:00
Alex McKeever
83507f8918
Update readme.md
Re added Windows Specific section and tweaked the section on OpenGL 1.1 to more directly refer to Linux and Unix based systems.
2021-02-14 15:57:48 -05:00
Alex McKeever
fdb23b0044
Update readme.md
Added extra bits to point the user to the the right instructions for compiling the game under `Stuck on OpenGL 1.1?`.
2021-02-12 10:45:54 -05:00
Alex McKeever
3c36c4a3cd
Update readme.md
Replaced Windows specific section with section detailing what to do to compile ClassiCube to work on integrated GPUs that only support OpenGL 1.1, and where specifically to place the flag in order to compile it successfully.
2021-02-11 21:39:33 -05:00
UnknownShadow200
08232da712 Merge changes 2021-02-05 07:15:14 +11:00
UnknownShadow200
33c1e4e791 Android: Use device theme for dialogs, also fixes not working on old android 2021-01-30 13:49:51 +11:00
UnknownShadow200
bec56df691 Release 1.2.4 2021-01-24 08:38:21 +11:00
UnknownShadow200
7f0a23674c Start moving objc code into actual .m file, starting with OpenGL context 2021-01-23 09:38:26 +11:00
UnknownShadow200
3fd48f49bb ios: Get it to compile even though it doesn't work at all 2021-01-10 23:38:21 +11:00
UnknownShadow200
3ad1f1f169 Mac: Implement session caching too 2021-01-10 18:52:44 +11:00
UnknownShadow200
408cb1726e Webclient: Get 'download size for texture packs' to work in firefox for some sites at least 2020-12-16 00:06:04 +11:00
UnknownShadow200
2016b4ef7f 1 less error when compiling as C++
also fix mistake in readme (thanks kylbert)
2020-08-12 21:48:19 +10:00
UnknownShadow200
6b8cff6111 Properly detect mac < 10.4 and use NS api instead. Therefore 10.3 is now minimum supported macOS version 2020-07-19 00:30:32 +10:00
UnknownShadow200
c45442554f
Add note about having to disable mouse integration for virtualbox, improve compiling section in readme
Added documentation for compiling using visual studio command line, clarified mingw/mingw-w64 steps, add larger titles separating compiling instructions by OS
2020-07-12 09:36:31 +10:00
UnknownShadow200
3ea64a61d0 Generate a 64 bit mac icon file and fixup Window.m
64 mac build doesn't show icon quite yet, still WIP
2020-06-11 23:38:33 +10:00
UnknownShadow200
bbfcfba18a Tidy up readme somewhat 2020-06-08 21:14:49 +10:00
UnknownShadow200
4a4bf57ce9 Fix links in readme linking to wrong folder 2020-06-05 17:19:57 +10:00
Benjamin Baier
4af5b3a860 Future proof libcurl and libopenal loading on OpenBSD.
ld.so does the right thing even without hardcoded versions.
Also mention curl and openal as dependencies.
2020-05-29 19:51:05 +02:00
UnknownShadow200
3ce5b1145a Split up misc folder into misc and doc folder 2020-05-29 22:43:10 +10:00
Benjamin Baier
0590488dcf Adjust compile instructions for OpenBSD to use cc with -lpthread and -lm 2020-05-28 15:57:00 +02:00
UnknownShadow200
918b86dc18 Fix OpenBSD build and update various build files to remove -lcurl 2020-05-26 22:06:03 +10:00
UnknownShadow200
5e92790a3b Just directly include the OpenAL functions used in the code instead of relying on system headers
This means you don't need toinstall openal-dev packages on unix systems anymore, and don't need to link to OpenAL framework on macOS
2020-05-21 20:07:06 +10:00
UnknownShadow200
89541ef72b Remove -lopenal from compilation flags 2020-05-19 21:01:09 +10:00
UnknownShadow200
90b94409af Add libxi-dev to readme 2020-05-07 00:35:44 +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
b9a0729694 Init XInput2 and register for RawMotion event.
Still working on actually using the event though
2020-04-22 16:10:02 +10:00
UnknownShadow200
e4e04e75a0 Considering that the mac build expects plugins to have .dylib extension, it is probably a good idea to make the plugin buildbot do that 2020-03-11 21:38:18 +11:00
UnknownShadow200
d87378a36c Add -Qn flag to buildbot so 'GCC version' isn't included in output executable.
Because of the ancient mingw version the buildbot uses, string constant merging doesn't work. As such for the windows executable, this string appeared 81 times and added 1-2 kb to executable.
2020-03-10 21:00:30 +11:00
UnknownShadow200
8e57167ba3 Fix makefile for haiku OS and add direct compile instructions for haiku OS into readme 2020-02-17 15:40:37 +11:00
UnknownShadow200
b923754c86 Add simpler CC_BUILD_RPI define, add compiled icon obj file for arm architecture 2020-01-22 22:24:37 +11:00
UnknownShadow200
cb3344c629 Fix linux/EGL build 2019-12-15 07:10:19 +11:00
UnknownShadow200
bf9d540082 Make it possible for the linux build to compile with EGL/OpenGL ES instead.
This is only really intended for the raspberry pi
2019-12-14 16:13:37 +11:00
UnknownShadow200
492d4843eb Update download links in readme to working pages 2019-12-12 20:03:10 +11:00
UnknownShadow200
b164d3c8d6 Move compiling instructions higher up in the readme 2019-12-05 07:39:35 +11:00
UnknownShadow200
07c4a4795c Add documentation for building 64 bit cocoa backend
Also show 'alpha' instead of 'beta' for coca backend in titlebar
2019-09-29 17:51:27 +10:00
UnknownShadow200
96b57b80d0 Add a mac version of classicube icon 2019-09-07 09:40:10 +10:00
UnknownShadow200
8b48a3381c Fix linux build 2019-08-25 19:51:21 +10:00
UnknownShadow200
824e43a1ea
default compiler should be clang not gcc for FreeBSD in readme 2019-07-28 07:48:32 +10:00
UnknownShadow200
508414c96f make field names of structs in LScreens.c lowercase 2019-07-12 20:04:26 +10:00
UnknownShadow200
56d673a801
force buildbot rebuild 2019-06-28 00:50:10 +10:00
UnknownShadow200
69ad81ba5b
Update readme to link to compile fixes document 2019-06-27 23:06:17 +10:00
UnknownShadow200
d2995976c0
note some libc environments that cause compilation errors, and how to fix them 2019-05-29 23:02:42 +10:00
UnknownShadow200
957daa2457 add missing build instructions 2019-04-20 22:21:32 +10:00
UnknownShadow200
279dc09ccd Fix compile errors on OpenBSD, fix incorrect compile instructions for FreeBSD in readme 2019-04-07 11:43:59 +10:00
UnknownShadow200
8e952aa780
Add missing OSX compile instructions 2019-04-03 17:32:55 +11:00
UnknownShadow200
c688aa148f Add compile notes for FreeBSD and Solaris, add detailed notes about portability of codebase 2019-03-29 10:15:21 +11:00
UnknownShadow200
74e1d0ba45
Correct mingw32 and manual cross-compile flags in readme 2019-03-23 21:09:51 +11:00
UnknownShadow200
bb110a1623
Fix saying 'very build' instead of 'very latest build' in readme 2019-03-12 08:53:28 +11:00
UnknownShadow200
11176be3f0
update compilation instructions with mingw and mingw-w64 on windows 2019-03-11 03:24:28 +11:00
UnknownShadow200
6602ae50c3 Initial work on NetBSD port 2019-03-09 13:33:08 +11:00
UnknownShadow200
2c8955c776 Fix can't fullscreen when maximised window (oops) 2019-03-04 09:27:53 +11:00
UnknownShadow200
ae33ff6e11 move compiling notes to readme 2019-02-18 14:30:23 +11:00
UnknownShadow200
0b0869f05f
Update readme.md 2019-02-02 13:26:33 +11:00
UnknownShadow200
dc48fd9e6e Fix launcher not compiling, oops 2018-10-08 12:30:09 +11:00
UnknownShadow200
c2f60074b7 Always use Ionic.Zlib for decompression, instead of only when compiled with mono compiler. 2018-09-22 20:53:56 +10:00
UnknownShadow200
e71427d7e4
Mention press pause in 'tips' in readme 2018-02-28 13:12:29 +11:00
UnknownShadow200
2c33b99665 Add link to MESA software renderer in readme (Thanks dragonballz2k), fixes #479. 2017-10-23 11:07:33 +11:00
UnknownShadow200
de1b84883f Update readme to specify that it supports windows 98 (in a VM) 2017-07-30 13:40:56 +10:00
Goodlyay
030ce88b43 Update readme.md photo 2017-05-25 02:13:33 -07:00
UnknownShadow200
241cfd7628 Update main screenshot on github. 2016-06-01 22:05:37 +10:00
UnknownShadow200
3795352c85 Update main screenshot on github. 2016-06-01 22:01:21 +10:00
UnknownShadow200
331f683a5c Implement same logic in launchers table widget too. 2016-03-30 23:22:44 +11:00
UnknownShadow200
a89afbcabb Update the readme, also add notes about how to run the client using Wine. (Thanks Moosfet) 2016-01-12 21:53:17 +11:00
UnknownShadow200
83af1b5a2d Initial block in hand model. No left/right click animations yet though. 2015-11-16 10:48:51 +11:00