Implement CoCo 3 Quadrapassel and deliver build 01

Add gameplay, keyboard/joystick controls, disk-backed high scores and settings,
standard CMOC effects, and the approved C graphics renderer. Include the clearer
attributed font, title/credits updates, source-verified Modern and Classic (40.2)
scoring, meaningful regression fixtures, and recorded guest validation.

Deliver QUADPSL01.DSK with fresh high scores. Retain source, licenses and selected
guest evidence; exclude personal disks, private connections and build scratch.

Host rules/input/persistence/video checks and memory guards pass. Official
512 KB playtests pass the recorded checks; actual 128 KB/physical joystick
qualification and the normal-window buzzing retest remain pending.
This commit is contained in:
Brian Holman committed 2026-11-11 03:14:14 -07:00
1 parent 8a4b44bc73
commit d412e35c4e
79 files changed
+4187 -16

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
#ifndef QUAD_INPUT_H
#define QUAD_INPUT_H
#include "rules.h"
#define Q_LEFT 1
#define Q_RIGHT 2
#define Q_UP 4
#define Q_DOWN 8
#define Q_CCW 16
#define Q_CW 32
#define Q_HARD 64
#define Q_HOLD 128
#define Q_PAUSE 256
#define Q_CONFIRM 512
#define Q_BACK 1024
typedef struct {
Q16 previous,repeat_ms,button_ms;
signed char direction,axis_x,axis_y;
Q8 guard,button_before,button_used,up_armed,stick_armed;
} QInput;
typedef struct { Q16 held,pressed; signed char move; Q8 repeats; } QActions;
void q_input_reset(QInput *state);
QActions q_input_step(QInput *state,Q16 keys,Q8 button,Q8 x,Q8 y,Q8 cx,Q8 cy,Q8 joystick,Q16 ms,Q8 playing,Q8 clockwise);
#endif