Skip to content

Commit

Permalink
tested the corneria field.
Browse files Browse the repository at this point in the history
  • Loading branch information
snowpuppy committed Apr 25, 2012
1 parent 77f0553 commit e62131c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/include/corneria.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,55 @@
// This file is generated for corneria.png by convert.py

#ifndef CORNERIA_H
const struct platform corneria_plat1{
const struct platform corneria_plat1 = {
0,
30,
10,
18
};
const struct platform corneria_plat2{
const struct platform corneria_plat2 = {
10,
31,
17,
17
};
const struct platform corneria_plat3{
const struct platform corneria_plat3 = {
26,
30,
7,
18
};
const struct platform corneria_plat4{
const struct platform corneria_plat4 = {
27,
29,
7,
1
};
const struct platform corneria_plat5{
const struct platform corneria_plat5 = {
28,
28,
7,
1
};
const struct platform corneria_plat6{
const struct platform corneria_plat6 = {
29,
27,
7,
2
};
const struct platform corneria_plat7{
const struct platform corneria_plat7 = {
33,
40,
1,
8
};
const struct platform corneria_plat8{
const struct platform corneria_plat8 = {
34,
41,
6,
7
};
const struct platform corneria_plat9{
const struct platform corneria_plat9 = {
40,
40,
9,
Expand Down
9 changes: 8 additions & 1 deletion src/include/ourimages.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@
#include "nine.h"

// field images
#include "battlefield1.h"
#include "pokemon_stadium.h"
#include "corneria.h"
#include "brinstar2.h"
#include "paradise.h"
#include "mario_level.h"
#include "saffron.h"
#include "yoshis_island.h"
#include "hyrule.h"
#include "final_destination.h"

// character images.
#include "yoshi.h"
Expand Down
2 changes: 1 addition & 1 deletion src/include/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef PLATFORM_H
#define PLATFORM_H

#define MAXPLATFORMS 7
#define MAXPLATFORMS 10

struct platform {
char x, y;
Expand Down
2 changes: 1 addition & 1 deletion src/sillydigijocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ unsigned char screen[SCREENSIZE];
unsigned char *screen_itterator = screen;

// Define Field that is selected.
const unsigned char *selected_field = image_battlefield1;
const unsigned char *selected_field = image_corneria;

// GLOBAL ANALOG INPUTS --- 0 is for player 0; 1 is for player 1
char joy0hor = 0;
Expand Down

0 comments on commit e62131c

Please sign in to comment.