Commit Graph

  • 102d1749a5 added function to disable audio chunks, colors default to fully transparent, add public getters for Pad::box and Pad::visible main ohsqueezy 2024-05-01 20:25:35 -0400
  • 8498dfa004 - consolidate GL includes into one header - build flags for MacOS - replace glTexStorage2D with more compatible glTexImage2D ohsqueezy 2024-04-24 15:01:17 -0400
  • 87a946a61e fix missed reference to std::filesystem ohsqueezy 2024-04-18 00:14:55 -0400
  • a1eef8017e fix clang version in comment ohsqueezy 2024-04-18 00:11:40 -0400
  • 65eead0079 use experimental filesystem path for Ubuntu 18.04 ohsqueezy 2024-04-18 00:01:23 -0400
  • 6fdfa67c41 WIP documentation on building for macOS and building wider Linux compatibility ohsqueezy 2024-04-14 00:57:48 -0400
  • caf9044093 use code block formatting for ascii art ohsqueezy 2024-04-03 13:08:49 -0400
  • 5fa063ac6f remove PI preprocessor definition from documentation ohsqueezy 2024-04-02 19:07:56 -0400
  • 27ab95037f add Animation constructor with just frame length parameter ohsqueezy 2024-03-06 21:22:07 -0500
  • 0e4f06d779 - restore video recording - remove sdl context - configurable audio device settings - deprecate node - move audio recording input handling to game object ohsqueezy 2024-03-04 19:44:06 -0500
  • 71ff65d588 added details and updates to Raspberry Pi doc section ohsqueezy 2024-02-16 19:41:15 -0500
  • 923c805fe5 reset animation object before calling animation function in case the animation function reenables the animation ohsqueezy 2023-12-28 16:11:35 -0800
  • 1fff973b46 add option for texture resize filter to sprite, add functions for finding loudest mixer channel ohsqueezy 2023-12-27 19:20:20 -0800
  • 11c8abcc54 support for merging an optional list of config files at the beginning of the program ohsqueezy 2023-12-26 22:31:28 -0500
  • 5d950387a8 make android and wasm config file paths configurable ohsqueezy 2023-12-26 20:26:31 -0500
  • 8e62f9e0a2 initialize game controller interface at startup ohsqueezy 2023-12-15 00:54:20 -0500
  • 8184a62a54 add escape to key IDs ohsqueezy 2023-12-14 01:11:18 -0500
  • 464e69be56 fix initial config modification check, add wrap parameter to text object ohsqueezy 2023-12-12 00:42:38 -0500
  • c7fb948e39 make refresh function public for sb::Text ohsqueezy 2023-12-07 19:24:04 -0500
  • fb68938889 use SDL's desktop fullscreen flag for simpler fullscreen behavior, and use Emscripten's fullscreen functionality for web builds; add a flag for disabling fullscreen through the configuration ohsqueezy 2023-12-05 17:56:56 -0500
  • 5235535cc2 set window fullscreen display mode to current desktop mode before going fullscreen ohsqueezy 2023-12-05 15:28:36 -0500
  • a6a110141d add toggle function to pause/unpause sb::Animation ohsqueezy 2023-12-05 13:43:16 -0500
  • 5750997d5c add doc to sb::Animation::playing ohsqueezy 2023-12-04 23:14:30 -0500
  • a5f55be257 function to get sb::Color as glm::vec4 ohsqueezy 2023-12-04 21:53:49 -0500
  • ec6a720b24 set texture wrap to clamp ohsqueezy 2023-11-30 00:34:54 -0500
  • 0a42df9a00 add sprite texture index increment function ohsqueezy 2023-11-14 17:57:45 -0500
  • 110b876648 deprecate passing callback to Animation; add an update function to Sprite for running frame by frame animation; rename log's ERROR to ERR to avoid conflict with windows.h ohsqueezy 2023-11-14 00:19:32 -0500
  • 333a7b73ac pad object can be disabled and/or hidden ohsqueezy 2023-11-08 20:00:48 -0500
  • a91bc4b773 - JSON from file static function - configuration option to start in fullscreen - render text wrapped when exceeding 3000 pixels wide (arbitrary temporary value) - set timer elapsed to any amount of seconds ohsqueezy 2023-11-04 23:52:43 -0400
  • e168844fc5 - added Windows build using MinGW for box demo along with Windows instructions to main README - replaced Model class in box demo with library's Model class - switched GL context profile mask to compatibility in Windows builds - only open audio device if audio is initialized - increase default audio frequency and buffer size - convert path objects to strings for compatibility with MinGW - update MinGW builds to use regular filesystem library instead of experimental ohsqueezy 2023-10-18 00:07:32 -0400
  • d575307b15 - redesign audio library to use Chunk and Music classes which align more closely with SDL Mix_Chunk and Mix_Music - remove default texture index from Model class - add support for two textures to Pad class - restore SDL audio mixer initialization parameters to SDL defaults - add optional log level to SDL error logging function ohsqueezy 2023-10-09 23:50:18 -0400
  • 5046b4bcf1 add custom event that fires on all window resize events ohsqueezy 2023-09-28 21:11:30 -0400
  • a4435242f8 minor edit to documentation wording ohsqueezy 2023-09-22 23:22:00 -0400
  • 293d74e396 removed hyphens from keyboard input related configuration key names ohsqueezy 2023-09-22 14:56:35 -0400
  • 9a6b80f443 added function for extracting a grid of tile surfaces from a larger SDL surface ohsqueezy 2023-09-18 22:10:04 -0400
  • d882e111b3 - fix sb::Pad to move the collision box when scaled or translated - add warning about config JSON copy - add setter for sb::Pad::_plane - move point on circle functions from extension to math ohsqueezy 2023-09-16 21:04:43 -0400
  • 4c3235c2ff frame timing updated to run at maximum allowable framerate, delay between frame calls configurable, vsync flag configurable, max framerate configurable up to unlimited ohsqueezy 2023-09-07 19:09:04 -0400
  • c0fe0c782d add doc comment to box scale functions ohsqueezy 2023-09-04 16:31:10 -0400
  • 081328e63d store size and format of texture object, only regenerate texture and reallocate memory if size and format are changing ohsqueezy 2023-08-16 18:57:35 -0400
  • e453a62679 update sprite class's private member var comments, remove extraneous quotes from texture log message ohsqueezy 2023-08-14 16:44:25 -0400
  • a055001482 add method to clear texture list to sprite class, add comments explaining model class's private member vars ohsqueezy 2023-08-14 16:30:38 -0400
  • edafaf08ea add texture index to Sprite class, add more error checks to texture surface creation ohsqueezy 2023-08-08 12:41:10 -0400
  • 62450f7033 add support for specifying multiple keys per command in config ohsqueezy 2023-08-02 13:17:44 -0400
  • 67fa7e61c3 docstring example for outputting attributes to stream ohsqueezy 2023-07-27 23:21:14 -0400
  • 67c3e193f4 add more info to message when exeception is raised while enabling model attributes ohsqueezy 2023-07-23 20:01:45 -0400
  • f9d171626f added more conversion rules for JSON array to GLM vertex, truncate attribute string representation, post reconfig event on configuration reload, added font load function, added exception handling to functions that bind textures ohsqueezy 2023-07-23 17:11:41 -0400
  • b93aae19e0 rename sb::Text::size to sb::Text::dimensions ohsqueezy 2023-07-22 14:00:37 -0400
  • 1d527898aa watch multiple config files for changes ohsqueezy 2023-07-21 00:51:19 -0400
  • 27d2128e1f move post command into delegate ohsqueezy 2023-07-19 12:47:18 -0400
  • cd66f70d0c attribute index exception, overload attributes bind, model add and bind methods ohsqueezy 2023-07-18 23:19:57 -0400
  • d1fe6b927c move sprite and pad into sb namespace ohsqueezy 2023-07-15 12:19:37 -0400
  • 7bbc0f851d minor fix to model documentation ohsqueezy 2023-07-15 12:05:06 -0400
  • 9a727513a1 added sprite and pad classes ohsqueezy 2023-07-15 11:48:08 -0400
  • ba8f4753bf throw exception if VBO is not bound when allocate is called, reset VBO offset on ID generation ohsqueezy 2023-07-14 00:30:30 -0400
  • b9dd2836f2 add documentation to VBO header file ohsqueezy 2023-07-13 21:51:07 -0400
  • 89fbe359f6 Add exception handling to Attributes::bind, add default constructor to Model ohsqueezy 2023-07-13 21:38:53 -0400
  • cdd01672c3 check for texture path existence on load ohsqueezy 2023-07-10 20:33:15 -0400
  • 55d6e08480 convert between glm::vec and sb::Color, print hierarchy on config access error, composite text onto a separate background surface, set frame time to zero when timer paused ohsqueezy 2023-07-08 16:19:31 -0400
  • 6cb9688bec add world coordinate transformations to math library ohsqueezy 2023-07-05 20:08:11 -0400
  • f7f6bee582 add support for verbose log priority ohsqueezy 2023-07-01 19:21:06 -0400
  • 88cf70b828 add const qualifier to Model::size ohsqueezy 2023-06-30 13:41:05 -0400
  • 3db0a3bd32 set invert Y to default for Box class, add support for any size GLM vector to JSON library ohsqueezy 2023-06-27 14:33:14 -0400
  • 12e5a15d1c add exception checks to Texture::bind and GLObject::id, make collision info storage a std::optional object ohsqueezy 2023-06-26 20:49:14 -0400
  • c0b55752e1 track timestamp with Timer class ohsqueezy 2023-06-24 13:05:40 -0400
  • 635562263b allow arbitrary functions to be attached to animation objects instead of only node object member functions ohsqueezy 2023-06-23 01:45:28 -0400
  • 5be1c38e7f make game update function pure virtual, add Animation class to sb namespace ohsqueezy 2023-06-23 01:18:15 -0400
  • b02ae013ab rename velocity_to_delta to angle_to_vector, remove endpoint function ohsqueezy 2023-06-22 21:25:57 -0400
  • c0852ba04f add extend vector function, 2D endpoint function, input check on wrap point ohsqueezy 2023-06-22 14:38:56 -0400
  • 772c5482dd unsubscribe delegate subcribers in game's quit function and remove destructor calls to unsubscribe; delete ID memory when GL object is deleted; disable recorder because of memory leak ohsqueezy 2023-06-11 21:49:04 -0400
  • aaaebc006d - use vector instead of map to store textures in Model class - require a font to be passed to the Text class constructor - convert default font from static member to non-static so it unloads from memory before TTF library unloads - construct delegate object first so that it deletes last and other objects can call unsubscribe successfully ohsqueezy 2023-06-11 01:07:15 -0400
  • 6371f9c279 remove Sprite class ohsqueezy 2023-06-08 20:04:40 -0400
  • c16d71222d add example for using configuration's parenthesis operator ohsqueezy 2023-06-08 18:02:04 -0400
  • f7368907da add parenthesis operator access to configuration ohsqueezy 2023-06-08 17:58:20 -0400
  • e3941707e3 start recorder animation in game constructor after config fully loads ohsqueezy 2023-06-08 12:56:21 -0400
  • 355ab4d8c4 - pass timestamp of frame start time to all update functions - use timestamp instead of SDL_GetTicks to keep time in Timer class - use seconds instead of milliseconds in Timer class ohsqueezy 2023-06-07 20:22:20 -0400
  • 1ca956b5ac - add function for wrapping an arbitrary point or curve into an arbitrary clip space - remove custom mod functions in favor of glm::mod - deactivate recorder object during game construction after full config is loaded ohsqueezy 2023-06-05 18:22:43 -0400
  • 824efcc71f add external resources; add alpha to plane colors ohsqueezy 2023-06-03 01:07:18 -0400
  • 2f7a4cb602 - attributes objects track their offset in the VBO - call to glVertexAttribPointer moved from VBO class to Attributes class - added a public domain function for computing bezier points ohsqueezy 2023-06-02 14:54:06 -0400
  • 9ed0e9ea71 - add a text plane class - load default font as a static class variable, make it a shared pointer - add filter option to texture storage - move Color into sb namespace - move Delegate object into protected ohsqueezy 2023-05-31 15:06:29 -0400
  • e5aef6ffb8 auto merge WASM config on emscripten builds ohsqueezy 2023-05-30 18:22:20 -0400
  • 9f33ac872f - move Timer into sb namespace - debug statement for FPS - string conversion in Switch class ohsqueezy 2023-05-30 16:20:28 -0400
  • 7140e8a3eb - add untransform, transform, and specialized transforms to Model class - reset viewport on window resize events - add boolean assignment operator to Switch class - throw error if GL object is generated before GL context is created - add Selection container - add string conversion to Box ohsqueezy 2023-05-24 22:49:05 -0400
  • 3ba3be4496 - add Switch and time_it classes - finish adding #pragma once to headers - move configuration initialization into Game class - print debug to stdout by default - explicitly pass file to refresh to config auto refresh - add delegate to sb namespace and deprecate get_delegate() in favor of delegate() - set custom log function before loading config - raise exception when no model textures are available ohsqueezy 2023-05-23 15:28:53 -0400
  • 8c086ba161 add instructions for curl; add array operator to configuration, give configuration object access to nodes; fix src paths in android skeleton script; add copy file function ohsqueezy 2023-05-10 02:51:11 -0400
  • a8126605e8 added opencv camera linux and android demo; added carousel, connection, and model classes; added format parameter to texture.generate; added android opencv lib build instructions ohsqueezy 2023-05-02 18:43:32 -0400
  • f793073348 full example for building opencv libraries; upgrade box demo SDL version ohsqueezy 2023-04-25 23:17:13 -0400
  • ecce532abf fix description of emscripten output for box demo makefile ohsqueezy 2023-04-10 18:06:07 -0400
  • 297fdef6e8 main readme additions about building on raspberry pi ohsqueezy 2023-04-10 16:27:07 -0400
  • 6777f26d87 remove angle brackets from heading frank 2023-02-11 19:32:07 -0500
  • f47c080d72 box demo android support, android file to string for reading files inside APK frank 2022-11-08 17:16:05 -0500
  • ec993b7337 support background images on android icon frank 2022-10-18 16:10:20 -0400
  • ad9aab4a46 android helper scripts and icon assets and fill screen android demo frank 2022-10-17 21:57:56 -0400
  • e11fecbc12 added fill screen demo for testing basic initialization and drawing frank 2022-10-07 18:56:20 -0400
  • 0d00314f5a added ability to set some GL properties with config, added some more GL properties to log frank 2022-10-07 18:29:25 -0400
  • d0bf52a03d instructions for building an android example frank 2022-10-04 18:33:16 -0400
  • 1ff7f802cb updated instructions for building with OpenCV + barcode extension through Emscripten frank 2022-09-26 20:57:51 -0400
  • 346a059ee2 log statements from texture load changed from info to debug level frank 2022-09-22 17:21:53 -0400
  • 24f6d3ed3d argument checking for texture load function input frank 2022-09-19 22:14:31 -0400
  • 60acb11d41 parameter documentation for texture loading frank 2022-09-13 01:01:20 -0400
  • b1fb77b1c8 set gl context profile attribute to ES frank 2022-09-07 20:57:00 -0400