lua/wrappers/game/lua_dialogue.cpp
/**
	 * @static
	 * Adds a dialogue to the game engines dialogue pool.
	 * Dialogues in the dialogue pool can be automatically accessed
	 * by the dialogue system.
	 * @param am.dialogue dialogue The dialogue to add.
	 * @returns boolean True if the dialogue was successfully added.
	 */
@static
Adds a dialogue to the game engines dialogue pool.
Dialogues in the dialogue pool can be automatically accessed
by the dialogue system.
@static Adds a dialogue to the game engines dialogue pool . Dialogues in the dialogue pool can be automatically accessed by the dialogue system .
int Dialogue_add_dialogue(lua_State *lua)
	{
		Dialogue *diag = castUData<Dialogue>(lua, 1);
		if (diag)
		{
			lua_pushboolean(lua, Engine::getGame()->addDialogue(diag));
			return 1;
		}
		return LuaState::expectedArgs(lua, "@add_dialogue", "am.dialogue dialogue");
	}
int Dialogue_add_dialogue ( lua_State * lua ) { Dialogue * diag = castUData < Dialogue > ( lua , 1 ) ; if ( diag ) { lua_pushboolean ( lua , Engine :: getGame ( ) -> addDialogue ( diag ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
@static
 Adds a dialogue to the game engines dialogue pool.
@static Adds a dialogue to the game engines dialogue pool .