Commit Graph

298 Commits

Author SHA1 Message Date
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
81e2de3553 missing opengl backend from last commit 2021-05-09 17:23:19 -07:00
Noel Berry
e615b9d7e4 large organizational & cleanup refactor 2021-05-09 17:23:02 -07:00
Noel Berry
e65752f30b Image move operator fix 2021-05-09 15:08:59 -07:00
Noel Berry
04f6257b75 various small C++ warning fixes 2021-05-06 21:48:06 -07:00
Noel Berry
fb91b77900 fixed a few SDL2 platform details for compiling on non-windows 2021-05-06 20:48:11 -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
e79ece2db3
Merge pull request #10 from shortgecko/patch-1
Update README.md
2021-04-26 13:48:52 -07:00
muhammad
0e3ea088d1
Update README.md
updated the read me, so the link to the spritebatcher actually works, since batch went from being in drawing/batch to graphics/batch
2021-04-26 19:15:50 +05:00
Noel Berry
cf1771926d fixed StackVector copy/move assignment operators 2021-04-24 22:47:44 -07:00
Noel Berry
682cc12780 fixed packer sub rectangle 2021-04-11 22:07:46 -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
459d2ad085 fixed win32 backend not getting Alt keyboard presses 2021-04-11 20:56:16 -07:00
Noel Berry
e55e84f149 fixed Mat3x2 == operator 2021-04-09 22:57:31 -07:00
Noel Berry
63c2493fd3 fixed Str::replace 2021-04-09 22:57:20 -07:00
Noel Berry
78b8140f53 fixed incorrect enum names in SDL2 platform 2021-04-06 17:45:26 -07:00
Noel Berry
65f7194e4f refactored FileMode to make more sense 2021-04-05 01:07:16 -07:00
Noel Berry
9e8a181fd2 RectI::overlap_rect fix 2021-04-05 01:06:21 -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
14a53c0f3a fixing SDL2 if can't be found 2021-04-02 10:56:07 -07:00
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