- fix possible crash in conc (but it's still an ugly hack) - fix noob usage of strcmp - flag some memory leaks (it would be nice, if the author(s) would clean up the mess himself) - fix crash in substr - whitespace cleanup there are plenty more memory leaks in command.cpp - for example, every goto in cubescript does not clean up anything
31 lines
825 B
INI
31 lines
825 B
INI
// this cfg defines the shapes of heightfield prefabs, i.e. arches and such
|
|
// arch of 2xN cubes, i.e. 3 vertices [0..2]
|
|
// archvertex <cubespan> <vertex> <delta>
|
|
// vertices not defined have a 0 delta
|
|
persistidents 0
|
|
|
|
const av [
|
|
loop i $arg1 [
|
|
archvertex (+ $arg1 1) (+ $i 1) (at $arg2 $i)
|
|
]
|
|
]
|
|
av 1 "2"
|
|
av 2 "4 4"
|
|
av 3 "5 6 5"
|
|
av 4 "5 6 6 5"
|
|
av 5 "5 7 8 7 5"
|
|
av 6 "5 7 8 8 7 5"
|
|
av 7 "7 11 13 14 13 11 7"
|
|
av 8 "7 11 13 14 14 13 11 7"
|
|
av 9 "7 11 13 14 14 14 13 11 7"
|
|
av 10 "7 11 13 14 14 14 14 13 11 7"
|
|
av 11 "8 13 16 18 19 19 19 18 16 13 8"
|
|
av 12 "8 13 16 18 19 19 19 19 18 16 13 8"
|
|
av 13 "8 13 16 18 19 19 19 19 19 18 16 13 8" // these last few can be improved
|
|
av 14 "8 13 16 18 19 19 19 19 19 19 18 16 13 8"
|
|
av 15 "8 13 16 18 19 19 19 19 19 19 19 18 16 13 8"
|
|
|
|
// add wider arches here! :)
|
|
|
|
persistidents 1
|