Migrating from ORCA/C to Clang for the IIgs.
This commit is contained in:
parent
6804baa6c1
commit
582e1b421c
7 changed files with 0 additions and 7 deletions
|
|
@ -111,7 +111,6 @@ int main(void) {
|
||||||
// halSpriteSavePlanes / halSpriteRestorePlanes as static lib code.
|
// halSpriteSavePlanes / halSpriteRestorePlanes as static lib code.
|
||||||
// 32 KB is plenty for whatever other codegen needs are around.
|
// 32 KB is plenty for whatever other codegen needs are around.
|
||||||
config.codegenBytes = 32UL * 1024;
|
config.codegenBytes = 32UL * 1024;
|
||||||
config.maxSurfaces = 4; // stage + work
|
|
||||||
config.audioBytes = 32UL * 1024; // music + SFX
|
config.audioBytes = 32UL * 1024; // music + SFX
|
||||||
|
|
||||||
if (!jlInit(&config)) {
|
if (!jlInit(&config)) {
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
#include "spacetaxi.h"
|
#include "spacetaxi.h"
|
||||||
|
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
#define ST_SFX_VOICE 2u
|
#define ST_SFX_VOICE 2u
|
||||||
#define ST_THRUST_VOICE 1u
|
#define ST_THRUST_VOICE 1u
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
#include "spacetaxi.h"
|
#include "spacetaxi.h"
|
||||||
|
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
// Velocity safety clamp. With ST_SUBPIXEL = 256, ST_MAX_VX = 512 caps
|
// Velocity safety clamp. With ST_SUBPIXEL = 256, ST_MAX_VX = 512 caps
|
||||||
// the cab at ~2 px/frame which is in line with the C64 max effective
|
// the cab at ~2 px/frame which is in line with the C64 max effective
|
||||||
|
|
|
||||||
1
stHud.c
1
stHud.c
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#include "spacetaxi.h"
|
#include "spacetaxi.h"
|
||||||
|
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
|
|
||||||
void stHudDraw(jlSurfaceT *stage, const StGameT *game) {
|
void stHudDraw(jlSurfaceT *stage, const StGameT *game) {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
#include "spacetaxi.h"
|
#include "spacetaxi.h"
|
||||||
|
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
// STL2 adds the per-level physics templates (xAccel/yAccel/xGrav/yGrav)
|
// STL2 adds the per-level physics templates (xAccel/yAccel/xGrav/yGrav)
|
||||||
// and the full VIC color block ($7D00-$7D08). Drops the patience byte
|
// and the full VIC color block ($7D00-$7D08). Drops the patience byte
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
|
|
||||||
#include "spacetaxi.h"
|
#include "spacetaxi.h"
|
||||||
|
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
#define ST_PASSENGER_W_PX 16
|
#define ST_PASSENGER_W_PX 16
|
||||||
#define ST_PASSENGER_H_PX 16
|
#define ST_PASSENGER_H_PX 16
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
// All STAXI example sources share the STAXI load segment so the
|
// All STAXI example sources share the STAXI load segment so the
|
||||||
// IIgs binary's _ROOT bank stays under 64 KB. No-op on other ports.
|
// IIgs binary's _ROOT bank stays under 64 KB. No-op on other ports.
|
||||||
JOEYLIB_SEGMENT("STAXI")
|
|
||||||
|
|
||||||
// Tile bank files are per-level: each level's .dat references a
|
// Tile bank files are per-level: each level's .dat references a
|
||||||
// numeric bank id, and the host loads tiles/tbankN.tbk on demand
|
// numeric bank id, and the host loads tiles/tbankN.tbk on demand
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue