Commit graph

  • a5c8af67ad set alpha component consistently with other colours during palette read Gered 2023-03-20 22:18:02 -0400
  • 148a24ca42 implement png saving Gered 2023-03-20 21:47:02 -0400
  • ac4df9e8ed merge functionality of PixelDecoder and ScanlineBuffer together Gered 2023-03-20 17:47:18 -0400
  • 48c694192b maybe improve png decoding, sorta, kinda, i guess? Gered 2023-03-20 17:14:38 -0400
  • d02b81b1fb extra tests for other unsupported png scenarios Gered 2023-03-20 12:06:10 -0400
  • 76d0289a0f add png loading tests Gered 2023-03-20 12:02:55 -0400
  • 6e09c84c4a implement working filter-aware png scanline decoding Gered 2023-03-19 22:49:25 -0400
  • eb5869b600 initial and semi-incomplete png loading support Gered 2023-03-16 21:18:49 -0400
  • 6de4bf3ef0 add temporary (and wasteful) methods to load gif/iff/pcx to RgbaBitmaps Gered 2023-03-13 13:03:55 -0400
  • bc59442311 add method to convert an IndexedBitmap to an RgbaBitmap Gered 2023-03-13 13:02:21 -0400
  • 99de921f64 fix solid_blit pointer stuff Gered 2023-03-11 21:14:01 -0500
  • 2cf763bb73 add Standard implementation of SystemResources Gered 2023-03-11 21:03:57 -0500
  • 503f822a87 make Bitmap::new private to force creation via concrete aliased types Gered 2023-03-11 17:24:53 -0500
  • c1dcc39bc1 set up visual comparison graphics tests for indexed+rgb versions Gered 2023-03-11 17:15:53 -0500
  • 07f2b13f68 large amount of bitmap graphics rework Gered 2023-03-11 16:58:13 -0500
  • 2b414072bc move RGB/RGBA colour related functions into common module Gered 2023-03-10 11:11:04 -0500
  • 06f055c042 fix compiler warning Gered 2023-03-09 19:10:31 -0500
  • 2e57311fe0 try to clean up module 'use' stuff with new prelude modules Gered 2023-03-09 19:10:11 -0500
  • 75401cb5c7 move repeated 'PixelType' type constraints to new Pixel trait Gered 2023-03-09 16:32:46 -0500
  • 986a2a9677 make fonts generic over GeneralBitmap types Gered 2023-03-09 16:19:52 -0500
  • 434bd6dbed maybe, sortof, clean up CustomMouseCursor and DefaultMouseCursorBitmaps Gered 2023-03-09 15:14:38 -0500
  • f3d213130d revert hackfix in GeneralBlitMethod. fix CustomMouseCursor rendering Gered 2023-03-09 14:51:01 -0500
  • 696ed0bfb3 rename "BasicImage" to "GeneralBitmap" Gered 2023-03-09 11:57:07 -0500
  • 2c2cf9dacd remove now unnecessary 'todo' comment Gered 2023-03-08 21:11:12 -0500
  • 09ac68df66 add placeholder 'rgb' module Gered 2023-03-08 21:08:05 -0500
  • f0095cf1dc make CustomMouseCursor generic over BasicImage types Gered 2023-03-08 21:04:03 -0500
  • 3e8ec9f73e make BitmapAtlas generic for its type of bitmap Gered 2023-03-08 17:23:49 -0500
  • bcb21bc2ba switch BasicImage to use an associated type for the pixel type Gered 2023-03-08 17:22:02 -0500
  • 144d4c395b add BasicImage Gered 2023-03-08 17:04:22 -0500
  • aab19ba6b3 moved indexed (256 colour) graphics stuff into new "indexed" module Gered 2023-03-08 14:16:54 -0500
  • 7896146914 add doc-comments Gered 2023-03-07 22:41:21 -0500
  • d437755a9f important todo comment Gered 2023-03-07 22:34:46 -0500
  • 28d1b7230e move custom mouse cursor functionality to separate struct Gered 2023-03-07 22:33:10 -0500
  • 888b5057e4 add doc-comments Gered 2023-03-07 18:51:15 -0500
  • 9e06a13c6d move vsync and target_framerate options back into System Gered 2023-03-07 17:33:42 -0500
  • 29628bf680 remove now unused InputDevice struct Gered 2023-03-07 16:52:09 -0500
  • f1c04d85e3 move video, audio and input to new SystemResources trait/structs Gered 2023-03-07 16:46:16 -0500
  • 43b2c9df7c minor cleanup Gered 2023-03-07 11:39:04 -0500
  • 57eb364654 collapse some SystemError types into SDLError Gered 2023-03-07 11:38:55 -0500
  • 58340c03fe rename from libretrogd to ggdt Gered 2023-03-02 16:08:37 -0500
  • eb6a363afd formatting Gered 2023-03-02 15:10:27 -0500
  • 43333687a8 add audio queue playing into the base main_loop wrapper Gered 2023-02-27 15:14:30 -0500
  • a6f2d43009 add convenience method for playing the system audio queue Gered 2023-02-27 15:12:07 -0500
  • 624ca95a97 add no_run attribute to doc comments with an infinite main loop example Gered 2023-02-27 14:55:50 -0500
  • f2f7ae5dee update examples with new input device and main loop event handling stuff Gered 2023-02-27 14:51:55 -0500
  • 3dfb8fe466 improve event polling / processing Gered 2023-02-27 14:38:51 -0500
  • 9cb333454a add SystemEventPump to wrap the sdl2 event pump struct Gered 2023-02-19 18:04:00 -0500
  • addd92c1f2 not exactly sure what happened here Gered 2023-02-19 17:15:34 -0500
  • f6ca6f150a fix wording on method usage comment Gered 2023-02-19 16:20:19 -0500
  • 4e43e9fbdd remove possibly error returns from sdl2 Event -> SystemEvent conversion Gered 2023-02-19 16:17:11 -0500
  • adbc0029f4 implement base core/support traits for slimed project Gered 2023-02-19 15:30:35 -0500
  • aa3ede096f start moving slimed project to app+core+support context/state model Gered 2023-02-19 15:19:02 -0500
  • 03bb4b4adc update template_complicated to use new loop/context boilerplate stuff Gered 2023-02-19 13:16:10 -0500
  • 1e5930d401 long, semi-rambling, rationale/description of this boilerplate stuff Gered 2023-02-19 13:15:32 -0500
  • b26eab6fb0 some cleanup and naming changes to main loop, game context boilerplate Gered 2023-02-19 13:15:00 -0500
  • 24916ae4c7 rename types. still probably confusing. naming is very hard. Gered 2023-02-03 18:15:46 -0500
  • da66e10bbd initial main loop and game state/context boilerplate helper things Gered 2023-02-03 17:55:11 -0500
  • 3d7c4f63ea match more environments Gered 2023-01-30 18:51:24 -0500
  • 46dea2b607 add special config and defaults for SDL X11 compositor skip hint Gered 2023-01-30 18:45:03 -0500
  • 2a2d8533bc specify sdl2 dep with non-windows and windows for build differences Gered 2023-01-18 17:38:46 -0500
  • b010c044ef remove explicit sdl2 dependency from example apps Gered 2023-01-18 17:04:25 -0500
  • 592be161c3 update example apps to not use sdl2 event types Gered 2023-01-18 17:03:21 -0500
  • a7c91adaf0 convert sdl2 events to our own equivalents Gered 2023-01-18 17:02:45 -0500
  • 7c568fd09d update to a more recent version of sdl2. only tested on linux for now Gered 2023-01-18 13:30:25 -0500
  • 66bf1e40cc pin anyhow and thiserror versions Gered 2023-01-18 13:26:53 -0500
  • f902b16d3c during lzw decoding, use a vector instead of a hashmap for the table Gered 2023-01-01 13:01:10 -0500
  • a9610a5762 add initial benchmark tests for asset loading Gered 2023-01-01 12:43:15 -0500
  • ed754cb9ac update example project entity system component store usage Gered 2023-01-01 12:22:03 -0500
  • 2b33a64120 naming changes for additional clarity, and very minor cleanups Gered 2022-12-30 20:17:03 -0500
  • 88ecfb13e9 clarification comment for my future self Gered 2022-12-30 20:12:06 -0500
  • 6f821e7885 remove LzwDataBuffer, just use Vec<u8>'s instead Gered 2022-12-30 20:05:51 -0500
  • a97782d476 update incorrect comment that was clearly copy+pasted and then missed Gered 2022-12-30 17:46:47 -0500
  • 319bea7305 add todo comment reminder for myself Gered 2022-12-30 17:27:22 -0500
  • 1f31eaa17d add more pcx bitmap load/save tests Gered 2022-12-30 17:25:10 -0500
  • fc88380ba3 add more iff bitmap load/save tests Gered 2022-12-30 17:22:04 -0500
  • 39b0cd622c update module doc comment Gered 2022-12-30 17:10:52 -0500
  • 6ffa742d84 rename lzw module to lzwgif to better reflect what it does Gered 2022-12-30 11:53:22 -0500
  • cd9c44dab0 add second large gif image load/save in unit test Gered 2022-12-30 11:49:47 -0500
  • 60a22456c0 add module doc comment Gered 2022-12-30 11:47:28 -0500
  • 88f8cbe1ad lzw encoding/decoding now reads/writes the min_code_size byte Gered 2022-12-30 11:47:13 -0500
  • 803b31d8c8 fix lzw encoding code bit increment and max code value checks Gered 2022-12-30 10:51:30 -0500
  • 0c1f50e63e initial stab at gif load/save bitmap support Gered 2022-12-29 22:19:35 -0500
  • 8cb1d82b49 add support for loading/saving palettes with fewer than 256 colors Gered 2022-12-12 15:05:08 -0500
  • 5e65d63540 use a rect for the destination area Gered 2022-11-08 14:15:41 -0500
  • acbf36ee28 adjust rotozoom internal transformed destination rect coord calculation Gered 2022-11-07 13:21:45 -0500
  • a59bfc5511 update rotozoom blit algorithm to something a little bit better Gered 2022-11-06 22:17:04 -0500
  • 018aeef6ed use position argument Gered 2022-08-10 00:23:43 -0400
  • eb801d996a commit a whole bunch of test assets that were missed previously. oops! Gered 2022-07-23 15:09:41 -0400
  • 2203035401 add a bunch of debug impls. switch some debug derives over too Gered 2022-07-23 15:08:36 -0400
  • cf02471aa8 fix compiler warning Gered 2022-07-20 18:27:54 -0400
  • 9316f09e09 added blended drawing operation visual comparison tests Gered 2022-07-20 18:27:27 -0400
  • 0dd90e48b4 fix clipping issues with some more blended blit method variants Gered 2022-07-20 18:25:22 -0400
  • 63ac007207 fix clipping issues with some blended blit method variants Gered 2022-07-20 18:11:55 -0400
  • 0c9418aaa5 fix blendmap loading issue where the map had a full 256 source color set Gered 2022-07-20 17:36:08 -0400
  • c4e0a11259 add loading and saving support to BlendMap Gered 2022-07-20 16:32:19 -0400
  • d6e05c7e3a add new_colored_luminance_map method Gered 2022-07-18 21:36:28 -0400
  • 9cac8d2500 add better (and significantly slower) new_translucency_map method Gered 2022-07-18 21:22:50 -0400
  • 3265388d9d rename to new_colorized_map. maybe a better name? Gered 2022-07-18 21:22:18 -0400
  • fb101db0ac stop searching for color matches if this color is an exact match Gered 2022-07-18 21:21:40 -0400
  • d9739b4e3e fix compile issues Gered 2022-07-18 18:27:25 -0400