Commit Graph

322 Commits

Author SHA1 Message Date
Noel Berry
0c3cac2d08 indentation fixes 2021-03-27 23:29:03 -07:00
Noel Berry
1376ef874b fixing win32 file operations for 64 bit integers 2021-03-26 22:48:16 -07:00
Noel Berry
3b4f721b64 fixing tab mismaches 2021-03-26 00:58:43 -07:00
Noel Berry
e406a9d3c6 added text input to win32 platform backend 2021-03-26 00:56:21 -07:00
Noel Berry
0a9f825660 mouse wheel input to win32 platform backend 2021-03-26 00:35:31 -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
1570e9becf
Removing incorrect comment 2021-03-23 19:53:51 -07:00
Noel Berry
742c990b91 spacing 2021-03-23 15:47:34 -07:00
Noel Berry
88ce95c411
Merge pull request #8 from bradms/master
SDL2 downloaded from the web
2021-03-23 15:45:37 -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
d34a55e2ac
fixed old variable name in readme example 2021-03-22 17:04:53 -07:00
Noel Berry
9e3f745a38 removed drawing folder; moved to graphics 2021-03-22 16:53:27 -07:00
Noel Berry
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
Noel Berry
d7e642e3f2
clarifying platform & graphics backends 2021-03-21 12:17:20 -07:00
Noel Berry
e27226ab17
remove redundant readme line 2021-03-21 02:15:25 -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
d388931dd3 fixed incorrect D3D11 swap chain parameter 2021-03-20 22:23:34 -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
9f9ed08007
cleaned up readme text a little 2021-03-18 00:23:35 -07:00
Brad Svercl
1978a64f79 Merge remote-tracking branch 'upstream/master' 2021-03-14 19:42:57 -05:00
Noel Berry
c3a9548ffa fixed missing std::forward to Path::join 2021-03-08 11:05:18 -08:00
Noel Berry
fb21ec869d fixed Texture::get_data for depth buffer textures in d3d11 2021-02-22 21:50:53 -08:00
Noel Berry
77f551f65e d3d11 clear fix when no depth buffer is enabled 2021-02-22 15:15:31 -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
118af7d3b4 cleaned up compile warnings from backend_d3d11 2021-02-21 16:29:45 -08:00
Noel Berry
2ea0ed5870 removed warnings from time.cpp 2021-02-21 16:29:23 -08:00
Noel Berry
8491d2a56b added vec3 skeleton 2021-02-21 16:29:13 -08:00
Brad Svercl
21de69d6fa Use official SDL2 git repository 2021-02-11 13:14:36 -06:00
Brad Svercl
cb53f07263 Merge remote-tracking branch 'upstream/master' 2021-02-11 13:13:14 -06: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
add76cd968 fixed texture packer not trimming properly 2021-01-19 00:06:22 -08:00
Brad Svercl
d477d31182 Merge remote-tracking branch 'upstream/master' 2021-01-15 23:47:16 -06:00
Noel Berry
e9d678d880 fixed parsing tag colors in aseprite parser 2021-01-14 19:40:49 -08:00
Brad Svercl
502f57ad3d Use system SDL2 if can be found 2021-01-14 21:37:55 -06:00
Brad Svercl
2e533e2a31 Merge remote-tracking branch 'upstream/master' 2021-01-14 21:15:45 -06: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
2dcf902671
Merge pull request #9 from Accacio/patch-1
update links
2021-01-13 14:58:30 -08:00
Rafael Accácio Nogueira
51e08f0efe
update links 2021-01-13 09:38:31 +01:00