Files
nyuller/src/draw.h
T
ballz d78eb976cf Rename game from Whack Hare! to Nyuller
All references updated:
- src/build.sh: PRG=nyuller.prg, D64=nyuller.d64, disk name 'ny',
  all grep/pgrep patterns updated, all comments updated
- All 10 header files: include guards WHACK_HARE_* → NYULLER_*
- C source comments: 'Whack Hare!' → 'Nyuller'
- README.md: updated build command output path
- GAME.md: title updated
- tasks.md: all whack_hare.prg → nyuller.prg
- src/AGENT_CONTEXT.md: project name updated
- tools/convert_screens.py: project name updated

Build artifacts renamed: whack_hare.* → nyuller.*, whack.d64 → nyuller.d64

Note: title screen image (source_images/screen_title.png) still shows
'WHACKED' logo — that's a visual asset, not a code reference.
2026-07-18 15:48:50 +02:00

21 lines
603 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef NYULLER_DRAW_H
#define NYULLER_DRAW_H
// draw.h — DRAW screen counter rendering.
//
// The DRAW screen is solid white (set up by show_white_screen).
// This header exposes the per-frame counter renderer, which writes
// 3 seven-segment-style digits (each 3 cells wide × 8 cells tall,
// 1 cell per segment) into the bitmap at row 8, columns 15-23.
//
// Public API:
// draw_render_counter(value) — render the 0..999 value as a
// 3-digit counter on the white screen. Values outside 0..999
// are clamped.
void draw_render_counter(int value);
#pragma compile("draw.c")
#endif