Commit Graph

44 Commits

Author SHA1 Message Date
shylie
1a1f4e8b13 Use integer coordinates instead of unsigned char. Ignores out-of-bounds coordinates. 2024-12-18 19:24:24 -05:00
shylie
6663804c88 Add audio; update Lua color API 2024-07-17 12:08:58 -04:00
Shylie
76bfd67f4e Fix not drawing all cells 2024-06-14 20:32:08 -04:00
Shylie
4811e4d970 Allow 1-tile offscreen rendering to prevent pop-in effect 2024-06-14 12:20:31 -04:00
Shylie
e402b5f5a3 Fix mouse coordinates 2024-06-13 18:08:02 -04:00
Shylie
45ec13db45 Add mouse callbacks 2024-06-11 00:40:43 -04:00
Shylie
996d14c93c Correctly initialize m_colors and m_scales 2024-06-07 12:36:27 -04:00
Shylie
d50fefc359 Make tinting and scaling per-cell instead of per-layer 2024-06-07 12:33:23 -04:00
Shylie
6444654f42 Improve lua error messages 2024-06-03 08:10:03 -04:00
Shylie
da1f32a014 Properly fixed texture bleeding 2024-06-02 14:34:07 -04:00
Shylie
71c052b38f Fix cells being drawn slightly larger than intended 2024-06-02 06:46:03 -04:00
Shylie
a39905c6cb Allow for up to 4096 sprites 2024-06-01 13:25:20 -04:00
Shylie
e5b017ad97 Don't include GL from GLFW 2024-05-30 12:09:48 -04:00
Shylie
fa8b8bfcf8 Fix unable to find glfw header (for real this time?) 2024-05-30 12:07:49 -04:00
Shylie
35902c2803 Add key callbacks, fix buffering issue 2024-05-30 10:57:36 -04:00
Shylie
10a90a5f6a Fix geometry shader and outdated cmake library name 2024-05-29 23:55:39 -04:00
Shylie
939fea0fa7 Initial lua API 2024-05-29 18:53:47 -04:00
Shylie
844e1b6c7a Downloads LFS files 2024-05-29 08:03:31 -04:00
Shylie
7cd81b31eb print stbi failure reason 2024-05-29 08:00:30 -04:00
Shylie
1e0be8eca0 Print out CWD on non-windows environments for debug purposes 2024-05-29 07:57:15 -04:00
Shylie
cf9ab6c0a1 Add return value for texture loading 2024-05-29 07:16:01 -04:00
Shylie
d285983dea Initial automated testing 2024-05-28 11:13:15 -04:00
Shylie
65c6de85ba Rework testing code 2024-05-27 13:07:50 -04:00
Shylie
12f7d22009 Convert from char* to char[] 2024-05-27 11:47:00 -04:00
Shylie
2861b78681 Update to allow GL_ARB_shader_viewport_layer_array as well. 2024-05-27 11:42:17 -04:00
Shylie
11380a0d88 Found another remaining _DEBUG reference 2024-05-26 12:52:30 -04:00
Shylie
2be0aeaf99 Add AMD_vertex_shader_layer support 2024-05-26 12:35:15 -04:00
Shylie
c125a36cf0 Geometry shader is passthrough now 2024-05-26 12:05:29 -04:00
Shylie
320164e597 Forgot to change shader version 2024-05-26 09:21:40 -04:00
Shylie
eaab60cfda Downgrade to OpenGL 4.5 2024-05-26 08:12:47 -04:00
Shylie
b4427a0c88 Setup basic testing framework 2024-05-25 23:16:23 -04:00
Shylie
b2164b76cf Add some options for configuration 2024-05-23 21:33:15 -04:00
Shylie
17ea6a7f0a Fix a bug with glerminal_layer_scale that caused unintended behavior 2024-05-23 10:53:07 -04:00
Shylie
c89563338a Rework sprite API 2024-05-19 21:46:56 -05:00
Shylie
e3a65072d8 Per-layer tinting and scaling 2024-05-16 23:51:45 -05:00
Shylie
325ef5167d 32-bit color instead of palette 2024-05-16 13:48:24 -05:00
Shylie
4b7991a3a6 Layer count increased to 256, palette size increased to 256 2024-05-15 13:33:18 -05:00
Shylie
615ea631e2 Update example, lower cell scale 2024-05-14 22:03:45 -05:00
Shylie
8318011cf2 Add sub-cell offsets 2024-05-14 21:42:49 -05:00
Shylie
02b1532fdd Remove old debug code 2024-05-14 20:07:19 -05:00
Shylie
4f5bc7b5cd Fix layering 2024-05-14 17:16:06 -05:00
Shylie
a32897d5d4 Initial public api version 2024-05-14 16:46:30 -05:00
Shylie
06c7aa9eb5 proof-of-concept graphics implementation 2024-05-14 16:11:32 -05:00
Shylie
06e756dd2c Initial commit 2024-05-09 15:42:12 -04:00