From 674d5715760043d9fd6b821827d96e5dffd73302 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 12 Jul 2022 17:05:21 -0700 Subject: add state arg to few functions - draw_help_without_mouse_pressed - draw_help_with_mouse_pressed - current_shape --- drawing.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drawing.lua') diff --git a/drawing.lua b/drawing.lua index 806f09a..6f9d99c 100644 --- a/drawing.lua +++ b/drawing.lua @@ -16,13 +16,13 @@ function Drawing.draw(State, line) end if App.mouse_down(1) and love.keyboard.isDown('h') then - draw_help_with_mouse_pressed(line) + draw_help_with_mouse_pressed(State, line) return end end if line.show_help then - draw_help_without_mouse_pressed(line) + draw_help_without_mouse_pressed(State, line) return end -- cgit 1.4.1-2-gfad0 ion> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/075random.cc
blob: 1992649b63d75f90ce44d9c0ecbae64cb6cb7b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62