Commit Graph

35 Commits (f4b757e47d04e98359727df4859d4705d5c4b3c9)

Author SHA1 Message Date
Larpon 975206f38e
examples: support better placment and scaling on nonsquare viewports in cube.v (#8513) 2021-02-02 14:09:40 +02:00
penguindark ebda57fa6f
examples: 3d cube sokol example (#8327) 2021-01-24 23:17:50 +01:00
Delyan Angelov 12897d1e2b
examples: fix `./v -W -Wfatal-errors build-examples`, run vfmt 2021-01-22 22:33:37 +02:00
yuyi a2efb5319d
all: change `[1,2,3]!!` to `[1,2,3]!` (#8101) 2021-01-14 03:51:13 +01:00
Swastik Baranwal 9291fb5e0c
checker: disallow comparison between enum and int (#7886) 2021-01-08 17:41:52 +01:00
Delyan Angelov 9772eb7c96 examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
Delyan Angelov 2f149e6984 vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v 2020-10-18 13:45:13 +03:00
Larpon 05ec32c331
examples: fix sokol/particles to start up faster (#6610) 2020-10-13 13:16:51 +03:00
Delyan Angelov 77c29c6b6f examples: add simple visual rendering of the samples in melody.v 2020-10-10 23:45:40 +03:00
Delyan Angelov 86816b1aad examples: add bytebeat melody using sokol.audio 2020-10-10 19:37:03 +03:00
Larpon 0e2f267805
examples: add support for transparency / opacity / alpha in particle example (#6488) 2020-09-28 06:14:15 +02:00
Delyan Angelov b4535acbac examples: move the particle module in modules/particle
The goal is enabling running `v build-examples` from outside vroot.
The modules/ folders are already skipped when building examples.
2020-09-18 19:06:04 +03:00
Enzo 18034bb95c
gen: fix multiple call of expression in match (#6324) 2020-09-08 00:38:24 +02:00
spaceface777 35cbca96e1
checker: implement `[required]` struct field attribute (#6276) 2020-08-31 23:15:40 +02:00
Delyan Angelov f5c245ceb8 ci: fix `v build-examples` too 2020-08-27 14:35:26 +03:00
Delyan Angelov dad2c6608e examples: implement examples/sokol/sounds/wav_player.v 2020-08-23 20:49:37 +03:00
Delyan Angelov 1c9e02094c sokol.audio: add simple_sin_tones.v example 2020-08-23 15:28:07 +03:00
Alexander Medvednikov 542b149290 sokol: fix examples and remove copy pasta 2020-08-23 07:47:50 +02:00
Larpon d9aae023b1
android: initial support for C output using sokol_main (#6164) 2020-08-19 11:00:15 +02:00
Delyan Angelov bfca55b87a examples: fix `v build-examples` 2020-07-24 13:29:47 +03:00
Delyan Angelov 5acc437367 examples: fix compilation 2020-07-24 12:34:19 +03:00
Delyan Angelov 6ec86fa344 vfmt: reformat examples/sokol/particles *.v files 2020-07-02 15:31:42 +03:00
Larpon aec3ea5d32
examples: add sokol particle example (#5599) 2020-07-01 14:29:58 +03:00
Delyan Angelov 91df872c36 examples: fix unused variable warning in examples/sokol/fonts.v 2020-06-15 15:40:42 +03:00
yuyi 5ae8853648
all: change `f mut Foo` to `mut f Foo` 2020-06-04 10:35:40 +02:00
Alexander Medvednikov 4e51867612 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
Alexander Medvednikov 9bcbb3868f gg: migrate to sokol; examples: update tetris 2020-06-01 12:57:08 +02:00
Alexander Medvednikov dd34e65398 gg: sokol fixes and text rendering benchmark 2020-05-30 12:52:27 +02:00
Alexander Medvednikov c4ca6a9113 sokol: make examples compile 2020-05-15 18:55:29 +02:00
Tim Basel 3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
Alexey 54226e74cf
sokol: add missing `C` prefixes 2020-04-16 15:53:34 +02:00
hazohelet d8bcd13e86
compiler: fix #3973 by dealing with name mangling problem 2020-03-26 08:54:33 +01:00
Alexey a5c0d89c71
examples: reorganize 2020-03-21 09:47:38 +01:00
Alexander Medvednikov ccf6134beb rename sokol examples, so that they can be run from root 2020-01-17 00:58:49 +01:00
Alexander Medvednikov 62481e88f3 sokol and fontstash modules 2020-01-16 20:45:52 +01:00