Commit Graph

  • 7caa40c42a Add release notes for 0.1.3 main 0.1.3 Cocktail Frank 2024-12-22 15:17:54 -0500
  • a9437c0551 Keep a list of unlocked achievements in sb::progress Cocktail Frank 2024-12-22 13:09:06 -0500
  • 086e6b203b Add sb::animation namespace with interface for LERP class Cocktail Frank 2024-12-19 16:56:30 -0500
  • e2e389a913 Move Animation into sb namespace and upgrade SDL-ttf on MinGW Cocktail Frank 2024-12-19 15:54:58 -0500
  • 7913adba15 Fix url config check to handle empty string 0.1.2 Cocktail Frank 2024-12-13 18:21:22 -0500
  • 49042523eb Add release highlights for 0.1.2 to README Cocktail Frank 2024-12-13 17:52:14 -0500
  • b2c02a707c Allow config JSON to be passed in the URL in web builds Cocktail Frank 2024-12-13 17:38:11 -0500
  • 6965d7255f Improve sb::Text blending Cocktail Frank 2024-12-12 13:33:07 -0500
  • ea13e3707f Rename sb::is_in_container to sb::contains Cocktail Frank 2024-12-10 18:57:21 -0500
  • e509a21da4 Add pixel offset to sb::Text Cocktail Frank 2024-12-07 23:06:19 -0500
  • b3d78289f0 Use absolute links for tags in README Cocktail Frank 2024-12-05 14:23:20 -0500
  • dab0f16707 Add 0.1.1 release highlights to README 0.1.1 Cocktail Frank 2024-12-04 18:36:20 -0500
  • 39969f64f0 Fix broken links in Releases section Cocktail Frank 2024-12-04 18:08:10 -0500
  • de6a2652bf Add function for panning sound by channel Cocktail Frank 2024-11-30 20:21:25 -0500
  • b0b42167ad Change name of Music::load to Music::path Cocktail Frank 2024-11-28 00:12:37 -0500
  • 753e0b1906 Minor linting and docs grammar edits Cocktail Frank 2024-11-25 19:02:56 -0500
  • 5a67b6e496 Add 0.1.0 release highlights to README 0.1.0 Cocktail Frank 2024-11-17 14:09:24 -0500
  • dcebed9ff9 Update test program with special conditions for Windows and Mac Cocktail Frank 2024-11-17 11:38:51 -0500
  • d40200f67f Fix suppress input timer precision in test program Cocktail Frank 2024-11-16 20:49:14 -0500
  • 66db6fb0bf Move Mac working directory fix for tests into setup Cocktail Frank 2024-11-16 19:50:00 -0500
  • 75208543a4 Update test program with special conditions for Emscripten builds Cocktail Frank 2024-11-16 18:53:27 -0500
  • 573a91daa2 Fix compilation of sb::progress on Emscripten builds Cocktail Frank 2024-11-15 17:22:40 -0500
  • 040bf539c6 Sync new achievements to Steam immediately Cocktail Frank 2024-11-15 15:15:28 -0500
  • 3abcc92963 Fix description of Stat types in documentation Cocktail Frank 2024-11-14 14:35:39 -0500
  • 9d368acff6 Add read-only access to Achievement object's JSON Cocktail Frank 2024-11-12 17:27:05 -0500
  • 5c4f84cdc7 Log a message when an achievement is unlocked Cocktail Frank 2024-11-09 18:46:28 -0500
  • fac4568066 Hack debug info about type_error into json.hpp Cocktail Frank 2024-11-06 20:26:19 -0500
  • 49bc96c241 Get count of achievements unlocked in progress Cocktail Frank 2024-11-03 01:28:31 -0400
  • bef0960109 Add support for storing and loading user preferences Cocktail Frank 2024-11-01 19:09:55 -0400
  • 5ee08dfeb9 Time functions for getting date as a string and minutes since epoch Cocktail Frank 2024-10-30 19:02:09 -0400
  • 5f18894d5d Support for defaulting to a value when reading a stat Cocktail Frank 2024-10-24 14:15:03 -0400
  • 1536f7c2fb Minor line length linting Cocktail Frank 2024-10-23 23:40:51 -0400
  • 55abc9af7f Add common test setup header, fix various stat assignment bugs Cocktail Frank 2024-10-18 18:45:35 -0400
  • a723421d19 Treat missing stat value as zero when calculating sum Cocktail Frank 2024-10-16 19:32:19 -0400
  • a5f0cc0b2c Set stat values for stats which are sums automatically on Steam Cocktail Frank 2024-10-16 15:55:10 -0400
  • e624fc37b2 Track unsaved status of progress object Cocktail Frank 2024-10-15 16:28:56 -0400
  • 01d6d03df4 Unlock corresponding achievements when setting stat values Cocktail Frank 2024-10-10 17:08:05 -0400
  • a0cc137033 Require Achievement object to unlock achievement Cocktail Frank 2024-10-09 00:16:47 -0400
  • 79ed51607e Add default definitions option to Progress::load Cocktail Frank 2024-10-07 20:25:02 -0400
  • 29a694200d Add sb::progress for save files, stats, and achievements Cocktail Frank 2024-10-05 20:43:48 -0400
  • 1405d548f5 Improve Game::run and add Steam API callbacks Cocktail Frank 2024-09-17 02:01:11 -0400
  • 9a758f8c7f Handle argc=0 and argv=NULL in sb::init Cocktail Frank 2024-09-11 19:00:43 -0400
  • fe3b5f218d Echo message for every successful build Cocktail Frank 2024-09-11 14:40:53 -0400
  • b78e29995a Initial Steam API support for MacOS builds Cocktail Frank 2024-09-10 23:26:44 -0400
  • 5a39c3fa82 Steam API initialization for Windows targets Cocktail Frank 2024-09-10 17:50:03 -0400
  • 8fb8baaf0d wip Cocktail Frank 2024-09-09 16:36:20 -0400
  • 149b0106c3 wip Cocktail Frank 2024-09-09 15:04:20 -0400
  • 4ebea58ba0 wip - fix builds Cocktail Frank 2024-09-07 18:32:55 -0400
  • 7530458309 wip Cocktail Frank 2024-09-06 20:51:17 -0400
  • 4955c4853b Send messages to the log using the stream operator Cocktail Frank 2024-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 function Cocktail Frank 2024-08-20 20:21:06 -0400
  • 088e7b6120 Use shared_ptr to store SDL window and update existing references frank 2024-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 automatically frank 2024-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) frank 2024-07-19 01:03:59 -0400
  • c2b8e37861 Added CLI11 library, and changed Game constructor to accept JSON objects instead of file paths frank 2024-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 frank 2024-06-05 00:58:59 -0400
  • bc293232c2 fix compiler warnings frank 2024-05-29 22:21:53 -0400
  • effcaecaf1 minor line length linting frank 2024-05-25 21:10:56 -0400
  • 175e1ee39a add auto generated version string which pulls version from git 0.0.0 frank 2024-05-25 17:27:03 -0400
  • bc9cef8674 skip entry if it is an empty array in key input map; add const function for checking if Pad is enabled frank 2024-05-09 03:05:18 -0400
  • 0aafdb1ff0 linting docstring line lengths frank 2024-05-08 12:58:42 -0400
  • a9665c7e37 macOS build documentation frank 2024-05-03 15:50:44 -0400
  • 102d1749a5 added function to disable audio chunks, colors default to fully transparent, add public getters for Pad::box and Pad::visible frank 2024-05-01 20:25:35 -0400
  • 8498dfa004 - consolidate GL includes into one header - build flags for MacOS - replace glTexStorage2D with more compatible glTexImage2D frank 2024-04-24 15:01:17 -0400
  • 87a946a61e fix missed reference to std::filesystem frank 2024-04-18 00:14:55 -0400
  • a1eef8017e fix clang version in comment frank 2024-04-18 00:11:40 -0400
  • 65eead0079 use experimental filesystem path for Ubuntu 18.04 frank 2024-04-18 00:01:23 -0400
  • 6fdfa67c41 WIP documentation on building for macOS and building wider Linux compatibility frank 2024-04-14 00:57:48 -0400
  • caf9044093 use code block formatting for ascii art frank 2024-04-03 13:08:49 -0400
  • 5fa063ac6f remove PI preprocessor definition from documentation frank 2024-04-02 19:07:56 -0400
  • 27ab95037f add Animation constructor with just frame length parameter frank 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 frank 2024-03-04 19:44:06 -0500
  • 71ff65d588 added details and updates to Raspberry Pi doc section frank 2024-02-16 19:41:15 -0500
  • 923c805fe5 reset animation object before calling animation function in case the animation function reenables the animation frank 2023-12-28 16:11:35 -0800
  • 1fff973b46 add option for texture resize filter to sprite, add functions for finding loudest mixer channel frank 2023-12-27 19:20:20 -0800
  • 11c8abcc54 support for merging an optional list of config files at the beginning of the program frank 2023-12-26 22:31:28 -0500
  • 5d950387a8 make android and wasm config file paths configurable frank 2023-12-26 20:26:31 -0500
  • 8e62f9e0a2 initialize game controller interface at startup frank 2023-12-15 00:54:20 -0500
  • 8184a62a54 add escape to key IDs frank 2023-12-14 01:11:18 -0500
  • 464e69be56 fix initial config modification check, add wrap parameter to text object frank 2023-12-12 00:42:38 -0500
  • c7fb948e39 make refresh function public for sb::Text frank 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 frank 2023-12-05 17:56:56 -0500
  • 5235535cc2 set window fullscreen display mode to current desktop mode before going fullscreen frank 2023-12-05 15:28:36 -0500
  • a6a110141d add toggle function to pause/unpause sb::Animation frank 2023-12-05 13:43:16 -0500
  • 5750997d5c add doc to sb::Animation::playing frank 2023-12-04 23:14:30 -0500
  • a5f55be257 function to get sb::Color as glm::vec4 frank 2023-12-04 21:53:49 -0500
  • ec6a720b24 set texture wrap to clamp frank 2023-11-30 00:34:54 -0500
  • 0a42df9a00 add sprite texture index increment function frank 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 frank 2023-11-14 00:19:32 -0500
  • 333a7b73ac pad object can be disabled and/or hidden frank 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 frank 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 frank 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 frank 2023-10-09 23:50:18 -0400
  • 5046b4bcf1 add custom event that fires on all window resize events frank 2023-09-28 21:11:30 -0400
  • a4435242f8 minor edit to documentation wording frank 2023-09-22 23:22:00 -0400
  • 293d74e396 removed hyphens from keyboard input related configuration key names frank 2023-09-22 14:56:35 -0400
  • 9a6b80f443 added function for extracting a grid of tile surfaces from a larger SDL surface frank 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 frank 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 frank 2023-09-07 19:09:04 -0400
  • c0fe0c782d add doc comment to box scale functions frank 2023-09-04 16:31:10 -0400