forked from github/server
Diverse short/int Warnings im mapper ausgebaut, immer noch eine Million übrig.
This commit is contained in:
parent
9bfa55d584
commit
617457f3d6
|
@ -90,8 +90,8 @@ static int g_maxluxuries;
|
|||
void
|
||||
block_create(int x1, int y1, int size, char chaotisch, int special, char terrain)
|
||||
{
|
||||
int local_climate;
|
||||
int x, y, k;
|
||||
int local_climate, k;
|
||||
short x, y;
|
||||
vset fringe;
|
||||
|
||||
vset_init(&fringe);
|
||||
|
|
|
@ -171,7 +171,8 @@ read_dropouts(const char * filename)
|
|||
if (F==NULL) return;
|
||||
for (;;) {
|
||||
char email[64], race[20];
|
||||
int age, x, y;
|
||||
int age;
|
||||
short x, y;
|
||||
if (fscanf(F, "%s %s %d %d %d", email, race, &age, &x, &y)<=0) break;
|
||||
if (age<=2) {
|
||||
region * r = findregion(x, y);
|
||||
|
|
|
@ -1154,7 +1154,6 @@ movearound(int rx, int ry) {
|
|||
case 'I':
|
||||
a=map_input(0,0,0,"Wieviele Regionen?",0,500,0);
|
||||
if (a) {
|
||||
/* block_create(rx, ry, a, 0, 0, T_GLACIER); */
|
||||
create_island(r, a, (terrain_t)(rand()%(T_GLACIER)+1));
|
||||
modified=1;
|
||||
}
|
||||
|
|
|
@ -127,7 +127,8 @@ extern int numnewbies;
|
|||
typedef struct dropout {
|
||||
struct dropout * next;
|
||||
const struct race * race;
|
||||
int x, y, fno;
|
||||
short x, y;
|
||||
int fno;
|
||||
} dropout;
|
||||
|
||||
extern dropout * dropouts;
|
||||
|
|
Loading…
Reference in New Issue