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 and GitHub
9f9ed08007
cleaned up readme text a little
2021-03-18 00:23:35 -07: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
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
Noel Berry
e9d678d880
fixed parsing tag colors in aseprite parser
2021-01-14 19:40:49 -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 and GitHub
2dcf902671
Merge pull request #9 from Accacio/patch-1
...
update links
2021-01-13 14:58:30 -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
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
27f7134500
comment typo fix
2020-12-28 20:25:06 -08:00
Noel Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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 Berry and GitHub
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