Skip to content

Commit

Permalink
Refactor: Relocated blockmap visualizer to blockmapvisual.c
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 4, 2012
1 parent c048953 commit ad51145
Show file tree
Hide file tree
Showing 5 changed files with 673 additions and 639 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/engine.pro
Expand Up @@ -386,6 +386,7 @@ SOURCES += \
portable/src/b_device.c \
portable/src/b_main.c \
portable/src/b_util.c \
portable/src/blockmapvisual.c \
portable/src/bsp_edge.c \
portable/src/bsp_intersection.c \
portable/src/bsp_main.c \
Expand Down
3 changes: 3 additions & 0 deletions doomsday/engine/portable/include/gamemap.h
Expand Up @@ -23,6 +23,9 @@
#ifndef LIBDENG_GAMEMAP_H
#define LIBDENG_GAMEMAP_H

/// Size of Blockmap blocks in map units. Must be an integer power of two.
#define MAPBLOCKUNITS (128)

typedef struct gamemap_s {
Uri* uri;
char uniqueId[256];
Expand Down
3 changes: 0 additions & 3 deletions doomsday/engine/portable/include/p_bmap.h
Expand Up @@ -34,9 +34,6 @@
#include "p_mapdata.h"
#include "m_gridmap.h"

/// Size of Blockmap blocks in map units. Must be an integer power of two.
#define MAPBLOCKUNITS (128)

byte bmapShowDebug;
float bmapDebugSize;

Expand Down

0 comments on commit ad51145

Please sign in to comment.