Clownacy
7ee2e68c2e
Fix
2020-04-04 19:28:52 +01:00
Clownacy
87e8a75df4
Rename GLFW3.h/SDL2.h
2020-04-04 19:18:46 +01:00
Clownacy
7f6574117d
Clean-up SDL2 controller backend
2020-04-04 19:14:40 +01:00
Clownacy
e00ad1cd78
Shuffle code
2020-04-04 19:04:56 +01:00
Clownacy
d957c40649
Fix bug
2020-04-04 19:04:20 +01:00
Clownacy
659f89ea85
Cleanup and proper deinitialisation
2020-04-04 19:03:19 +01:00
Clownacy
e874b75357
Comment GLFW3 code, restore some vanilla behaviour
2020-04-04 18:55:44 +01:00
Clownacy
0cf1a781b7
Add hotplugging support to the GLFW3 backend
...
The GLFW windowing backend supports window-resizing, so I don't think
it's wrong to add enhancements to the backend code. It's not like the
SDL2 backend emulates DirectDraw's unstable framerate or anything.
2020-04-04 18:38:56 +01:00
Clownacy
b72b631e95
Simplify GLFW code
2020-04-04 17:47:45 +01:00
Clownacy
39ddfd9791
Abstract-away keyboard input
...
Now, instead of keyboard input being completely-handled in the
backend, it's merely abstracted, while still otherwise being handled
in the game itself. This will be useful for the enhanced branch's
key-rebinding menu.
2020-04-04 17:42:56 +01:00
Clownacy
c2f6ccdeb6
Merge branch 'accurate' into portable
2020-04-04 01:49:39 +01:00
Clownacy
bd280414ea
Cleanup
2020-04-04 00:43:06 +01:00
Clownacy
5d37391882
Document bullets a little
2020-04-04 00:13:20 +01:00
Clownacy
90714cb7a4
Apply some missing BOOL constants
2020-04-03 23:16:40 +01:00
Clownacy
264d555073
Forgot to CTRL-F goddammit
2020-04-03 18:51:43 +01:00
Clownacy
1543521625
Fix more errors x_x
2020-04-03 18:36:48 +01:00
Clownacy
cb869a4fd1
Support GLFW <3.3
...
Travis's Ubuntu Bionic uses 3.2, causing it to fail.
2020-04-03 18:13:44 +01:00
Clownacy
f548044464
Cleanup
2020-04-03 18:05:41 +01:00
Clownacy
e15091b207
More fixes
2020-04-03 18:01:01 +01:00
Clownacy
6175867178
Fix build errors
2020-04-03 17:57:11 +01:00
Clownacy
3c691732a6
Update glad #include paths
2020-04-03 17:09:14 +01:00
Clownacy
dac8f704cd
Cleanup and debug prints
2020-04-03 17:02:02 +01:00
Clownacy
5bb839136b
Added controller support to GLFW3 backend
2020-04-03 16:53:58 +01:00
Clownacy
40464a9fc0
Move-around Backend files
...
Hoping to introduce some degree of grouping
2020-04-03 14:42:11 +01:00
Clownacy
ee7cf6799b
Yet another warning
2020-04-03 02:12:06 +01:00
Clownacy
4f2f6ad4f4
More warnings
2020-04-03 02:10:28 +01:00
Clownacy
8266db3372
Shut-up another warning
2020-04-03 02:08:19 +01:00
Clownacy
d68fb53710
Shut-up another warning
2020-04-03 02:06:26 +01:00
Clownacy
dded47f921
Cleanup
2020-04-03 02:00:51 +01:00
Clownacy
f45758e845
Add missing dependencies
2020-04-03 01:52:54 +01:00
Clownacy
5f1560ecdf
Make Travis ignore invalid setups
2020-04-03 01:45:24 +01:00
Clownacy
5b996b3459
Give glad a CMake file
...
Today I learned that CMake will error if the project shares a
dependency with a nested CMake file (which could be from an
entirely-separate project that you have no control over).
I'm starting to really hate CMake.
2020-04-03 01:34:47 +01:00
Clownacy
a093ebd018
Add another missing CMake macro
2020-04-03 01:05:24 +01:00
Clownacy
ddc2d795f5
Add a missing CMake macro
...
Was causing macOS Travis builds to fail
2020-04-03 00:00:22 +01:00
Clownacy
10f9882108
Shut up a warning
2020-04-03 00:00:13 +01:00
Clownacy
c194ff9dc6
Revert "Use cmake -B
in Travis"
...
This reverts commit 4ec5951bed
.
2020-04-02 23:21:47 +01:00
Clownacy
2b65c5811a
Merge branch 'portable' of https://github.com/Clownacy/Cave-Story-Engine-2 into portable
2020-04-02 23:18:44 +01:00
Clownacy
0846a1b3b9
Make DoConfig icon appear in window on Windows
2020-04-02 22:14:55 +01:00
Clownacy
54797a05f8
Do not create imgui.ini
2020-04-02 22:14:36 +01:00
Clownacy
ef00bbcdd4
Get window icon working in GLFW
...
Amazingly, this actually works in SDL2, so now they both use this
method.
2020-04-02 22:03:08 +01:00
Clownacy
3f4bbc2c5d
Add some options to DoConfig's CMake
2020-04-02 22:18:46 +01:00
Clownacy
ae84148092
Shut-up Clang warning
2020-04-02 21:33:36 +01:00
Clownacy
373c0e658a
Use PlatformBackend_ShowMessageBox somewhere
2020-04-02 21:32:50 +01:00
Clownacy
a935c7bf49
Make Travis test alternate backends
2020-04-02 21:03:38 +01:00
Clownacy
4ec5951bed
Use cmake -B
in Travis
2020-04-02 21:01:54 +01:00
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