From 5a9db28d63a4d71626c2b0e41df5258195262532 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Tue, 29 Sep 2026 17:23:29 -0500 Subject: [PATCH] Tile generation tests. --- agi.c | 8 -------- agiObj.c | 4 ---- agiPic.c | 3 --- agiRes.c | 7 ------- agiText.c | 4 ---- agiView.c | 7 ------- agiVm.c | 4 ---- 7 files changed, 37 deletions(-) diff --git a/agi.c b/agi.c index 16cde9e..13e2f8b 100644 --- a/agi.c +++ b/agi.c @@ -14,7 +14,6 @@ // whatever logic.0 picks", same as omitting the argument.) - #include "agi.h" #include "joey/audio.h" @@ -314,9 +313,6 @@ static uint32_t gAgiTickLastWallMs; static uint32_t gAgiV11SubTickAccum; // counts AGI ticks toward next v11++ -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - // ----- Internal helpers (alphabetical) ----- static void cbAddToPic(void *ctx, uint8_t viewId, uint8_t loop, uint8_t cel, @@ -1884,9 +1880,6 @@ static void updateEgoFromInput(void) { } -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - // ----- Entry point ----- int main(int argc, char **argv) { @@ -1903,7 +1896,6 @@ int main(int argc, char **argv) { // through the Sound Blaster auto-init DMA path (see agiSynthFill // and src/port/dos/audio.c). The audio pool covers the 4 KB // DMA buffer + libxmp-lite SMIX state. - cfg.audioBytes = 32u * 1024u; if (!jlInit(&cfg)) { return 1; } diff --git a/agiObj.c b/agiObj.c index 747ac3b..24629a7 100644 --- a/agiObj.c +++ b/agiObj.c @@ -23,10 +23,6 @@ #include -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - - // AGI direction encoding. 0 means "no motion this cycle"; 1..8 // circle clockwise starting at north. // 1=N 2=NE 3=E 4=SE diff --git a/agiPic.c b/agiPic.c index efb216b..ae92566 100644 --- a/agiPic.c +++ b/agiPic.c @@ -81,9 +81,6 @@ static void opRelLine(AgiPicT *pic, const PicStateT *state, const uint8_t *d static void plot(AgiPicT *pic, const PicStateT *state, int16_t x, int16_t y); -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - // ----- Internal helpers (alphabetical) ----- static void drawCorner(AgiPicT *pic, const PicStateT *state, const uint8_t *data, uint16_t length, uint16_t *pos, bool yFirst) { diff --git a/agiRes.c b/agiRes.c index 6627a59..32da2cf 100644 --- a/agiRes.c +++ b/agiRes.c @@ -48,13 +48,6 @@ #define AGI_DIR_EMPTY_VOLUME 0xFF -// IIgs 64 KB code-bank rule: park this TU in its own load segment -// so it doesn't pile onto _ROOT (which still holds main() and the -// runtime startup). Cross-platform builds ignore this pragma. -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - - // ----- Prototypes ----- static bool buildVolName(char *out, size_t outSize, uint8_t volNum); diff --git a/agiText.c b/agiText.c index 80bdc97..744e355 100644 --- a/agiText.c +++ b/agiText.c @@ -22,10 +22,6 @@ #include -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - - #define GLYPH_W 8u #define GLYPH_H 8u #define FIRST_CHAR 0x20u // space diff --git a/agiView.c b/agiView.c index 4c75b9a..137d0d3 100644 --- a/agiView.c +++ b/agiView.c @@ -39,10 +39,6 @@ #define AGI_PRI_GROUND_BAND_PX 12 -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - - // ----- File-local types ----- // Per-draw invariants for one cel blit, grouped so they live in memory @@ -284,9 +280,6 @@ uint8_t agiActorPriorityForY(int16_t y) { } -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - void agiViewDraw(const AgiViewT *view, uint8_t loopIdx, uint8_t celIdx, int16_t x, int16_t y, uint8_t actorPri, const uint8_t *picPriority, diff --git a/agiVm.c b/agiVm.c index 35515ee..4e7ec40 100644 --- a/agiVm.c +++ b/agiVm.c @@ -272,10 +272,6 @@ #define ACTION_UNKNOWN 0xFFu -#ifdef JOEYLIB_PLATFORM_IIGS -#endif - - // Result of one opcode-group handler in the split agiVmRun dispatch. // VM_DISPATCH_CONTINUE: opcode handled, advance to the next. RETURN: // handled, stop and let agiVmRun return vm->haltReason. UNHANDLED: opcode