size arrays by the constants' own names
sexc converts an array bound's name now (sex#50), so MAX_STRATA and the like go back to being written as defined. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -127,10 +127,8 @@
|
||||
(var e extent (save/extent s "mapregion"))
|
||||
(var cell int 32)
|
||||
(var diff image (image/make (* (+ (- (. e x1) (. e x0)) 1) cell) (* (+ (- (. e z1) (. e z0)) 1) cell)))
|
||||
;; TODO sex#50: write MAX-MINERALS once constants in array types are
|
||||
;; kebab-converted.
|
||||
(var codes [* char MAX_MINERALS])
|
||||
(var want [int-map MAX_MINERALS])
|
||||
(var codes [* char MAX-MINERALS])
|
||||
(var want [int-map MAX-MINERALS])
|
||||
(var t tally)
|
||||
(memset (& t) 0 (sizeof t))
|
||||
(var unknown int 0)
|
||||
|
||||
Reference in New Issue
Block a user