Changeset - r27309:23e1257a2a63
[Not reviewed]
master
1 7 0
Rubidium - 13 months ago 2023-05-05 08:43:58
rubidium@openttd.org
Cleanup: remove obsolete string_compare_type
8 files changed with 0 insertions and 34 deletions:
0 comments (0 inline, 0 general)
src/ai/ai.hpp
Show inline comments
 
@@ -8,13 +8,12 @@
 
/** @file ai.hpp Base functions for all AIs. */
 

	
 
#ifndef AI_HPP
 
#define AI_HPP
 

	
 
#include "../script/api/script_event_types.hpp"
 
#include "../core/string_compare_type.hpp"
 
#include "ai_scanner.hpp"
 

	
 
/**
 
 * Main AI class. Contains all functions needed to start, stop, save and load AIs.
 
 */
 
class AI {
src/blitter/factory.hpp
Show inline comments
 
@@ -10,13 +10,12 @@
 
#ifndef BLITTER_FACTORY_HPP
 
#define BLITTER_FACTORY_HPP
 

	
 
#include "base.hpp"
 
#include "../debug.h"
 
#include "../string_func.h"
 
#include "../core/string_compare_type.hpp"
 
#include <map>
 

	
 

	
 
/**
 
 * The base factory, keeping track of all blitters.
 
 */
src/core/CMakeLists.txt
Show inline comments
 
@@ -23,9 +23,8 @@ add_files(
 
    random_func.cpp
 
    random_func.hpp
 
    smallmap_type.hpp
 
    smallstack_type.hpp
 
    smallvec_type.hpp
 
    span_type.hpp
 
    string_compare_type.hpp
 
    strong_typedef_type.hpp
 
)
src/core/string_compare_type.hpp
Show inline comments
 
deleted file
src/driver.h
Show inline comments
 
@@ -8,13 +8,12 @@
 
/** @file driver.h Base for all drivers (video, sound, music, etc). */
 

	
 
#ifndef DRIVER_H
 
#define DRIVER_H
 

	
 
#include "core/enum_type.hpp"
 
#include "core/string_compare_type.hpp"
 
#include "string_type.h"
 
#include <map>
 

	
 
const char *GetDriverParam(const StringList &parm, const char *name);
 
bool GetDriverParamBool(const StringList &parm, const char *name);
 
int GetDriverParamInt(const StringList &parm, const char *name, int def);
src/game/game.hpp
Show inline comments
 
@@ -7,13 +7,12 @@
 

	
 
/** @file game.hpp Base functions for all Games. */
 

	
 
#ifndef GAME_HPP
 
#define GAME_HPP
 

	
 
#include "../core/string_compare_type.hpp"
 
#include "game_scanner.hpp"
 

	
 
#include "../script/api/script_event_types.hpp"
 

	
 
/**
 
 * Main Game class. Contains all functions needed to start, stop, save and load Game Scripts.
src/script/api/script_controller.hpp
Show inline comments
 
@@ -8,13 +8,12 @@
 
/** @file script_controller.hpp The controller of the script. */
 

	
 
#ifndef SCRIPT_CONTROLLER_HPP
 
#define SCRIPT_CONTROLLER_HPP
 

	
 
#include "script_types.hpp"
 
#include "../../core/string_compare_type.hpp"
 
#include <map>
 

	
 
/**
 
 * The Controller, the class each Script should extend. It creates the Script,
 
 *  makes sure the logic kicks in correctly, and that #GetTick() has a valid
 
 *  value.
src/script/script_config.hpp
Show inline comments
 
@@ -10,13 +10,12 @@
 
#ifndef SCRIPT_CONFIG_HPP
 
#define SCRIPT_CONFIG_HPP
 

	
 
#include <map>
 
#include <list>
 
#include "../core/smallmap_type.hpp"
 
#include "../core/string_compare_type.hpp"
 
#include "../company_type.h"
 
#include "../textfile_gui.h"
 
#include "script_instance.hpp"
 

	
 
/** Maximum of 10 digits for MIN / MAX_INT32, 1 for the sign and 1 for '\0'. */
 
static const int INT32_DIGITS_WITH_SIGN_AND_TERMINATION = 10 + 1 + 1;
0 comments (0 inline, 0 general)