Commit graph

377 commits

Author SHA1 Message Date
UnknownShadow200
3ad1f1f169 Mac: Implement session caching too 2021-01-10 18:52:44 +11:00
UnknownShadow200
4d9c975b1f fix buildbot script for real 2020-12-29 17:04:54 +11:00
UnknownShadow200
587867a087 update buildbot script for new machine 2020-12-29 14:27:43 +11:00
UnknownShadow200
f8c3b2cff8 Fix ze buildbot 2020-12-16 07:36:07 +11:00
UnknownShadow200
fdf92e047b Launcher input widget DPI scales properly 2020-07-30 13:20:33 +10:00
UnknownShadow200
5bf63e79a3 Use single Event_Register_ macro instead of Event_Register_XYZ macros
The Event_Register_XYZ were all just defined to Event_Register_Macro anyway, completely ignoring the type of the arguments given. Therefore it's better to just give a single type unsafe Event_Register_ macro, rather than misleading the user into thinking they were using type safe macros
2020-07-29 17:45:59 +10:00
UnknownShadow200
4deba8e0d4 Fix index buffer leaking if direct3d9 device creation initially failed
Still crashes, but progress at least
2020-07-28 18:59:53 +10:00
UnknownShadow200
386ce44cc8 Fix android makefile to compile, add readme for doc/misc folder 2020-07-27 22:09:37 +10:00
UnknownShadow200
cfd606317f Open source release packaging part of buildbot 2020-07-21 14:46:03 +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
d89d3045c0 Add an icon to 32 bit mac build 2020-05-29 23:40:27 +10:00
UnknownShadow200
3ce5b1145a Split up misc folder into misc and doc folder 2020-05-29 22:43:10 +10:00
UnknownShadow200
918b86dc18 Fix OpenBSD build and update various build files to remove -lcurl 2020-05-26 22:06:03 +10:00
UnknownShadow200
89541ef72b Remove -lopenal from compilation flags 2020-05-19 21:01:09 +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
f34c7e7ec8 Mention you need to use 'extern C' when compiling C++ plugins. (Thanks Tree) 2020-04-25 11:34:23 +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
209a4046fb Change String_IndexOfString to just String_IndexOfConst, because that's all we ever use it for anyways 2020-04-04 14:50:14 +11:00
UnknownShadow200
04cc22f3dc
Add full example of simple flask website that hosts the web client 2020-04-02 23:00:37 +11:00
UnknownShadow200
41666d939b
Update hosting-webclient.md 2020-04-02 20:17:52 +11:00
UnknownShadow200
02efe1fa00
Update hosting-webclient.md 2020-04-02 19:57:36 +11:00
UnknownShadow200
d869360ca8
Start work on documenting how to host web client independently 2020-04-02 10:29:00 +11:00
UnknownShadow200
511da3e542 Check IndexedDB error and log in chat, instead of crashing game 2020-03-13 19:04:16 +11:00
UnknownShadow200
977fd97dbc For web client, don't crash game if can't allocate more memory from browser (usually because exceeding 2GB) 2020-03-12 15:04:24 +11: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
e15aa886e0 Fix some plugins not building for windows, also build plugins for raspberry pi 2020-03-08 13:04:11 +11:00
UnknownShadow200
a13ddad39d Default to c99 for plugin buildbot 2020-03-08 11:59:08 +11:00
UnknownShadow200
b9aa8a7544 Open source plugin building part of buildbot 2020-03-07 17:50:39 +11:00
UnknownShadow200
f1a8364b71 open source the discord buildbot notify thingy 2020-02-18 18:10:35 +11:00
UnknownShadow200
c8bc76dcbe Don't include Options.h in Game.h 2020-02-17 17:00:58 +11:00
UnknownShadow200
75c2e21c69 make fields lowercase for structs in Audio.c 2020-02-17 16:46:23 +11:00
UnknownShadow200
255770ee69 Fix rpi build in buildbot again, this time for sure. Also fix osx64 build deleting wrong file. 2020-01-23 00:26:38 +11:00
UnknownShadow200
fb7f29eea4 Fix icon not being included 2020-01-22 23:55:56 +11:00
UnknownShadow200
0790ac405b Add rpi to buildbot script, fix crashing when rpi system only supports 32 but not 24 bit depth 2020-01-22 23:43:35 +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
b164d3c8d6 Move compiling instructions higher up in the readme 2019-12-05 07:39:35 +11:00
UnknownShadow200
b26ab73a5e
Remove some junk from style.md and add general guidelines 2019-11-29 20:35:39 +11:00
UnknownShadow200
e0fb7e571b don't disable warnings when compiling with makefile.
Also add reactos/haikuos to platforms the game has technically compiled and run on. Few less usage of magic numbers.
2019-11-15 23:15:03 +11:00
UnknownShadow200
f0fc77351b Cleanup portability.md to only include cross-platform backends, add CC_BUILD_NOAUDIO instead of hardcoding no audio only to web client 2019-11-05 10:59:57 +11:00
UnknownShadow200
cef3db9fe7 Add an icon for linux and use it 2019-10-29 20:26:38 +11:00
UnknownShadow200
d7040b5327 add original icon png 2019-10-21 06:56:32 +11:00
UnknownShadow200
cd08e91473 Build the web client with LEGACY_VM_SUPPORT so it works in IE11 2019-10-12 12:11:49 +11:00
UnknownShadow200
0053d2245d
add much more detail about supported platforms 2019-10-07 13:23:07 +11:00
UnknownShadow200
bdf9482fa5 print less debugging info 2019-09-29 17:55:58 +10: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
c5d7873808 Work on handling resize/move/focus/minimise/close with cocoa
Mostly work but resize still crashes and close doesn't properly work
2019-09-18 22:10:22 +10:00
UnknownShadow200
d616cf060c Remove WINDOW_STATE_MAXIMISED and related code because it's not needed anymore. 2019-09-18 20:29:09 +10:00
UnknownShadow200
a60a502154 Get the actual game rendering on cocoa backend 2019-09-17 21:33:06 +10:00
UnknownShadow200
6f2c597b84 Combine window with opengl context code
There's no point making them separate since each windowing backend only works with one particular opengl context backend anyways
2019-09-15 20:45:26 +10:00
UnknownShadow200
98f3b73c0a Fix mouse coordinates conversion
Now you can actually click singleplayer in the launcher and then watch the game insta-crash
2019-09-15 18:45:06 +10:00
UnknownShadow200
e06091a9fe More work on input events. Now it actually logs mouse x/y. 2019-09-15 15:38:00 +10:00
UnknownShadow200
fa1a00f472 Fix 'select a block' disappearing and grey-ish transparent quad behind block still showing when mouse is over an empty inventory slot in classic mode 2019-09-15 12:45:34 +10:00
UnknownShadow200
efbcef5d59 Work on input events for cocoa backend 2019-09-15 10:06:55 +10:00
UnknownShadow200
dfc1a4249c Add info.plist file for osx, start work on cocoa events 2019-09-14 19:35:30 +10:00
UnknownShadow200
bdb57c8248
Add WIP visual studio instructions for compiling plugins 2019-09-13 07:47:06 +10:00
UnknownShadow200
dadfb2b663 add the objective C source used to generate the code for the cocoa backend in window.c 2019-09-13 07:17:17 +10:00
UnknownShadow200
96b57b80d0 Add a mac version of classicube icon 2019-09-07 09:40:10 +10:00
UnknownShadow200
30d807eea0 Remove getcontext usage.
This was only used with crashes due to Logger_Abort/Loggert_Abort2. And in those cases, the message and backtrace are what actually matter.
2019-08-11 13:15:54 +10:00
UnknownShadow200
d45b37ded2 Don't link to mingw startup files in win64 build too.
Reduces size of 64 bit windows exe by 10kb
2019-07-07 07:21:48 +10:00
UnknownShadow200
990b722e39 Fix mistakes in portability documentation 2019-07-04 23:17:15 +10:00
UnknownShadow200
b26f7b537a Really fix it 2019-07-04 19:07:55 +10:00
UnknownShadow200
2ff974c4b2 temp fix win64 build 2019-07-04 18:43:17 +10:00
UnknownShadow200
600c46eb1b update buildbot to compile windows build without linking to mingw startup code 2019-07-04 18:30:16 +10:00
UnknownShadow200
39af05eeb4
Add details on how to fix unpatched web client and 'windows SDK not found' 2019-06-27 22:47:04 +10:00
UnknownShadow200
e784cc0ce5 add -fno-math-errno to buildbot 2019-06-23 23:33:11 +10:00
UnknownShadow200
3dcf735ffe Add web to buildbot script and fix mistakes in windows build bot 2019-06-18 07:56:01 +10:00
UnknownShadow200
f34011b5a6 Use #ifdef CC_BUILD_GL for OpenGL specific stuff, instead of CC_BUILD_D3D9 2019-06-10 23:27:51 +10:00
UnknownShadow200
97d52f3dca less compiler warnings 2019-05-19 18:12:35 +10:00
UnknownShadow200
63ab591b69
Document how to compile plugins on linux 2019-05-13 23:30:23 +10:00
UnknownShadow200
9bc781c891 release 1.0.2 and add built bot script 2019-05-04 11:51:02 +10:00
UnknownShadow200
ed4bfe31bc
Fix some missing information in portability.md 2019-04-27 20:46:42 +10:00
UnknownShadow200
d80d9bde52
Force rebuild 2019-04-03 17:42:10 +11:00
UnknownShadow200
b437e8289b audio/http backend is no longer tied to platform backend 2019-03-30 13:09:58 +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
d3022d86ab attempt to add icon 2019-01-31 15:42:57 +11:00