Posted By: neo_scripting
Panel problem - 01/12/11 17:51
Hi,
ich habe ein main Script in dem eine game_design.c included wird. Nur aus irgendeinem Grund wird das 2te det 2 Panels im game_design.c - Script nicht dargestellt.
Hier das main.c - Script
Hier das game_design.c - Script
Habt ihr vll ne Idee warum das so ist?
MfG
neo_scripting
ich habe ein main Script in dem eine game_design.c included wird. Nur aus irgendeinem Grund wird das 2te det 2 Panels im game_design.c - Script nicht dargestellt.
Hier das main.c - Script
Code:
//--------------------------------------------------------------------------------------------------
#include <acknex.h>
#include <default.c>
//--------------------------------------------------------------------------------------------------
//- Header
#include <maus.h>
//- Scripts
#include <game_design.c>
#include <maus.c>
//- Spiel
function main()
{
video_mode = 7;
video_screen = 1;
maus_function();
}
Hier das game_design.c - Script
Code:
#include <game_design.h>
PANEL* gameplay_design =
{
bmap = gameplay_png;
pos_x = 0;
pos_y = 0;
flags = OVERLAY | VISIBLE;
layer = 1;
}
PANEL* menu_design =
{
bmap = menu_png;
pos_x = 30;
pos_y = 100;
flags = OVERLAY;
layer = 2;
}
Habt ihr vll ne Idee warum das so ist?
MfG
neo_scripting