diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-06 20:14:24 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-06 20:14:24 -0800 |
commit | 01a26cad5f0abcd9aeb010ba91d33bcdb570256f (patch) | |
tree | d6b306fba9af6bd27f89e142fa557798205ad710 /reference.md | |
parent | fa778f95a17f5050cff52330576e51955bcb4e1d (diff) | |
download | view.love-01a26cad5f0abcd9aeb010ba91d33bcdb570256f.tar.gz |
redo version checks
This is still ugly, but hopefully easier to follow.
Diffstat (limited to 'reference.md')
-rw-r--r-- | reference.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/reference.md b/reference.md index 4dde57d..916c8f4 100644 --- a/reference.md +++ b/reference.md @@ -11,6 +11,9 @@ automatically called for you as appropriate. * `flags` -- some properties of the app window. See [`flags` in `love.graphics.getMode`](https://love2d.org/wiki/love.window.getMode) for details. +* `Version` -- the running version of LÖVE as a string, e.g. '11.4'. +* `Major_version` -- just the part before the period as an int, e.g. 11. + ## Functions that get automatically called * `App.initialize_globals()` -- called before running each test and also |