Alex Mayfield
9d815c5d43
Remove unused samplerate directory cache variable
...
The variable isn't referenced anywhere else in the finder script.
2018-06-01 18:12:53 -04:00
Alex Mayfield
cc24dc35ab
Works in Visual Studio too
2018-05-31 22:34:10 -04:00
Alex Mayfield
f8ffe42a61
Add GCC warnings from autotools
2018-05-31 19:14:57 -04:00
Alex Mayfield
dc054603a1
libsamplerate support
...
Works on Linux, at least...
2018-05-31 19:12:31 -04:00
Alex Mayfield
8b8c8bf3d1
Fix PNG screenshot crash with MSVC
...
malloc wasn't getting declared on MSVC, leading to calling an
implicitly decleared function. I think those return int, which caused
the return value to be truncated on x64 builds, leading to an access
violation on write.
2018-05-27 00:09:20 -04:00
Alex Mayfield
3d315652c3
If libpng is missing, do not define HAVE_LIBPNG
2018-05-26 17:21:18 -04:00
Alex Mayfield
24e0387296
Whoops, forgot to add Findm.cmake
2018-05-26 17:15:28 -04:00
Alex Mayfield
2eb722d3a4
Link against libpng and libm
...
Tested against Ubuntu 18.04.
2018-05-26 17:12:02 -04:00
Alex Mayfield
42b80fe839
Add midiread and mus2mid targets
2018-05-22 21:05:09 -04:00
Alex Mayfield
d6cb093e4c
Apply WIN32 to executables
...
This changes the binaries to use the WINDOWS subsystem.
2018-05-22 20:42:44 -04:00
Alex Mayfield
5f043db7d5
Global fixes for MSVC warning spam
2018-05-22 20:27:15 -04:00
Alex Mayfield
bd8f0e81e7
Fix setup executable rc and manifest files
2018-05-21 18:29:14 -04:00
Alex Mayfield
a10578ede6
Strife now boots
...
The problem was the opendir implementation. The handle that is passed
around to _findnext and friends is supposed to be a intptr_t, but was
only a long instead. I suspect the problem only showed up on 64-bit
builds beforehand.
2018-05-09 20:07:59 -04:00
Alex Mayfield
07be64bbbf
Get Heretic, Hexen, Strife, and Setup compiling
...
Something is messed up with Strife though, it crashes on boot.
2018-05-09 20:03:20 -04:00
Alex Mayfield
59a66543a1
Get resource file working
...
Now, Chocolate Doom has an icon. Neat.
2018-05-08 20:43:07 -04:00
Alex Mayfield
8101009bba
CMake now works on Linux
...
It uses pkg-config to obtain hints about where the libraries are.
2018-05-04 17:46:19 -04:00
Alex Mayfield
f8810f763c
Chocolate Doom now builds
2018-05-02 21:23:00 -04:00
Alex Mayfield
097f3b07f2
SDL2_net and chocolate-server
2018-05-02 20:56:08 -04:00
Alex Mayfield
aebcec00b2
opl and pcsound libraries
2018-05-02 20:20:28 -04:00
Alex Mayfield
5b30a0ac1f
SDL2_mixer and midiproc
2018-05-02 18:43:39 -04:00
Alex Mayfield
b9422484fb
Initial stab at SDL2 and textscreen
2018-05-01 23:10:46 -04:00
Alex Mayfield
b69478df6d
Ignore CMake build directories
2018-05-01 21:20:44 -04:00
Turo Lamminen
00311e89f5
heretic: Make MN_TextBWidth parameter const
2018-04-24 20:16:01 +03:00
Turo Lamminen
fe5173fde9
heretic: Make MN_DrTextB text parameter const
2018-04-24 20:16:01 +03:00
Turo Lamminen
c0f32f9923
heretic: Make MN_TextAWidth parameter const
2018-04-24 20:16:01 +03:00
Turo Lamminen
61fe0bfe53
heretic: Make MN_DrTextA text parameter const
2018-04-24 20:16:01 +03:00
Turo Lamminen
475b0601c8
doom: Fix const correctness issue in intermission load/unload callbacks
2018-04-24 20:16:01 +03:00
Turo Lamminen
cd852bc9d2
doom: Fix const correctness issue in graphics load/unload callbacks
2018-04-24 20:16:01 +03:00
Turo Lamminen
d73baa45d9
doom: Make spritename variable const
2018-04-24 20:16:01 +03:00
Turo Lamminen
4fcf2510dc
doom: Mark internal menu functions static
2018-04-24 19:32:11 +03:00
Turo Lamminen
85546c0353
doom: Remove unused function M_DrawSelCell
2018-04-24 19:22:28 +03:00
Turo Lamminen
952ed0699f
doom: Remove unused function M_DrawEmptyCell
2018-04-24 19:21:05 +03:00
Turo Lamminen
22de9c27b2
doom: Remove unused function M_StopMessage
2018-04-24 19:19:53 +03:00
Turo Lamminen
c4ceefafa0
doom: Remove declaration of nonexistent function M_StartGame
2018-04-24 19:14:41 +03:00
Turo Lamminen
f4474aead4
doom: Fix const correctness issue in R_FillBackScreen
2018-04-24 19:10:30 +03:00
Turo Lamminen
6213afee9f
doom: Fix const correctness issue in P_InitPicAnims
2018-04-24 19:08:52 +03:00
Turo Lamminen
c73cc8862a
doom: Fix const correctness issue in M_Drawer
2018-04-24 19:04:50 +03:00
Turo Lamminen
e675c26205
doom: Make M_StartMessage string parameter const
2018-04-24 19:02:00 +03:00
Turo Lamminen
e1215041ac
doom: Make messageString variable const
2018-04-24 18:57:53 +03:00
Turo Lamminen
f9a3dac3b3
doom: Make M_StringHeight parameter const
2018-04-24 18:51:49 +03:00
Turo Lamminen
f60da3ca34
doom: Make R_TextureNumForName parameter const
2018-04-24 18:45:23 +03:00
Turo Lamminen
4c9a70adf6
doom: Make R_CheckTextureNumForName parameter const
2018-04-24 18:43:31 +03:00
Turo Lamminen
8dd2c9df0f
doom: Make R_FlatNumForName parameter const
2018-04-24 18:40:56 +03:00
Turo Lamminen
80c9bb6140
doom: Make F_CastPrint parameter const
2018-04-24 18:39:11 +03:00
Turo Lamminen
31191bbb84
doom: Fix const correctness issue in F_TextWrite
2018-04-24 18:36:02 +03:00
Simon Howard
1dd9288f90
Merge pull request #1019 from turol/const
...
Fix some const correctness issues in doom-specific code
2018-04-22 16:19:19 -04:00
Simon Howard
41936632e0
Fix broken build caused by previous commit.
2018-04-21 00:38:37 -04:00
Simon Howard
ca93f90c55
net: Improve game mismatch error messages.
...
If game mode/mission don't match then the client can't connect to the
server. But give some details about the mismatch in the error message
to aid in debugging.
Thanks to AgitationSkeleton and GuyNamedErick for help with this.
2018-04-20 23:00:36 -04:00
Simon Howard
df34acd44e
net: Move server reject message into error message.
...
Since we surface error messages in dialog boxes, it's important that
the full context of why a connection attempt was rejected is shown to
the user, otherwise it just appears as "failed to connect" with no
indication of why or how to fix the problem.
Thanks to AgitationSkeleton and GuyNamedErick for help identifying this
problem.
2018-04-20 22:43:22 -04:00
Jonathan Dowland
ab13474904
Merge pull request #1024 from jmtd/825-delete-swgl-check
...
Remove the unreliable Software GL check
2018-04-16 23:14:39 +01:00