1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

114 Commits

Author SHA1 Message Date
Daniel Däschle
ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
Delyan Angelov
5a308005d5
examples: show the tetris ghost by default 2021-06-24 11:59:18 +03:00
Delyan Angelov
f18265e6a8
gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
Delyan Angelov
dd6591b2f5
ci: fix [if xyz ?] usages 2021-06-22 10:46:43 +03:00
Wes
694b991929
examples: tetris: add ubuntu dependencies list (#10456) 2021-06-14 16:16:40 +03:00
Delyan Angelov
c2b574384f
examples: fix dropping pieces with -autofree for tetris.v 2021-03-17 14:45:32 +02: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
Alexander Medvednikov
d4a05bebde gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
Delyan Angelov
32cc95a340
test-cleancode: check some of the examples too 2021-02-04 17:34:59 +02:00
Larpon
c818ad97eb
examples: tetris: better mobile device support (#8519) 2021-02-02 18:37:43 +01:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Larpon
4044abef0e
tetris: enable to run on android, run v fmt (#8136) 2021-01-17 05:28:09 +01:00
Alexander Medvednikov
f135a9949c ci: build tetris with -autofree 2020-11-27 20:41:17 +01:00
Alexander Medvednikov
5efd393af2 all: make comptime templates usable outside of vweb via $tmpl 2020-11-26 18:40:35 +01:00
Alexander Medvednikov
23c9563600 examples/tetris: remove old array hacks 2020-11-24 18:14:44 +01:00
Larpon
9f5a3b52a7
all: optimize png images (#6860) 2020-11-17 17:42:21 +01:00
Delyan Angelov
8b2e704741 examples: make v -prod build-examples pass without warnings/errors 2020-10-18 09:48:13 +03:00
Delyan Angelov
46c5a2c8fc v test-fmt: fix some embedded comments in expressions 2020-10-14 22:52:33 +03:00
Nicolas Sauzede
8d2f22affe
tetris: display lines (#6533) 2020-10-02 16:42:05 +03:00
Nicolas Sauzede
a0aedfbe5c
tetris: display next tetro (#6532) 2020-10-02 16:37:00 +03:00
Nicolas Sauzede
1ddf46f3c6
tetris: add ghost piece (#6531) 2020-10-02 09:30:15 +02:00
Alexander Medvednikov
8c8fe02000 gg: mouse_move, mouse_down 2020-09-21 02:42:53 +02:00
Delyan Angelov
d4fbf422b3 gg: support transparency for rect/triangle/etc primitives too 2020-09-20 12:05:30 +03:00
spaceface777
c1651bd271
gg: fixes and Android support (#6161) 2020-08-19 07:10:42 +02:00
Alexander Medvednikov
fb4550e582 gg: new create_image() (part 1) 2020-08-01 23:40:28 +02:00
Delyan Angelov
bfca55b87a examples: fix v build-examples 2020-07-24 13:29:47 +03:00
Alexander Medvednikov
1f3d7d393e gg: simplify text rendering 2020-07-06 19:45:00 +02:00
Hungry Blue Dev
e649cf84e3
rand: reorganize: phase 2 2020-06-09 15:06:07 +02:00
Delyan Angelov
2237968ec1 gg: fix x11 scaling 2020-06-05 08:19:34 +03:00
Alexander Medvednikov
13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Alexander Medvednikov
fb7ca56d87 gg: minor fixes 2020-06-04 19:57:16 +02:00
Alexander Medvednikov
c4a6ba76a1 examples: fix bounce.v; clean up tetris.v 2020-06-04 16:53:21 +02:00
Alexander Medvednikov
6b6c9d6738 gg: make the Sokol based gg the default 2020-06-04 16:05:15 +02:00
yuyi
5ae8853648
all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00
Delyan Angelov
0b7fe0a9d0 gg2: add the rest of the sokol callbacks in gg.new_context 2020-06-04 09:48:49 +03:00
Delyan Angelov
576e80b3a9 tetris: restore text rendering with gg2.ft.draw_text 2020-06-03 23:09:34 +03:00
Delyan Angelov
e91642e615 tetris: more accurate fps counters on -d showfps 2020-06-03 19:52:48 +03:00
Delyan Angelov
8a23cfc0d6 tetris: support instant drop key, add +FPS counter on -d showfps 2020-06-03 16:45:26 +03:00
Alexander Medvednikov
1139d3b458 gg: move text rendering to gg.ft 2020-06-02 15:35:41 +02:00
Alexander Medvednikov
ad8ed851d0 examples: make tetris compile 2020-06-02 09:38:42 +02:00
Alexander Medvednikov
138d730dfa checker: prepare for the is_changed check 2020-06-02 09:00:51 +02:00
Alexander Medvednikov
39bd058acf examples: tetris: remove GLFW dependency 2020-06-01 13:04:46 +02:00
Alexander Medvednikov
9bcbb3868f gg: migrate to sokol; examples: update tetris 2020-06-01 12:57:08 +02:00
Delyan Angelov
104359365f examples: fix const name warnings due to gx.White, etc... 2020-05-22 20:00:46 +03:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
yuyi
7f4cf08516
parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
Alexander Medvednikov
3fd852deee
readme: tetris 2020-05-13 04:26:06 +02:00
yuyi
f33de1bc64
all: fix unused variable warnings 2020-05-12 13:57:23 +02:00
Max Mazurov
8f6d69b763
examples: tetris: readme: freetype on Arch 2020-05-11 01:26:59 +02:00