]> git.sesse.net Git - nageru/blobdiff - nageru/scene.h
Rename chain -> scene as appropriate.
[nageru] / nageru / scene.h
index 5d5d783a6dff38eefe05be81b0b926db245890ae..bf23fbd1f2bb789d1fb350393fadf84ff2c5629c 100644 (file)
@@ -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 <stddef.h>
@@ -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);