Skip to content

Commit

Permalink
Update for the itch.io iam
Browse files Browse the repository at this point in the history
  • Loading branch information
alextrevisan committed Mar 17, 2021
1 parent f6663b6 commit 8e62772
Show file tree
Hide file tree
Showing 217 changed files with 3,688 additions and 1,377 deletions.
514 changes: 0 additions & 514 deletions Graphics.h

This file was deleted.

67 changes: 0 additions & 67 deletions Map.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions Map.h

This file was deleted.

73 changes: 0 additions & 73 deletions ScreenManager.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions ScreenManager.h

This file was deleted.

2 changes: 0 additions & 2 deletions TextureManager.cpp

This file was deleted.

83 changes: 83 additions & 0 deletions animated/cube.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
#ifndef __cubo_h_
#define __cubo_h_

#include <psxgte.h>

struct cubo {

const SVECTOR vertices[8] = {
{ 100, -100, 100 },
{ 100, 100, 100 },
{ 100, -100, -100 },
{ 100, 100, -100 },
{ -100, -100, 100 },
{ -100, 100, 100 },
{ -100, -100, -100 },
{ -100, 100, -100 },
};

const DVECTOR uvs[20] = {
{ 0, 0 },
{ 64, 0 },
{ 64, 64 },
{ 0, 64 },
{ 0, 0 },
{ 64, 0 },
{ 0, 64 },
{ 0, 0 },
{ 64, 0 },
{ 64, 64 },
{ 0, 64 },
{ 0, 0 },
{ 64, 0 },
{ 64, 64 },
{ 0, 0 },
{ 64, 0 },
{ 64, 64 },
{ 0, 64 },
{ 64, 64 },
{ 0, 64 },
};

const SVECTOR normals[6] = {
{ 0, -4069, 0 },
{ 0, 0, -4069 },
{ -4069, 0, 0 },
{ 0, 4069, 0 },
{ 4069, 0, 0 },
{ 0, 0, 4069 },
};

struct face4
{
unsigned char vertice0,uv0,normal0;
unsigned char vertice1,uv1,normal1;
unsigned char vertice2,uv2,normal2;
unsigned char vertice3,uv3,normal3;
};

const face4 quads[6] = {
{ 0, 0, 0, 4, 1, 0, 6, 2, 0, 2, 3, 0 },
{ 3, 4, 1, 2, 5, 1, 6, 2, 1, 7, 6, 1 },
{ 7, 7, 2, 6, 8, 2, 4, 9, 2, 5, 10, 2 },
{ 5, 11, 3, 1, 12, 3, 3, 13, 3, 7, 6, 3 },
{ 1, 14, 4, 0, 15, 4, 2, 16, 4, 3, 17, 4 },
{ 5, 11, 5, 4, 1, 5, 0, 18, 5, 1, 19, 5 },
};

struct face3
{
unsigned char vertice0,uv0,normal0;
unsigned char vertice1,uv1,normal1;
unsigned char vertice2,uv2,normal2;
unsigned char vertice3,uv3,normal3;
};

const face3 tris[0] = {
};

int x = 0, y = 0, z = 0;
TIM_IMAGE* texture = nullptr;
};

#endif //__cubo_h_
11 changes: 11 additions & 0 deletions credits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
dead tree: Created by Yar
https://opengameart.org/content/dead-tree-yars-tree-rework

grass billboards: Related Designs, Blue Byte Software
https://opengameart.org/content/64-billboard-grass-texture-and-mesh

menu parchment:
https://opengameart.org/content/old-parchment-paper

icons:
https://opengameart.org/content/2d-fantasy-collection
Loading

0 comments on commit 8e62772

Please sign in to comment.