Commit Graph

44 Commits

Author SHA1 Message Date
Noel Berry
dcd3e11b16 Simplify folder sturcture + String refactor
1) Over time the total amount of files has decreased, and so it made sense to just simplify the folder structure and remove all of the subfolders.
2) Refactor the String class to utilize the existing Vector and StackVector classes instead of managing everything itself.
2022-10-01 13:30:15 -07:00
Noel Berry
a1baaaf298 updated to SDL 2.24.0, simplifies Windows High DPI
Although it has an issue where the Drawable Size can't really be determined from SDL anymore with D3D11... So now the D3D11 renderer returns it's backbuffer size, until this issue is resolved in SDL / I learn what the correct thing to do is.
2022-08-21 14:48:46 -07:00
Noel
e581065bbb Updating project to run with latest Emscripten 2022-07-30 16:30:13 -07:00
Noel
79af2944f3 added optional CMake vars for SDL2 in case you load it yourself 2022-05-28 09:29:30 -07:00
Noel Berry
b2bcf66a37 fixed cmakelists requiring newline after if statement 2022-03-17 00:57:54 -07:00
Noel Berry
fc55cacaac
Optional toggles in CMake really set compile defs 2022-02-15 10:35:44 -08:00
Noel Berry
99595f265f refactored graphics & streams into single files - easier to maintain & read 2022-02-12 12:19:53 -08:00
Noel Berry
edee79b237 cleaned up Calc header, renamed numerics folder to math 2022-02-11 16:03:27 -08:00
Noel Berry
cedc57e322 made std::shared_ptr and std::functional optional 2022-02-11 15:20:07 -08:00
Noel Berry
f5e8de0b11 Refactored Graphics to allow Renderer choice at runtime 2022-02-09 18:49:47 -08:00
Noel Berry
ae98f9cbf2
Simplifying SDL2 include 2022-01-09 19:18:51 -08:00
Noel Berry
2893680ef8 changing CMake vars to have a BLAH prefix 2022-01-09 13:50:16 -08:00
Noel Berry
db8f54e2f9
CMake to 3.14, replaced FetchContent_GetProperties 2022-01-04 20:31:39 -08:00
Noel Berry
3b6686b3ef
Updated default SDL2 cmake FetchContent to 2.0.18 2022-01-04 14:23:17 -08:00
Noel Berry
d91658aa46 large spatial / numerics refactor to allow double/integer vector types 2021-12-12 20:41:23 -08:00
Noel Berry
9eca790f9b removing "backend" from internal namespaces 2021-05-25 21:30:46 -07:00
Noel Berry
b68729850b cleanup pass on numerics 2021-05-11 02:27:00 -07:00
Noel Berry
e615b9d7e4 large organizational & cleanup refactor 2021-05-09 17:23:02 -07:00
Noel Berry
14a53c0f3a fixing SDL2 if can't be found 2021-04-02 10:56:07 -07:00
Noel Berry
742c990b91 spacing 2021-03-23 15:47:34 -07:00
Noel Berry
6c13753c64
Merge branch 'master' into master 2021-03-23 15:45:19 -07:00
Noel Berry
6fddd34ca5 cleaning up cmake defines; adding a Win32 Platform Backend 2021-03-23 01:56:53 -07:00
Noel Berry
9e3f745a38 removed drawing folder; moved to graphics 2021-03-22 16:53:27 -07:00
Noel Berry
3f07c03fa5 new input binding/mapping implementation 2021-03-20 19:23:20 -07:00
Brad Svercl
21de69d6fa Use official SDL2 git repository 2021-02-11 13:14:36 -06:00
Brad Svercl
502f57ad3d Use system SDL2 if can be found 2021-01-14 21:37:55 -06:00
Brad
ab459b80ca SDL2 downloaded from the web 2021-01-08 09:42:58 -06:00
kevinbchen
6ade1624f1 Emscripten build 2021-01-04 00:58:24 -08:00
Rémi Verschelde
cd73720cb8
CMake: Bump required version to 3.12 for add_compile_definitions 2021-01-04 08:24:02 +01:00
Noel Berry
43b49da552 attempting to solve SDL2 include dirs across platforms 2021-01-03 00:10:53 -08:00
Noel Berry
7ce2d07153 removing SDL2 find_package until I figure out how to set it up universally 2021-01-02 20:46:06 -08:00
Sherjil Ozair
4e80149987 Add required headers to compile on macos 2021-01-03 02:27:58 +00:00
Noel Berry
241d863ac4 restructured project to match a more standard cmake setup 2020-12-31 13:43:23 -08:00
Noel Berry
d4ff3f66ca separated Textures from Samplers, to accommodate HLSL etc 2020-12-30 14:03:50 -08:00
Noel Berry
e88030101b dummy renderer backend 2020-12-29 18:18:44 -08:00
Noel Berry
27f7134500
comment typo fix 2020-12-28 20:25:06 -08:00
Noel Berry
41ae0ac6d5 very WIP D3D11 support 2020-12-28 18:31:06 -08:00
Noel Berry
15608d8309 graphics refactor & new organization 2020-12-26 14:44:48 -08:00
Noel Berry
be989cdde9 refactoring rendering backend a little 2020-12-23 16:16:09 -08:00
Noel Berry
b5e2c53613 changing back to custom vector class 2020-10-24 17:34:20 -07:00
Noel Berry
b4e1cd111e Removed custom list class in favor of std::vector 2020-10-24 15:21:36 -07:00
Noel Berry
e1d2e3066e removed trailing whitespace 2020-08-28 21:11:43 -07:00
Noel Berry
5a6d2c3de7 fixed mesh missing default stride calculation 2020-08-27 19:11:49 -07:00
Noel Berry
8d7e5e4224 first true commit 2020-08-26 00:38:01 -07:00