mirror of
https://github.com/RGBCube/DOOM-fire-zig
synced 2025-07-27 17:17:45 +00:00
Fix compilation
This commit is contained in:
parent
fa035dc29d
commit
9b12a6b282
2 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn build(b: *std.build.Builder) void {
|
||||
pub fn build(b: *std.Build) void {
|
||||
// Standard target options allows the person running `zig build` to choose
|
||||
// what target to build for. Here we do not override the defaults, which
|
||||
// means any target is allowed, and the default is native. Other options
|
||||
|
|
|
@ -253,8 +253,8 @@ pub fn checkTermSz() void {
|
|||
}
|
||||
|
||||
/// Part II - Show terminal capabilities
|
||||
///
|
||||
/// Since user terminals vary in capabilities, handy to have a screen that renders ACTUAL colors
|
||||
///
|
||||
/// Since user terminals vary in capabilities, handy to have a screen that renders ACTUAL colors
|
||||
/// and exercises various terminal commands prior to DOOM fire.
|
||||
///
|
||||
pub fn showTermSz() void {
|
||||
|
@ -433,7 +433,7 @@ pub fn showTermCap() void {
|
|||
}
|
||||
|
||||
/// DOOM Fire
|
||||
/// Slowest - raw emit()
|
||||
/// Slowest - raw emit()
|
||||
/// Slower - raw emit() + \n
|
||||
/// Below - moderately faster
|
||||
|
||||
|
@ -577,7 +577,7 @@ pub fn showDoomFire() void {
|
|||
defer freeBuf();
|
||||
|
||||
//when there is an ez way to poll for key stroke...do that. for now, ctrl+c!
|
||||
var ok = true;
|
||||
const ok = true;
|
||||
while (ok) {
|
||||
|
||||
//update fire buf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue