Larpon
|
7492907e77
|
examples: fix 2048 scaling on Android (#14380)
|
2022-05-17 10:03:11 +02: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
|
59357e873d
|
math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042)
|
2022-01-05 18:02:20 +02:00 |
Benjamin Stigsen
|
546c388b02
|
gg: renaming drawing functions (#12913)
|
2021-12-23 13:31:25 +02: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 |
Delyan Angelov
|
4728b975e3
|
examples: use app.gg.quit() instead of exit(0)
|
2021-11-11 17:45:22 +02:00 |
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
R cqls
|
8af6237e28
|
gg: fix width and height in draw_rounded_rect primitive (#9926)
|
2021-04-29 10:58:57 +03:00 |
Alexander Medvednikov
|
0567cbe431
|
examples: fix compilation with -prod
|
2021-04-23 14:48:07 +03:00 |
Lukas Neubert
|
a67d49050c
|
math: add a pure V `math.mathutil`, with generic `min`, `max` and `abs` functions (#9176), and use it consistently
|
2021-03-12 11:28:04 +02:00 |
Delyan Angelov
|
d1cebcb608
|
2048: remove `[no_inline]` (no longer needed)
|
2021-02-22 21:40:55 +02:00 |
spaceface
|
b4dc6c83cd
|
gg: handle Android's own native dpi scaling factor (#8908)
|
2021-02-22 21:24:18 +02:00 |
Alexander Medvednikov
|
e662d61573
|
examples: fix 2048 scaling
|
2021-02-17 16:18:33 +01:00 |
Alexander Medvednikov
|
d4a05bebde
|
gg: use gg types for Events instead of sapp
|
2021-02-17 06:44:01 +01:00 |
Delyan Angelov
|
576492af4e
|
examples: fix 2048 on Apple M1
|
2021-02-05 19:35:51 +02:00 |
Delyan Angelov
|
32cc95a340
|
test-cleancode: check some of the examples too
|
2021-02-04 17:34:59 +02:00 |
Daniel Däschle
|
dbf84520f1
|
all: update assoc syntax (#8274)
|
2021-01-22 23:24:48 +01:00 |
Larpon
|
512f62b7a1
|
android: enable custom (e)println output via android log system (#8135)
|
2021-01-17 05:32:59 +01:00 |
yuyi
|
a1c67232d0
|
checker: fix duplicate variable name (fix #265) (#7982)
|
2021-01-10 21:41:29 +01:00 |
Swastik Baranwal
|
9291fb5e0c
|
checker: disallow comparison between enum and int (#7886)
|
2021-01-08 17:41:52 +01:00 |
spaceface
|
480d78de2e
|
examples/2048: make tiles have rounded corners (#7763)
|
2021-01-01 13:04:51 +02:00 |
Daniel Däschle
|
11808f9fa3
|
parser: fix silent errors (#7271)
|
2020-12-12 04:06:09 +01:00 |
Larpon
|
9f5a3b52a7
|
all: optimize png images (#6860)
|
2020-11-17 17:42:21 +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
|
71e1ca72ec
|
examples/2048: run `v -w fmt 2048.v`
|
2020-09-27 22:47:26 +03:00 |
spaceface777
|
faca9e2f06
|
examples/2048: new end screens with alpha, better touch support (#6482)
|
2020-09-26 09:54:04 +03:00 |
Alexander Medvednikov
|
0cdeaaff6b
|
examples: make 2048 compile
|
2020-09-23 20:50:03 +02:00 |
Delyan Angelov
|
99e607d3ac
|
examples/2048: limit the simulation depth in auto mode to 8
|
2020-09-23 09:26:22 +03:00 |
Delyan Angelov
|
46be0710ac
|
examples/2048: add a simple Monte Carlo player on `a`
|
2020-09-22 17:32:35 +03:00 |
Alexander Medvednikov
|
6bf1865678
|
examples: add a link to the 2048 WA demo
|
2020-09-20 19:31:16 +02:00 |
Major Taylor
|
99a46c8657
|
2048: fixed movement bug and show score at end (#6353)
|
2020-09-12 09:25:44 +03:00 |
spaceface777
|
4aaeaa4331
|
examples/2048: some updates and improvements (#6343)
|
2020-09-11 13:19:38 +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
|
912bc8bca1
|
2048: fix crash, when compiled with gcc > 6 and -prod
|
2020-08-24 11:12:52 +03:00 |
spaceface777
|
c1651bd271
|
gg: fixes and Android support (#6161)
|
2020-08-19 07:10:42 +02:00 |
Delyan Angelov
|
ed156838e6
|
examples: add 2048 game
|
2020-08-18 09:29:43 +03:00 |