Commit graph

349 commits

Author SHA1 Message Date
John Alanbrook e78e673576 Quicjs optimizes similar to engine; objects lerp from their prototype 2023-09-06 17:17:16 +00:00
John Alanbrook 7ddf807efd Command line arguments, err messages, help; remove Proxy functions from JS 2023-09-05 22:09:25 +00:00
John Alanbrook 4d577dadb7 Constrained nuklear.h to nuke.c 2023-09-05 14:38:52 +00:00
John Alanbrook 075b9950e0 Replace SQLite3 with TinyCDB; javascript compile output 2023-09-05 15:44:52 +00:00
John Alanbrook a9468d0e95 Remove unneeded ES6 from QuickJS 2023-09-05 02:35:05 +00:00
John Alanbrook 40974a5261 Makefile simplification 2023-09-04 21:27:30 +00:00
John Alanbrook 008458c7f1 Add Sqlite packing; merge render and openglrender; remove ftw from web builds 2023-09-04 14:48:44 +00:00
John Alanbrook f41f547f63 Clang warning fixes; remove unneeded nuklear files; remove assumed window size 2023-09-04 06:20:55 +00:00
John Alanbrook 467f7b29ea Makefile fix to easily make linux, windows, web; DBG flag set correctly 2023-09-03 17:50:02 +00:00
John Alanbrook 3e0dc30645 fix log windows bug; remove unneeded third party files 2023-09-02 11:53:52 +00:00
John Alanbrook 1b1d080528 Compilation targets of WIN, WEB, and LINUX; ftw to nftw for emscripten [2deca9ddb9] 2023-08-31 22:23:24 +00:00
John Alanbrook a58da54994 Remove engine file; add icon support; add QOI and QOA support 2023-08-31 18:00:33 +00:00
John Alanbrook 53ceb9bbf7 Merge sokol app; fix basic input 2023-08-31 08:10:30 +00:00
John Alanbrook 6e4e529541 Clean up window and input, integrate sokol [2deca9ddb9] 2023-08-31 07:05:06 +00:00
John Alanbrook f5f5c16f56 flac, mp3, wav playing 2023-08-30 23:22:32 +00:00
John Alanbrook 6dbfb2afd3 corrected level fn registering; initial move to sokol_audio w/ 32bit float sound [57d84de51f509035] 2023-08-29 22:11:36 +00:00
John Alanbrook a3c6292eb2 Add script compile; level load eval environments 2023-08-29 14:41:40 +00:00
John Alanbrook 9dc04f6ce7 Rework Register and Player objects to remove some global functions 2023-08-28 22:00:53 +00:00
John Alanbrook aad89926d9 Remove vec.h; add editor start, step, pause controls 2023-08-28 02:57:19 +00:00
John Alanbrook 2a79182cac Component, text editor, debug controls; editor modes; input blocking; cmdline docstring output to markdown [8d85349744c4d40a] 2023-08-25 06:30:39 +00:00
John Alanbrook 6ad4fd3ee8 Editor and debug controls more uniform, with docstrings [8d85349744c4d40a] 2023-08-24 21:22:52 +00:00
John Alanbrook f94c62c5c0 Fix grid draw, circle draw, most editor drawing 2023-08-23 22:18:34 +00:00
John Alanbrook 09765f5336 merge sokol 2023-08-23 04:34:36 +00:00
John Alanbrook 54e247433f nuklear input fixed 2023-08-23 04:19:09 +00:00
John Alanbrook 77895c7a45 start sokol integration. 2023-08-23 03:44:09 +00:00
John Alanbrook 3f2ae7ff82 Nuklear renders in GUI pass 2023-08-22 22:15:39 +00:00
John Alanbrook 172af950e8 Input and scripting documentation; level todos 2023-08-22 12:29:53 +00:00
John Alanbrook f17c746162 d 2023-08-18 01:13:17 +00:00
John Alanbrook eab7cd0976 d 2023-08-17 01:17:18 +00:00
John Alanbrook c8ba538f5b d 2023-08-14 22:20:30 +00:00
John Alanbrook e6e4d7ae20 up 2023-07-03 04:05:21 +00:00
John Alanbrook c81c0f22f2 upstairs 2023-06-28 16:35:41 +00:00
John Alanbrook e549a9445b nogame 2023-06-09 03:51:06 +00:00
John Alanbrook a4b85df08f break 2023-06-09 03:50:52 +00:00
John Alanbrook 09b1d46986 pinball 2023-06-08 22:27:37 +00:00
John Alanbrook 0c6929893b missiles 2023-06-07 22:26:46 +00:00
John Alanbrook 4c77c5f472 random ints 2023-06-07 17:45:00 +00:00
John Alanbrook 6c0e850180 increase draw buffers 2023-06-07 13:41:09 +00:00
John Alanbrook 6a1a06be76 texture scrolling 2023-06-06 20:49:55 +00:00
John Alanbrook b394bcce40 tweening 2023-06-06 13:07:30 +00:00
John Alanbrook 0905bdb4fd tweening 2023-06-06 04:14:24 +00:00
John Alanbrook c56d8637cc tweens 2023-06-05 22:19:43 +00:00
John Alanbrook e129ad150f tween 2023-06-05 19:48:53 +00:00
John Alanbrook ea6c8417aa text after debug 2023-06-05 17:50:19 +00:00
John Alanbrook 5a6a27772e 9 slice 2023-06-05 15:32:45 +00:00
John Alanbrook 17fcbd26e7 gui 2023-06-01 20:58:56 +00:00
John Alanbrook 33a56e4dc5 down 2023-05-31 22:33:04 +00:00
John Alanbrook 5d7b7880ef upstairs 2023-05-31 19:52:30 +00:00
John Alanbrook aa08815e7c sprite gui render 2023-05-31 17:09:02 +00:00
John Alanbrook f5899b4e60 test 2023-05-31 15:40:43 +00:00
John Alanbrook ba7fd6560e text positioning 2023-05-30 20:41:02 +00:00
John Alanbrook 5f3bbbc582 font bb 2023-05-30 18:07:18 +00:00
John Alanbrook 16f7a28c23 removed edtior 2023-05-30 16:39:22 +00:00
John Alanbrook 0d432c32ef change 2023-05-30 12:30:56 +00:00
John Alanbrook 9cb53b04af stability 2023-05-29 15:47:30 +00:00
John Alanbrook 591f48c703 physics fixes 2023-05-27 15:13:20 +00:00
John Alanbrook a8f7f20d6e rendering 2023-05-27 12:01:17 +00:00
John Alanbrook 8172620214 debug draw fix 2023-05-26 02:55:55 +00:00
John Alanbrook 9045f435a0 imroved circle shaders 2023-05-25 01:45:50 +00:00
John Alanbrook c16a0332a5 render update 2023-05-22 05:08:08 +00:00
John Alanbrook 49271b4a5d video rendering 2023-05-19 14:55:57 +00:00
John Alanbrook 630d823591 dashed lines 2023-05-16 18:31:19 +00:00
John Alanbrook d662d9e2fa efficient opengl rendering 2023-05-16 06:31:13 +00:00
John Alanbrook 0b6566ff8b line rendering 2023-05-14 03:01:53 +00:00
John Alanbrook 9a325543ae par and mipmaps 2023-05-13 03:21:11 +00:00
John Alanbrook e0f3985b00 shaders 2023-05-12 18:22:05 +00:00
John Alanbrook eb3e576521 instanced text 2023-05-08 00:47:49 +00:00
John Alanbrook 7fc02062c0 text rendering woiks 2023-05-07 16:11:33 +00:00
John Alanbrook 8552d6a1df ok' 2023-05-07 02:16:10 +00:00
John Alanbrook 0f8a466354 wk 2023-05-05 03:39:23 +00:00
John Alanbrook ae0f41539b sokol sprite render 2023-05-04 22:07:00 +00:00
John Alanbrook 1408c05103 sokol 2023-05-04 05:03:36 +00:00
John Alanbrook bbbfb97b60 clz 2023-05-03 18:50:37 +00:00
John Alanbrook d3cb9278a9 work 2023-05-02 01:58:10 +00:00
John Alanbrook bea5b326cf fixes 2023-04-29 15:07:58 +00:00
John Alanbrook 0bf7d419e0 fix compiler warnings 2023-04-29 01:55:24 +00:00
John Alanbrook 8ca1ab4384 editor fixes 2023-04-28 17:49:18 +00:00
John Alanbrook 02707a9ada Add action mapping 2023-04-25 21:59:12 +00:00
John Alanbrook dc1fda6611 Add gamepad support 2023-04-25 19:59:26 +00:00
John Alanbrook 9b1cead91e Fix free C string bugs in ffi 2023-04-25 16:55:33 +00:00
John Alanbrook a39aee66f5 stack trace on error and critical logs; set logging level 2023-04-24 22:22:18 +00:00
John Alanbrook 2ab0f33d3f Add all files needed for engine into main branch 2023-04-22 21:44:26 +00:00
John Alanbrook 1e8d76961d Add quickjs to tree 2023-04-22 19:07:37 +00:00
John Alanbrook 653e80cae8 Using TCC again; add clang-format 2023-04-21 21:57:30 +00:00
John Alanbrook 1f3a0091bb fixed quickjs memory leaks 2023-04-19 21:58:17 +00:00
John Alanbrook 879ab0fc05 Compiles and working 2023-04-19 20:16:35 +00:00
John Alanbrook 86211aecb8 compiles 2023-04-18 22:58:44 +00:00
John Alanbrook 27d15f1e81 Before SED 2023-04-18 19:49:17 +00:00
John Alanbrook 4358e34aa7 work changes 2023-04-10 14:53:01 +00:00
John Alanbrook b4c2625371 font fix 2023-04-07 17:52:35 +00:00
John Alanbrook 5ca3629406 audio change 2023-03-24 19:01:01 +00:00
John Alanbrook a170d88ccc Add point inflation functions 2023-03-20 01:33:05 +00:00
John Alanbrook 6d69566857 Bug fixing 2023-03-17 15:25:35 +00:00
John Alanbrook 35a00c96ee Nuke fixes 2023-03-13 14:27:32 +00:00
John Alanbrook 3018a1a188 Many fixes 2023-03-10 19:13:48 +00:00
John Alanbrook 0826197b91 timer deaths 2023-03-06 04:05:22 +00:00
John Alanbrook ac3ce97b80 Add color options to draw box 2023-03-03 19:07:59 +00:00
John Alanbrook 0832441c91 Nuke trees 2023-03-01 20:42:44 +00:00
John Alanbrook f5e73b96d3 Fixed object deletion during physics calcs 2023-02-28 23:03:28 +00:00
John Alanbrook f05e0e59f0 Fix windows build 2023-02-28 15:40:53 +00:00