(20120228) 13:00

This commit is contained in:
2012-02-28 13:00:00 +01:00
parent f9a9171a19
commit 1856770ea1
9 changed files with 7 additions and 8 deletions

2
Draw.c
View File

@@ -115,11 +115,9 @@ int Draw_Init(int width,int height,char *title,int fps){
// Set the proyection (Ortographic)
glMatrixMode (GL_PROJECTION);
glPushMatrix ();
glLoadIdentity ();
glOrtho (0,_width, 0, _height, -1000, 1000);
glMatrixMode (GL_MODELVIEW);
glPushMatrix ();
glLoadIdentity ();
// Enable Alpha blending

View File

@@ -439,7 +439,8 @@ void GameEnts_Init(){
ent=Entity_New();
ent->mass=-1.0f;
ent->flags=0;
Entity_SetLight(ent,0.2f,0.2f,0.2f,1.0f);
//Entity_SetLight(ent,0.2f,0.2f,0.2f,1.0f);
Entity_SetLight(ent,0,0,0,1);
ent_player=Entity_Copy(ent);
@@ -449,7 +450,7 @@ void GameEnts_Init(){
ent_player->fric_static=0.5f;
ent_player->flags=
EntityFlag_Collision|EntityFlag_Overlap|EntityFlag_Light;
Entity_SetLight(ent_player,0.4f,0.4f,0.4f,5*32.0f);
Entity_SetLight(ent_player,0.4f,0.4f,0.4f,3*32.0f);
AnimPlay_SetImg(&ent_player->anim,img_player_down);
ent_player->proc=player_proc;
ent_player->collision=player_collision;

BIN
Lonely_Ruins.20120228.zip Normal file

Binary file not shown.

0
Makefile.common Executable file → Normal file
View File

0
a.out Executable file → Normal file
View File

View File

@@ -16,7 +16,7 @@
##..................##
ll..................ll
mm..BBBBBB..BBBBBB..mm
mm||||||||||||||||||mm
mm||||||||ll||||||||mm
mm..................mm
mm..................mm
mm........EE........mm

View File

@@ -14,7 +14,7 @@
mm..mm
############S2##############
##||||||||........||||||||##
##||||||||..BBrr..||||||||##
##||||||||..BBll..||||||||##
ll||....||||BB....||||||||ll
mm||..||||||||||||||||||||mm
mm||..||||||||||||||||||||mm
@@ -31,7 +31,7 @@ mmmmmmmmmmll..llmmmmmmmmmmmm
##......||......||......##
##......||..BB..||......##
ll......||||||||||..BB..ll
mm||||||rrrrrrrrrr||||||mm
mm||||||rrrrllrrrr||||||mm
mm......................mm
mm||||||....BB....||||||mm
mm......rr||||||rr......mm

2
dist.sh Executable file → Normal file
View File

@@ -1,6 +1,6 @@
#!/bin/sh
DATE=$(date +%Y%m)
DATE=$(date +%Y%m%d)
DIRNAME="Lonely_Ruins"
ZIPNAME="$DIRNAME.$DATE.zip"

0
libSDL-1.2.so.0 Executable file → Normal file
View File