diff options
Diffstat (limited to 'anim/src/theme.zig')
| -rw-r--r-- | anim/src/theme.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/anim/src/theme.zig b/anim/src/theme.zig index 78c1d7d..cb52287 100644 --- a/anim/src/theme.zig +++ b/anim/src/theme.zig @@ -111,6 +111,12 @@ pub const layout = struct { dump_rows: u32, /// On the map: the rest of a column, where the stack goes on (`continued`). more: Rect = .{ .x = 0, .y = 0, .w = 0, .h = 0 }, + /// On the map: the source going on, `continued`, where its column cannot hold it. + source_more: Rect = .{ .x = 0, .y = 0, .w = 0, .h = 0 }, + /// On the map: the rest of the first two columns (under the backtrace, + /// under the disassembly), given to the dumps round what the registers + /// and the stack point at, the loupes open and the key (`map.Spare`). + spare: [2]Rect = @splat(.{ .x = 0, .y = 0, .w = 0, .h = 0 }), }; pub const split = struct { /// The machine alone: fourteen lines over seventeen instructions; @@ -971,6 +977,9 @@ pub const time = struct { /// The minimap follows the frame this far behind: secondary action, it /// never starts on a primary onset's frame. pub const minimap_lag = 6.0 / 60.0; + /// And every change on it fades in over this many frames, a frame apart + /// from the lag: it is drawn this many times, each a frame later, averaged. + pub const minimap_fade = 6; /// A hurried step with this long or more is still a whole sentence, /// said faster; with less, it is a run. pub const walk_least = 0.70; |
