mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-26 17:54:50 +00:00
Remove lib/types.h
This file is now almost empty. It was included in some files which didn't required it.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#include "lib/debug.h"
|
||||
#include "lib/status.h"
|
||||
#include "lib/sysdep/rtl.h" // rtl_AllocateAligned
|
||||
#include "lib/types.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "lib/posix/posix_filesystem.h"
|
||||
#include "lib/posix/posix_types.h"
|
||||
#include "lib/status.h"
|
||||
#include "lib/types.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
/* Copyright (C) 2026 Wildfire Games.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
@@ -66,7 +66,6 @@
|
||||
#include "lib/sysdep/arch.h"
|
||||
#include "lib/sysdep/os.h"
|
||||
#include "lib/sysdep/stl.h"
|
||||
#include "lib/types.h"
|
||||
#include "lib/debug.h"
|
||||
#include "lib/lib.h"
|
||||
#include "lib/secure_crt.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2021 Wildfire Games.
|
||||
/* Copyright (C) 2026 Wildfire Games.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#import "osx_atlas.h"
|
||||
|
||||
#include "lib/types.h"
|
||||
#include "ps/CStr.h"
|
||||
|
||||
void startNewAtlasProcess(const std::vector<CStr8>& mods)
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
/* Copyright (C) 2026 Wildfire Games.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* convenient type aliases (shorter than stdint.h's uintN_t)
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_TYPES
|
||||
#define INCLUDED_TYPES
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#endif // #ifndef INCLUDED_TYPES
|
||||
@@ -19,7 +19,6 @@
|
||||
#define INCLUDED_NETCLIENTTURNMANAGER
|
||||
|
||||
#include "lib/code_annotation.h"
|
||||
#include "lib/types.h"
|
||||
#include "network/NetMessage.h"
|
||||
#include "ps/CStr.h"
|
||||
#include "simulation2/system/TurnManager.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "JSInterface_ModIo.h"
|
||||
|
||||
#include "lib/debug.h"
|
||||
#include "lib/types.h"
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/ModIo.h"
|
||||
#include "scriptinterface/FunctionWrapper.h"
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#ifndef INCLUDED_LOCALTURNMANAGER
|
||||
#define INCLUDED_LOCALTURNMANAGER
|
||||
|
||||
#include "lib/types.h"
|
||||
#include "simulation2/helpers/Player.h"
|
||||
#include "simulation2/system/TurnManager.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user