Files
source/Utils/Utils All.h
T
00fb898600 Delete builddefines.h
Nothing was left in it but the include of profiler.h, and 132 translation units
were including it for that alone. Fifteen files were leaning on profiler.h to
drag in <set>, <vector> and <ostream> for them; those now include what they use.

This is the commit that moves line numbers. Removing an include line shifts
__LINE__ by one for everything below it, and __LINE__ is an immediate operand in
every Assert() and DebugMsg() call, so the four game executables differ from
their predecessors by roughly a thousand 32-bit constants each. Every one of
those is accounted for: each is a single immediate that moved by -1 where the
builddefines.h include went away, or +1 where a <set>/<vector> include was
added. Nothing else in .text, .rdata or .data moves, no object file's section
sizes change, and symbolize_crash and Ja2Export stay bit-identical.

The one non-immediate difference is that the 24 Editor translation units of the
non-editor apps stop emitting __Avx2WmemEnabledWeakValue, a 4-byte weak COMDAT
they only ever instantiated through profiler.h's <vector>. It is a UCRT weak
default that other translation units still provide.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 01:07:26 -03:00

109 lines
2.5 KiB
C

#ifndef __UTILS_ALL_H
#define __UTILS_ALL_H
#pragma message("GENERATED PCH FOR UTILS PROJECT.")
#include "types.h"
#include "Animated ProgressBar.h"
#include "MemMan.h"
#include "DEBUG.H"
#include "Font Control.h"
#include "vsurface.h"
#include "video.h"
#include "Render Dirty.h"
#include "Music Control.h"
#include <wchar.h>
#include "sgp.h"
#include "Cursors.h"
#include "Timer Control.h"
#include "jascreens.h"
#include "Font.h"
#include "Sys Globals.h"
#include "Handle UI.h"
#include "Interface.h"
#include "Overhead.h"
#include "Cursor Control.h"
#include "Debug Control.h"
#include "stdio.h"
#include "Encrypted File.h"
#include "FileMan.h"
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include "WCheck.h"
#include "Event Manager.h"
#include "Event Pump.h"
#include "timer.h"
#include "Soldier Control.h"
#include "Sound Control.h"
#include "Weapons.h"
#include "Animation Control.h"
#include "opplist.h"
#include "himage.h"
#include "vsurface_private.h"
#include "Text.h"
#include "Screens.h"
#include "maputility.h"
#include "worlddef.h"
#include "LoadScreen.h"
#include "overhead map.h"
#include "Radar Screen.h"
#include "vobject_blitters.h"
#include "STIConvert.h"
#include "WorldDat.h"
#include "english.h"
#include "Map Information.h"
#include "line.h"
#include "MercTextBox.h"
#include "renderworld.h"
#include "Utilities.h"
#include "WordWrap.h"
#include "message.h"
#include <memory.h>
#include "mbstring.h"
#include "local.h"
#include "Map Screen Interface Bottom.h"
#include "soundman.h"
#include "Dialogue Control.h"
#include "Multi Language Graphic Utils.h"
#include "random.h"
#include "gamescreen.h"
#include "Creature Spreading.h"
#include "strategicmap.h"
#include "Fade Screen.h"
#include "PopUpBox.h"
#include "sysutil.h"
#include "phys math.h"
#include "types.h"
#include "WordWrap.h"
#include "Render Dirty.h"
#include "Utilities.h"
#include "Cursors.h"
#include "WCheck.h"
#include "Slider.h"
#include "sysutil.h"
#include "line.h"
#include "Isometric Utils.h"
#include <stdlib.h>
#include <string.h>
#include "Compression.h"
#include "imgfmt.h"
#include "pcx.h"
#include "impTGA.h"
#include <math.h>
#include "input.h"
#include "Text Input.h"
#include "GameSettings.h"
#include "Handle Items.h"
#include "time.h"
#include "vobject.h"
#include "Overhead Types.h"
#include "Tactical Save.h"
#include "KeyMap.h"
//#include <windows.h>
//#include <windowsx.h>
//#include <mmsystem.h>
//#include <dsound.h>
#endif