-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
110 lines (102 loc) · 2.7 KB
/
build.gradle
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
plugins {
id "com.github.c64lib.retro-assembler" version "1.5.2"
}
repositories {
mavenCentral()
}
apply plugin: "com.github.c64lib.retro-assembler"
retroProject {
dialect = "KickAssembler"
dialectVersion = "5.24"
libDirs = [".ra/deps/c64lib"]
srcDirs = ["."]
excludes = ["**/_*.asm", ".ra/**/*", "libs/*"]
// dependencies
libFromGitHub "c64lib/common", "0.3.0"
libFromGitHub "c64lib/chipset", "0.3.0"
}
preprocess {
// Game charset, colors and maps
charpad {
getInput().set(file("./maps/game-maps.ctm"))
getUseBuildDir().set(false)
outputs {
charset {
output = file("./maps/charset.bin")
}
charsetAttributes {
nybbler {
loOutput = file("./maps/charcolors.bin")
}
}
// Intro map
map {
left = 0
top = 0
right = 40
bottom = 22
interleaver {
output = file("maps/intro.bin")
}
interleaver {
}
}
// Levels maps
map {
left = 40
top = 0
right = 80
bottom = 22
interleaver {
output = file("maps/level1.bin")
}
interleaver {
}
}
map {
left = 80
top = 0
right = 120
bottom = 22
interleaver {
output = file("maps/level2.bin")
}
interleaver {
}
}
map {
left = 120
top = 0
right = 160
bottom = 22
interleaver {
output = file("maps/level3.bin")
}
interleaver {
}
}
map {
left = 160
top = 0
right = 180
bottom = 7
interleaver {
output = file("maps/dialognextlevel.bin")
}
interleaver {
}
}
map {
left = 160
top = 7
right = 180
bottom = 14
interleaver {
output = file("maps/dialoggameover.bin")
}
interleaver {
}
}
}
}
}