Commit graph

1312 commits

Author SHA1 Message Date
b0bd606727 More gravity experiments 2022-12-08 14:46:54 +03:00
aa8f2faf75 Use util::hstring in util::resource_container 2022-11-30 18:20:59 +03:00
ab99236adc Use util::hstring in util::ecs 2022-11-30 18:16:55 +03:00
9146c19ccd Add util::hstring - both owning & not owning string - for use to emulate heterogeneous containers 2022-11-30 18:16:47 +03:00
f0ae57a378 Fix includes in audio::mixer 2022-11-30 18:16:25 +03:00
386ac2a518 Don't call glUniformBlockBinding for unused uniform blocks 2022-11-30 17:34:59 +03:00
d1884e4e83 Support multisample textures in framebuffers 2022-11-30 17:34:21 +03:00
a758535700 Implement multisample textures 2022-11-30 17:33:17 +03:00
f8846e8c06 Support multisample renderbuffers 2022-11-30 17:32:38 +03:00
52bb516d5c Initialize gfx objects id to 0 in class instead of constructor 2022-11-30 17:31:47 +03:00
03976206ce Store allocated gfx::renderbuffer size 2022-11-30 17:26:43 +03:00
182de08811 Add gfx::renderbuffer::target 2022-11-30 17:25:13 +03:00
144916adae Add bt::nop node 2022-11-20 13:43:46 +03:00
8688b84982 Make geom::gram_schmidt return false instead of normalizing a zero vector 2022-11-20 01:39:05 +03:00
4e5ed4edad Switch lazy perlin arguments from vectors to points 2022-11-19 22:57:22 +03:00
445ac3419e Fix NaN in geom::slerp 2022-11-19 01:57:33 +03:00
c72b19d54e Add bt::process helper for nodes without initialization & event processing 2022-11-18 12:18:27 +03:00
0a42a015eb Add bt node result interception & re-throw node 2022-11-18 12:18:05 +03:00
a1a1dbd56e Add bt timeout node 2022-11-18 12:17:46 +03:00
2d59777d60 Support searching ecs species by name 2022-11-09 23:06:25 +03:00
b00a74f431 Fix initializing ecs species components 2022-11-09 17:46:10 +03:00
07804bdeda Support ecs species behaviors 2022-10-29 14:46:06 +03:00
9489c1caef Pass ecs & species handle to behavior context 2022-10-29 10:26:16 +03:00
ca85b7ee18 Support creating entities with prescribes values of some components 2022-10-28 23:44:00 +03:00
20401bee45 Implement ecs constructors & destructors 2022-10-28 23:36:04 +03:00
55c3266343 Add util::resource_container - a simple name+id-based container 2022-10-28 19:04:08 +03:00
9b18e664e8 Replace ecs sparse component with default-constructed ones upon entity destruction 2022-10-28 16:05:58 +03:00
61885dde25 Add util::ecs::species() for iterating over all species 2022-10-27 20:59:34 +03:00
24917370ea Add util::hash_sequence 2022-10-27 17:51:05 +03:00
82607781cf Audio example tweaks 2022-10-16 00:25:02 +03:00
81f54d602e Fix loading stereo mp3 2022-10-15 23:05:15 +03:00
ac14483916 Gravity example experiments 2022-10-11 17:49:32 +03:00
72bbdec7d9 Fix audio engine initialization 2022-10-11 17:49:22 +03:00
31e1e84c69 Support dynamically changing audio::oscillator frequency 2022-10-11 17:48:27 +03:00
6a38c127c6 Update audio example 2022-10-08 21:54:05 +03:00
6f6add1cab Add distortion effect 2022-10-08 21:31:44 +03:00
87e865d025 Make sure Karplus-Strong generated sound is the same in both channels 2022-10-08 21:31:38 +03:00
f85ee1f7ba Update audio example 2022-10-08 19:49:17 +03:00
af2bab53b9 Add Karplus-Strong guitar generation algorithm 2022-10-08 19:49:11 +03:00
cb69759cce Update audio example 2022-10-08 19:14:12 +03:00
8048496535 Implement pitch control audio effect 2022-10-08 19:07:30 +03:00
e74f5957c0 Add frequency resampler & use it in mp3 decoder 2022-10-08 18:22:17 +03:00
e517e14986 Implement mp3 support 2022-10-08 17:42:03 +03:00
3255aaf15d Move loading raw & wav tracks from engine to free functions 2022-10-08 14:36:24 +03:00
5b0834f097 Support non-owning audio::recorder 2022-10-08 14:35:45 +03:00
ce5ccfde70 Turn audio::duplicator into a track 2022-10-08 14:16:50 +03:00
f46b080a69 Support creating audio::recorder directly from samples 2022-10-08 14:05:13 +03:00
2c59879630 Support loading WAV audio 2022-10-07 23:40:03 +03:00
e7c999c3dd Add io::read_full function to read whole input stream into std::vector 2022-10-07 23:37:04 +03:00
f617f50930 Implement loading raw audio tracks 2022-10-07 23:05:17 +03:00