Commit graph

119 commits

Author SHA1 Message Date
0e5759f1c6 Log about SDL2 initialization 2020-09-23 12:32:41 +03:00
061489a1ce Remove unused packaging function 2020-09-23 11:50:18 +03:00
e836385f33 Update todo 2020-09-23 11:12:30 +03:00
1d8f611eb8 Huge pcg/random rewrite: get rid of <random>, use self-written distributions instead 2020-09-23 11:12:23 +03:00
83aba92c42 Add PCG32 generator to pcg 2020-09-23 11:00:19 +03:00
06916083bb Add boost::random_device to pcg 2020-09-23 10:59:42 +03:00
342519003c Add audio::sample typedef to int16_t 2020-09-22 20:24:37 +03:00
ac8684faa3 Audio: query actual frequency & channels, initialize effects based on that 2020-09-22 20:20:48 +03:00
3432b9b476 Show OpenGL vendor & renderer in log 2020-09-22 19:51:12 +03:00
e01cef3129 Remove certain annoying warnings 2020-09-22 19:18:03 +03:00
5f422f1452 Use non-normalized texture coordinates for text & add more space between font glyphs 2020-09-21 21:53:56 +03:00
6bd3d63bdd Add engine::load(string_view) 2020-09-21 20:47:15 +03:00
58a793af9d Rename audio::sample -> audio::track 2020-09-21 20:26:55 +03:00
1ab980f0d2 Threadpool requires having a name 2020-09-21 20:22:22 +03:00
fb4922c6e9 Explicitly request mp3 support in audio 2020-09-21 20:21:50 +03:00
ea170fdd70 Fix missing header 2020-09-21 20:21:36 +03:00
7eadc77557 Do not create resources for non-built targets in package mode 2020-09-21 20:21:06 +03:00
afc0512dbe Fix find scripts for windows 2020-09-21 20:20:34 +03:00
97518a0a4a Add simple echo effect 2020-09-21 12:25:24 +03:00
87681a036a Minor fixes 2020-09-21 12:25:09 +03:00
ec4db5c6cb Support auto-starting streams 2020-09-21 12:10:22 +03:00
313f8bbf80 Add sound::engine::frequency and sound::engine::channels 2020-09-21 12:10:02 +03:00
8ff441c6ff Support audio effects 2020-09-21 11:41:13 +03:00
6549c2f907 Audio subsystem (wip) 2020-09-21 11:22:34 +03:00
89a608e35f Rename imported target sdl2 -> SDL2 & use it instead of legacy CMake variables 2020-09-21 09:13:47 +03:00
dbfd9da21c Add SDL2 initialization library & use it in app 2020-09-21 09:05:21 +03:00
d2d88ba7c5 Add 'psemek-' prefix to all psemek targets 2020-09-21 09:04:40 +03:00
bc585c6c8f Add REQUIRED to find_package(Threads) 2020-09-21 09:03:28 +03:00
67ad584d48 Add interval::center & box::center 2020-09-20 19:43:41 +03:00
b51e509562 Don't add psemek to ALL 2020-09-19 12:07:03 +03:00
ae282d796c Implement packaging for windows 2020-09-19 11:51:51 +03:00
d3fb1a5b12 Fix linux packaging 2020-09-16 14:54:33 +03:00
6fba44ca49 Check number of arguments in linux packaging 2020-09-16 13:13:15 +03:00
e4a841f132 Add linux packaging tools 2020-09-16 13:08:32 +03:00
18ef177b78 Prefer LEGACY OpenGL in CMake 2020-09-14 15:30:30 +03:00
c87a8a5c71 Add a CMake option for robust geom predicates 2020-09-14 15:30:09 +03:00
d250becf43 Fix missing includes 2020-09-14 11:32:33 +03:00
40324d6db9 Add gfx::lerp for uint8 colors 2020-09-13 19:56:43 +03:00
66a72b89bd Implement in-place sampling (without allocations) in pcg 2020-09-13 16:40:16 +03:00
9191ab68cc Support access to perlin noise internal data 2020-09-13 16:39:49 +03:00
8922399c74 Add float <-> uint8 color conversions 2020-09-13 16:39:29 +03:00
3444ac9984 Support setting perspective camera fov by aspect ratio 2020-09-13 16:39:11 +03:00
66f9878dd1 Add deg<->rag conversions 2020-09-13 16:38:50 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
9ee0e42695 Add unused macro 2020-09-13 12:49:47 +03:00
0453d4e15d Be more permissive with vector & point constructor argument types & array index types 2020-09-13 12:49:34 +03:00
e3f9770dea Update todo 2020-09-13 12:25:16 +03:00
9aac943efd Fix min filter for painter font 2020-09-13 12:17:43 +03:00
15695973df Rename scene::draw to scene::render 2020-09-13 11:14:22 +03:00
835e0eab70 Turn off multisampling by default 2020-09-13 11:14:07 +03:00