moving textures to textures repo #1
This commit is contained in:
@@ -18,6 +18,7 @@ EE_OBJS = \
|
||||
../../engine/modules/light.o \
|
||||
../../engine/modules/pad.o \
|
||||
../../engine/modules/renderer.o \
|
||||
../../engine/modules/texture_repository.o \
|
||||
../../engine/modules/timer.o \
|
||||
../../engine/modules/vif_sender.o \
|
||||
../../engine/modules/vu1.o \
|
||||
|
||||
@@ -75,6 +75,7 @@ void Ari::onInit()
|
||||
engine.audio.init(0);
|
||||
engine.audio.setVolume(40);
|
||||
engine.audio.loadSong("MOV-CIRC.WAV");
|
||||
texRepo = engine.renderer->getTextureRepository();
|
||||
// engine.audio.play();
|
||||
|
||||
// Vector3 islandPos = Vector3(0.0F, 10.0F, 0.0F);
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <engine.hpp>
|
||||
#include "objects/player.hpp"
|
||||
#include <models/light_bulb.hpp>
|
||||
#include <modules/texture_repository.hpp>
|
||||
#include "./camera.hpp"
|
||||
|
||||
class Ari : public Game
|
||||
@@ -35,6 +36,7 @@ private:
|
||||
LightBulb bulb;
|
||||
Player *player;
|
||||
Camera *camera;
|
||||
TextureRepository *texRepo;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user