Skip to content

Commit 1257940

Browse files
authored
Merge pull request #16 from hedgefog/master
update amxx-modding-kit
2 parents e030c04 + 80b579b commit 1257940

6 files changed

Lines changed: 69 additions & 20 deletions

File tree

.amxxpack.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"name": "amxx-modding-kit",
14-
"url": "https://github.com/Hedgefog/amxx-modding-kit/archive/refs/tags/1.0.0.zip",
14+
"url": "https://github.com/Hedgefog/amxx-modding-kit/archive/refs/tags/1.0.2.zip",
1515
"strip": 1,
1616
"filter": [
1717
"util/**",

.vscode/launch.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"inputs": [
6+
{
7+
"id": "compilePattern",
8+
"description": "Compile pattern",
9+
"type": "promptString"
10+
}
11+
],
12+
"problemMatcher": {
13+
"owner": "amxxpack",
14+
"fileLocation": ["relative", "${workspaceFolder}"],
15+
"background": {
16+
"activeOnStart": true,
17+
"beginsPattern": "File change detected. Starting incremental compilation...",
18+
"endsPattern": "Compilation complete. Watching for file changes."
19+
},
20+
"pattern": [
21+
{
22+
"regexp": "^\\[([0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}(?:(?:\\s)(?:AM|PM))?)\\]\\s+\\[(ERROR|WARNING)\\]\\s+(.*?):(\\d*)\\s+-\\s+(.*)\\s+:\\s+(.*)$",
23+
"severity": 2,
24+
"file": 3,
25+
"line": 4,
26+
"code": 5,
27+
"message": 6,
28+
"loop": true
29+
}
30+
]
31+
},
32+
"tasks": [
33+
{
34+
"label": "AMXXPack Build",
35+
"type": "shell",
36+
"command": "npx amxxpack build",
37+
"group": { "kind": "build", "isDefault": false },
38+
"icon": { "color": "terminal.ansiGreen", "id": "wrench" }
39+
},
40+
{
41+
"label": "AMXXPack Watch",
42+
"type": "shell",
43+
"command": "npx amxxpack build --watch",
44+
"group": { "kind": "build", "isDefault": false },
45+
"icon": { "color": "terminal.ansiGreen", "id": "eye-watch" },
46+
"isBackground": true
47+
},
48+
{
49+
"label": "AMXXPack Compile",
50+
"type": "shell",
51+
"command": "npx amxxpack compile *${input:compilePattern}*",
52+
"group": { "kind": "build", "isDefault": false },
53+
"icon": { "color": "terminal.ansiGreen", "id": "run" }
54+
},
55+
{
56+
"label": "AMXXPack Compile Current",
57+
"type": "shell",
58+
"command": "npx amxxpack compile ${fileBasename}",
59+
"group": { "kind": "build", "isDefault": false },
60+
"icon": { "color": "terminal.ansiBlue", "id": "run" }
61+
}
62+
]
63+
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "snowwars",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"author": "Hedgehog Fog",
5-
"description": "Snow Wars Mod",
5+
"description": "CS Snow Wars Mod",
66
"scripts": {
77
"build": "amxxpack build",
88
"watch": "amxxpack build --watch",

src/include/snowwars_const.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/*--------------------------------[ Title ]--------------------------------*/
77

88
stock const SW_TITLE[] = "Snow Wars";
9-
stock const SW_VERSION[] = "1.1.0";
9+
stock const SW_VERSION[] = "1.1.1";
1010

1111
/*--------------------------------[ Asset Library ]--------------------------------*/
1212

0 commit comments

Comments
 (0)