Commit graph

194 commits

Author SHA1 Message Date
John Alanbrook 5a3ef830a4 use sokol git and upgrade 2024-03-03 16:49:34 -06:00
John Alanbrook 0054c7ab2e cdb command line options; packing and playing game; add stb_vorbis 2024-03-02 06:00:35 +00:00
John Alanbrook de74b42be2 Add 'use' functionality; remove most global vars 2024-02-27 16:09:15 +00:00
John Alanbrook 9c8fe27ce4 Command line overhaul 2024-02-23 22:05:30 +00:00
John Alanbrook 11b369b368 Documentation overhaul 2024-02-21 09:45:26 +00:00
John Alanbrook 5f33ac53b7 clean up docs 2024-02-20 02:31:26 +00:00
John Alanbrook ffb7631a6b js 2024-01-14 16:24:31 +00:00
John Alanbrook eb4abb9f8d particle params 2024-01-04 15:46:28 +00:00
John Alanbrook 4a4711e38f particle fix 2024-01-03 14:38:17 +00:00
John Alanbrook 2880badc98 scale 2023-12-26 21:39:46 +00:00
John Alanbrook 885a2fd190 scale 2023-12-24 17:50:01 +00:00
John Alanbrook 2f086947b9 scaling 2023-12-24 15:14:46 +00:00
John Alanbrook 2ae45a5bb8 many bug fixes; const correctness; restrict; memory leaks fixed 2023-12-21 23:21:01 +00:00
John Alanbrook a03143463e spline fixes 2023-12-20 23:20:29 +00:00
John Alanbrook a1aff79d5c bug fixes; remove texture anims 2023-12-18 23:12:05 +00:00
John Alanbrook de8c8c9168 transforms 2023-11-30 22:24:26 +00:00
John Alanbrook f47b6ece21 node free; pitch shift; time scale 2023-11-29 04:48:32 +00:00
John Alanbrook 6193bceb74 music stop; sprite alpha blending; sprite sorting; change to anim 2023-11-21 07:07:50 +00:00
John Alanbrook 051d8653fb svg support; reworking of sounds; steam integration and building 2023-11-20 21:57:23 +00:00
John Alanbrook ec8b3c97c4 start steam integration; bug fixes 2023-11-20 13:49:14 +00:00
John Alanbrook cccd472f12 Tween and delay fixes now entity lifetime; spline symmetry 2023-11-17 21:16:13 +00:00
John Alanbrook e712d06244 Fix separation trigger; fix timers; add geometry creation; fix transform errors 2023-11-16 15:27:04 +00:00
John Alanbrook f6161d04b0 transform work 2023-11-14 15:20:09 +00:00
John Alanbrook 21464c44fb Support fat macos binaries; rudimentary support for ios 2023-11-11 15:56:57 +00:00
John Alanbrook 8c3e8aa539 timers fixed 2023-11-07 18:45:52 +00:00
John Alanbrook a854764636 Fix char2d; add camera reset in editor; default entity physics is static 2023-11-02 22:25:00 +00:00
John Alanbrook 71d5ae7619 Update sokol 2023-11-01 20:33:22 +00:00
John Alanbrook 0fcc2286fa instance saving 2023-10-26 16:48:02 +00:00
John Alanbrook 264a365a1a Reconfigure logging; add markdown output for input controls and important api 2023-10-23 13:08:11 +00:00
John Alanbrook 567691edce Bug fixes for input, cleanup on engine exit 2023-10-16 14:40:43 +00:00
John Alanbrook 3c43a1fad8 D3D11 build for windows; gif making works everywhere & gif names are now dates 2023-09-25 17:29:04 +00:00
John Alanbrook d52b15e1be aseprite importer 2023-09-25 13:21:02 +00:00
John Alanbrook a57aaeb5d5 Windows now compiles with directx; separated out ur and entity methods 2023-09-19 17:35:12 +00:00
John Alanbrook 24a3ee20c6 Add simple macos window cmds; add moon.gif app icon; add editor mode for low power editing 2023-09-19 06:10:00 +00:00
John Alanbrook 27aaa8e05d Metal rendering works; high dpi rendering works; fix sokol_gfx_ext to work with metal without SDL 2023-09-19 02:55:37 +00:00
John Alanbrook 03c9f0c93d Fix web build; make all file searching fns look through slurp/the CDBs first 2023-09-18 17:35:40 +00:00
John Alanbrook 60d078321c Fix Linux and Windows build issues; texture looks in CDBs first 2023-09-18 15:45:51 +00:00
John Alanbrook c9c05d931d JSO compiler; packer; update CDB to 0.80; assets now packed into binary 2023-09-18 12:36:07 +00:00
John Alanbrook d15c4ec6d1 Fix rendering regressions; update image and screen pixel pulling 2023-09-15 17:31:31 +00:00
John Alanbrook d86133a317 Compiles on MacOS; use sokol shader converter for shader x-compilation; update sokol 2023-09-15 08:37:07 +00:00
John Alanbrook 009609458b Add compile flags to remove bits of engine; sokol_gfx_ext works on windows; remove glad/gl 2023-09-13 04:32:14 +00:00
John Alanbrook 35c0337837 proper CPU timing; ur type extensions 2023-09-11 07:46:12 +00:00
John Alanbrook acecf2fde9 Fix grid drawing; add energy efficient editing; add input down detection 2023-09-06 22:48:08 +00:00
John Alanbrook e78e673576 Quicjs optimizes similar to engine; objects lerp from their prototype 2023-09-06 17:17:16 +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 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 aad89926d9 Remove vec.h; add editor start, step, pause controls 2023-08-28 02:57:19 +00:00
John Alanbrook 09765f5336 merge sokol 2023-08-23 04:34:36 +00:00
John Alanbrook 172af950e8 Input and scripting documentation; level todos 2023-08-22 12:29:53 +00:00
John Alanbrook c8ba538f5b d 2023-08-14 22:20:30 +00:00
John Alanbrook 17fcbd26e7 gui 2023-06-01 20:58:56 +00:00
John Alanbrook aa08815e7c sprite gui render 2023-05-31 17:09:02 +00:00
John Alanbrook 16f7a28c23 removed edtior 2023-05-30 16:39:22 +00:00
John Alanbrook 591f48c703 physics fixes 2023-05-27 15:13:20 +00:00
John Alanbrook 9045f435a0 imroved circle shaders 2023-05-25 01:45:50 +00:00
John Alanbrook ae0f41539b sokol sprite render 2023-05-04 22:07:00 +00:00
John Alanbrook bbbfb97b60 clz 2023-05-03 18:50:37 +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 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 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 27d15f1e81 Before SED 2023-04-18 19:49:17 +00:00
John Alanbrook 5ca3629406 audio change 2023-03-24 19:01:01 +00:00
John Alanbrook f05e0e59f0 Fix windows build 2023-02-28 15:40:53 +00:00
John Alanbrook 260374c14d Wireframe display mode 2023-02-16 22:13:07 +00:00
John Alanbrook 7e1eaaae64 Mouse position & selection; warning fixes 2023-02-02 23:52:15 +00:00
John Alanbrook 38da3627e7 splines 2023-01-27 18:06:16 +00:00
John Alanbrook 68850b558a Physics edges 2023-01-26 03:32:58 +00:00
John Alanbrook db0a099509 Draw gameobject pos when debug draw enabled 2023-01-17 06:46:40 +00:00
John Alanbrook 5085597eeb Add spacebar input; add shape enabling/disablg and sensors 2023-01-16 23:18:09 +00:00
John Alanbrook 5da19ec407 Optimize busses; add samplerate changing library 2023-01-16 05:27:28 +00:00
John Alanbrook 147cf1b05d Draw sprite to GUI 2022-12-24 19:18:06 +00:00
John Alanbrook 06b8bba27f Converted to 'nuke' commands 2022-12-23 19:48:29 +00:00
John Alanbrook 9bdb7ce9cb Embedded console into REPL 2022-12-19 18:16:51 +00:00
John Alanbrook bfddf39a38 Mkfile 2022-12-16 15:07:21 +00:00
John Alanbrook fa8dfaf8e8 Proper logging using scheme; implemented most MRB FFI in scheme 2022-12-15 23:30:22 +00:00
John Alanbrook 688d816bce Fixed many incompatible pointer warnings; add tcc specific debugging flags to makefile 2022-12-15 23:30:17 +00:00
John Alanbrook 0b64d0872b Fixed many incompatible pointer warnings; add tcc specific debugging flags to makefile 2022-12-14 19:01:42 +00:00
John Alanbrook 60bf5ca7bc Moved source file locations for easier compiling; cleaned up Makefile; cleaned up opengl code 2022-12-13 18:32:36 +00:00
John Alanbrook 18eefd4937 Using S7; edit Makefile for debug, windows compilation 2022-12-12 16:48:21 +00:00
John Alanbrook e5e5716665 Using S7; edit Makefile for debug, windows compilation 2022-12-12 07:35:42 +00:00
John Alanbrook 998cb11218 Add newlines to the end of files without them; enable warnings on compile 2022-11-25 13:12:31 +00:00
John Alanbrook ac0ad8efc2 Massively improved Makefile, with DBG and release options; engine outputs engine version to root directory of game on startup 2022-11-24 16:58:36 +00:00
John Alanbrook 5946a08a79 Add versioning to logs; add backtrace on crash; add automatic logging to a logfile every run 2022-11-24 07:54:17 +00:00
John Alanbrook 012f1cc1fc Removed game subprojects; Makefile now uses pkg-config for dependencies 2022-11-24 04:44:42 +00:00
John Alanbrook a0f016a011 Use CC for general compiling; get rid of more printfs; display opengl version on load 2022-11-23 23:29:50 +00:00