Delyan Angelov
|
5b492e26dd
|
builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example (#13818)
|
2022-03-24 23:37:13 +02:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
Delyan Angelov
|
89d399b035
|
examples: fix leak in examples/sokol/particles/, by marking s.pool and s.bin with .noslices
|
2022-02-03 18:52:52 +02:00 |
Larpon
|
41b9b2988a
|
examples: add port of simple triangle sokol sample (#13298)
|
2022-01-27 21:16:00 +02:00 |
Larpon
|
faaa7035c4
|
examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299)
|
2022-01-27 19:46:55 +02:00 |
Larpon
|
b44b8c472d
|
examples: use vmemset instead of C.memset (#13104)
|
2022-01-09 16:08:11 +02:00 |
penguindark
|
92fcb82ca3
|
sokol: fix for example06 (#13101)
|
2022-01-09 16:02:24 +02:00 |
penguindark
|
22fce6a525
|
sokol: update sokol_gfx.h to the LAST version, and fix example 06 (#13100)
|
2022-01-08 20:29:29 +02:00 |
Larpon
|
5cffa1a2e4
|
sokol: use V type for SG_SHADERSTAGE_[VS|FS] (#13086)
|
2022-01-07 19:52:44 +02:00 |
Larpon
|
88a973b617
|
sokol: type alias all `sgl` structs, support `sgl_context` (#13018)
|
2022-01-03 15:05:24 +02:00 |
Larpon
|
4d4398fa8a
|
sokol: type alias all `gfx` structs (#13014)
|
2022-01-02 20:36:01 +02:00 |
Larpon
|
2210f89ea3
|
sokol: type alias all `sapp` structs (#12962)
|
2021-12-26 13:02:51 +02:00 |
Larpon
|
047f059fb8
|
examples: use `fontstash` wrapper calls (#12718)
|
2021-12-06 23:39:43 +03:00 |
penguindark
|
89eb5425cd
|
examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736)
|
2021-12-06 09:53:46 +02:00 |
Larpon
|
83260e5074
|
docs: add link to shader inclusion example (#12613)
|
2021-11-29 18:26:32 +02:00 |
Enzo
|
e3b65092d6
|
parser: deprecate `size_t` (#11443)
|
2021-09-08 13:09:32 +03:00 |
Daniel Däschle
|
800c0e5092
|
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
|
2021-08-04 12:44:41 +03:00 |
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
Delyan Angelov
|
f18265e6a8
|
gg: remove obsolete usages of `use_ortho: true`
|
2021-06-24 11:15:12 +03:00 |
penguindark
|
d8d05e0106
|
all: new string interpolation in pure V (#10181)
|
2021-05-24 05:20:45 +03:00 |
Enzo
|
906b207e58
|
checker: deprecate using V strings in C function calls (#10140)
|
2021-05-20 09:17:44 +03:00 |
Alexander Medvednikov
|
dc034d9b16
|
vweb: make thread safe; checker: `$if T is Interface {`
|
2021-05-11 09:30:18 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |
Lukas Neubert
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
Don Park
|
aebb551e93
|
cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878)
|
2021-04-27 08:18:48 +03:00 |
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
Lukas Neubert
|
16e79bc3ca
|
tools: format most examples and tutorials, add them to `v test-cleancode` (#9826)
|
2021-04-20 17:16:35 +03:00 |
Delyan Angelov
|
d4f31412b7
|
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795)
|
2021-04-19 19:01:47 +03:00 |
Alexander Medvednikov
|
21c452c5cd
|
builtin: define u8 = byte alias
|
2021-04-15 02:58:27 +03:00 |
penguindark
|
73238a81e2
|
examples: sokol: update the comments on how to compile the shaderes (#9633)
|
2021-04-08 02:11:41 +02:00 |
Larpon
|
8caabf0e9e
|
sokol: update to floooh/sokol@c602d83 (#9607)
|
2021-04-07 20:39:23 +02:00 |
penguindark
|
a016ac39c0
|
examples: change byteptr to &byte in sokol examples and regex (#9606)
|
2021-04-05 18:17:45 +03:00 |
penguindark
|
a2ef9967fe
|
examples: add .obj viewer as a sokol example (#9456)
|
2021-03-25 16:53:13 +01:00 |
penguindark
|
1d69a0bd22
|
gg: window_size_real_pixels that for 3D without dpi scaling (#9004)
|
2021-02-27 22:11:26 +01:00 |
Alexander Medvednikov
|
3a2d696fac
|
time: time.wait() => time.sleep()
|
2021-02-27 20:41:06 +03:00 |
zakuro
|
ac4791045f
|
time: consolidate the different sleep functions into time.wait(Duration) (#8853)
|
2021-02-21 17:05:03 +02:00 |
penguindark
|
198b395cde
|
examples: add examples/sokol/05_instancing_glsl, cleanup code (#8809)
|
2021-02-18 11:11:26 +02:00 |
Delyan Angelov
|
217e8c9146
|
ci,examples: fix compilation of 03_march_tracing_glsl/rt_glsl.v
|
2021-02-17 11:07:31 +02:00 |
Alexander Medvednikov
|
023f6829a1
|
examples: fix rt_glsl.v
|
2021-02-17 06:57:32 +01:00 |
Alexander Medvednikov
|
60a8881326
|
examples: fix and vfmt cube_glsl example
|
2021-02-17 06:47:41 +01:00 |
Alexander Medvednikov
|
d4a05bebde
|
gg: use gg types for Events instead of sapp
|
2021-02-17 06:44:01 +01:00 |
penguindark
|
325aef6d41
|
gg: add gg.m4, use it in the sokol GLSL examples (#8755)
|
2021-02-15 15:40:28 +02:00 |
Nick Treleaven
|
ea803113c3
|
checker: check `unsafe` V function calls (#8752)
|
2021-02-14 19:31:42 +01:00 |
penguindark
|
9d5243a410
|
examples: add an example of march tracing in glsl, first release (#8689)
|
2021-02-12 01:42:10 +02:00 |
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 |