Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ set(MODULE_HEADERS
include/modules/Designations.h
include/modules/EventManager.h
include/modules/Filesystem.h
include/modules/Graphic.h
include/modules/Gui.h
include/modules/GuiHooks.h
include/modules/Hotkey.h
Expand Down Expand Up @@ -189,7 +188,6 @@ set(MODULE_SOURCES
modules/Designations.cpp
modules/EventManager.cpp
modules/Filesystem.cpp
modules/Graphic.cpp
modules/Gui.cpp
modules/Hotkey.cpp
modules/Items.cpp
Expand Down
2 changes: 0 additions & 2 deletions library/Core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ distribution.
#include "modules/DFSteam.h"
#include "modules/EventManager.h"
#include "modules/Filesystem.h"
#include "modules/Graphic.h"
#include "modules/Gui.h"
#include "modules/Hotkey.h"
#include "modules/Persistence.h"
Expand Down Expand Up @@ -2203,4 +2202,3 @@ TYPE * Core::get##TYPE() \
}

MODULE_GETTER(Materials);
MODULE_GETTER(Graphic);
5 changes: 0 additions & 5 deletions library/include/Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ distribution.
#include "Export.h"
#include "Hooks.h"

#include "modules/Graphic.h"

#include <algorithm>
#include <atomic>
#include <chrono>
Expand Down Expand Up @@ -166,8 +164,6 @@ namespace DFHack

/// get the materials module
Materials * getMaterials();
/// get the graphic module
Graphic * getGraphic();

command_result runCommand(color_ostream &out, const std::string &command, std::vector <std::string> &parameters, bool no_autocomplete = false);
command_result runCommand(color_ostream& out, const std::string& command);
Expand Down Expand Up @@ -300,7 +296,6 @@ namespace DFHack
struct
{
Materials * pMaterials;
Graphic * pGraphic;
} s_mods;
std::vector<std::unique_ptr<Module>> allModules;
DFHack::PluginManager *plug_mgr;
Expand Down
11 changes: 0 additions & 11 deletions library/include/modules/DFSDL.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ struct SDL_Window;
union SDL_Event;
using SDL_Keycode = int32_t;

namespace DFHack
{
struct DFTileSurface
{
bool paintOver; // draw over original tile?
SDL_Surface* surface; // from where it should be drawn
SDL_Rect* rect; // from which coords (NULL to draw whole surface)
SDL_Rect* dstResize; // if not NULL dst rect will be resized (x/y/w/h will be added to original dst)
};
}

/**
* The DFSDL module - provides access to SDL functions without actually
* requiring build-time linkage to SDL
Expand Down
59 changes: 0 additions & 59 deletions library/include/modules/Graphic.h

This file was deleted.

93 changes: 0 additions & 93 deletions library/modules/Graphic.cpp

This file was deleted.

Loading