More cutscene stuff
This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ errorret_t rpgInit(void) {
|
||||
assertTrue(entIndex != 0xFF, "No available entity slots!.");
|
||||
entity_t *ent = &ENTITIES[entIndex];
|
||||
entityInit(ent, ENTITY_TYPE_PLAYER);
|
||||
ent->position = (worldpos_t){ 10, 2, 0 };
|
||||
entityPositionSet(ent, (worldpos_t){ 10, 2, 0 });
|
||||
RPG_CAMERA.mode = RPG_CAMERA_MODE_FOLLOW_ENTITY;
|
||||
RPG_CAMERA.followEntity.followEntityId = ent->id;
|
||||
{
|
||||
@@ -47,7 +47,7 @@ errorret_t rpgInit(void) {
|
||||
entity_t *npc = &ENTITIES[npcIndex];
|
||||
entityInit(npc, ENTITY_TYPE_NPC);
|
||||
npcSetMoveType(npc, NPC_MOVE_TYPE_PATH);
|
||||
npc->position = (worldpos_t){ 8, 8, 1 };
|
||||
entityPositionSet(npc, (worldpos_t){ 8, 8, 1 });
|
||||
npc->interact.type = ENTITY_INTERACT_CUTSCENE;
|
||||
npc->interact.data.cutscene = CUTSCENE_REFERENCE(TEST_TWO);
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user