Commit Graph

22 Commits (801da20fd9cc1c4594ac570c98e02e1d6c61aedf)

Author SHA1 Message Date
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
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
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