Gabriel Ravier
0f126a7795
Added some more .travis.yml support
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:34:00 +01:00
Gabriel Ravier
40ba60cb8e
Started basic .travis.yml setup
2019-11-01 13:34:00 +01:00
Gabriel Ravier
11d1097af7
Attempt to fix .travis.yml
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:33:33 +01:00
Clownacy
b4bde54118
Merge pull request #66 from GabrielRavier/fixMakefile
...
Fix Makefile
2019-11-01 12:32:25 +00:00
Gabriel Ravier
dcede9c931
Fixup package download and use clang 9
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:29:08 +01:00
Gabriel Ravier
2ced08fe70
Fix Makefile by adding missing ")" in conditional
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:22:00 +01:00
Gabriel Ravier
65502fd809
Fix Makefile
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:20:46 +01:00
Gabriel Ravier
d013418ee2
Made it so clang should work
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:12:34 +01:00
Gabriel Ravier
7401ae6643
Correct tabs to spaces
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 13:03:37 +01:00
Gabriel Ravier
555b2e4ad0
Added some more .travis.yml support
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-11-01 12:53:48 +01:00
Gabriel Ravier
5c4c07d815
Started basic .travis.yml setup
2019-10-31 21:05:06 +01:00
Clownacy
8c8ddd496d
Adjust merged commits to suit this branch
2019-10-29 19:04:37 +00:00
Clownacy
18add3466c
Merge branch 'accurate' into portable
2019-10-29 19:02:02 +00:00
Clownacy
a25998f113
Add actual dependencies to the .rc file
2019-10-29 18:55:15 +00:00
Clownacy
7f2499243c
Add a 'compiling resources' message to Makefile
2019-10-29 18:43:52 +00:00
Clownacy
01c5fb3a37
Shut up another warning
2019-10-29 12:25:03 +00:00
Clownacy
394d5658a4
Merge branch 'accurate' into portable
2019-10-29 12:21:02 +00:00
Clownacy
f596f89736
Shut up more Clang warnings
2019-10-29 12:20:48 +00:00
Clownacy
011b79a051
Shut up some more Clang warnings
2019-10-29 12:20:05 +00:00
Clownacy
85890ef1e6
Shut up some Clang warnings
2019-10-29 12:14:48 +00:00
Clownacy
ba1361abd5
Merge branch 'accurate' into portable
2019-10-29 12:11:35 +00:00
Clownacy
567330cc5b
Remove some trailing commas
...
According to Clang, they're not valid C++98
2019-10-29 12:11:07 +00:00
Clownacy
b14e0939a9
Shut up some Clang warnings in DoConfig
2019-10-29 12:08:47 +00:00
Clownacy
6b98bffba1
Remove mutex_name
...
It's unused outside of the accurate branch. Maybe someday I'll port
the mutex behaviour.
2019-10-29 12:01:49 +00:00
Clownacy
22f737e139
Add WARNING 'option's to bin2h and DoConfig
2019-10-29 11:54:08 +00:00
Clownacy
404d748da7
Rename ALL_WARNINGS and FATAL_WARNINGS
...
This way, all three options appear neatly together when 'cmake -LH'
is ran.
2019-10-29 11:53:02 +00:00
Clownacy
e6b8221fdb
Fix DoConfig always having the warning options enabled
2019-10-29 11:50:49 +00:00
Clownacy
eceae1f43e
Move options in README so both lists match
2019-10-29 11:45:56 +00:00
Clownacy
68fceb63c4
Merge pull request #63 from GabrielRavier/addWarnings2
...
Add warnings
2019-10-29 11:44:13 +00:00
Gabriel Ravier
f6c19c5501
Move warnings in the README too
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-29 10:07:43 +01:00
Gabriel Ravier
d40376ff35
Removed bin2h mentions in CMakeLists, moved warnings options and FORCE_LOCAL_LIBS into a seperate block where the descriptions were improved and added warnings to DoConfig
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-29 10:03:13 +01:00
Clownacy
4e99c97fee
Merge pull request #64 from GabrielRavier/fixMSVCUtf8
...
Make MSVC recognize source files as UTF-8
2019-10-28 19:00:17 +00:00
Gabriel Ravier
2f9f9aaf0f
Fix bin2h to use C_COMPILER_ID instead of CXX_COMPILER_ID
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-28 19:21:46 +01:00
Gabriel Ravier
94442d9ce3
Made it so MSVC interprets source files as UTF-8 to fix compile
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-28 18:22:31 +01:00
Gabriel Ravier
01abc0541a
Added code that prints the compiler ID and fixed bin2h's compiler detection code to use the C compiler ID of the C++ compiler ID (which isn't available then as bin2h is in c)
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-27 21:22:10 +01:00
Gabriel Ravier
d6ec92cba5
Attempt 2 at making warnings work
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-27 21:02:59 +01:00
Gabriel Ravier
44d6dac407
First attempt at making warnings work
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-27 20:42:19 +01:00
Clownacy
15ad469f67
Shut up that CMake OpenGL warning
...
What's so hard about CMake *just working*? Why do I have to jump
through all these stupid hoops?
2019-10-27 18:20:44 +00:00
Clownacy
c2daebe38a
Handle Backend_Init failing
...
Should really give those render-backend functions a different prefix.
2019-10-27 01:57:09 +00:00
Clownacy
785131a184
Merge branch 'accurate' into portable
2019-10-26 23:47:06 +01:00
Clownacy
9fb01161c3
Swap two function calls around
...
This matches the original EXE. I didn't catch it while doing the
ASM-accuracy checks because absolute addresses don't match yet.
Thanks to Gabe for noticing this.
2019-10-26 23:40:32 +01:00
Clownacy
67ddb8204b
...Maybe I should test these things first
2019-10-26 02:21:49 +01:00
Clownacy
ae8437009d
Correct return values in OpenGL3's Backend_Init
2019-10-26 01:54:43 +01:00
Clownacy
006a20b914
Merge branch 'accurate' into portable
2019-10-21 20:25:48 +01:00
Clownacy
b1418f7fae
Remove a leftover unsigned literal
2019-10-21 19:33:49 +01:00
Clownacy
f690f9907d
Convert some old Shift-JIS comments to UTF-8
2019-10-21 19:28:21 +01:00
Clownacy
f6dd58429e
Add missing boolean values
2019-10-21 19:25:34 +01:00
Clownacy
dda0dd2fac
Fix mismatching function declaration in header
...
Noticed this while trying to compile CSE2 with winelib.
2019-10-21 18:56:26 +01:00
Clownacy
a8cf5e1846
Fix a typo in a comment
2019-10-20 21:08:47 +00:00
Clownacy
a9265e8b45
Fix some errors when compiled with Visual Studio 6
...
Thanks to Mint for testing VS6. The compiler would complain about
the declaration of these variables being skipped by the switch's
labels. Pretty sure this is perfectly-legal C++98, but whatever.
...
Stupid old compilers.
2019-10-17 00:47:25 +01:00