Commit graph

  • 380a0b5655 add blended blit method variants Gered 2022-07-18 18:06:20 -0400
  • c9e32dfca5 add some inlines Gered 2022-07-17 20:49:59 -0400
  • 08bcb7f5a6 clean up rotozoom blit variants a bit Gered 2022-07-17 15:41:53 -0400
  • 195fcea4c6 refactor blits, less copy+paste with slight modifications Gered 2022-07-17 15:18:01 -0400
  • 1b477d2731 Merge remote-tracking branch 'origin/master' Gered 2022-07-17 14:44:02 -0400
  • b4b5cfb02b update BlendMap derive's Gered 2022-07-17 14:43:26 -0400
  • 57ff0b26ae add helper for constructing BlendMaps suitable for translucency overlays Gered 2022-07-17 14:43:05 -0400
  • db408a3b06 added helper functions for computing rgb color luminance and "grey"ness Gered 2022-07-17 14:42:04 -0400
  • 23c7c448b7 add visual comparison tests for most graphics functionality Gered 2022-07-17 14:12:53 -0400
  • d36f0aa9e6 fix clipping issues with certain rotozoom blit methods Gered 2022-07-17 13:37:49 -0400
  • d06ae1837b add some extra derive's to various structs Gered 2022-07-16 16:52:43 -0400
  • 5b2a3c9cb6 added benchmarks for all blit methods Gered 2022-07-16 16:03:38 -0400
  • e72628f9b1 fix broken benchmarks Gered 2022-07-16 14:55:58 -0400
  • 884e13032f add blended variants of primitive rendering Gered 2022-07-13 07:35:55 -0400
  • 7ee6df7d7c add BlendMap Gered 2022-07-13 07:34:36 -0400
  • 100c02fc58 add doc comments for entity and event functionality Gered 2022-07-10 15:23:30 -0400
  • e8cbe1debe add some inline's Gered 2022-07-10 15:15:59 -0400
  • 881fe1d2fd the take_queue function was not intended to be public Gered 2022-07-10 15:14:09 -0400
  • b856ab2fc6 add doc comments for audio functionality Gered 2022-07-10 14:31:23 -0400
  • 44984c716c add "apply" method variant that handles device locking itself Gered 2022-07-10 14:21:52 -0400
  • 253e70463e better method name Gered 2022-07-10 13:18:59 -0400
  • cbfd66d42e return index of the audio channel instead of the channel itself Gered 2022-07-10 12:58:14 -0400
  • 06d3d927fe return true/false based on if playback was actually started or not Gered 2022-07-10 12:54:49 -0400
  • b4e641ed41 forgot to commit necessary test asset for previously added tests Gered 2022-07-10 11:52:11 -0400
  • 933811f705 address some compiler warnings. oopsie Gered 2022-07-10 11:51:05 -0400
  • 6b7b525597 add font string measurement Gered 2022-07-10 11:49:36 -0400
  • 67005faa7b mark some getter methods inline Gered 2022-07-09 18:19:01 -0400
  • 0ccc37420d add blit_atlas method Gered 2022-07-09 18:17:28 -0400
  • 6a730ed70c remove redundant clones Gered 2022-07-01 16:29:47 -0400
  • e276eb950d add AudioQueue Gered 2022-07-01 16:23:28 -0400
  • 1a82436661 re-organize audio crates a bit Gered 2022-07-01 15:23:34 -0400
  • 2b082fe040 add flipped blit clipping tests Gered 2022-06-15 18:22:26 -0400
  • bb54c3bec6 fix flipped blit clipping Gered 2022-06-15 18:10:34 -0400
  • 20d0d8630d add global audio volume control Gered 2022-06-05 18:42:09 -0400
  • 13b18e3d71 convenience methods for playing/stopping specific audio channels Gered 2022-06-05 18:29:57 -0400
  • 5f5bc79d86 doc comment update for clarification Gered 2022-06-05 13:01:10 -0400
  • 39964eb4de method naming standardization Gered 2022-06-05 12:57:03 -0400
  • 51a9bddc33 add vertically and horizontally flipped BlitMethod variations Gered 2022-06-05 12:55:31 -0400
  • d3e034d211 give multi-parameter BlitMethod enum values named parameters Gered 2022-06-05 11:11:39 -0400
  • 12ad705fce mini refactor Gered 2022-06-04 16:26:51 -0400
  • 819603ca2a more formatting and doc comments Gered 2022-06-04 16:22:51 -0400
  • 1d9fceb98c rustfmt applied Gered 2022-06-04 16:22:41 -0400
  • 71556c6d65 add color offset blit method variants Gered 2022-06-04 16:13:50 -0400
  • 6bb52e57e1 add initial somewhat imperfect rotozoom blit method Gered 2022-06-04 15:54:37 -0400
  • a48f785ad0 mark some methods as inline Gered 2022-05-29 19:23:16 -0400
  • 17e30fdec4 simplify Gered 2022-05-29 17:47:24 -0400
  • 28c964e37e add initial support for playing custom audio waveform generators Gered 2022-05-29 17:43:51 -0400
  • 9e8727c02b replace TARGET_AUDIO_SPEC with separate constants for freq and channels Gered 2022-05-29 14:27:04 -0400
  • 94922caf71 minor updates to audio_playback example Gered 2022-05-29 13:53:35 -0400
  • 03950c8d3e formatting Gered 2022-05-29 13:52:53 -0400
  • 7ee256e12e add Audio struct to wrap underlying SDL AudioDevice Gered 2022-05-29 13:51:55 -0400
  • c5b2e216cf formatting Gered 2022-05-29 13:22:03 -0400
  • 23f2d4da02 update audio_playback example with varied wav file formats to convert Gered 2022-05-29 13:18:51 -0400
  • 00eb6fcb20 support loading 16-bit wav files Gered 2022-05-29 13:18:15 -0400
  • dd6178ca1f improve wav file loading. handle buggy/naive cases better Gered 2022-05-29 12:54:02 -0400
  • b28c0f6555 add stream_size method Gered 2022-05-29 12:52:58 -0400
  • 9c35d670fa some AudioSpec usage cleanups and minor improvements Gered 2022-05-29 11:19:57 -0400
  • e4a90e7f10 play_buffer now enforces matching AudioSpecs Gered 2022-05-29 10:57:04 -0400
  • 3d3f46417d change audio channel methods to return options in places. add comments Gered 2022-05-28 20:57:14 -0400
  • 3bf69d651d add audio_playback example Gered 2022-05-28 20:29:40 -0400
  • 342e2a3877 add initial audio playback and wav file support Gered 2022-05-28 20:29:17 -0400
  • bc03961a49 bitmap font/char rendering now requires a FontRenderOpts Gered 2022-05-27 17:52:23 -0400
  • 51cb8a5bf5 add template_complicated example Gered 2022-05-26 21:14:38 -0400
  • 0afc7e822a add template_minimal example Gered 2022-05-26 18:43:22 -0400
  • 246367b50b remove push/pusher components from dead slime corpses Gered 2022-05-23 20:32:12 -0400
  • 1f80c9943e attribute original artists Gered 2022-05-23 17:58:42 -0400
  • 4f3928cf56 add READMEs and screenshots for examples Gered 2022-05-23 17:44:16 -0400
  • 1ab1d8e0ad add "slimed" example Gered 2022-05-23 17:43:30 -0400
  • 3ac0adea69 add method for transparent blit with visible pixels all a single color Gered 2022-05-23 14:47:37 -0400
  • 2bb4365e08 add some derivations for BlitMethod enum Gered 2022-05-23 14:46:58 -0400
  • 41c37fe874 add helper method for testing if a vector is almost the zero vector Gered 2022-05-23 14:14:34 -0400
  • 9072879f4f fix incorrect return type. mutable component should be returned Gered 2022-05-22 17:50:16 -0400
  • db261d2356 add 'Resume' state that game states go through when they wake up again Gered 2022-05-22 10:50:12 -0400
  • 2c2ba24e6b add method to create Palettes with specific initial color RGB value Gered 2022-05-21 20:09:27 -0400
  • 264c71677b add helper/debug method to draw a palette to a bitmap Gered 2022-05-21 16:40:09 -0400
  • a4e98ce108 "clean up" imports, re-export under separate top-level crates Gered 2022-05-20 22:12:55 -0400
  • f0930c90d7 allow for multiple states to be popped at once Gered 2022-05-16 20:36:42 -0400
  • 4d7f84281b cleanup. return errors instead of panics Gered 2022-05-16 19:00:48 -0400
  • ee9474b231 add state swapping support Gered 2022-05-16 18:59:38 -0400
  • af09c61796 fix state transitions for dead/pending so they happen faster Gered 2022-05-15 20:43:54 -0400
  • e2888ca710 formatting Gered 2022-05-15 20:39:56 -0400
  • 340dd445d7 minor adjustments Gered 2022-05-15 19:31:56 -0400
  • 7c8e1dc21c add balls_v2 example Gered 2022-05-15 16:34:25 -0400
  • 2f23bc5ce1 add is_empty method to States Gered 2022-05-15 14:41:23 -0400
  • 4e291f33dc add contains_key convenience component store method Gered 2022-05-15 14:40:06 -0400
  • 2470919d17 ComponentSystems update/render functions now only take context argument Gered 2022-05-15 12:27:12 -0400
  • a05be17821 update gitignore Gered 2022-05-15 12:14:12 -0400
  • 4c5c397d9e add "balls" example Gered 2022-05-15 12:13:29 -0400
  • 38e6826440 initial commit Gered 2022-05-15 12:11:38 -0400