Commit Graph

101 Commits

Author SHA1 Message Date
Noel Berry
8f9c6aa9ff Sprite Batcher has fields for optional texture/sampler uniform names 2021-08-06 16:03:44 -07:00
Noel Berry
5ba620c066 cleaning up color struct 2021-05-25 21:31:18 -07:00
Noel Berry
6f0ac3e8c2 removing pointless forward declaration 2021-05-25 21:30:58 -07:00
Noel Berry
d7cef352a5 simplifying input backend & input state update 2021-05-19 11:21:08 -07:00
Noel Berry
b7e318e420 Mat3x2 tweaks 2021-05-19 11:20:22 -07:00
Noel Berry
b68729850b cleanup pass on numerics 2021-05-11 02:27:00 -07:00
Noel Berry
991cfcad82 adding more App windowing methods 2021-05-09 19:46:08 -07:00
Noel Berry
76525f91c5 cleaning up App::config getter and removing App::is_running 2021-05-09 19:40:50 -07:00
Noel Berry
c51d397ccc cleaning up file / memory streams 2021-05-09 19:30:01 -07:00
Noel Berry
2447490033 simplifying input calls & state 2021-05-09 18:37:31 -07:00
Noel Berry
e615b9d7e4 large organizational & cleanup refactor 2021-05-09 17:23:02 -07:00
Noel Berry
04f6257b75 various small C++ warning fixes 2021-05-06 21:48:06 -07:00
Noel Berry
60f3939ff7 added resize method to bufferstream 2021-05-06 20:47:52 -07:00
Noel Berry
5f9df4beee cleaned up Calc template functions 2021-05-06 20:47:40 -07:00
Noel Berry
6f2cf82b8e added std::hash for custom string type for use in unordered_map etc 2021-05-06 20:47:22 -07:00
Noel Berry
cf1771926d fixed StackVector copy/move assignment operators 2021-04-24 22:47:44 -07:00
Noel Berry
0f04ff0803 packer can optionally pack a source rectangle of an image
useful for packing tilesets
2021-04-11 20:57:09 -07:00
Noel Berry
65f7194e4f refactored FileMode to make more sense 2021-04-05 01:07:16 -07:00
Noel Berry
c6b5e98deb implemented batch push_layer and pop_layer properly 2021-04-03 22:27:23 -07:00
Noel Berry
aa6efb23b1 added RectI::overlap_rect 2021-04-03 22:24:51 -07:00
Noel Berry
0c3cac2d08 indentation fixes 2021-03-27 23:29:03 -07:00
Noel Berry
94f25cea88 removing redundant framebuffer virtual methods 2021-03-24 01:07:49 -07:00
Noel Berry
bd9736df03 simplified texture and framebuffer create methods 2021-03-24 00:56:43 -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
088851b43f Lots of documentation & commenting 2021-03-21 02:08:28 -07:00
Noel Berry
9b42bba16e spritefont takes a vector instead of a null-terminated charset 2021-03-20 23:24:18 -07:00
Noel Berry
4351d77f73 fixing various clang warnings 2021-03-20 22:17:40 -07:00
Noel Berry
3913cf7c02 additional input binding comments 2021-03-20 21:58:44 -07:00
Noel Berry
f3bbda5f6c simplified and cleaned up new input binding implementation 2021-03-20 21:16:36 -07:00
Noel Berry
3f07c03fa5 new input binding/mapping implementation 2021-03-20 19:23:20 -07:00
Noel Berry
d73241e8fe replaced log.h with common.h, added easier shorthand for int types 2021-03-20 17:33:04 -07:00
Noel Berry
c3a9548ffa fixed missing std::forward to Path::join 2021-03-08 11:05:18 -08:00
Noel Berry
2de541fb18 fixing d3d11 depth buffers, adding depth buffer clear support 2021-02-21 23:00:37 -08:00
Noel Berry
a72cd5cab6 simplifying logging, changing App events to std::function 2021-02-21 18:43:42 -08:00
Noel Berry
f8741e27e2 vec2 & rect code cleanup 2021-02-21 16:30:21 -08:00
Noel Berry
8491d2a56b added vec3 skeleton 2021-02-21 16:29:13 -08:00
Noel Berry
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
Noel Berry
2c2d668927 missing include 2021-01-30 19:50:01 -08:00
Noel Berry
1e1e150411 cleaning up Color struct a little 2021-01-30 19:48:14 -08:00
Noel Berry
69e5e7447b added Path::join utility method 2021-01-14 18:42:12 -08:00
Noel Berry
261e2fd5e7 stream.h cleanup & commenting 2021-01-14 12:21:59 -08:00
Noel Berry
ded52d40aa removed Stream::write_cstr and added conditions to Stream::write numeric 2021-01-12 20:57:14 -08:00
Noel Berry
1063f1ff29 vec2 bool comparisons should be const 2021-01-11 00:25:51 -08:00
Noel Berry
6aa9d3b412 stackvector fix 2021-01-11 00:25:34 -08:00
Noel Berry
ecb9da86aa batcher and spritefont support utf8 strings 2021-01-08 12:01:39 -08:00
Noel Berry
a1267c738c small vector fix 2021-01-04 18:37:08 -08:00
Noel Berry
cc5e222be5 fixed vector copy constructor bug 2021-01-03 00:32:01 -08:00
Sherjil Ozair
4e80149987 Add required headers to compile on macos 2021-01-03 02:27:58 +00:00
Noel Berry
d8930f15ac added Calc::approach for Vec2 2020-12-31 18:29:13 -08:00
Noel Berry
241d863ac4 restructured project to match a more standard cmake setup 2020-12-31 13:43:23 -08:00