Rename labormanager_joblabormapper to joblabormapper

develop
Kelly Kinkade 2017-07-28 23:03:23 -05:00
parent d810faa4a3
commit c5c80d5dc0
4 changed files with 16 additions and 4 deletions

@ -2,12 +2,12 @@ PROJECT (labormanager)
# A list of source files
SET(PROJECT_SRCS
labormanager.cpp
labormanager_joblabormapper.cpp
joblabormapper.cpp
)
# A list of headers
SET(PROJECT_HDRS
labormanager.h
labormanager_joblabormapper.h
joblabormapper.h
)
SET_SOURCE_FILES_PROPERTIES( ${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE)

@ -60,7 +60,7 @@ using df::global::ui;
using df::global::world;
#include "labormanager.h"
#include "labormanager_joblabormapper.h"
#include "joblabormapper.h"
static df::unit_labor hauling_labor_map[] =
{
@ -635,6 +635,7 @@ JobLaborMapper::~JobLaborMapper()
}
job_to_labor_table[j] = 0;
}
}
JobLaborMapper::JobLaborMapper()

@ -1,5 +1,16 @@
#pragma once
#include <map>
#include <Core.h>
using namespace DFHack;
using namespace df::enums;
#include "df/job.h"
#include "df/job_type.h"
#include "df/unit_labor.h"
class jlfunc;

@ -69,7 +69,7 @@
#include <df/general_ref_contains_itemst.h>
#include "labormanager.h"
#include "labormanager_joblabormapper.h"
#include "joblabormapper.h"
using namespace std;
using std::string;