X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fscene.h;h=bf23fbd1f2bb789d1fb350393fadf84ff2c5629c;hb=14b28982a33cb9bea818446217e69fdf4de13dab;hp=5d5d783a6dff38eefe05be81b0b926db245890ae;hpb=337e2d06624b4b46eb2e7e5365e2ece219f9f100;p=nageru diff --git a/nageru/scene.h b/nageru/scene.h index 5d5d783..bf23fbd 100644 --- a/nageru/scene.h +++ b/nageru/scene.h @@ -9,7 +9,7 @@ // ResizeEffect or IdentityEffect (effectively doing nothing), or many // different input types. On finalization, every different combination of // block alternatives are tried, and one EffectChain is generated for each. -// This also goes for whether the chain is destined for preview outputs +// This also goes for whether the scene is destined for preview outputs // (directly to screen, RGBA) or live (Y'CbCr output). #include @@ -64,7 +64,7 @@ struct Block { // where C_0 = 0 and C_(i+1) = C_i * B_i. In other words, C_i is // the product of the cardinalities of each previous effect; if we // are e.g. at the third index and there have been C_2 = 3 * 5 = 15 - // different alternatives for constructing the chain so far + // different alternatives for constructing the scene so far // (with possible indexes 0..14), it is only logical that if we // want three new options (B_2 = 3), we must add 0, 15 or 30 to // the index. (Then the local possible indexes become 0..44 and @@ -103,7 +103,7 @@ struct Block { }; int Block_display(lua_State* L); -int Block_choose_alternative(lua_State* L); +int Block_choose(lua_State* L); int Block_enable(lua_State *L); int Block_disable(lua_State *L); int Block_set_int(lua_State *L);