Commit Graph

  • 081328e63d store size and format of texture object, only regenerate texture and reallocate memory if size and format are changing frank 2023-08-16 18:57:35 -0400
  • e453a62679 update sprite class's private member var comments, remove extraneous quotes from texture log message frank 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 frank 2023-08-14 16:30:38 -0400
  • edafaf08ea add texture index to Sprite class, add more error checks to texture surface creation frank 2023-08-08 12:41:10 -0400
  • 62450f7033 add support for specifying multiple keys per command in config frank 2023-08-02 13:17:44 -0400
  • 67fa7e61c3 docstring example for outputting attributes to stream frank 2023-07-27 23:21:14 -0400
  • 67c3e193f4 add more info to message when exeception is raised while enabling model attributes frank 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 frank 2023-07-23 17:11:41 -0400
  • b93aae19e0 rename sb::Text::size to sb::Text::dimensions frank 2023-07-22 14:00:37 -0400
  • 1d527898aa watch multiple config files for changes frank 2023-07-21 00:51:19 -0400
  • 27d2128e1f move post command into delegate frank 2023-07-19 12:47:18 -0400
  • cd66f70d0c attribute index exception, overload attributes bind, model add and bind methods frank 2023-07-18 23:19:57 -0400
  • d1fe6b927c move sprite and pad into sb namespace frank 2023-07-15 12:19:37 -0400
  • 7bbc0f851d minor fix to model documentation frank 2023-07-15 12:05:06 -0400
  • 9a727513a1 added sprite and pad classes frank 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 frank 2023-07-14 00:30:30 -0400
  • b9dd2836f2 add documentation to VBO header file frank 2023-07-13 21:51:07 -0400
  • 89fbe359f6 Add exception handling to Attributes::bind, add default constructor to Model frank 2023-07-13 21:38:53 -0400
  • cdd01672c3 check for texture path existence on load frank 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 frank 2023-07-08 16:19:31 -0400
  • 6cb9688bec add world coordinate transformations to math library frank 2023-07-05 20:08:11 -0400
  • f7f6bee582 add support for verbose log priority frank 2023-07-01 19:21:06 -0400
  • 88cf70b828 add const qualifier to Model::size frank 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 frank 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 frank 2023-06-26 20:49:14 -0400
  • c0b55752e1 track timestamp with Timer class frank 2023-06-24 13:05:40 -0400
  • 635562263b allow arbitrary functions to be attached to animation objects instead of only node object member functions frank 2023-06-23 01:45:28 -0400
  • 5be1c38e7f make game update function pure virtual, add Animation class to sb namespace frank 2023-06-23 01:18:15 -0400
  • b02ae013ab rename velocity_to_delta to angle_to_vector, remove endpoint function frank 2023-06-22 21:25:57 -0400
  • c0852ba04f add extend vector function, 2D endpoint function, input check on wrap point frank 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 frank 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 frank 2023-06-11 01:07:15 -0400
  • 6371f9c279 remove Sprite class frank 2023-06-08 20:04:40 -0400
  • c16d71222d add example for using configuration's parenthesis operator frank 2023-06-08 18:02:04 -0400
  • f7368907da add parenthesis operator access to configuration frank 2023-06-08 17:58:20 -0400
  • e3941707e3 start recorder animation in game constructor after config fully loads frank 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 frank 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 frank 2023-06-05 18:22:43 -0400
  • 824efcc71f add external resources; add alpha to plane colors frank 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 frank 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 frank 2023-05-31 15:06:29 -0400
  • e5aef6ffb8 auto merge WASM config on emscripten builds frank 2023-05-30 18:22:20 -0400
  • 9f33ac872f - move Timer into sb namespace - debug statement for FPS - string conversion in Switch class frank 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 frank 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 frank 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 frank 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 frank 2023-05-02 18:43:32 -0400
  • f793073348 full example for building opencv libraries; upgrade box demo SDL version frank 2023-04-25 23:17:13 -0400
  • ecce532abf fix description of emscripten output for box demo makefile frank 2023-04-10 18:06:07 -0400
  • 297fdef6e8 main readme additions about building on raspberry pi frank 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
  • f63cb2bfb2 example program for using a c++ program to stream a webcam in browser frank 2022-09-06 20:52:34 -0400
  • 52ef535eac remove unsupported gl functions from emscripten builds, restore removing gl context settings from emscripten builds frank 2022-09-06 20:44:23 -0400
  • 0bf2e12935 added more documentation for GLObject::generate frank 2022-08-10 13:30:44 -0400
  • dc2141c2c4 Merge branch 'pudding' into cuckoo frank 2022-08-09 18:28:29 -0400
  • 21e1e7e707 set GL attributes before creating a window frank 2022-08-06 18:43:12 -0400
  • 9fd3ee282e change default keys for screenshot and video frank 2022-07-26 17:28:56 -0400
  • a3fba9c38a adjust pre tag frank 2022-07-23 19:34:11 -0400
  • 6956688430 add title to README frank 2022-07-23 19:30:39 -0400
  • ee06bb6732 use markdown for README frank 2022-07-23 19:27:49 -0400
  • d1cb24a785 angle difference and ratio methods frank 2022-07-23 18:55:27 -0400
  • 7e31b5a1c0 fix trigonometry functions so angles correspond with GL coordinates, add function to calculate angle between two vectors frank 2022-06-19 23:28:01 -0400
  • 3444afc2c1 changed get_configuration to configuration; added option to return the larger ratio to box aspect; changed default window size to 16:9; changed get_window to window; added SDL_RENDERER_PRESENTVSYNC; removed clear renderer to black on emscripten builds to prevent mouse bug; frank 2022-06-16 16:45:41 -0400
  • ee119ecc7e add engine name to log file name frank 2022-05-06 23:39:32 -0400
  • 86ca3eabec convert ndc box to pixel coordinates box in display frank 2021-11-19 14:13:37 -0500
  • 660865b2f2 read individual vertices and components of vertices in attributes frank 2021-11-16 23:20:56 -0500
  • 54cf01246b Display object can return ndc coordinates from a pixel coordinate box frank 2021-11-13 14:49:56 -0500
  • 03d179eed4 attributes can be accessed as a typed vector; box set gl mode function; mouse events are suppressed in addition to key events when input is suppressed frank 2021-11-09 23:30:27 -0500
  • 863db5467b mod only works on int frank 2021-11-04 01:16:09 -0400
  • dd736f341f started utilities file frank 2021-11-01 17:33:27 -0400
  • 2c0517b9e2 change uint to int for attributes bind index frank 2021-10-29 22:09:01 -0400
  • 950a95502b attributes print format frank 2021-10-29 01:07:48 -0400
  • 70bc054c7f updated documentation of attribute index frank 2021-10-26 14:05:43 -0400
  • 9e5ecc3ace bind and enable/disable attributes frank 2021-10-26 12:48:02 -0400
  • 8972b0c868 move stream operator overloads into std namespace frank 2021-10-22 15:06:05 -0400
  • 186d14cb48 print glm matrix types frank 2021-10-19 16:22:56 -0400
  • 3212dc15cf vbo, vao, and buffer classes frank 2021-10-18 17:33:33 -0400
  • 3e5e0fcbb8 pass attributes as int frank 2021-10-17 03:26:15 -0400
  • 3baaa7624e add dimensions and type functions to attributes class frank 2021-10-14 02:55:17 -0400
  • 64f6b765a7 add index to attributes class frank 2021-10-14 00:31:35 -0400
  • 1690bb5f19 attributes object for holding generic gl vertices frank 2021-10-13 00:34:11 -0400
  • a6bcc2a4d9 stream operator for all variants of glm vec frank 2021-10-08 23:43:09 -0400
  • f70ea1c215 started log class frank 2021-10-02 19:21:07 -0400
  • f03d58dae1 pass specialized generate function to generic base function for globject frank 2021-09-28 02:09:49 -0400
  • 6adac9806f abstract base class for GL objects frank 2021-09-24 02:43:38 -0400
  • 1a4b8507e3 GL texture class; logging functions changed to static frank 2021-09-20 02:32:15 -0400
  • 1f8de2f5f1 minor change header url frank 2021-09-10 15:02:23 -0400
  • 87b1fa735c minor change NULL to nullptr frank 2021-09-09 22:55:41 -0400
  • e2f5126d0a shorten is_playing to playing frank 2021-09-08 23:56:06 -0400