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
UnknownShadow200
4ac2b8b285
Fix OpenGL 1.1 build not compiling
2020-05-24 10:32:38 +10:00
UnknownShadow200
44c348197c
Fix <10.4 macOS dynamic symbol getting, also support libcurl versions which lack curl_easy_strerror
2020-05-24 09:06:00 +10:00
UnknownShadow200
bbd4204b53
Add dynamic library loading support for macOS < 10.4
2020-05-24 00:43:34 +10:00
UnknownShadow200
cde5604ff8
Fix not compiling on macOS/linux
2020-05-23 23:19:48 +10:00
UnknownShadow200
62ae7da667
Add support for loading libcurl dynamically
2020-05-22 21:41:58 +10:00
UnknownShadow200
e22cb847fe
combine some of OpenAL dynamic loading code
2020-05-22 21:07:59 +10:00
UnknownShadow200
ab007f8147
Simplify OpenAL function loading
2020-05-21 20:30:37 +10:00
UnknownShadow200
dd0635eec7
Move OpenAL backend code to before WinMM backend
...
This makes it easy to compile windows backend to use OpenAL instead of Windows. Now just need to do -DCC_BUILD_OPENAL instead of having to go through CC_BUILD_MANUAL process
2020-05-21 20:21:43 +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
b65d8ab050
Use stopwatch instead of utc time for debug loading time messages
2020-05-21 17:30:46 +10:00
UnknownShadow200
0ca8c34c29
Add Stopwatch_Elapsedmilliseconds to API
2020-05-21 09:01:48 +10:00
UnknownShadow200
29347d7235
Get rid of Convert_ParseUInt64 from TextureCache_GetLastModified
...
Also saves ~200 lines in web client
2020-05-20 23:31:56 +10:00
UnknownShadow200
007473c9dc
use CC_BUILD_MINFILES to disable chat/crash log code, instead of hardcoding to CC_BUILD_WEB
...
Also avoid referencing DateTime_CurrentLocal and related code in web client now
2020-05-20 20:45:02 +10:00
UnknownShadow200
19f1ff3aa7
Change Updater_GetBuildTime/SetNewBuildTime to use unix timestamp instead of milliseconds since 1/1/0001 timestamp
2020-05-20 18:30:44 +10:00
UnknownShadow200
1095418d41
Rename File_SetModifiedTime to Updater_SetNewBuildTime and remove from plugin api
2020-05-20 17:22:26 +10:00
UnknownShadow200
dc77f88046
Merge pull request #657 from UnknownShadow200/ALRewrite
...
OpenAL rewrite
2020-05-20 00:19:40 +10:00
UnknownShadow200
7b61cebb83
Fix not compiling for macOS
2020-05-20 00:03:43 +10:00
UnknownShadow200
01cc351be6
Use correct libopenal so name for OpenBSD
2020-05-19 23:28:56 +10:00
UnknownShadow200
3bc5457f87
Check the XInput version returned by XIQueryVersion is actually 2.2 or higher
...
It's possible for this to return Success even though the supported version is actually less than 2.2
2020-05-19 22:44:36 +10:00
UnknownShadow200
89541ef72b
Remove -lopenal from compilation flags
2020-05-19 21:01:09 +10:00
UnknownShadow200
9b4f4f2c18
Attempt to re-load OpenAL dynamically if user later tries to set sound/music volume and openal failed to load initially
...
This means if you start the game with sounds/music enabled and get the warning of 'failed to load openal', then proceed to install openal, then enable sounds/music, sounds/music will start playing now.
2020-05-19 20:01:01 +10:00
UnknownShadow200
0b67f6be62
Load OpenAL library dynamically
...
That way the game will still start even if OpenAL library is missing. Not really an issue with macOS but tends to be an issue with some linux distributions.
2020-05-17 15:43:11 +10:00
UnknownShadow200
88994cdcc7
Don't crash the game if initing OpenAL fails
2020-05-17 12:54:26 +10:00
UnknownShadow200
0a461e2e4e
Simplify openal context management, make it compile on windows too
2020-05-17 12:41:28 +10:00
UnknownShadow200
457e10ebb6
Show a better message when unable to create backbuffer or depth format for direct3d9 backend
2020-05-16 00:50:44 +10:00
UnknownShadow200
2d5885577b
Remove old Gui_Add and rename Gui_Replace to Gui_Add
2020-05-14 22:05:18 +10:00
UnknownShadow200
541c94dcab
Expose Gui_Add/Remove/Replace to plugins
2020-05-14 12:15:38 +10:00
UnknownShadow200
e4bdf50236
fix if you are disconnected partway during map loading, the memory allocated for partially loaded map blocks is leaked
2020-05-13 21:46:49 +10:00
UnknownShadow200
dfed25b8f8
Make Protocol a component
2020-05-13 21:33:46 +10:00
UnknownShadow200
d04287d288
Disconnect instead of crashing game if server sends invalid GZIP header for map data
2020-05-12 17:43:16 +10:00
UnknownShadow200
37d9fb5835
minor style cleanup
2020-05-11 22:53:25 +10:00