Commit graph

1856 commits

Author SHA1 Message Date
Clownacy
a16086291e Fix Travis not selecting a rendering backend 2020-04-02 21:01:11 +01:00
Clownacy
53d54d4e53 Ignore argc, don't ignore argv 2020-04-02 20:58:01 +01:00
Clownacy
7d30407206 Use LINK_LIBRARIES instead of LIBRARIES
macOS Travis complains about not finding -lSDL2, so use absolute
paths instead.
2020-04-02 20:57:16 +01:00
Clownacy
8896b1225b Update Travis 2020-04-02 20:27:23 +01:00
Clownacy
5244967fab Update documentation 2020-04-02 20:22:52 +01:00
Clownacy
0082b7c37f Remove junk file 2020-04-02 20:15:39 +01:00
Clownacy
76bb17dc01 Allow the new DoConfig to link local GLFW3 2020-04-02 20:12:21 +01:00
Clownacy
69e0a17e90 Fix DoConfig for its new location 2020-04-02 19:59:06 +01:00
Clownacy
c9dbc5607e Delete old DoConfig 2020-04-02 19:58:03 +01:00
Clownacy
aa0f5b153e Cleanup and fixes 2020-04-02 19:56:42 +01:00
Clownacy
d9eade8944 Get the new DoConfig to read/write Config.dat 2020-04-02 18:36:07 +01:00
Clownacy
f5113f8639 Add new work-in-progress DoConfig
This is built upon GLFW, OpenGL3, and Dear ImGui, removing FLTK as a
dependency.
2020-04-02 17:57:42 +01:00
Clownacy
d7ca8b3874 Remove the Makefile
Made redundant by CMake, and it's an absolute pain to maintain.
2020-04-02 14:23:10 +01:00
Clownacy
199e21623e Merge branch 'accurate' into portable 2020-04-02 14:19:51 +01:00
Clownacy
da3d131291 Move CMake .gitignore line
No longer specific to the portable/enhanced branches
2020-04-02 14:18:48 +01:00
Clownacy
d40991e682 Remove VS2017 build files
Made redundant by CMake
2020-04-02 14:18:18 +01:00
Clownacy
9a0d2c4c94 Fix GLFW3 pkg-config detection 2020-04-02 00:37:30 +01:00
Clownacy
1839370ae9 More warnings 2020-04-02 00:29:57 +01:00
Clownacy
6b34ea64c5 Shut up some CMake warnings 2020-04-02 00:28:44 +01:00
Clownacy
cf0ee89e93 Avoid WinMain on Windows
This is a better for GLFW on Windows, and it might have fixed the
long-standing bug where FORCE_LOCAL_LIBS on MSYS2 wouldn't work
because SDL2 would mysteriously fail because of something involving
WinMain.
2020-04-02 00:16:43 +01:00
Clownacy
96f46f3387 Fix compilation error 2020-04-02 00:00:12 +01:00
Clownacy
30c7967ed4 Fixes 2020-04-01 23:15:22 +01:00
Clownacy
85e1afb35a Added GLFW3 sources
This allows it to be compiled locally.
2020-04-01 22:51:10 +01:00
Clownacy
1e0f0ed99c Add pkg-config GLFW3 support 2020-04-01 22:42:27 +01:00
Clownacy
135365f941 Merge branch 'portable' of https://github.com/Clownacy/Cave-Story-Engine-2 into portable 2020-04-01 22:21:56 +01:00
Clownacy
00ee155176 Fixes and a comment 2020-04-01 21:58:02 +01:00
Clownacy
db2f079266 Cleanup and comments 2020-04-01 21:52:18 +01:00
Clownacy
0182ab6eb3 Get drag-and-drop working again 2020-04-01 21:43:04 +01:00
Clownacy
b3591ba3da Remove dead code 2020-04-01 21:37:45 +01:00
Clownacy
add0627f03 Restore custom cursor support 2020-04-01 21:36:46 +01:00
Clownacy
f23117bbdc Overhaul how window icon loading works
Now most of it has been moved out of the backends.
2020-04-01 21:20:26 +01:00
Clownacy
878cac3b3f Implement mouse-hiding in fullscreen 2020-04-01 21:05:05 +01:00
Clownacy
0c70b1ac31 Remove seemingly-useless casts 2020-04-01 20:50:45 +01:00
Clownacy
f4a810be51 Alter pkg-config notice, now that CMake uses it 2020-04-01 20:38:30 +01:00
Clownacy
e324d40c5b Merge branch 'accurate' into portable 2020-04-01 20:36:04 +01:00
Clownacy
03fab974fc Tweaks 2020-04-01 20:20:04 +01:00
Clownacy
a008410b96 List it in the readme 2020-04-01 20:19:24 +01:00
Clownacy
883e994949 Rename to PKG_CONFIG_STATIC_LIBS 2020-04-01 20:17:16 +01:00
Clownacy
ca5b092807 Add static-linkage support to CMake file
Well, kind of.

It uses pkg-config and GCC's `-static' flag. It's very tied the Linux
way of doing things.
2020-04-01 20:14:44 +01:00
Clownacy
81b5a7e789 More cleanup 2020-04-01 16:47:58 +01:00
Clownacy
7d9d80f07a Improve SDL2 fullscreen creation 2020-04-01 16:30:46 +01:00
Clownacy
49f7887930 More cleanup 2020-04-01 16:27:55 +01:00
Clownacy
ff70664604 Cleanup and fixes 2020-04-01 16:11:34 +01:00
Clownacy
7bd6ff8617 Get the window icon working on GLFW3 2020-04-01 15:44:00 +01:00
Clownacy
6301c01315 Shup up a warning when using local SDL2
Really need to update to SDL2 2.0.12 at some point.
2020-04-01 15:31:16 +01:00
Clownacy
b74aac6b3c Make other SDL2-renderer combos valid 2020-04-01 15:30:36 +01:00
Clownacy
8ff2f63416 Update SDL2 window backend
The window backends will probably be merged with the platform
backends at some point.
2020-04-01 15:26:39 +01:00
Clownacy
4d8be3bc36 More refactoring
Get fullscreen mostly working in GLFW3
2020-04-01 15:21:40 +01:00
Clownacy
c4aa8e28bb More refactoring 2020-04-01 14:57:07 +01:00
Clownacy
10af7b95f2
Update readme with deprecation notices and cleanup 2020-04-01 14:12:17 +01:00