X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=libs%2Fpicomodel%2Fpm_terrain.c;h=a82e4b122277916d9a3c4910ab3ce22017446e1e;hb=131c36f6be58bba507a42f767533b061b721dfec;hp=93b79840f7b0722ae17705e74871b92b0baf86d9;hpb=e4287c28bb2dafedc81c66e63951d947cfbeb225;p=xonotic%2Fnetradiant.git diff --git a/libs/picomodel/pm_terrain.c b/libs/picomodel/pm_terrain.c index 93b79840..a82e4b12 100644 --- a/libs/picomodel/pm_terrain.c +++ b/libs/picomodel/pm_terrain.c @@ -32,13 +32,6 @@ ----------------------------------------------------------------------------- */ - - -/* marker */ -#define PM_TERRAIN_C - - - /* dependencies */ #include "picointernal.h" @@ -62,7 +55,7 @@ tga_t; fixme: replace/clean this function */ -void _terrain_load_tga_buffer( unsigned char *buffer, unsigned char **pic, int *width, int *height ){ +void _terrain_load_tga_buffer( unsigned char *buffer, unsigned char **pic, int *width, int *height ) { int row, column; int columns, rows, numPixels; unsigned char *pixbuf; @@ -298,7 +291,7 @@ breakOut:; validates a picoterrain file */ -static int _terrain_canload( PM_PARAMS_CANLOAD ){ +static int _terrain_canload( PM_PARAMS_CANLOAD ) { picoParser_t *p; @@ -333,7 +326,7 @@ static int _terrain_canload( PM_PARAMS_CANLOAD ){ loads a picoterrain file */ -static picoModel_t *_terrain_load( PM_PARAMS_LOAD ){ +static picoModel_t *_terrain_load( PM_PARAMS_LOAD ) { int i, j, v, pw[ 5 ], r; picoParser_t *p;