Commit graph

111 commits

Author SHA1 Message Date
4db40a0276 Audio refactor: move some stuff to detail and combine subdirs 2023-01-10 03:46:09 +03:00
30c35fd768 Move electron crystal example to separate project 2022-12-08 19:30:07 +03:00
592fb437e7 Electron crystal simulation computation time measurement 2022-12-08 18:00:01 +03:00
8aec37d1de Electron crystal simulation UI tweaks 2022-12-08 17:54:08 +03:00
0434a7d904 Implement Barnes-Hut algorithm for electron crystal simulation 2022-12-08 17:41:48 +03:00
f006ecb364 Add electron crystal simulation 2022-12-08 16:46:23 +03:00
b0bd606727 More gravity experiments 2022-12-08 14:46:54 +03:00
82607781cf Audio example tweaks 2022-10-16 00:25:02 +03:00
ac14483916 Gravity example experiments 2022-10-11 17:49:32 +03:00
6a38c127c6 Update audio example 2022-10-08 21:54:05 +03:00
f85ee1f7ba Update audio example 2022-10-08 19:49:17 +03:00
cb69759cce Update audio example 2022-10-08 19:14:12 +03:00
227236568b Implement audio pause control 2022-10-07 22:03:27 +03:00
81fabbbf02 Add audio callback profiling 2022-10-07 15:28:30 +03:00
a80487abbc Add audio compressor knee 2022-10-07 13:09:49 +03:00
dba6148554 Update audio example 2022-10-07 11:18:46 +03:00
bd16679b97 Implement stereo audio volume control 2022-10-06 16:24:42 +03:00
9b3afc9865 Use channel class for main audio output 2022-10-05 22:55:30 +03:00
26b44a9fa3 Make audio channel a separate class 2022-10-05 22:55:30 +03:00
21b2028122 Update audio example 2022-10-05 22:55:30 +03:00
61919a264e Add silence audio stream 2022-10-05 22:55:30 +03:00
94216ce638 Add volume control effect 2022-10-05 22:55:30 +03:00
b3e583283a Audio library rewrite: re-implement engine using SDL_Audio & change API 2022-10-05 22:55:28 +03:00
7a57c1c1d8 Re-implement monotone chain triangulation to output a DCEL 2022-09-19 23:35:33 +03:00
51e6f8ad9c Rewrite ear-clipping triangulation to output dcel 2022-09-17 00:40:00 +03:00
ecb723af1a Add polygon triangulation example 2022-09-15 14:42:24 +03:00
208a6f0e8b Add PSEMEK_EXAMPLES_DIR variable for examples 2022-09-15 14:41:51 +03:00
a6661b8e98 Only treat cpp files as examples 2022-09-15 14:41:38 +03:00
e4f212c44f Make profiler::dump a free function 2022-06-09 11:26:03 +03:00
36123f0a7d Move profiler to a separate library to break io <- util dependence 2022-06-09 11:23:53 +03:00
a2323884af 3D physics engine wip 2022-06-09 11:15:22 +03:00
848e474ef4 Fix ui example 2022-06-03 10:56:03 +03:00
98d26f76cf Refactor phys2d engine interface 2021-05-07 18:20:59 +03:00
401e0a29e2 Fix grass example 2021-04-19 20:59:33 +03:00
b8fb2d47e3 UI window wip 2021-03-03 10:59:50 +03:00
b37d2d25c7 Implement cached style merging 2021-02-27 20:21:50 +03:00
d0a117adf4 Make style members optional 2021-02-27 19:59:12 +03:00
226b862e95 Remove style from element factory 2021-02-27 10:57:30 +03:00
1e9eb51911 Implement ui grid layout 2021-02-26 22:57:43 +03:00
a139067a3e Add ui::container interface, move old container to helper class 2021-02-26 18:00:56 +03:00
6d6a55602f Update ui example 2021-02-26 14:40:15 +03:00
2c39434f41 Support multiline strings in label 2021-02-26 12:20:01 +03:00
c9ec53952c Implement multiline modes in label 2021-02-26 11:34:32 +03:00
ec422cf48d Make ui::contoller accept an external event loop 2021-02-25 15:00:27 +03:00
2b1417160c Clear depth buffer in ui example 2021-02-25 14:17:51 +03:00
69bd546848 Label implementation wip 2021-02-25 11:42:47 +03:00
4deb6fa64a Default button created with text 2021-02-25 11:23:57 +03:00
b7014f2eda Add style description & use it in default element factory 2021-02-25 10:36:50 +03:00
937a011577 Don't store font in painter or controller, use it in factory instead 2021-02-25 09:50:30 +03:00
a53b32067f UI library prototype wip 2021-02-25 09:07:39 +03:00