Commit Graph

101 Commits (c831711a0e61d575123ef28c10a4dfb43883d487)

Author SHA1 Message Date
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 `d`rop 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
Tim Basel 3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
Delyan Angelov aed8370d87 tetris: enable compilation with -prod; cleanup of font loading errors 2020-04-16 19:44:15 +03:00
Delyan Angelov 1318c27699 tetris: it now works with v2 (on linux) :-) 2020-04-16 13:30:40 +03:00
Alexander Medvednikov c0d4503f25 gl/glfw: update C definitions 2020-04-04 12:56:35 +02:00
Alexander Medvednikov 88d15c6611 gl, glfw, freetype fixes 2020-04-02 01:45:22 +02:00
Alexander Medvednikov c6cf8ace22 glfw and tetris fixes; temporary ci fixes 2020-04-01 23:49:11 +02:00
Alexey 5827ff0a01
examples: add license files for fonts 2020-03-07 14:14:37 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Mahmoud Samir Fayed 99217da6ca
examples: update tetris readme 2020-02-07 18:47:05 +01:00
Shun Sakai c8c43a2475 update copyright year 2020-01-23 21:04:46 +01:00
Alexander Medvednikov 29564ed63d interface fix 2020-01-09 01:40:10 +01:00
Ricardo Tomasi 15415b2aae Update tetris/README for macOS 2020-01-05 11:52:58 +01:00
lutherwenxu 286a0a1371 time: rewrite unix() function 2019-12-31 17:11:47 +01:00