Commit Graph

21 Commits

Author SHA1 Message Date
darkstar
67247b6627 WIN: Try to be more verbose when CreateDevice fails 2018-02-26 01:00:44 +01:00
darkstar
176a4e1335 MSVC: Add the missing include directories 2018-02-26 00:58:02 +01:00
darkstar
54af3956fc MSVC: Fix Visual Studio solution files 2018-02-26 00:55:04 +01:00
waltje
a9d55e67ce Cleanup, move support files into src/win/, etc. 2018-02-25 17:12:00 -05:00
waltje
c39f12691c Fixed some warnings and crashes (from upstream.) 2018-02-25 04:19:43 -05:00
waltje
9f4c8423d6 Cleanups, some fixes, moved zip.ch into the disk/ folder. 2018-02-25 02:33:19 -05:00
waltje
51aecc4ba6 Several cleanups, dynloading OpenAL and FluidSynth, update makefile for crosscompiling using MinGW. 2018-02-24 23:16:31 -05:00
waltje
b024b7e76e Removed the Riva driver from the source tree. 2018-02-22 17:44:03 -05:00
waltje
74815e643e Small fixes, renamed remaining .cc files to .cpp. 2018-02-22 17:35:23 -05:00
darkstar
d502378d17 ALL: Fix SCCS IDs 2018-02-22 21:13:37 +01:00
darkstar
0355007904 WIN: Replace wsprintf() by swprintf()
wsprintf() is deprecated, has a potential for buffer overflows (no
length parameter), and doesn't handle 64-bit format strings (%llu and
friends) at all. Three good reasons to get rid of it...
2018-02-22 20:23:52 +01:00
waltje
9116f48ac3 Fixing typos, cleaning up some fixes, updated file header version/dates. 2018-02-22 02:54:49 -05:00
darkstar
9d6e16fb21 WIN: Fix another uninitialized variable 2018-02-22 01:50:46 +01:00
darkstar
53b129dfb4 CDROM,WIN: guard header files against C/C++ mixup 2018-02-22 01:42:47 +01:00
darkstar
2e70f7b112 WIN: Fix another potentially uninitialized variable 2018-02-22 00:57:25 +01:00
darkstar
c832d0a91b WIN: Fix some more uninitialized variable issues 2018-02-22 00:46:12 +01:00
darkstar
d66f26ae8b MSVC: Work around a DirectX SDK issue
The symbol DIDEVTYPE_JOYSTICK gets defined only if DIRECTINPUT_VERSION
is < 0x700, but then all DX8 symbols are missing. This probably works
just fine with mingw headers.
Since it's only one symbol that's missing, we'll just define that
locally
2018-02-22 00:46:12 +01:00
darkstar
20f7a186f8 WIN: Don't use pointer arithmetic with void* 2018-02-22 00:46:12 +01:00
darkstar
c9ddadf715 WINDOWS: Fix resource file
One string resource was longer than 256 characters, one duplicate
string ID was fixed, and one key definition was spitting out errors.

The about text will at some point have to be replaced with two separate
string labels, for now I fixed just enough to get it to open in MSVC
2018-02-21 20:32:03 +01:00
waltje
52078bd6d9 Fixed typo in win/win_crashdump.c 2018-02-20 23:37:15 -05:00
waltje
7f4ddcd70b Import of all sources. 2018-02-20 21:52:53 -05:00