about summary refs log tree commit diff stats
path: root/data/maps/daedalus/rooms/After Bee Room.txtpb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2026-01-15 12:17:46 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2026-01-15 12:18:10 -0500
commite9e4a7a42ca17e7dc1947b012c5f6a50047c159e (patch)
tree67c7965f60e2c51b1c4b23ceac2210ca8ec6fd9d /data/maps/daedalus/rooms/After Bee Room.txtpb
parent8f7438db752011513c1223b19c4a0eb3d4367dcc (diff)
downloadlingo2-archipelago-e9e4a7a42ca17e7dc1947b012c5f6a50047c159e.tar.gz
lingo2-archipelago-e9e4a7a42ca17e7dc1947b012c5f6a50047c159e.tar.bz2
lingo2-archipelago-e9e4a7a42ca17e7dc1947b012c5f6a50047c159e.zip
Annotated daedalus only maps
Diffstat (limited to 'data/maps/daedalus/rooms/After Bee Room.txtpb')
0 files changed, 0 insertions, 0 deletions
23'>23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

                       








                  

  









                                                   
                                                                                            

                               




                 



                           

      
#include <GL/glew.h>
#include <GLFW/glfw3.h>

#ifndef RENDERER_H
#define RENDERER_H

struct Rectangle {
  int x;
  int y;
  int w;
  int h;
};

class Texture {
  public:
    Texture(int width, int height);
    Texture(const char* file);
    Texture(Texture& tex);
    Texture(Texture&& tex);
    ~Texture();
    Texture& operator= (Texture tex);
    friend void swap(Texture& tex1, Texture& tex2);
    void fill(Rectangle loc, int r, int g, int b);
    void blit(const Texture& src, Rectangle srcrect, Rectangle dstrect, double alpha = 1.0);
    void renderScreen() const;
    Rectangle entirety() const;
    
  private:
    GLuint texID;
    int width;
    int height;
};

GLFWwindow* initRenderer();
void destroyRenderer();

#endif