Browse Source

fix grass animation

Philipp Auer 7 years ago
parent
commit
8c65a4385e
2 changed files with 71 additions and 1 deletions
  1. 70
    0
      .vscode/c_cpp_properties.json
  2. 1
    1
      src/overworld/grass_animation.c

+ 70
- 0
.vscode/c_cpp_properties.json View File

@@ -0,0 +1,70 @@
1
+{
2
+    "configurations": [
3
+        {
4
+            "name": "Mac",
5
+            "includePath": [
6
+                "${workspaceRoot}",
7
+                "/usr/include",
8
+                "/usr/local/include",
9
+                "src/include"
10
+            ],
11
+            "defines": [],
12
+            "browse": {
13
+                "path": [
14
+                    "/usr/include",
15
+                    "/usr/local/include",
16
+                    "src/include"
17
+                ],
18
+                "limitSymbolsToIncludedHeaders": true,
19
+                "databaseFilename": ""
20
+            }
21
+        },
22
+        {
23
+            "name": "Linux",
24
+            "includePath": [
25
+                "${workspaceRoot}",
26
+                "/usr/include",
27
+                "/usr/local/include",
28
+                "src/include"
29
+            ],
30
+            "defines": [],
31
+            "browse": {
32
+                "path": [
33
+                    "/usr/include",
34
+                    "/usr/local/include",
35
+                    "src/include"
36
+                ],
37
+                "limitSymbolsToIncludedHeaders": true,
38
+                "databaseFilename": ""
39
+            }
40
+        },
41
+        {
42
+            "name": "Win32",
43
+            "includePath": [
44
+                "${workspaceRoot}",
45
+                "E:/Visual Studio 2015/VC/include/*",
46
+                "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/um",
47
+                "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/ucrt",
48
+                "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/shared",
49
+                "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/winrt",
50
+                "src/include"
51
+            ],
52
+            "defines": [
53
+                "_DEBUG",
54
+                "UNICODE"
55
+            ],
56
+            "browse": {
57
+                "path": [
58
+                    "E:/Visual Studio 2015/VC/include/*",
59
+                    "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/um",
60
+                    "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/ucrt",
61
+                    "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/shared",
62
+                    "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10586.0/winrt",
63
+                    "src/include"
64
+                ],
65
+                "limitSymbolsToIncludedHeaders": true,
66
+                "databaseFilename": ""
67
+            }
68
+        }
69
+    ]
70
+}

+ 1
- 1
src/overworld/grass_animation.c View File

@@ -31,5 +31,5 @@ void grass_step_elastic(struct npc_state *npc)
31 31
 
32 32
     /* use variable to determine the oe animation to play */
33 33
 
34
-    (void)oe_exec(0x3A);
34
+    (void)oe_exec(4);
35 35
 }