Commit Graph

29 Commits

Author SHA1 Message Date
ohsqueezy 0aafdb1ff0 linting docstring line lengths 2024-05-08 12:58:42 -04:00
ohsqueezy 8498dfa004 - consolidate GL includes into one header
- build flags for MacOS
- replace glTexStorage2D with more compatible glTexImage2D
2024-04-24 15:01:17 -04:00
ohsqueezy 0e4f06d779 - restore video recording
- remove sdl context
- configurable audio device settings
- deprecate node
- move audio recording input handling to game object
2024-03-04 19:44:06 -05:00
ohsqueezy 1fff973b46 add option for texture resize filter to sprite, add functions for finding loudest mixer channel 2023-12-27 19:20:20 -08:00
ohsqueezy ec6a720b24 set texture wrap to clamp 2023-11-30 00:34:54 -05:00
ohsqueezy 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 2023-11-14 00:19:32 -05:00
ohsqueezy 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
2023-10-18 00:07:32 -04:00
ohsqueezy 081328e63d store size and format of texture object, only regenerate texture and reallocate memory if size and format are changing 2023-08-16 18:57:35 -04:00
ohsqueezy e453a62679 update sprite class's private member var comments, remove extraneous quotes from texture log message 2023-08-14 16:44:25 -04:00
ohsqueezy edafaf08ea add texture index to Sprite class, add more error checks to texture surface creation 2023-08-08 12:41:10 -04:00
ohsqueezy 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 2023-07-23 17:11:41 -04:00
ohsqueezy cdd01672c3 check for texture path existence on load 2023-07-10 20:33:15 -04:00
ohsqueezy f7f6bee582 add support for verbose log priority 2023-07-01 19:21:06 -04:00
ohsqueezy 12e5a15d1c add exception checks to Texture::bind and GLObject::id, make collision info storage a std::optional object 2023-06-26 20:49:14 -04:00
ohsqueezy 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 2023-06-11 21:49:04 -04:00
ohsqueezy 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
2023-05-31 15:06:29 -04:00
ohsqueezy 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 2023-05-02 18:43:32 -04:00
frank f47c080d72 box demo android support, android file to string for reading files inside APK 2022-11-08 17:17:20 -05:00
frank ad9aab4a46 android helper scripts and icon assets and fill screen android demo 2022-10-17 21:57:56 -04:00
frank 346a059ee2 log statements from texture load changed from info to debug level 2022-09-22 17:21:53 -04:00
frank 24f6d3ed3d argument checking for texture load function input 2022-09-19 22:14:31 -04:00
frank 52ef535eac remove unsupported gl functions from emscripten builds, restore removing gl context settings from emscripten builds 2022-09-06 20:44:23 -04:00
frank 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 2021-11-09 23:30:27 -05:00
frank 2c0517b9e2 change uint to int for attributes bind index 2021-10-29 22:09:01 -04:00
frank 3212dc15cf vbo, vao, and buffer classes 2021-10-18 17:33:33 -04:00
frank f70ea1c215 started log class 2021-10-02 19:21:07 -04:00
frank f03d58dae1 pass specialized generate function to generic base function for globject 2021-09-28 02:09:49 -04:00
frank 6adac9806f abstract base class for GL objects 2021-09-24 02:43:38 -04:00
frank 1a4b8507e3 GL texture class; logging functions changed to static 2021-09-20 02:32:15 -04:00