mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[intro] check for on for orcaride
This commit is contained in:
parent
beb254ec90
commit
1a20632b68
Binary file not shown.
BIN
data/notcursesIII.mkv
Normal file
BIN
data/notcursesIII.mkv
Normal file
Binary file not shown.
@ -206,7 +206,9 @@ int intro(struct notcurses* nc){
|
||||
timespec_div(&demodelay, 10, &iter);
|
||||
demo_nanosleep(nc, &iter);
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
orcaride(nc, on, rows, cols, flipmode);
|
||||
if(on){
|
||||
orcaride(nc, on, rows, cols, flipmode);
|
||||
}
|
||||
}while(timespec_to_ns(&now) < deadline);
|
||||
ncplane_destroy(on);
|
||||
if(!notcurses_canfade(nc)){
|
||||
|
@ -89,7 +89,7 @@ int xray_demo(struct notcurses* nc){
|
||||
if(n == NULL){
|
||||
return -1;
|
||||
}
|
||||
char* path = find_data("notcursesII.mkv");
|
||||
char* path = find_data("notcursesIII.mkv");
|
||||
struct ncvisual* ncv = ncvisual_from_file(path);
|
||||
free(path);
|
||||
if(ncv == NULL){
|
||||
|
Loading…
x
Reference in New Issue
Block a user