Tile generation tests.
This commit is contained in:
parent
8cfae0a08c
commit
5a9db28d63
7 changed files with 0 additions and 37 deletions
8
agi.c
8
agi.c
|
|
@ -14,7 +14,6 @@
|
||||||
// whatever logic.0 picks", same as omitting the argument.)
|
// whatever logic.0 picks", same as omitting the argument.)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "agi.h"
|
#include "agi.h"
|
||||||
|
|
||||||
#include "joey/audio.h"
|
#include "joey/audio.h"
|
||||||
|
|
@ -314,9 +313,6 @@ static uint32_t gAgiTickLastWallMs;
|
||||||
static uint32_t gAgiV11SubTickAccum; // counts AGI ticks toward next v11++
|
static uint32_t gAgiV11SubTickAccum; // counts AGI ticks toward next v11++
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----- Internal helpers (alphabetical) -----
|
// ----- Internal helpers (alphabetical) -----
|
||||||
|
|
||||||
static void cbAddToPic(void *ctx, uint8_t viewId, uint8_t loop, uint8_t cel,
|
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 -----
|
// ----- Entry point -----
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
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
|
// through the Sound Blaster auto-init DMA path (see agiSynthFill
|
||||||
// and src/port/dos/audio.c). The audio pool covers the 4 KB
|
// and src/port/dos/audio.c). The audio pool covers the 4 KB
|
||||||
// DMA buffer + libxmp-lite SMIX state.
|
// DMA buffer + libxmp-lite SMIX state.
|
||||||
cfg.audioBytes = 32u * 1024u;
|
|
||||||
if (!jlInit(&cfg)) {
|
if (!jlInit(&cfg)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
4
agiObj.c
4
agiObj.c
|
|
@ -23,10 +23,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// AGI direction encoding. 0 means "no motion this cycle"; 1..8
|
// AGI direction encoding. 0 means "no motion this cycle"; 1..8
|
||||||
// circle clockwise starting at north.
|
// circle clockwise starting at north.
|
||||||
// 1=N 2=NE 3=E 4=SE
|
// 1=N 2=NE 3=E 4=SE
|
||||||
|
|
|
||||||
3
agiPic.c
3
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);
|
static void plot(AgiPicT *pic, const PicStateT *state, int16_t x, int16_t y);
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----- Internal helpers (alphabetical) -----
|
// ----- Internal helpers (alphabetical) -----
|
||||||
|
|
||||||
static void drawCorner(AgiPicT *pic, const PicStateT *state, const uint8_t *data, uint16_t length, uint16_t *pos, bool yFirst) {
|
static void drawCorner(AgiPicT *pic, const PicStateT *state, const uint8_t *data, uint16_t length, uint16_t *pos, bool yFirst) {
|
||||||
|
|
|
||||||
7
agiRes.c
7
agiRes.c
|
|
@ -48,13 +48,6 @@
|
||||||
#define AGI_DIR_EMPTY_VOLUME 0xFF
|
#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 -----
|
// ----- Prototypes -----
|
||||||
|
|
||||||
static bool buildVolName(char *out, size_t outSize, uint8_t volNum);
|
static bool buildVolName(char *out, size_t outSize, uint8_t volNum);
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#define GLYPH_W 8u
|
#define GLYPH_W 8u
|
||||||
#define GLYPH_H 8u
|
#define GLYPH_H 8u
|
||||||
#define FIRST_CHAR 0x20u // space
|
#define FIRST_CHAR 0x20u // space
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,6 @@
|
||||||
#define AGI_PRI_GROUND_BAND_PX 12
|
#define AGI_PRI_GROUND_BAND_PX 12
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// ----- File-local types -----
|
// ----- File-local types -----
|
||||||
|
|
||||||
// Per-draw invariants for one cel blit, grouped so they live in memory
|
// 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,
|
void agiViewDraw(const AgiViewT *view, uint8_t loopIdx, uint8_t celIdx,
|
||||||
int16_t x, int16_t y, uint8_t actorPri,
|
int16_t x, int16_t y, uint8_t actorPri,
|
||||||
const uint8_t *picPriority,
|
const uint8_t *picPriority,
|
||||||
|
|
|
||||||
4
agiVm.c
4
agiVm.c
|
|
@ -272,10 +272,6 @@
|
||||||
#define ACTION_UNKNOWN 0xFFu
|
#define ACTION_UNKNOWN 0xFFu
|
||||||
|
|
||||||
|
|
||||||
#ifdef JOEYLIB_PLATFORM_IIGS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// Result of one opcode-group handler in the split agiVmRun dispatch.
|
// Result of one opcode-group handler in the split agiVmRun dispatch.
|
||||||
// VM_DISPATCH_CONTINUE: opcode handled, advance to the next. RETURN:
|
// VM_DISPATCH_CONTINUE: opcode handled, advance to the next. RETURN:
|
||||||
// handled, stop and let agiVmRun return vm->haltReason. UNHANDLED: opcode
|
// handled, stop and let agiVmRun return vm->haltReason. UNHANDLED: opcode
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue