4955c4853bSend messages to the log using the stream operatorCocktail Frank2024-09-05 20:35:48 -0400
15ef6b0e17- Feature: CLI for adding configuration from the terminal - Added more builds of the test program: Ubuntu-18, MacOS, Windows - Added multiple reports to the test program output: console, JSON file, and text file - Added tests to verify the CLI feature is working properly - sb::init and sb::cli::init functions initialize the framework and parse command line - Config parsed from CLI is merged the Game constructor - Change directory on MacOS in sb::init instead of in Game constructor - Use nlohmann::json exception instead of std::exception in JSON file reading functionCocktail Frank2024-08-20 20:21:06 -0400
088e7b6120Use shared_ptr to store SDL window and update existing referencesfrank2024-07-26 22:02:19 -0400
2f6a2500f6- Added unit test framework Catch2 to the repository - Added a simple test program that loads Catch2 and opens and closes a game - Added build targets for Linux and Emscripten for the test program - Game class is no longer pure abstract, so it can be instantiated directly - Changed glcontext to a shared_ptr so it will be deleted automaticallyfrank2024-07-25 01:45:32 -0400
3316d8ceb5- throw exceptions on failure instead of just printing a warning when: loading a json config, loading a shader, reading a file's contents into a string - allow config reloads to fail with just a warning (same behavior as before, but modified to use exceptions) - allow standard config files to fail to load with a warning (same behavior as before, but modified to use exceptions)frank2024-07-19 01:03:59 -0400
c2b8e37861Added CLI11 library, and changed Game constructor to accept JSON objects instead of file pathsfrank2024-07-11 21:27:54 -0400
852e7ff2ba- configure and enable/disable stdout and file logs separately - prevent GL error checking by default and add functions for allowing/disallowing - disable logging by default
0.0.1
frank2024-06-05 00:58:59 -0400
102d1749a5added function to disable audio chunks, colors default to fully transparent, add public getters for Pad::box and Pad::visiblefrank2024-05-01 20:25:35 -0400
8498dfa004- consolidate GL includes into one header - build flags for MacOS - replace glTexStorage2D with more compatible glTexImage2Dfrank2024-04-24 15:01:17 -0400
87a946a61efix missed reference to std::filesystemfrank2024-04-18 00:14:55 -0400
a1eef8017efix clang version in commentfrank2024-04-18 00:11:40 -0400
65eead0079use experimental filesystem path for Ubuntu 18.04frank2024-04-18 00:01:23 -0400
6fdfa67c41WIP documentation on building for macOS and building wider Linux compatibilityfrank2024-04-14 00:57:48 -0400
caf9044093use code block formatting for ascii artfrank2024-04-03 13:08:49 -0400
5fa063ac6fremove PI preprocessor definition from documentationfrank2024-04-02 19:07:56 -0400
27ab95037fadd Animation constructor with just frame length parameterfrank2024-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 objectfrank2024-03-04 19:44:06 -0500
71ff65d588added details and updates to Raspberry Pi doc sectionfrank2024-02-16 19:41:15 -0500
923c805fe5reset animation object before calling animation function in case the animation function reenables the animationfrank2023-12-28 16:11:35 -0800
1fff973b46add option for texture resize filter to sprite, add functions for finding loudest mixer channelfrank2023-12-27 19:20:20 -0800
11c8abcc54support for merging an optional list of config files at the beginning of the programfrank2023-12-26 22:31:28 -0500
5d950387a8make android and wasm config file paths configurablefrank2023-12-26 20:26:31 -0500
8e62f9e0a2initialize game controller interface at startupfrank2023-12-15 00:54:20 -0500
8184a62a54add escape to key IDsfrank2023-12-14 01:11:18 -0500
464e69be56fix initial config modification check, add wrap parameter to text objectfrank2023-12-12 00:42:38 -0500
c7fb948e39make refresh function public for sb::Textfrank2023-12-07 19:24:04 -0500
fb68938889use 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 configurationfrank2023-12-05 17:56:56 -0500
5235535cc2set window fullscreen display mode to current desktop mode before going fullscreenfrank2023-12-05 15:28:36 -0500
a6a110141dadd toggle function to pause/unpause sb::Animationfrank2023-12-05 13:43:16 -0500
5750997d5cadd doc to sb::Animation::playingfrank2023-12-04 23:14:30 -0500
a5f55be257function to get sb::Color as glm::vec4frank2023-12-04 21:53:49 -0500
ec6a720b24set texture wrap to clampfrank2023-11-30 00:34:54 -0500
0a42df9a00add sprite texture index increment functionfrank2023-11-14 17:57:45 -0500
110b876648deprecate 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.hfrank2023-11-14 00:19:32 -0500
333a7b73acpad object can be disabled and/or hiddenfrank2023-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 secondsfrank2023-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 experimentalfrank2023-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 functionfrank2023-10-09 23:50:18 -0400
5046b4bcf1add custom event that fires on all window resize eventsfrank2023-09-28 21:11:30 -0400
a4435242f8minor edit to documentation wordingfrank2023-09-22 23:22:00 -0400
293d74e396removed hyphens from keyboard input related configuration key namesfrank2023-09-22 14:56:35 -0400
9a6b80f443added function for extracting a grid of tile surfaces from a larger SDL surfacefrank2023-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 mathfrank2023-09-16 21:04:43 -0400
4c3235c2ffframe timing updated to run at maximum allowable framerate, delay between frame calls configurable, vsync flag configurable, max framerate configurable up to unlimitedfrank2023-09-07 19:09:04 -0400
c0fe0c782dadd doc comment to box scale functionsfrank2023-09-04 16:31:10 -0400