diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-16 16:04:32 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-16 16:04:32 -0500 |
commit | ed08b673c50b076042d8f0c49501372168142764 (patch) | |
tree | 18ecda99942ef11ce4023c3ad4437976f96b75da /src/components | |
parent | 224645d1071c14b4829dbb3ae35870868fcff85a (diff) | |
download | therapy-ed08b673c50b076042d8f0c49501372168142764.tar.gz therapy-ed08b673c50b076042d8f0c49501372168142764.tar.bz2 therapy-ed08b673c50b076042d8f0c49501372168142764.zip |
Refactored renderer
Renderer is basically now more C++'y, as it makes more use of classes (a lot of GL types have been wrapped), and the renderer itself is now a class. The monitor mesh is also now indexed. Tweaked the NTSC artifacting after inadvertently fixing a bug with the way the image was loaded.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/controllable.h | 2 | ||||
-rw-r--r-- | src/components/mappable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/controllable.h b/src/components/controllable.h index fa78c8b..1b12985 100644 --- a/src/components/controllable.h +++ b/src/components/controllable.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define CONTROLLABLE_H_4E0B85B4 | 2 | #define CONTROLLABLE_H_4E0B85B4 |
3 | 3 | ||
4 | #include "component.h" | 4 | #include "component.h" |
5 | #include "renderer.h" | 5 | #include "renderer/gl.h" |
6 | 6 | ||
7 | class ControllableComponent : public Component { | 7 | class ControllableComponent : public Component { |
8 | public: | 8 | public: |
diff --git a/src/components/mappable.h b/src/components/mappable.h index 7530919..2dbab77 100644 --- a/src/components/mappable.h +++ b/src/components/mappable.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <map> | 4 | #include <map> |
5 | #include "component.h" | 5 | #include "component.h" |
6 | #include "renderer.h" | 6 | #include "renderer/texture.h" |
7 | #include "map.h" | 7 | #include "map.h" |
8 | 8 | ||
9 | class MappableComponent : public Component { | 9 | class MappableComponent : public Component { |