UnknownShadow200
3861b0bd10
Give in to popular demand and also export ScheduledTask_Add
...
Also export Keybind_IsPressed
2020-06-13 13:12:35 +10:00
UnknownShadow200
c0545de38b
Don't include Picking.h in Game.h
2020-06-13 11:23:08 +10:00
UnknownShadow200
9d68364781
Combine GameStructs.h into Game.h
...
Also breaks all plugin source code, sorry about that
2020-06-13 11:13:41 +10:00
UnknownShadow200
6f05953799
Less warnings when compiling with visual studio
2020-06-13 10:06:04 +10:00
UnknownShadow200
4951984b3f
Move all gui scaling code out of Game.c/h and into Gui.c/h where it belongs
2020-06-13 09:33:52 +10:00
UnknownShadow200
d21756643c
Chat 'log to disc' option should always be disabled in web client
2020-06-12 23:49:17 +10:00
UnknownShadow200
cde14930d7
Don't repeatedly dlopen OpenGL library when retrieving address for OpenGL functions
2020-06-12 22:34:01 +10:00
UnknownShadow200
76f25b78b0
Clickable chat/Tab autocomplete shouldn't work in classic mode (Thanks Goodly)
2020-06-12 19:11:28 +10:00
UnknownShadow200
d3ef93fc83
Add icon to 64 bit mac build
2020-06-12 00:32:07 +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
18fce97418
Fix normalfast render mode not disabling fog anymore
2020-06-11 22:59:10 +10:00
UnknownShadow200
8987e6b3e5
Remove unused Matrix_Orthographic method
2020-06-10 20:46:03 +10:00
UnknownShadow200
bbfcfba18a
Tidy up readme somewhat
2020-06-08 21:14:49 +10:00
UnknownShadow200
680fd10daa
Get rid of Mem_Alloc on both paths of Options_GetSecure
2020-06-08 19:25:26 +10:00
UnknownShadow200
07b78a00b1
Don't DPI scale announcement Y offset, fix announcement being at wrong position with different window heights (thanks igor725, fixes #670 )
2020-06-08 09:44:47 +10:00
UnknownShadow200
5582f60237
fix android build not compiling with this one line life hack
2020-06-08 09:16:20 +10:00
UnknownShadow200
d1766b252d
Don't throw an exception on 0 width/height canvas, addresses #669
2020-06-06 15:20:48 +10:00
UnknownShadow200
de833c3124
Now the game partially works if creating D3D9 device initially generates a lost device
...
Also removed some redundant gfx calls
2020-06-06 10:54:21 +10:00
UnknownShadow200
aec759153f
Split up D3D9 device creation from Gfx_Init
2020-06-06 10:28:02 +10:00
UnknownShadow200
29a719d68b
Fix failure at runtime with latest emscripten
2020-06-05 18:32:25 +10:00
UnknownShadow200
3a0354be8f
Don't use '#window' target for registering emscripten html5 events,fixes one failure at runtime with recent emscripten. Addresses #667 .
2020-06-05 17:49:46 +10:00
UnknownShadow200
4a4bf57ce9
Fix links in readme linking to wrong folder
2020-06-05 17:19:57 +10:00
UnknownShadow200
45c9a9236e
fix spelling (thanks SpiralP)
2020-06-01 20:37:20 +10:00
UnknownShadow200
17cd3c9ea1
Fix makefile not compiling on netbsd, prefer cc instead of gcc in makefile
2020-06-01 00:22:02 +10:00
UnknownShadow200
d32070c27b
Use unversioned libcurl/libopenal .so on BSD systems, addresses #663
...
Also partially fix clicking on links not opening browser on HaikuOS
2020-05-31 18:29:17 +10:00
UnknownShadow200
9dec053521
try to simplify some of the if/elif mess in Platform.c
2020-05-31 15:59:12 +10:00
UnknownShadow200
01572ae7af
Remove Model_GetTexture, never even used
2020-05-31 15:35:07 +10:00
UnknownShadow200
e6a88393bf
Fix rare case on non-Windows where Waitable_Wait would miss a signal
...
pthread_cond_signal is documented to have no effect if no threads are blocked/waiting. As such, if another thread called pthread_cond_wait afterwards, it would not realise it was supposed to be signalled already, and then incorrectly proceed to block while waiting for another signal. This issue manifested in the http worker thread, which would rarely cause the launcher to get stuck 'checking for updates' until some other http request got queued, which would wake up the stuck worker thread. Fix this by adding a field that keeps track of whether the waitable is currently in the 'signalled' state.
2020-05-30 18:52:50 +10:00
UnknownShadow200
6665d736e9
Remove some unused includes and make LScreens.c not depend on game.h
2020-05-30 18:26:23 +10:00
UnknownShadow200
660d52fa25
Merge pull request #663 from netzbasis/openbsd
...
Future proof libcurl and libopenal loading on OpenBSD.
2020-05-30 10:27:32 +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
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
9bb6015a8c
Rearrange Http.c so libcurl backend is before wininet backend
...
this makes it easy to simply add -DCC_BUILD_CURL to use libcurl instead of wininet for http backend on windos
2020-05-29 00:41:25 +10:00
UnknownShadow200
acb4c33ce2
Merge pull request #662 from netzbasis/openbsd
...
Adjust compile instructions for OpenBSD to use cc with -lpthread and -lm
2020-05-29 00:03:26 +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
b579825845
Merge pull request #661 from UnknownShadow200/CurlRewrite
...
Curl rewrite
2020-05-28 19:49:33 +10:00
UnknownShadow200
123bbe17d9
Put year instead of day first in screenshot filenames
2020-05-27 18:39:35 +10:00
UnknownShadow200
838cbfa30c
Allow doing /client help of singleplayer only commands in multiplayer
2020-05-27 11:03:37 +10:00
UnknownShadow200
e56b58364a
Check for exact client command name match before falling back onto checking if command name starts with input (Thanks SpiralP)
2020-05-27 10:55:20 +10:00
UnknownShadow200
04266a7412
avoid a few pointless int copies in chat logging, properly use CC_BUILD_MINFILES instead of CC_BUILD_WEB in Game.c
2020-05-27 00:18:25 +10:00
UnknownShadow200
eab80ddee0
Add option to enable/disable chat logging
...
Also fix chat log file not always getting properly closed on errors
2020-05-27 00:08:38 +10:00
UnknownShadow200
33b2f15417
Split up gui options into gui and chat options
2020-05-26 23:31:01 +10:00
UnknownShadow200
71cb18ac53
Fallback to libcurl.so.3 if loading libcurl.so.4 fails, fixes not working on older linux distributions
...
Also don't crash game if curl_global_init/curl_easy_init fails
2020-05-26 22:41:08 +10:00
UnknownShadow200
918b86dc18
Fix OpenBSD build and update various build files to remove -lcurl
2020-05-26 22:06:03 +10:00
UnknownShadow200
118465330f
add some more comments
2020-05-26 21:44:15 +10:00
UnknownShadow200
45b389442c
Minorly cleanup code of Logger.c
2020-05-26 17:31:42 +10:00
UnknownShadow200
5500049dc2
Fix placing/deleting blocks over id 256 in singleplayer with physics enabled crashing the game. (Thanks Rubiktor012, fixes #659 )
2020-05-25 22:32:59 +10:00
UnknownShadow200
9cd17a7f9a
minor comment cleanup
2020-05-24 19:23:09 +10:00
UnknownShadow200
bcb54eb24b
Live dangerously and avoid curl_easy_reset altogether
2020-05-24 11:53:52 +10:00