Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Noel Berry 3fa9f99791 a few notes and cleanup from previous merge 2021-01-05 20:44:02 -08:00
Noel BerryandGitHub 66e8b34d37 Merge pull request #7 from kevinbchen/master
Emscripten build
2021-01-05 20:38:51 -08:00
Noel Berry 47555a51cb D3D11 BlendMode Mask wasn't hooked up 2021-01-04 19:01:08 -08:00
Noel Berry 0f15437c4d opengl needs to reset ColorMask on FrameBuffer clear 2021-01-04 19:00:56 -08:00
Noel Berry a1267c738c small vector fix 2021-01-04 18:37:08 -08:00
Noel BerryandGitHub 63466dc2ea Merge pull request #6 from akien-mga/cmake-3.12
CMake: Bump required version to 3.12 for add_compile_definitions
2021-01-04 00:20:17 -08:00
Noel BerryandGitHub dd365d2c84 Merge pull request #5 from impiaaa/master
Fixes for building on Linux
2021-01-03 23:15:38 -08:00
Noel Berry cc5e222be5 fixed vector copy constructor bug 2021-01-03 00:32:01 -08:00
Noel Berry 43b49da552 attempting to solve SDL2 include dirs across platforms 2021-01-03 00:10:53 -08:00
Noel Berry ff4d4b1acb moving ifdefs into implementation 2021-01-02 20:46:42 -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
Noel BerryandGitHub 813816eb8e Merge pull request #4 from sherjilozair/fix
Add required headers to compile on macos
2021-01-02 20:38:40 -08:00
Noel Berry d8930f15ac added Calc::approach for Vec2 2020-12-31 18:29:13 -08:00
Noel Berry 30cfbf203e removed unnecessary logs 2020-12-31 18:29:02 -08:00
Noel Berry 227fb51105 fixing float->int warning, make it explicit 2020-12-31 18:28:36 -08:00
Noel Berry 241d863ac4 restructured project to match a more standard cmake setup 2020-12-31 13:43:23 -08:00
Noel Berry c841bd82a1 small cleanup pass on graphic asserts/errors 2020-12-31 00:59:34 -08:00
Noel Berry c22b5a7639 added D3D11 Texture::get_data implementation 2020-12-31 00:44:38 -08:00
Noel Berry 920e7ac644 D3D11 shutdown cleanup 2020-12-30 16:31:36 -08:00
Noel Berry 7401304bc4 D3D11 cleanup 2020-12-30 16:17:03 -08:00
Noel Berry ed1f26895b d3d11 notes and updating dummy graphics backend 2020-12-30 14:37:11 -08:00
Noel BerryandGitHub ea969e68cf some notes on usage 2020-12-30 14:33:02 -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 01769d0b08 further D3D11 cleanup & notes 2020-12-29 18:01:11 -08:00
Noel BerryandGitHub deafcb4f64 adding texture rendering to example 2020-12-29 17:38:21 -08:00
Noel Berry 5503198eff cleaning up D3D11 implementation 2020-12-29 16:51:47 -08:00
Noel BerryandGitHub 27f7134500 comment typo fix 2020-12-28 20:25:06 -08:00
Noel BerryandGitHub 767da20675 noted d3d11 is unfinished 2020-12-28 19:08:05 -08:00
Noel Berry 22f161cc8d d3d11 notes since it's WIP 2020-12-28 18:41:10 -08:00
Noel Berry 1ec2646264 updating readme info 2020-12-28 18:37:33 -08:00
Noel Berry 41ae0ac6d5 very WIP D3D11 support 2020-12-28 18:31:06 -08:00
Noel Berry 52e362e1b2 little bit more cleanup & naming fixes 2020-12-26 14:59:39 -08:00
Noel Berry 6464db5a75 explaining backbuffer implementation 2020-12-26 14:47:10 -08:00
Noel Berry 15608d8309 graphics refactor & new organization 2020-12-26 14:44:48 -08:00
Noel BerryandGitHub 2c96f0813e clarified readme 2020-12-25 18:47:02 -08:00
Noel Berry 134d26040c more graphics cleanup - removing Shader Attribute Info 2020-12-24 03:01:05 -08:00
Noel Berry 4c4d495fa8 Merge branch 'master' of https://github.com/NoelFB/blah 2020-12-24 00:34:41 -08:00
Noel Berry dbafc6ec65 cleaning up render pass 2020-12-24 00:33:38 -08:00
Noel BerryandGitHub b8fe280a88 clarified readme 2020-12-24 00:21:38 -08:00
Noel Berry 8c0ef3e769 lots of small rendering & batcher cleanup 2020-12-24 00:19:58 -08:00
Noel Berry 46c900756e Merge branch 'master' of https://github.com/NoelFB/blah 2020-12-23 16:58:06 -08:00
Noel Berry e6f27857b4 controller vendor/product/version IDs 2020-12-23 16:58:04 -08:00
Noel Berry eda7cc8398 commenting 2020-12-23 16:57:49 -08:00
Noel BerryandGitHub 9e00fde0bc updated readme links 2020-12-23 16:21:53 -08:00
Noel Berry be989cdde9 refactoring rendering backend a little 2020-12-23 16:16:09 -08:00
Noel Berry f73973cc6f string cleanup + static format methods 2020-12-05 13:50:59 -08:00
Noel Berry ed3ffa952a vector cleanup 2020-12-05 13:50:19 -08:00
Noel Berry 7bb52d1345 fixed to batch text rendering 2020-12-05 13:50:09 -08:00
Noel Berry f736cb78f9 Rect.inflate should be const 2020-12-05 13:49:30 -08:00
Noel Berry e345ad66d5 additional circle constructor 2020-12-05 13:49:22 -08:00
Noel Berry 37a966263d added Calc::map and Calc::clamped_map 2020-12-05 13:49:02 -08:00
Noel Berry ef5714bb83 virtual input cpp files had pragma once in them 2020-12-05 13:48:45 -08:00
Noel BerryandGitHub bb68a25b41 Merge pull request #3 from bitwitch/master
fix: stackvector expand
2020-12-05 13:35:20 -08:00
Noel Berry c80188cfd0 StackVector had a typo that meant its buffer was too big 2020-11-23 01:32:06 -08:00
Noel Berry cea39987b8 vector/stackvector refactor 2020-10-25 00:54:19 -07:00
Noel Berry 86bcd17f6a vector assert 2020-10-24 17:51:40 -07:00
Noel Berry 8d6bd102f5 fixing a few warnings 2020-10-24 17:49:46 -07:00
Noel Berry b2f72a645a readme notes update 2020-10-24 17:35:21 -07:00
Noel Berry b5e2c53613 changing back to custom vector class 2020-10-24 17:34:20 -07:00
Noel Berry 088e3a9103 few warning fixes 2020-10-24 15:37:07 -07:00
Noel Berry 16626876e7 fixed dir_enumerate on mac/linux 2020-10-24 15:23:48 -07:00
Noel Berry b4e1cd111e Removed custom list class in favor of std::vector 2020-10-24 15:21:36 -07:00
Noel BerryandGitHub 06052410f2 Merge pull request #2 from AKholetsky/master
Fixed lost capacity and incorrect method name
2020-10-24 10:28:18 -07:00
Noel Berry 05bce9cff6 fixed spritefont size assignment typo 2020-10-19 20:38:52 -07:00
Noel Berry 5915ae1938 spritefont should use unordered_map 2020-10-19 00:50:16 -07:00
Noel Berry 28c142e8de image calls proper delete/stbi_image_free 2020-10-19 00:49:37 -07:00
Noel Berry bf03bc815d list missing destructor call
should maybe just switch to std::vector .......
2020-10-19 00:48:17 -07:00
Noel Berry e89532e132 fixed Batch::rect_rounded_line corner alignment 2020-10-11 23:08:33 -07:00
Noel Berry 474ee631b2 angle utility methods 2020-10-11 13:50:44 -07:00
Noel Berry 1af8669441 Batch::tri_line implemented 2020-10-11 13:48:45 -07:00
Noel Berry 02a9272b29 shape line drawing all draw within their shape 2020-10-11 13:47:47 -07:00
Noel Berry 884eba85a2 text rendering & kerning was very broken 2020-09-21 00:36:19 -07:00
Noel BerryandGitHub 484da29efb font rendering texture check was inverted 2020-09-20 13:47:07 -07:00
Noel Berry b31bcf86c0 fixed Mat4x4 method naming convention 2020-09-19 14:14:36 -07:00
Noel Berry f599df02cc fixed Time::on_interval overloading conflicts 2020-09-19 11:55:18 -07:00
Noel Berry 86e15adf0f Merge branch 'master' of https://github.com/NoelFB/blah 2020-09-16 21:33:43 -07:00
Noel Berry 8ed97d133e fixed incorrect aseprite linked-cel parsing 2020-09-16 21:33:41 -07:00
Noel BerryandGitHub a0ca01a5a1 fixed batcher text bottom/middle vertical align 2020-09-01 12:41:42 -07:00
Noel Berry e1d2e3066e removed trailing whitespace 2020-08-28 21:11:43 -07:00
Noel Berry e70d7a11a0 cleaned up the opengl implementation 2020-08-28 19:35:10 -07:00
Noel BerryandGitHub a9087d10bf clarified framebuffer comments 2020-08-27 23:41:42 -07:00
Noel Berry 6bcf8d6d41 Merge branch 'master' of https://github.com/NoelFB/blah 2020-08-27 20:43:17 -07:00
Noel Berry 6cb31ae0b1 fixed bug where virtual buttons would be pressed the first frame 2020-08-27 20:43:11 -07:00
Noel BerryandGitHub fda23a2a5a Update README.md 2020-08-27 20:26:41 -07:00
Noel Berry 2ad615ce44 note for non-fixed timestep 2020-08-27 20:24:36 -07:00
Noel Berry 14ffdc4151 small readme cleanup 2020-08-27 20:23:26 -07:00
Noel Berry 5348472692 Merge branch 'master' of https://github.com/NoelFB/blah 2020-08-27 20:21:35 -07:00
Noel Berry 79dd471e10 removed some old invalid comments 2020-08-27 20:21:33 -07:00
Noel BerryandGitHub 1d12f43f1c Update README.md 2020-08-27 20:19:46 -07:00
Noel BerryandGitHub 53c65f0ba3 line formatting 2020-08-27 19:49:23 -07:00
Noel Berry fbc6d894f4 app properly pauses during Time::pause_timer 2020-08-27 19:44:03 -07:00
Noel Berry b939391334 small api cleanup 2020-08-27 19:43:47 -07:00
Noel Berry a32b08267a some opengl defaults 2020-08-27 19:43:35 -07:00
Noel Berry 71043af92a replaced input defines with statics 2020-08-27 19:43:23 -07:00