making the map quality requisites more transparent: 1) "MAP CHECK FAIL" messages in the server logs; 2) console messages to the client (WiP).
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5769 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -93,6 +93,7 @@ int getmaxarea(int inversed_x, int inversed_y, int transposed, int ml_factor, ch
|
||||
int checkarea(int maplayout_factor, char *maplayout)
|
||||
{
|
||||
int area = 0, maxarea = 0;
|
||||
if (!maplayout) { printf("WARNING: there is no maplayout to read in checkarea!"); return 0; }
|
||||
for (int i=0; i < 8; i++) {
|
||||
area = getmaxarea((i & 1),(i & 2),(i & 4), maplayout_factor, maplayout);
|
||||
if ( area > maxarea ) maxarea = area;
|
||||
|
||||
Reference in New Issue
Block a user