16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
*** map.C.orig Sun Jul 11 19:02:47 1999
|
|
--- map.C Sun Jul 11 19:05:57 1999
|
|
***************
|
|
*** 27,32 ****
|
|
--- 27,36 ----
|
|
void _map::init()
|
|
{
|
|
int i, j;
|
|
+ sx_log2 = MAP_SIZEX_LOG2;
|
|
+ sy_log2 = MAP_SIZEY_LOG2;
|
|
+ sx = 1 << sx_log2;
|
|
+ sy = 1 << sy_log2;
|
|
for (i=0; i<sx; i++)
|
|
for (j=0; j<sy; j++)
|
|
pos(i, j) = SPACE;
|