include Current_time in reference

[?]
Apr 21, 2023, 1:41 AM
LZDP7K7XP4GYKWJKYEOMGNQWPALTU7KPEXLRSWBGFIUH5WBDJPHQC

Dependencies

  • [2] K7ABD3WD attempt at better error recovery
  • [3] SEJ76JDA keep templates in sync
  • [4] UUX7J2OA prevent overriding foundational definitions
  • [5] EY6UKABA record support for multiple versions
  • [6] B7XCNA6O .
  • [7] TNRO6KLZ new live app
  • [8] QFFTXR7E new file-system format for freewheeling apps
  • [9] JUTECG5X bring template-live's protocol in sync with template-live-editor
  • [*] EUWHJ7JJ include a brief reference enabling many useful apps

Change contents

  • edit in reference.md at line 6
    [11.247]
    [11.247]
    ## Variables you can read
  • edit in reference.md at line 9
    [11.248]
    [11.248]
    * `Current_time` -- seconds since some unspecified time. Useful for managing
    durations of time (scheduling operations, etc.).
  • replacement in main.lua at line 60
    [3.1328][3.1328:1351]()
    app.Current_time = 0
    [3.1328]
    [3.1351]
    Current_time = 0
  • replacement in main.lua at line 116
    [3.4316][3.4316:4415]()
    app.Current_time = app.Current_time + dt
    if app.Current_time < app.Last_resize_time + 0.1 then
    [3.4316]
    [3.4415]
    Current_time = Current_time + dt
    if Current_time < app.Last_resize_time + 0.1 then
  • replacement in main.lua at line 121
    [2.593][3.4432:4485](),[3.4432][3.4432:4485]()
    if app.Current_time - app.Previous_read > 0.1 then
    [2.593]
    [3.4485]
    if Current_time - app.Previous_read > 0.1 then
  • replacement in main.lua at line 128
    [3.4558][3.4558:4599]()
    app.Previous_read = app.Current_time
    [3.4558]
    [3.4599]
    app.Previous_read = Current_time
  • replacement in main.lua at line 339
    [3.8754][3.8754:8796]()
    app.Last_resize_time = app.Current_time
    [3.8754]
    [3.8796]
    app.Last_resize_time = Current_time
  • replacement in main.lua at line 350
    [3.8929][3.8929:8972]()
    app.Last_focus_time = app.Current_time
    [3.8929]
    [3.8972]
    app.Last_focus_time = Current_time
  • replacement in main.lua at line 363
    [3.9147][3.9147:9203]()
    if app.Current_time < app.Last_focus_time + 0.01 then
    [3.9147]
    [3.9203]
    if Current_time < app.Last_focus_time + 0.01 then
  • replacement in main.lua at line 372
    [3.9391][3.9391:9447]()
    if app.Current_time < app.Last_focus_time + 0.01 then
    [3.9391]
    [3.9447]
    if Current_time < app.Last_focus_time + 0.01 then