edee79b237
cleaned up Calc header, renamed numerics folder to math
2022-02-11 16:03:27 -08:00
cedc57e322
made std::shared_ptr and std::functional optional
2022-02-11 15:20:07 -08:00
f56e3bb2b2
moved Sprite Batcher's default shader to Renderer; no longer a global var
2022-02-10 01:13:20 -08:00
2619d2d9e0
fixed preprocessor typo from renderer refactor
2022-02-10 00:11:58 -08:00
f5e8de0b11
Refactored Graphics to allow Renderer choice at runtime
2022-02-09 18:49:47 -08:00
09f88d293f
removing non std::filesystem calls in platform_sdl2
2022-01-25 22:54:38 -08:00
ccd02fa9ef
added App::focused and System::open_url apis
2022-01-25 22:50:20 -08:00
5f4a332d14
fixed D3D11 shutdown warnings
2022-01-09 18:31:20 -08:00
d91658aa46
large spatial / numerics refactor to allow double/integer vector types
2021-12-12 20:41:23 -08:00
ba3c60b6cd
fixed d3d11 Texture::get_data, which didn't use RowPitch
2021-07-16 15:19:07 -07:00
9eca790f9b
removing "backend" from internal namespaces
2021-05-25 21:30:46 -07:00
d7cef352a5
simplifying input backend & input state update
2021-05-19 11:21:08 -07:00
76525f91c5
cleaning up App::config getter and removing App::is_running
2021-05-09 19:40:50 -07:00
81e2de3553
missing opengl backend from last commit
2021-05-09 17:23:19 -07:00
e615b9d7e4
large organizational & cleanup refactor
2021-05-09 17:23:02 -07:00
04f6257b75
various small C++ warning fixes
2021-05-06 21:48:06 -07:00
fb91b77900
fixed a few SDL2 platform details for compiling on non-windows
2021-05-06 20:48:11 -07:00
459d2ad085
fixed win32 backend not getting Alt keyboard presses
2021-04-11 20:56:16 -07:00
78b8140f53
fixed incorrect enum names in SDL2 platform
2021-04-06 17:45:26 -07:00
65f7194e4f
refactored FileMode to make more sense
2021-04-05 01:07:16 -07:00
14a53c0f3a
fixing SDL2 if can't be found
2021-04-02 10:56:07 -07:00
0c3cac2d08
indentation fixes
2021-03-27 23:29:03 -07:00
1376ef874b
fixing win32 file operations for 64 bit integers
2021-03-26 22:48:16 -07:00
3b4f721b64
fixing tab mismaches
2021-03-26 00:58:43 -07:00
e406a9d3c6
added text input to win32 platform backend
2021-03-26 00:56:21 -07:00
0a9f825660
mouse wheel input to win32 platform backend
2021-03-26 00:35:31 -07:00
94f25cea88
removing redundant framebuffer virtual methods
2021-03-24 01:07:49 -07:00
1570e9becf
Removing incorrect comment
2021-03-23 19:53:51 -07:00
6fddd34ca5
cleaning up cmake defines; adding a Win32 Platform Backend
2021-03-23 01:56:53 -07:00
a001a61847
fixed SDL2 controller index mismatch
...
SDL2 added event returns the index, but all other ones return the InstanceID, which I was not aware of! Pretty big error.
2021-03-21 15:49:11 -07:00
d388931dd3
fixed incorrect D3D11 swap chain parameter
2021-03-20 22:23:34 -07:00
4351d77f73
fixing various clang warnings
2021-03-20 22:17:40 -07:00
d73241e8fe
replaced log.h with common.h, added easier shorthand for int types
2021-03-20 17:33:04 -07:00
fb21ec869d
fixed Texture::get_data for depth buffer textures in d3d11
2021-02-22 21:50:53 -08:00
77f551f65e
d3d11 clear fix when no depth buffer is enabled
2021-02-22 15:15:31 -08:00
2de541fb18
fixing d3d11 depth buffers, adding depth buffer clear support
2021-02-21 23:00:37 -08:00
118af7d3b4
cleaned up compile warnings from backend_d3d11
2021-02-21 16:29:45 -08:00
ac58379de8
more precise timing
...
renamed Time::elapsed -> Time::seconds, change type to double
updated game to store ticks (microseconds) instead of milliseconds for better update precision
2021-02-06 00:13:50 -08:00
3bc36981cb
D3D11 ResizeBuffers fix
...
pass count as 0 for automatic value instead of explicit, which could be wrong.
2021-01-06 13:20:29 -08:00
3fa9f99791
a few notes and cleanup from previous merge
2021-01-05 20:44:02 -08:00
66e8b34d37
Merge pull request #7 from kevinbchen/master
...
Emscripten build
2021-01-05 20:38:51 -08:00
47555a51cb
D3D11 BlendMode Mask wasn't hooked up
2021-01-04 19:01:08 -08:00
0f15437c4d
opengl needs to reset ColorMask on FrameBuffer clear
2021-01-04 19:00:56 -08:00
6ade1624f1
Emscripten build
2021-01-04 00:58:24 -08:00
55f816043a
Fixes for building on Linux
2021-01-03 23:04:01 -08:00
ff4d4b1acb
moving ifdefs into implementation
2021-01-02 20:46:42 -08:00
4e80149987
Add required headers to compile on macos
2021-01-03 02:27:58 +00:00
227fb51105
fixing float->int warning, make it explicit
2020-12-31 18:28:36 -08:00
241d863ac4
restructured project to match a more standard cmake setup
2020-12-31 13:43:23 -08:00