Commit Graph

36 Commits

Author SHA1 Message Date
tali 61d4e590b2 remove Texture public interface from S2 2024-01-19 19:10:48 -05:00
tali 5f31d1eb7f remove label from argument Renderer.draw_rect ~bb 2024-01-19 19:04:08 -05:00
tali 9162e9f3b4 remove redundant "window initialized" message 2024-01-19 19:01:31 -05:00
tali 231de4b245 add sprite rendering 2024-01-19 19:01:20 -05:00
tali c1f8a4faec add sprite type and load spritemap file 2024-01-19 18:39:14 -05:00
tali 2d367e6ded fixup gen_sprites 2024-01-19 18:39:10 -05:00
tali eded1071c4 fix accidentally shadowing some log namespaces 2024-01-19 18:07:49 -05:00
tali a6ee085b1a spritemap generation utils 2024-01-19 18:04:37 -05:00
tali 12ffc31b3e fix Asset log namespace 2024-01-19 16:58:08 -05:00
tali 99d136c1e3 refactor texture munching to use Array3 and reshape 2024-01-19 16:56:04 -05:00
tali 2855edbb81 add basic texture rendering (no clips, no instances) 2024-01-19 16:22:39 -05:00
tali 635d742363 add loading textures from sdl surfaces 2024-01-19 16:03:50 -05:00
tali 104d941ab7 add s2.mli 2024-01-19 15:24:04 -05:00
tali 95758ed7c6 s2 event loop passes time variable 2024-01-19 15:23:05 -05:00
tali d6882feb15 refactor string->sexp happens in S2 2024-01-19 15:14:22 -05:00
tali 5ce8d30f89 add N2.mli 2024-01-19 14:20:57 -05:00
tali a691757921 Revert "rename ~bb argument(s) to ~rect"
This reverts commit 827c5eb0a6.
2024-01-19 14:20:54 -05:00
tali 3714ecb88d N2.Scene.get fail message 2024-01-19 14:14:49 -05:00
tali d5b7821ec7 dont show window before event loop starts 2024-01-19 14:13:29 -05:00
tali a1a460e2e3 interpret scene description from sexp file 2024-01-19 14:08:48 -05:00
tali 781b822597 fix color pretty printer to show alpha at the right time 2024-01-19 14:02:06 -05:00
tali 827c5eb0a6 rename ~bb argument(s) to ~rect 2024-01-19 14:02:00 -05:00
tali 4983226b4a error printing fixup 2024-01-19 13:22:28 -05:00
tali 1df5e2c6d8 add sexplib 2024-01-19 13:21:49 -05:00
tali 455b04163a ECS WIP: sprite graph 2024-01-19 13:00:43 -05:00
tali 91322da5b1 ECS WIP: transform tree 2024-01-19 12:49:18 -05:00
tali ceafd98d63 move everything to s2 library 2024-01-15 17:09:24 -05:00
tali 192074f7eb implement gl pipeline with ability to draw a rectangle 2024-01-15 14:38:19 -05:00
tali 4746d0f897 add load from file 2024-01-15 14:19:02 -05:00
tali 8ce34a1a4b create initial opengl renderer 2024-01-15 14:18:00 -05:00
tali 0379c8c2e2 create "Adam" math library 2024-01-15 13:01:11 -05:00
tali deac764f0d fix Sdl.Error 2024-01-15 01:40:11 -05:00
tali e939348b3d update .opam 2024-01-14 21:39:42 -05:00
tali 127272f8e6 sdl window init 2024-01-14 21:35:16 -05:00
tali 02d4fab371 add tsdl, tgls dep 2024-01-14 21:35:08 -05:00
tali 6d4dc201f7 init 2024-01-14 21:05:54 -05:00