- moved binfile and halffloat to framework

This commit is contained in:
Magnus Norddahl 2018-11-03 18:16:14 +01:00
parent 265da537ab
commit fde3e5f3b6
6 changed files with 7 additions and 8 deletions

View file

@ -133,6 +133,8 @@ set( SOURCES
src/main.cpp
src/commandline/getopt.c
src/commandline/getopt1.c
src/framework/halffloat.cpp
src/framework/binfile.cpp
src/blockmapbuilder/blockmapbuilder.cpp
src/level/level.cpp
src/level/level_udmf.cpp
@ -151,8 +153,6 @@ set( SOURCES
src/lightmap/trace.cpp
src/lightmap/worker.cpp
src/lightmap/collision.cpp
src/lightmap/halffloat.cpp
src/lightmap/kexlib/binfile.cpp
src/math/angle.cpp
src/math/bounds.cpp
src/math/mathlib.cpp
@ -183,6 +183,8 @@ set( HEADERS
src/framework/templates.h
src/framework/zdray.h
src/framework/xs_Float.h
src/framework/halffloat.h
src/framework/binfile.h
src/lightmap/lightmap.h
src/lightmap/lightsurface.h
src/lightmap/mapdata.h
@ -190,8 +192,6 @@ set( HEADERS
src/lightmap/trace.h
src/lightmap/worker.h
src/lightmap/collision.h
src/lightmap/halffloat.h
src/lightmap/kexlib/binfile.h
src/math/mathlib.h
)
@ -264,4 +264,3 @@ source_group("Sources\\Viewer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/
source_group("Sources\\Wad" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/src/wad/.+")
source_group("Sources\\Math" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/src/math/.+")
source_group("Sources\\Lightmap" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/src/lightmap/.+")
source_group("Sources\\Lightmap\\kexlib" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/src/lightmap/kexlib/.+")

View file

@ -30,7 +30,7 @@
//
//-----------------------------------------------------------------------------
#include "lightmap/kexlib/binfile.h"
#include "framework/binfile.h"
typedef union
{

View file

@ -36,9 +36,9 @@
#include "mapdata.h"
#include "lightmap.h"
#include "worker.h"
#include "kexlib/binfile.h"
#include "framework/binfile.h"
#include "framework/templates.h"
#include "halffloat.h"
#include "framework/halffloat.h"
#include <map>
#include <vector>
#include <algorithm>