diff --git a/.gitignore b/.gitignore index 958ac4a93b..2ac30bb9be 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ ipch *.idb *.vcxproj *.sln +*.vcxproj.FileListAbsolute.txt +*.pdb # OSX/Linux build products *.mak @@ -49,6 +51,8 @@ client.dylib.dSYM/ server.dylib server.dylib.dSYM/ +sp/game/bin + # files generated by running a mod config.cfg @@ -61,6 +65,7 @@ config.cfg *.filters *.vpc_crc *.sentinel +*.recipe # Backup files *.bak @@ -90,4 +95,4 @@ sp/src/vgui2/*.dll sp/src/vgui2/*.pdb # Build support files -sp/src/devtools/gcc9+support.o +sp/src/devtools/gcc9+support.o \ No newline at end of file diff --git a/sp/game/bin/vbsp.exe b/sp/game/bin/vbsp.exe new file mode 100644 index 0000000000..2eb3206dc1 Binary files /dev/null and b/sp/game/bin/vbsp.exe differ diff --git a/sp/game/bin/vbsp.pdb b/sp/game/bin/vbsp.pdb new file mode 100644 index 0000000000..dbcddb4bdb Binary files /dev/null and b/sp/game/bin/vbsp.pdb differ diff --git a/sp/game/bin/vrad.exe b/sp/game/bin/vrad.exe new file mode 100644 index 0000000000..bc0d175b12 Binary files /dev/null and b/sp/game/bin/vrad.exe differ diff --git a/sp/game/bin/vrad.pdb b/sp/game/bin/vrad.pdb new file mode 100644 index 0000000000..c65f312826 Binary files /dev/null and b/sp/game/bin/vrad.pdb differ diff --git a/sp/game/bin/vrad_dll.dll b/sp/game/bin/vrad_dll.dll new file mode 100644 index 0000000000..973f2388e0 Binary files /dev/null and b/sp/game/bin/vrad_dll.dll differ diff --git a/sp/game/bin/vrad_dll.pdb b/sp/game/bin/vrad_dll.pdb new file mode 100644 index 0000000000..7eb7120a61 Binary files /dev/null and b/sp/game/bin/vrad_dll.pdb differ diff --git a/sp/game/bin/vvis.exe b/sp/game/bin/vvis.exe new file mode 100644 index 0000000000..871b1b0d78 Binary files /dev/null and b/sp/game/bin/vvis.exe differ diff --git a/sp/game/bin/vvis.pdb b/sp/game/bin/vvis.pdb new file mode 100644 index 0000000000..f176952535 Binary files /dev/null and b/sp/game/bin/vvis.pdb differ diff --git a/sp/game/bin/vvis_dll.dll b/sp/game/bin/vvis_dll.dll new file mode 100644 index 0000000000..0ff12ac417 Binary files /dev/null and b/sp/game/bin/vvis_dll.dll differ diff --git a/sp/game/bin/vvis_dll.pdb b/sp/game/bin/vvis_dll.pdb new file mode 100644 index 0000000000..11d22f23b5 Binary files /dev/null and b/sp/game/bin/vvis_dll.pdb differ diff --git a/sp/src/common/GameUI/IGameUI.h b/sp/src/common/GameUI/IGameUI.h index 99967f49d0..f4cc82d49d 100644 --- a/sp/src/common/GameUI/IGameUI.h +++ b/sp/src/common/GameUI/IGameUI.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/SteamCommon.h b/sp/src/common/SteamCommon.h index fee2887825..569abb4871 100644 --- a/sp/src/common/SteamCommon.h +++ b/sp/src/common/SteamCommon.h @@ -1,5 +1,5 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /* ** The copyright to the contents herein is the property of Valve Corporation. ** The contents may be used and/or copied only with the written permission of diff --git a/sp/src/common/compiledcaptionswap.cpp b/sp/src/common/compiledcaptionswap.cpp index 494cd6986a..9a60cff787 100644 --- a/sp/src/common/compiledcaptionswap.cpp +++ b/sp/src/common/compiledcaptionswap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Swap a compiled caption file. // diff --git a/sp/src/common/language.cpp b/sp/src/common/language.cpp index 16aeda32f5..a82b96580c 100644 --- a/sp/src/common/language.cpp +++ b/sp/src/common/language.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: languages definition // diff --git a/sp/src/common/language.h b/sp/src/common/language.h index 2337c2369e..43354ed452 100644 --- a/sp/src/common/language.h +++ b/sp/src/common/language.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: represent a canonical list of the languages we support, // diff --git a/sp/src/common/proto_version.h b/sp/src/common/proto_version.h index c4e7ca04f2..de92efc38b 100644 --- a/sp/src/common/proto_version.h +++ b/sp/src/common/proto_version.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/qlimits.h b/sp/src/common/qlimits.h index 205053a836..b9f943f8f3 100644 --- a/sp/src/common/qlimits.h +++ b/sp/src/common/qlimits.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/randoverride.cpp b/sp/src/common/randoverride.cpp index b3e5bd51f8..000c2998c6 100644 --- a/sp/src/common/randoverride.cpp +++ b/sp/src/common/randoverride.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/replay/basereplayserializeable.h b/sp/src/common/replay/basereplayserializeable.h index 7414ab5ed1..498de6694a 100644 --- a/sp/src/common/replay/basereplayserializeable.h +++ b/sp/src/common/replay/basereplayserializeable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iclientreplay.h b/sp/src/common/replay/iclientreplay.h index 1d4b53d8e8..06697c7cdd 100644 --- a/sp/src/common/replay/iclientreplay.h +++ b/sp/src/common/replay/iclientreplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iclientreplaycontext.h b/sp/src/common/replay/iclientreplaycontext.h index 7f0b22c23e..0a0086ff6f 100644 --- a/sp/src/common/replay/iclientreplaycontext.h +++ b/sp/src/common/replay/iclientreplaycontext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iclientreplayhistorymanager.h b/sp/src/common/replay/iclientreplayhistorymanager.h index 8013ca0475..384e382968 100644 --- a/sp/src/common/replay/iclientreplayhistorymanager.h +++ b/sp/src/common/replay/iclientreplayhistorymanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ienginereplay.h b/sp/src/common/replay/ienginereplay.h index 98de949598..e01bab48c9 100644 --- a/sp/src/common/replay/ienginereplay.h +++ b/sp/src/common/replay/ienginereplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iqueryablereplayitem.h b/sp/src/common/replay/iqueryablereplayitem.h index 6e3d3f3ea6..53a475763d 100644 --- a/sp/src/common/replay/iqueryablereplayitem.h +++ b/sp/src/common/replay/iqueryablereplayitem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/irecordingsession.h b/sp/src/common/replay/irecordingsession.h index 4b0046d0c6..a930ad332f 100644 --- a/sp/src/common/replay/irecordingsession.h +++ b/sp/src/common/replay/irecordingsession.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/irecordingsessionblockmanager.h b/sp/src/common/replay/irecordingsessionblockmanager.h index e2a6a825a6..3977822898 100644 --- a/sp/src/common/replay/irecordingsessionblockmanager.h +++ b/sp/src/common/replay/irecordingsessionblockmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/irecordingsessionmanager.h b/sp/src/common/replay/irecordingsessionmanager.h index 23cdf65099..8ef5934fea 100644 --- a/sp/src/common/replay/irecordingsessionmanager.h +++ b/sp/src/common/replay/irecordingsessionmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaycamera.h b/sp/src/common/replay/ireplaycamera.h index 24ccb91745..121e4caeac 100644 --- a/sp/src/common/replay/ireplaycamera.h +++ b/sp/src/common/replay/ireplaycamera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/common/replay/ireplaycontext.h b/sp/src/common/replay/ireplaycontext.h index f4fda37018..aca682f37c 100644 --- a/sp/src/common/replay/ireplaycontext.h +++ b/sp/src/common/replay/ireplaycontext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaydemoplayer.h b/sp/src/common/replay/ireplaydemoplayer.h index 1a8a1d5a14..8599b3a287 100644 --- a/sp/src/common/replay/ireplaydemoplayer.h +++ b/sp/src/common/replay/ireplaydemoplayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayerrorsystem.h b/sp/src/common/replay/ireplayerrorsystem.h index cc39b7e1ca..0af373e37e 100644 --- a/sp/src/common/replay/ireplayerrorsystem.h +++ b/sp/src/common/replay/ireplayerrorsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayfactory.h b/sp/src/common/replay/ireplayfactory.h index 0aad205aac..e8880b0e1a 100644 --- a/sp/src/common/replay/ireplayfactory.h +++ b/sp/src/common/replay/ireplayfactory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaymanager.h b/sp/src/common/replay/ireplaymanager.h index bf6ffd76d8..6ef037c666 100644 --- a/sp/src/common/replay/ireplaymanager.h +++ b/sp/src/common/replay/ireplaymanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaymovie.h b/sp/src/common/replay/ireplaymovie.h index 2a2caee3b0..73cb05ccd1 100644 --- a/sp/src/common/replay/ireplaymovie.h +++ b/sp/src/common/replay/ireplaymovie.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaymoviemanager.h b/sp/src/common/replay/ireplaymoviemanager.h index 40f605f07d..3b540274b9 100644 --- a/sp/src/common/replay/ireplaymoviemanager.h +++ b/sp/src/common/replay/ireplaymoviemanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaymovierenderer.h b/sp/src/common/replay/ireplaymovierenderer.h index e70835ac11..72f02ad026 100644 --- a/sp/src/common/replay/ireplaymovierenderer.h +++ b/sp/src/common/replay/ireplaymovierenderer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformancecontroller.h b/sp/src/common/replay/ireplayperformancecontroller.h index 70a119e9eb..9eaf1de451 100644 --- a/sp/src/common/replay/ireplayperformancecontroller.h +++ b/sp/src/common/replay/ireplayperformancecontroller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformanceeditor.h b/sp/src/common/replay/ireplayperformanceeditor.h index d1eff8543e..7175ac4928 100644 --- a/sp/src/common/replay/ireplayperformanceeditor.h +++ b/sp/src/common/replay/ireplayperformanceeditor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformancemanager.h b/sp/src/common/replay/ireplayperformancemanager.h index 67852dd385..548b22109d 100644 --- a/sp/src/common/replay/ireplayperformancemanager.h +++ b/sp/src/common/replay/ireplayperformancemanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformanceplaybackhandler.h b/sp/src/common/replay/ireplayperformanceplaybackhandler.h index 2d3146f0a2..66c2f94603 100644 --- a/sp/src/common/replay/ireplayperformanceplaybackhandler.h +++ b/sp/src/common/replay/ireplayperformanceplaybackhandler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformanceplayer.h b/sp/src/common/replay/ireplayperformanceplayer.h index 5739b189d3..adc107a9af 100644 --- a/sp/src/common/replay/ireplayperformanceplayer.h +++ b/sp/src/common/replay/ireplayperformanceplayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayperformancerecorder.h b/sp/src/common/replay/ireplayperformancerecorder.h index 1274ab0e78..02e74c037b 100644 --- a/sp/src/common/replay/ireplayperformancerecorder.h +++ b/sp/src/common/replay/ireplayperformancerecorder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayplayercache.h b/sp/src/common/replay/ireplayplayercache.h index c1a816f3c9..b6e3e45401 100644 --- a/sp/src/common/replay/ireplayplayercache.h +++ b/sp/src/common/replay/ireplayplayercache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/common/replay/ireplayrenderqueue.h b/sp/src/common/replay/ireplayrenderqueue.h index 320d90e467..27cabf0111 100644 --- a/sp/src/common/replay/ireplayrenderqueue.h +++ b/sp/src/common/replay/ireplayrenderqueue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayscreenshotmanager.h b/sp/src/common/replay/ireplayscreenshotmanager.h index 8d73ac4077..2f409f6c4b 100644 --- a/sp/src/common/replay/ireplayscreenshotmanager.h +++ b/sp/src/common/replay/ireplayscreenshotmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayscreenshotsystem.h b/sp/src/common/replay/ireplayscreenshotsystem.h index 82166a4502..e3846cb556 100644 --- a/sp/src/common/replay/ireplayscreenshotsystem.h +++ b/sp/src/common/replay/ireplayscreenshotsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayserializeable.h b/sp/src/common/replay/ireplayserializeable.h index cc94628de8..2cb178c253 100644 --- a/sp/src/common/replay/ireplayserializeable.h +++ b/sp/src/common/replay/ireplayserializeable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplayserver.h b/sp/src/common/replay/ireplayserver.h index f2f4bf2220..af1418a2b5 100644 --- a/sp/src/common/replay/ireplayserver.h +++ b/sp/src/common/replay/ireplayserver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/replay/ireplaysessionrecorder.h b/sp/src/common/replay/ireplaysessionrecorder.h index 6c5f905d50..4df586c976 100644 --- a/sp/src/common/replay/ireplaysessionrecorder.h +++ b/sp/src/common/replay/ireplaysessionrecorder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/ireplaysystem.h b/sp/src/common/replay/ireplaysystem.h index 0f46883994..8413e92e39 100644 --- a/sp/src/common/replay/ireplaysystem.h +++ b/sp/src/common/replay/ireplaysystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iserverengine.h b/sp/src/common/replay/iserverengine.h index f4cd329954..a1286dc55f 100644 --- a/sp/src/common/replay/iserverengine.h +++ b/sp/src/common/replay/iserverengine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iserverreplay.h b/sp/src/common/replay/iserverreplay.h index 3ab5c7f06e..424e940e94 100644 --- a/sp/src/common/replay/iserverreplay.h +++ b/sp/src/common/replay/iserverreplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/iserverreplaycontext.h b/sp/src/common/replay/iserverreplaycontext.h index 2437c76580..37e60e2f73 100644 --- a/sp/src/common/replay/iserverreplaycontext.h +++ b/sp/src/common/replay/iserverreplaycontext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/performance.h b/sp/src/common/replay/performance.h index a38e116375..83893269f0 100644 --- a/sp/src/common/replay/performance.h +++ b/sp/src/common/replay/performance.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/rendermovieparams.h b/sp/src/common/replay/rendermovieparams.h index 2a344d5d8c..1cf6cf3080 100644 --- a/sp/src/common/replay/rendermovieparams.h +++ b/sp/src/common/replay/rendermovieparams.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/replay.h b/sp/src/common/replay/replay.h index a0d1cb33d8..197de23f09 100644 --- a/sp/src/common/replay/replay.h +++ b/sp/src/common/replay/replay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/replayhandle.h b/sp/src/common/replay/replayhandle.h index 2dd8414837..5a8a05bce6 100644 --- a/sp/src/common/replay/replayhandle.h +++ b/sp/src/common/replay/replayhandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/replaylib.h b/sp/src/common/replay/replaylib.h index 9f309807a2..f072bf7c91 100644 --- a/sp/src/common/replay/replaylib.h +++ b/sp/src/common/replay/replaylib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/replaytime.h b/sp/src/common/replay/replaytime.h index eb1c3295a8..155d4a69bd 100644 --- a/sp/src/common/replay/replaytime.h +++ b/sp/src/common/replay/replaytime.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/replayutils.h b/sp/src/common/replay/replayutils.h index 0add85adeb..f9218e7414 100644 --- a/sp/src/common/replay/replayutils.h +++ b/sp/src/common/replay/replayutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/common/replay/screenshot.h b/sp/src/common/replay/screenshot.h index c71bbe1332..2f2c23df7f 100644 --- a/sp/src/common/replay/screenshot.h +++ b/sp/src/common/replay/screenshot.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/replay/shared_defs.h b/sp/src/common/replay/shared_defs.h index fa4b0b78ba..8ca8b77f52 100644 --- a/sp/src/common/replay/shared_defs.h +++ b/sp/src/common/replay/shared_defs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/common/studiobyteswap.cpp b/sp/src/common/studiobyteswap.cpp index 0c4e59d86a..67e1912bf4 100644 --- a/sp/src/common/studiobyteswap.cpp +++ b/sp/src/common/studiobyteswap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Swaps the bytes in all file types generated by studiomdl // (.vvd, .vtx, .mdl, .phy, .ani) so the files can be loaded diff --git a/sp/src/common/studiobyteswap.h b/sp/src/common/studiobyteswap.h index 3bec9eafbe..85554ca8d0 100644 --- a/sp/src/common/studiobyteswap.h +++ b/sp/src/common/studiobyteswap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: StudioMDL byteswapping functions. // diff --git a/sp/src/common/userid.h b/sp/src/common/userid.h index 6152f207bb..23384d6fd0 100644 --- a/sp/src/common/userid.h +++ b/sp/src/common/userid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/common/xbox/xboxstubs.h b/sp/src/common/xbox/xboxstubs.h index fa3448f501..b3bbe2b9fd 100644 --- a/sp/src/common/xbox/xboxstubs.h +++ b/sp/src/common/xbox/xboxstubs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Win32 replacements for XBox. // @@ -73,6 +73,7 @@ typedef enum XK_MAX_KEYS, } xKey_t; + //typedef enum //{ // XVRB_NONE, // off @@ -83,6 +84,7 @@ typedef enum // XVRB_ALL, //} xverbose_e; + typedef unsigned short WORD; #ifndef POSIX typedef unsigned long DWORD; @@ -106,6 +108,7 @@ typedef DWORD COLORREF; // BYTE abOnline[20]; // Online identification // } XNADDR; + typedef int XNADDR; typedef uint64 XUID; @@ -113,10 +116,12 @@ typedef struct { BYTE ab[8]; // xbox to xbox key identifier } XNKID; + typedef struct { BYTE ab[16]; // xbox to xbox key exchange key } XNKEY; + typedef struct _XSESSION_INFO { XNKID sessionID; // 8 bytes @@ -124,6 +129,7 @@ typedef struct _XSESSION_INFO XNKEY keyExchangeKey; // 16 bytes } XSESSION_INFO, *PXSESSION_INFO; + typedef struct _XUSER_DATA { BYTE type; @@ -147,18 +153,21 @@ typedef struct _XUSER_DATA }; } XUSER_DATA, *PXUSER_DATA; + typedef struct _XUSER_PROPERTY { DWORD dwPropertyId; XUSER_DATA value; } XUSER_PROPERTY, *PXUSER_PROPERTY; + typedef struct _XUSER_CONTEXT { DWORD dwContextId; DWORD dwValue; } XUSER_CONTEXT, *PXUSER_CONTEXT; + typedef struct _XSESSION_SEARCHRESULT { XSESSION_INFO info; @@ -172,12 +181,14 @@ typedef struct _XSESSION_SEARCHRESULT PXUSER_CONTEXT pContexts; } XSESSION_SEARCHRESULT, *PXSESSION_SEARCHRESULT; + typedef struct _XSESSION_SEARCHRESULT_HEADER { DWORD dwSearchResults; XSESSION_SEARCHRESULT *pResults; } XSESSION_SEARCHRESULT_HEADER, *PXSESSION_SEARCHRESULT_HEADER; + typedef struct _XSESSION_REGISTRANT { uint64 qwMachineID; @@ -187,12 +198,14 @@ typedef struct _XSESSION_REGISTRANT } XSESSION_REGISTRANT; + typedef struct _XSESSION_REGISTRATION_RESULTS { DWORD wNumRegistrants; XSESSION_REGISTRANT *rgRegistrants; } XSESSION_REGISTRATION_RESULTS, *PXSESSION_REGISTRATION_RESULTS; + typedef struct { BYTE bFlags; BYTE bReserved; @@ -206,12 +219,14 @@ typedef struct { DWORD dwDnBitsPerSec; } XNQOSINFO; + typedef struct { uint cxnqos; uint cxnqosPending; XNQOSINFO axnqosinfo[1]; } XNQOS; + #define XSESSION_CREATE_HOST 0 #define XUSER_DATA_TYPE_INT32 0 #define XSESSION_CREATE_USES_ARBITRATION 0 @@ -219,6 +234,7 @@ typedef struct { #define XNET_QOS_LISTEN_DISABLE 0 #define XNET_QOS_LISTEN_SET_DATA 0 + FORCEINLINE void XBX_ProcessEvents() {} FORCEINLINE unsigned int XBX_GetSystemTime() { return 0; } FORCEINLINE int XBX_GetPrimaryUserId() { return 0; } @@ -228,9 +244,11 @@ FORCEINLINE void XBX_SetStorageDeviceId( DWORD idx ) {} FORCEINLINE const char *XBX_GetLanguageString() { return ""; } FORCEINLINE bool XBX_IsLocalized() { return false; } + #define XCONTENT_MAX_DISPLAYNAME_LENGTH 128 #define XCONTENT_MAX_FILENAME_LENGTH 42 + #define XBX_INVALID_STORAGE_ID ((DWORD) -1) #define XBX_STORAGE_DECLINED ((DWORD) -2) diff --git a/sp/src/fgdlib/gamedata.cpp b/sp/src/fgdlib/gamedata.cpp index 3d1d75e67d..728059a7d8 100644 --- a/sp/src/fgdlib/gamedata.cpp +++ b/sp/src/fgdlib/gamedata.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= @@ -755,7 +755,7 @@ bool GameData::RemapKeyValue( const char *pszKey, const char *pszInValue, char * if (value == -1) break; - //Warning( " %s %s: Remapped %i to %i", m_InstanceClass->GetName(), KVVar->GetName(), value, value + m_InstanceStartAINodes ); + //Warning("\t %s %s: Remapped %i to %i", m_InstanceClass->GetName(), KVVar->GetName(), value, value + m_InstanceStartAINodes ); value += m_InstanceStartAINodes; @@ -774,7 +774,7 @@ bool GameData::RemapKeyValue( const char *pszKey, const char *pszInValue, char * { int iSide = atoi( sideList[i] ); - //Warning( " %s %s: Remapped %i to %i", m_InstanceClass->GetName(), KVVar->GetName(), iSide, iSide + m_InstanceStartSide ); + //Warning("\t %s %s: Remapped %i to %i", m_InstanceClass->GetName(), KVVar->GetName(), iSide, iSide + m_InstanceStartSide ); iSide += m_InstanceStartSide; @@ -791,7 +791,7 @@ bool GameData::RemapKeyValue( const char *pszKey, const char *pszInValue, char * sprintf( pszOutValue, "%s %s", pszOutValue, newSideList[i] ); } - //Warning("Old side list: \"%s\", new side list: \"%s\"\n", pszInValue, pszOutValue); + //Warning("\tOld side list: \"%s\", new side list: \"%s\"\n", pszInValue, pszOutValue); } break; #endif diff --git a/sp/src/fgdlib/gdclass.cpp b/sp/src/fgdlib/gdclass.cpp index 1de57b6a7e..a4884e4d3c 100644 --- a/sp/src/fgdlib/gdclass.cpp +++ b/sp/src/fgdlib/gdclass.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -10,7 +10,6 @@ // memdbgon must be the last include file in a .cpp file!!! #include - //----------------------------------------------------------------------------- // Purpose: Constructor. //----------------------------------------------------------------------------- diff --git a/sp/src/fgdlib/gdvar.cpp b/sp/src/fgdlib/gdvar.cpp index fe8df025cc..4d82b5ecd1 100644 --- a/sp/src/fgdlib/gdvar.cpp +++ b/sp/src/fgdlib/gdvar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= diff --git a/sp/src/fgdlib/inputoutput.cpp b/sp/src/fgdlib/inputoutput.cpp index ee2b6033be..50d8a55886 100644 --- a/sp/src/fgdlib/inputoutput.cpp +++ b/sp/src/fgdlib/inputoutput.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -21,7 +21,6 @@ typedef struct char *CClassInputOutputBase::g_pszEmpty = ""; - //----------------------------------------------------------------------------- // Maps type names to type enums for inputs and outputs. //----------------------------------------------------------------------------- diff --git a/sp/src/fgdlib/wckeyvalues.cpp b/sp/src/fgdlib/wckeyvalues.cpp index 83e52007c1..8342b91994 100644 --- a/sp/src/fgdlib/wckeyvalues.cpp +++ b/sp/src/fgdlib/wckeyvalues.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -42,6 +42,7 @@ void WCKVBase_Vector::RemoveKeyAt(int nIndex) } } + //----------------------------------------------------------------------------- // Purpose: Adds the key to the keyvalue array. Allows duplicate keys. // @@ -76,7 +77,7 @@ void WCKVBase_Vector::AddKeyValue(const char *pszKey, const char *pszValue) int WCKVBase_Vector::FindByKeyName( const char *pKeyName ) const { - for ( int i=0; i < m_KeyValues.Count(); i++ ) + for ( int i = 0; i < m_KeyValues.Count(); i++ ) { if ( V_stricmp( m_KeyValues[i].szKey, pKeyName ) == 0 ) return i; diff --git a/sp/src/game/client/AnimateSpecificTextureProxy.cpp b/sp/src/game/client/AnimateSpecificTextureProxy.cpp index e4fe742ffe..98788c6e6d 100644 --- a/sp/src/game/client/AnimateSpecificTextureProxy.cpp +++ b/sp/src/game/client/AnimateSpecificTextureProxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Acts exactly like "AnimatedTexture", but ONLY if the texture // it's working on matches the desired texture to work on. diff --git a/sp/src/game/client/C_Env_Projected_Texture.h b/sp/src/game/client/C_Env_Projected_Texture.h index cb6268148c..f74a39ee76 100644 --- a/sp/src/game/client/C_Env_Projected_Texture.h +++ b/sp/src/game/client/C_Env_Projected_Texture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/C_MaterialModifyControl.cpp b/sp/src/game/client/C_MaterialModifyControl.cpp index f038022ede..52d8f5e6ea 100644 --- a/sp/src/game/client/C_MaterialModifyControl.cpp +++ b/sp/src/game/client/C_MaterialModifyControl.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Material Modify control entity. // diff --git a/sp/src/game/client/C_WaterLODControl.cpp b/sp/src/game/client/C_WaterLODControl.cpp index 2e27ffb230..9f42e9f287 100644 --- a/sp/src/game/client/C_WaterLODControl.cpp +++ b/sp/src/game/client/C_WaterLODControl.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Water LOD control entity. // diff --git a/sp/src/game/client/EffectsClient.cpp b/sp/src/game/client/EffectsClient.cpp index f7b6ffff01..cb72d962ed 100644 --- a/sp/src/game/client/EffectsClient.cpp +++ b/sp/src/game/client/EffectsClient.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility code. // diff --git a/sp/src/game/client/IsNPCProxy.cpp b/sp/src/game/client/IsNPCProxy.cpp index 819cbd98c2..d75bd4c871 100644 --- a/sp/src/game/client/IsNPCProxy.cpp +++ b/sp/src/game/client/IsNPCProxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/MonitorMaterialProxy.cpp b/sp/src/game/client/MonitorMaterialProxy.cpp index 1352f2da32..af9d7bbe60 100644 --- a/sp/src/game/client/MonitorMaterialProxy.cpp +++ b/sp/src/game/client/MonitorMaterialProxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ProxyHealth.cpp b/sp/src/game/client/ProxyHealth.cpp index 954c87ddad..cc2efbfdcb 100644 --- a/sp/src/game/client/ProxyHealth.cpp +++ b/sp/src/game/client/ProxyHealth.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ScreenSpaceEffects.cpp b/sp/src/game/client/ScreenSpaceEffects.cpp index 327939b802..7cb4fb9c3f 100644 --- a/sp/src/game/client/ScreenSpaceEffects.cpp +++ b/sp/src/game/client/ScreenSpaceEffects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "KeyValues.h" diff --git a/sp/src/game/client/ScreenSpaceEffects.h b/sp/src/game/client/ScreenSpaceEffects.h index a93fa2297c..df74756e3b 100644 --- a/sp/src/game/client/ScreenSpaceEffects.h +++ b/sp/src/game/client/ScreenSpaceEffects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/TeamBitmapImage.cpp b/sp/src/game/client/TeamBitmapImage.cpp index 5333c888b3..d0e2f8a8ce 100644 --- a/sp/src/game/client/TeamBitmapImage.cpp +++ b/sp/src/game/client/TeamBitmapImage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/TeamBitmapImage.h b/sp/src/game/client/TeamBitmapImage.h index 5039698dc5..712bdd0515 100644 --- a/sp/src/game/client/TeamBitmapImage.h +++ b/sp/src/game/client/TeamBitmapImage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/ViewConeImage.cpp b/sp/src/game/client/ViewConeImage.cpp index 095a3e9cd6..f2f047ac37 100644 --- a/sp/src/game/client/ViewConeImage.cpp +++ b/sp/src/game/client/ViewConeImage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/ViewConeImage.h b/sp/src/game/client/ViewConeImage.h index cfa2ea1599..bf66d1fd9b 100644 --- a/sp/src/game/client/ViewConeImage.h +++ b/sp/src/game/client/ViewConeImage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which draws a viewcone // diff --git a/sp/src/game/client/WaterLODMaterialProxy.cpp b/sp/src/game/client/WaterLODMaterialProxy.cpp index 61480ad790..2f7cd85296 100644 --- a/sp/src/game/client/WaterLODMaterialProxy.cpp +++ b/sp/src/game/client/WaterLODMaterialProxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/WorldDimsProxy.cpp b/sp/src/game/client/WorldDimsProxy.cpp index 0e0449f702..4d34b793e0 100644 --- a/sp/src/game/client/WorldDimsProxy.cpp +++ b/sp/src/game/client/WorldDimsProxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/achievement_notification_panel.cpp b/sp/src/game/client/achievement_notification_panel.cpp index 87ff3fdf3e..b8a3acca0b 100644 --- a/sp/src/game/client/achievement_notification_panel.cpp +++ b/sp/src/game/client/achievement_notification_panel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/achievement_notification_panel.h b/sp/src/game/client/achievement_notification_panel.h index 2af9f109e6..c3dc7a46d0 100644 --- a/sp/src/game/client/achievement_notification_panel.h +++ b/sp/src/game/client/achievement_notification_panel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/alphamaterialproxy.cpp b/sp/src/game/client/alphamaterialproxy.cpp index ecb1679ea1..3ef4d49bc7 100644 --- a/sp/src/game/client/alphamaterialproxy.cpp +++ b/sp/src/game/client/alphamaterialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/animatedentitytextureproxy.cpp b/sp/src/game/client/animatedentitytextureproxy.cpp index 47c7a629dc..93e7d74813 100644 --- a/sp/src/game/client/animatedentitytextureproxy.cpp +++ b/sp/src/game/client/animatedentitytextureproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/animatedoffsettextureproxy.cpp b/sp/src/game/client/animatedoffsettextureproxy.cpp index bfe9facd5b..112ad1c80a 100644 --- a/sp/src/game/client/animatedoffsettextureproxy.cpp +++ b/sp/src/game/client/animatedoffsettextureproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/animatedtextureproxy.cpp b/sp/src/game/client/animatedtextureproxy.cpp index 1d86bd8fca..7e0f65320d 100644 --- a/sp/src/game/client/animatedtextureproxy.cpp +++ b/sp/src/game/client/animatedtextureproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/animationlayer.h b/sp/src/game/client/animationlayer.h index 4ac3563498..493fbb58fe 100644 --- a/sp/src/game/client/animationlayer.h +++ b/sp/src/game/client/animationlayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/baseanimatedtextureproxy.cpp b/sp/src/game/client/baseanimatedtextureproxy.cpp index 4365e86665..9154fd3837 100644 --- a/sp/src/game/client/baseanimatedtextureproxy.cpp +++ b/sp/src/game/client/baseanimatedtextureproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/baseanimatedtextureproxy.h b/sp/src/game/client/baseanimatedtextureproxy.h index fe6a5e5937..6a6a7795b4 100644 --- a/sp/src/game/client/baseanimatedtextureproxy.h +++ b/sp/src/game/client/baseanimatedtextureproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/baseclientrendertargets.cpp b/sp/src/game/client/baseclientrendertargets.cpp index 3aa642cf0b..1a30dd04c5 100644 --- a/sp/src/game/client/baseclientrendertargets.cpp +++ b/sp/src/game/client/baseclientrendertargets.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implementation for CBaseClientRenderTargets class. // Provides Init functions for common render textures used by the engine. diff --git a/sp/src/game/client/baseclientrendertargets.h b/sp/src/game/client/baseclientrendertargets.h index a4c84d8a87..3eaee8ad25 100644 --- a/sp/src/game/client/baseclientrendertargets.h +++ b/sp/src/game/client/baseclientrendertargets.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Has init functions for all the standard render targets used by most games. // Mods who wish to make their own render targets can inherit from this class diff --git a/sp/src/game/client/basepresence.cpp b/sp/src/game/client/basepresence.cpp index ce4c7c7b73..6756cb5904 100644 --- a/sp/src/game/client/basepresence.cpp +++ b/sp/src/game/client/basepresence.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base presence implementation for PC // diff --git a/sp/src/game/client/basepresence.h b/sp/src/game/client/basepresence.h index c23a33cb10..1bc3900abe 100644 --- a/sp/src/game/client/basepresence.h +++ b/sp/src/game/client/basepresence.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base implementation of the IPresence interface // diff --git a/sp/src/game/client/basepresence_xbox.cpp b/sp/src/game/client/basepresence_xbox.cpp index 96adca98a6..051577828d 100644 --- a/sp/src/game/client/basepresence_xbox.cpp +++ b/sp/src/game/client/basepresence_xbox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base rich presence implementation for Xbox360 // diff --git a/sp/src/game/client/beamdraw.cpp b/sp/src/game/client/beamdraw.cpp index 8fc7d49954..11df5f6973 100644 --- a/sp/src/game/client/beamdraw.cpp +++ b/sp/src/game/client/beamdraw.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/beamdraw.h b/sp/src/game/client/beamdraw.h index c4a0e6eb9e..6cb11a0a90 100644 --- a/sp/src/game/client/beamdraw.h +++ b/sp/src/game/client/beamdraw.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/bone_merge_cache.cpp b/sp/src/game/client/bone_merge_cache.cpp index 6ef767eadc..61ab6837b2 100644 --- a/sp/src/game/client/bone_merge_cache.cpp +++ b/sp/src/game/client/bone_merge_cache.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/bone_merge_cache.h b/sp/src/game/client/bone_merge_cache.h index 6123c9b4a8..86699c217a 100644 --- a/sp/src/game/client/bone_merge_cache.h +++ b/sp/src/game/client/bone_merge_cache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/bonetoworldarray.h b/sp/src/game/client/bonetoworldarray.h index ce3486b1e2..7581e57f12 100644 --- a/sp/src/game/client/bonetoworldarray.h +++ b/sp/src/game/client/bonetoworldarray.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_ai_basehumanoid.cpp b/sp/src/game/client/c_ai_basehumanoid.cpp index cf21a25872..7be76b5458 100644 --- a/sp/src/game/client/c_ai_basehumanoid.cpp +++ b/sp/src/game/client/c_ai_basehumanoid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_ai_basenpc.cpp b/sp/src/game/client/c_ai_basenpc.cpp index 1b1e2e65eb..ac68103234 100644 --- a/sp/src/game/client/c_ai_basenpc.cpp +++ b/sp/src/game/client/c_ai_basenpc.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_ai_basenpc.h b/sp/src/game/client/c_ai_basenpc.h index 64636c4512..91034731f9 100644 --- a/sp/src/game/client/c_ai_basenpc.h +++ b/sp/src/game/client/c_ai_basenpc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseanimating.cpp b/sp/src/game/client/c_baseanimating.cpp index edde628201..9dc4292fae 100644 --- a/sp/src/game/client/c_baseanimating.cpp +++ b/sp/src/game/client/c_baseanimating.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseanimating.h b/sp/src/game/client/c_baseanimating.h index 24e33a3be1..4f432faa26 100644 --- a/sp/src/game/client/c_baseanimating.h +++ b/sp/src/game/client/c_baseanimating.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseanimatingoverlay.cpp b/sp/src/game/client/c_baseanimatingoverlay.cpp index d9aa8fb2e6..98edf70e61 100644 --- a/sp/src/game/client/c_baseanimatingoverlay.cpp +++ b/sp/src/game/client/c_baseanimatingoverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseanimatingoverlay.h b/sp/src/game/client/c_baseanimatingoverlay.h index de0067dd21..ac51b75dce 100644 --- a/sp/src/game/client/c_baseanimatingoverlay.h +++ b/sp/src/game/client/c_baseanimatingoverlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_basecombatcharacter.cpp b/sp/src/game/client/c_basecombatcharacter.cpp index 85dbb9d52e..4990330728 100644 --- a/sp/src/game/client/c_basecombatcharacter.cpp +++ b/sp/src/game/client/c_basecombatcharacter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client's C_BaseCombatCharacter entity // diff --git a/sp/src/game/client/c_basecombatcharacter.h b/sp/src/game/client/c_basecombatcharacter.h index 4941b1369b..dee61a7b04 100644 --- a/sp/src/game/client/c_basecombatcharacter.h +++ b/sp/src/game/client/c_basecombatcharacter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the client-side representation of CBaseCombatCharacter. // diff --git a/sp/src/game/client/c_basecombatweapon.cpp b/sp/src/game/client/c_basecombatweapon.cpp index 3ae13cdee8..b266046268 100644 --- a/sp/src/game/client/c_basecombatweapon.cpp +++ b/sp/src/game/client/c_basecombatweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side implementation of CBaseCombatWeapon. // diff --git a/sp/src/game/client/c_basecombatweapon.h b/sp/src/game/client/c_basecombatweapon.h index 1523bd07bf..f7e2d9a4ee 100644 --- a/sp/src/game/client/c_basecombatweapon.h +++ b/sp/src/game/client/c_basecombatweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client's CBaseCombatWeapon entity // diff --git a/sp/src/game/client/c_basedoor.cpp b/sp/src/game/client/c_basedoor.cpp index 4b3800defc..914c50fb46 100644 --- a/sp/src/game/client/c_basedoor.cpp +++ b/sp/src/game/client/c_basedoor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_basedoor.h b/sp/src/game/client/c_basedoor.h index 852f2deda0..b2f85b0179 100644 --- a/sp/src/game/client/c_basedoor.h +++ b/sp/src/game/client/c_basedoor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseentity.cpp b/sp/src/game/client/c_baseentity.cpp index 4a72bdb709..fc3a7a3ff9 100644 --- a/sp/src/game/client/c_baseentity.cpp +++ b/sp/src/game/client/c_baseentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -433,8 +433,7 @@ ScriptHook_t C_BaseEntity::g_Hook_UpdateOnRemove; ScriptHook_t C_BaseEntity::g_Hook_ModifyEmitSoundParams; #endif -BEGIN_ENT_SCRIPTDESC_ROOT( C_BaseEntity, "Root class of all client-side entities" ) - DEFINE_SCRIPT_INSTANCE_HELPER( &g_BaseEntityScriptInstanceHelper ) +BEGIN_ENT_SCRIPTDESC_ROOT_WITH_HELPER( C_BaseEntity, "Root class of all client-side entities", &g_BaseEntityScriptInstanceHelper ) DEFINE_SCRIPTFUNC_NAMED( GetAbsOrigin, "GetOrigin", "" ) DEFINE_SCRIPTFUNC_NAMED( ScriptGetForward, "GetForwardVector", "Get the forward vector of the entity" ) #ifdef MAPBASE_VSCRIPT diff --git a/sp/src/game/client/c_baseentity.h b/sp/src/game/client/c_baseentity.h index aa383c7399..ec531d12b3 100644 --- a/sp/src/game/client/c_baseentity.h +++ b/sp/src/game/client/c_baseentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A base class for the client-side representation of entities. // diff --git a/sp/src/game/client/c_baseflex.cpp b/sp/src/game/client/c_baseflex.cpp index 6d0193cce7..db5d0b1a2a 100644 --- a/sp/src/game/client/c_baseflex.cpp +++ b/sp/src/game/client/c_baseflex.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseflex.h b/sp/src/game/client/c_baseflex.h index 6d9f1b54de..fb690ebf0d 100644 --- a/sp/src/game/client/c_baseflex.h +++ b/sp/src/game/client/c_baseflex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseplayer.cpp b/sp/src/game/client/c_baseplayer.cpp index 73d593c588..1c20831b35 100644 --- a/sp/src/game/client/c_baseplayer.cpp +++ b/sp/src/game/client/c_baseplayer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client-side CBasePlayer. // diff --git a/sp/src/game/client/c_baseplayer.h b/sp/src/game/client/c_baseplayer.h index bc8ca65419..58c496fc18 100644 --- a/sp/src/game/client/c_baseplayer.h +++ b/sp/src/game/client/c_baseplayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client-side CBasePlayer. // diff --git a/sp/src/game/client/c_basetempentity.cpp b/sp/src/game/client/c_basetempentity.cpp index 91ebf0115f..6ae1bec5a3 100644 --- a/sp/src/game/client/c_basetempentity.cpp +++ b/sp/src/game/client/c_basetempentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Core Temp Entity client implementation. // diff --git a/sp/src/game/client/c_basetempentity.h b/sp/src/game/client/c_basetempentity.h index d462461c58..362ce702f7 100644 --- a/sp/src/game/client/c_basetempentity.h +++ b/sp/src/game/client/c_basetempentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_baseviewmodel.cpp b/sp/src/game/client/c_baseviewmodel.cpp index 6e73e1556f..ae897801d0 100644 --- a/sp/src/game/client/c_baseviewmodel.cpp +++ b/sp/src/game/client/c_baseviewmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side view model implementation. Responsible for drawing // the view model. diff --git a/sp/src/game/client/c_baseviewmodel.h b/sp/src/game/client/c_baseviewmodel.h index fa59176da3..4a27463dc8 100644 --- a/sp/src/game/client/c_baseviewmodel.h +++ b/sp/src/game/client/c_baseviewmodel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side view model implementation. Responsible for drawing // the view model. diff --git a/sp/src/game/client/c_breakableprop.cpp b/sp/src/game/client/c_breakableprop.cpp index 8271c3a19a..74d1a21bd0 100644 --- a/sp/src/game/client/c_breakableprop.cpp +++ b/sp/src/game/client/c_breakableprop.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_breakableprop.h b/sp/src/game/client/c_breakableprop.h index 666d9a35e7..07efebb6c8 100644 --- a/sp/src/game/client/c_breakableprop.h +++ b/sp/src/game/client/c_breakableprop.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_colorcorrection.cpp b/sp/src/game/client/c_colorcorrection.cpp index 12e29768e8..7abbb77d58 100644 --- a/sp/src/game/client/c_colorcorrection.cpp +++ b/sp/src/game/client/c_colorcorrection.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Color correction entity with simple radial falloff // diff --git a/sp/src/game/client/c_colorcorrectionvolume.cpp b/sp/src/game/client/c_colorcorrectionvolume.cpp index f7e337087e..3dc8c3ca0d 100644 --- a/sp/src/game/client/c_colorcorrectionvolume.cpp +++ b/sp/src/game/client/c_colorcorrectionvolume.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Color correction entity. // diff --git a/sp/src/game/client/c_dynamiclight.cpp b/sp/src/game/client/c_dynamiclight.cpp index aaa461a073..690a0520cb 100644 --- a/sp/src/game/client/c_dynamiclight.cpp +++ b/sp/src/game/client/c_dynamiclight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dynamic light // diff --git a/sp/src/game/client/c_effects.cpp b/sp/src/game/client/c_effects.cpp index a273cb286b..110f59e1c2 100644 --- a/sp/src/game/client/c_effects.cpp +++ b/sp/src/game/client/c_effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_effects.h b/sp/src/game/client/c_effects.h index 5f7e02a58f..6b7cef5207 100644 --- a/sp/src/game/client/c_effects.h +++ b/sp/src/game/client/c_effects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_entitydissolve.cpp b/sp/src/game/client/c_entitydissolve.cpp index 0c8dadc216..6e04933ba3 100644 --- a/sp/src/game/client/c_entitydissolve.cpp +++ b/sp/src/game/client/c_entitydissolve.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_entitydissolve.h b/sp/src/game/client/c_entitydissolve.h index d440e0b62e..78b633db9f 100644 --- a/sp/src/game/client/c_entitydissolve.h +++ b/sp/src/game/client/c_entitydissolve.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_entityparticletrail.cpp b/sp/src/game/client/c_entityparticletrail.cpp index efc4987bca..94e271da65 100644 --- a/sp/src/game/client/c_entityparticletrail.cpp +++ b/sp/src/game/client/c_entityparticletrail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_env_fog_controller.cpp b/sp/src/game/client/c_env_fog_controller.cpp index f890fb1226..cae1677653 100644 --- a/sp/src/game/client/c_env_fog_controller.cpp +++ b/sp/src/game/client/c_env_fog_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // An entity that allows level designer control over the fog parameters. // diff --git a/sp/src/game/client/c_env_fog_controller.h b/sp/src/game/client/c_env_fog_controller.h index d91c97d01f..bc4217fd75 100644 --- a/sp/src/game/client/c_env_fog_controller.h +++ b/sp/src/game/client/c_env_fog_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_env_particlescript.cpp b/sp/src/game/client/c_env_particlescript.cpp index daf6d9e68a..d1bf47b04f 100644 --- a/sp/src/game/client/c_env_particlescript.cpp +++ b/sp/src/game/client/c_env_particlescript.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_env_projectedtexture.cpp b/sp/src/game/client/c_env_projectedtexture.cpp index 6644965265..822536c705 100644 --- a/sp/src/game/client/c_env_projectedtexture.cpp +++ b/sp/src/game/client/c_env_projectedtexture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_env_screenoverlay.cpp b/sp/src/game/client/c_env_screenoverlay.cpp index e6d7e55321..a0a91eae3d 100644 --- a/sp/src/game/client/c_env_screenoverlay.cpp +++ b/sp/src/game/client/c_env_screenoverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_env_tonemap_controller.cpp b/sp/src/game/client/c_env_tonemap_controller.cpp index 9151d5888e..270804e240 100644 --- a/sp/src/game/client/c_env_tonemap_controller.cpp +++ b/sp/src/game/client/c_env_tonemap_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_fire_smoke.cpp b/sp/src/game/client/c_fire_smoke.cpp index 42e6f3edcd..43f0bd23c5 100644 --- a/sp/src/game/client/c_fire_smoke.cpp +++ b/sp/src/game/client/c_fire_smoke.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_fire_smoke.h b/sp/src/game/client/c_fire_smoke.h index 9f7a94e11e..ccc1d0b1d3 100644 --- a/sp/src/game/client/c_fire_smoke.h +++ b/sp/src/game/client/c_fire_smoke.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_fish.cpp b/sp/src/game/client/c_fish.cpp index 903080cc7e..d4e4a64359 100644 --- a/sp/src/game/client/c_fish.cpp +++ b/sp/src/game/client/c_fish.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_forcefeedback.cpp b/sp/src/game/client/c_forcefeedback.cpp index 8c0c0f7ccd..bd5393d7dc 100644 --- a/sp/src/game/client/c_forcefeedback.cpp +++ b/sp/src/game/client/c_forcefeedback.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "forcefeedback.h" #include "hud_macros.h" diff --git a/sp/src/game/client/c_func_areaportalwindow.cpp b/sp/src/game/client/c_func_areaportalwindow.cpp index b910e7a828..ac064aec5e 100644 --- a/sp/src/game/client/c_func_areaportalwindow.cpp +++ b/sp/src/game/client/c_func_areaportalwindow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_breakablesurf.cpp b/sp/src/game/client/c_func_breakablesurf.cpp index 3118cd5e29..a0bd8ba72d 100644 --- a/sp/src/game/client/c_func_breakablesurf.cpp +++ b/sp/src/game/client/c_func_breakablesurf.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_conveyor.cpp b/sp/src/game/client/c_func_conveyor.cpp index 58d21bf996..12d512db0a 100644 --- a/sp/src/game/client/c_func_conveyor.cpp +++ b/sp/src/game/client/c_func_conveyor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_dust.cpp b/sp/src/game/client/c_func_dust.cpp index c3c3d79d70..c835f71dd3 100644 --- a/sp/src/game/client/c_func_dust.cpp +++ b/sp/src/game/client/c_func_dust.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_dust.h b/sp/src/game/client/c_func_dust.h index 31ff0611fc..5f29824789 100644 --- a/sp/src/game/client/c_func_dust.h +++ b/sp/src/game/client/c_func_dust.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_lod.cpp b/sp/src/game/client/c_func_lod.cpp index 89998824da..4000dbd553 100644 --- a/sp/src/game/client/c_func_lod.cpp +++ b/sp/src/game/client/c_func_lod.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_occluder.cpp b/sp/src/game/client/c_func_occluder.cpp index b9c2f56f2e..45a724c710 100644 --- a/sp/src/game/client/c_func_occluder.cpp +++ b/sp/src/game/client/c_func_occluder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_reflective_glass.cpp b/sp/src/game/client/c_func_reflective_glass.cpp index 4e3040d34e..b1cb9cb87d 100644 --- a/sp/src/game/client/c_func_reflective_glass.cpp +++ b/sp/src/game/client/c_func_reflective_glass.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_reflective_glass.h b/sp/src/game/client/c_func_reflective_glass.h index ab52ab8812..cd45e257fd 100644 --- a/sp/src/game/client/c_func_reflective_glass.h +++ b/sp/src/game/client/c_func_reflective_glass.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_rotating.cpp b/sp/src/game/client/c_func_rotating.cpp index 9d28bc268e..1fb72f3127 100644 --- a/sp/src/game/client/c_func_rotating.cpp +++ b/sp/src/game/client/c_func_rotating.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_smokevolume.cpp b/sp/src/game/client/c_func_smokevolume.cpp index d976c57be1..a699be790f 100644 --- a/sp/src/game/client/c_func_smokevolume.cpp +++ b/sp/src/game/client/c_func_smokevolume.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_func_tracktrain.cpp b/sp/src/game/client/c_func_tracktrain.cpp index c25c7448bd..af3c1f2a92 100644 --- a/sp/src/game/client/c_func_tracktrain.cpp +++ b/sp/src/game/client/c_func_tracktrain.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_gib.cpp b/sp/src/game/client/c_gib.cpp index e4941cf238..f1b444dd85 100644 --- a/sp/src/game/client/c_gib.cpp +++ b/sp/src/game/client/c_gib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_gib.h b/sp/src/game/client/c_gib.h index 16d53e4e63..4ef7ac596d 100644 --- a/sp/src/game/client/c_gib.h +++ b/sp/src/game/client/c_gib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_hairball.cpp b/sp/src/game/client/c_hairball.cpp index a6e4a427b1..7c007d1af1 100644 --- a/sp/src/game/client/c_hairball.cpp +++ b/sp/src/game/client/c_hairball.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_impact_effects.cpp b/sp/src/game/client/c_impact_effects.cpp index 64a51bf37b..6097cb29cb 100644 --- a/sp/src/game/client/c_impact_effects.cpp +++ b/sp/src/game/client/c_impact_effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_impact_effects.h b/sp/src/game/client/c_impact_effects.h index aaeddbe989..8426909c8c 100644 --- a/sp/src/game/client/c_impact_effects.h +++ b/sp/src/game/client/c_impact_effects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_info_overlay_accessor.cpp b/sp/src/game/client/c_info_overlay_accessor.cpp index ca755411ff..4c031591b7 100644 --- a/sp/src/game/client/c_info_overlay_accessor.cpp +++ b/sp/src/game/client/c_info_overlay_accessor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_lightglow.cpp b/sp/src/game/client/c_lightglow.cpp index 501a261294..d1b5aeddd6 100644 --- a/sp/src/game/client/c_lightglow.cpp +++ b/sp/src/game/client/c_lightglow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_movie_explosion.cpp b/sp/src/game/client/c_movie_explosion.cpp index b548839b89..4dba210775 100644 --- a/sp/src/game/client/c_movie_explosion.cpp +++ b/sp/src/game/client/c_movie_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_particle_fire.cpp b/sp/src/game/client/c_particle_fire.cpp index 5dd5a9b7aa..a85c6206bd 100644 --- a/sp/src/game/client/c_particle_fire.cpp +++ b/sp/src/game/client/c_particle_fire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_particle_smokegrenade.cpp b/sp/src/game/client/c_particle_smokegrenade.cpp index f2fad7c763..332983c0e7 100644 --- a/sp/src/game/client/c_particle_smokegrenade.cpp +++ b/sp/src/game/client/c_particle_smokegrenade.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_particle_system.cpp b/sp/src/game/client/c_particle_system.cpp index a42fae76fd..aac38687c0 100644 --- a/sp/src/game/client/c_particle_system.cpp +++ b/sp/src/game/client/c_particle_system.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_physbox.cpp b/sp/src/game/client/c_physbox.cpp index 17d352bdd9..dc9900f66e 100644 --- a/sp/src/game/client/c_physbox.cpp +++ b/sp/src/game/client/c_physbox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_physbox.h b/sp/src/game/client/c_physbox.h index c42a3a9d94..3e2a1e3195 100644 --- a/sp/src/game/client/c_physbox.h +++ b/sp/src/game/client/c_physbox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_physicsprop.cpp b/sp/src/game/client/c_physicsprop.cpp index 7727be660c..3e468ec094 100644 --- a/sp/src/game/client/c_physicsprop.cpp +++ b/sp/src/game/client/c_physicsprop.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_physicsprop.h b/sp/src/game/client/c_physicsprop.h index 9c8804e4d8..f4a5701510 100644 --- a/sp/src/game/client/c_physicsprop.h +++ b/sp/src/game/client/c_physicsprop.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_physmagnet.cpp b/sp/src/game/client/c_physmagnet.cpp index 08a0f0041e..487d41cad5 100644 --- a/sp/src/game/client/c_physmagnet.cpp +++ b/sp/src/game/client/c_physmagnet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_pixel_visibility.cpp b/sp/src/game/client/c_pixel_visibility.cpp index 340616fdb3..1608ac4d9f 100644 --- a/sp/src/game/client/c_pixel_visibility.cpp +++ b/sp/src/game/client/c_pixel_visibility.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_pixel_visibility.h b/sp/src/game/client/c_pixel_visibility.h index 3c075140f8..25a802906b 100644 --- a/sp/src/game/client/c_pixel_visibility.h +++ b/sp/src/game/client/c_pixel_visibility.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_plasma.cpp b/sp/src/game/client/c_plasma.cpp index 71144bf32f..d903425359 100644 --- a/sp/src/game/client/c_plasma.cpp +++ b/sp/src/game/client/c_plasma.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_playerlocaldata.h b/sp/src/game/client/c_playerlocaldata.h index 1efb80214f..201ace771c 100644 --- a/sp/src/game/client/c_playerlocaldata.h +++ b/sp/src/game/client/c_playerlocaldata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the player specific data that is sent only to the player // to whom it belongs. diff --git a/sp/src/game/client/c_playerresource.cpp b/sp/src/game/client/c_playerresource.cpp index 3732a54715..4f066b46d3 100644 --- a/sp/src/game/client/c_playerresource.cpp +++ b/sp/src/game/client/c_playerresource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that propagates general data needed by clients for every player. // diff --git a/sp/src/game/client/c_playerresource.h b/sp/src/game/client/c_playerresource.h index d13f9236cb..d542d02026 100644 --- a/sp/src/game/client/c_playerresource.h +++ b/sp/src/game/client/c_playerresource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that propagates general data needed by clients for every player. // diff --git a/sp/src/game/client/c_point_camera.cpp b/sp/src/game/client/c_point_camera.cpp index 30c109a32d..a9fbc496c6 100644 --- a/sp/src/game/client/c_point_camera.cpp +++ b/sp/src/game/client/c_point_camera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_point_camera.h b/sp/src/game/client/c_point_camera.h index c77e9c2061..0100539e3f 100644 --- a/sp/src/game/client/c_point_camera.h +++ b/sp/src/game/client/c_point_camera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_point_commentary_node.cpp b/sp/src/game/client/c_point_commentary_node.cpp index d65896b5af..ba2b930b5a 100644 --- a/sp/src/game/client/c_point_commentary_node.cpp +++ b/sp/src/game/client/c_point_commentary_node.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_prop_vehicle.cpp b/sp/src/game/client/c_prop_vehicle.cpp index d093656fff..a127267fdb 100644 --- a/sp/src/game/client/c_prop_vehicle.cpp +++ b/sp/src/game/client/c_prop_vehicle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_prop_vehicle.h b/sp/src/game/client/c_prop_vehicle.h index 1fb699e480..0735801417 100644 --- a/sp/src/game/client/c_prop_vehicle.h +++ b/sp/src/game/client/c_prop_vehicle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_props.cpp b/sp/src/game/client/c_props.cpp index 7981fe2cee..e93eb8320c 100644 --- a/sp/src/game/client/c_props.cpp +++ b/sp/src/game/client/c_props.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_props.h b/sp/src/game/client/c_props.h index bb8af27b7e..65f05f487c 100644 --- a/sp/src/game/client/c_props.h +++ b/sp/src/game/client/c_props.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_ragdoll_manager.cpp b/sp/src/game/client/c_ragdoll_manager.cpp index 6ed0d6351c..20b8e82785 100644 --- a/sp/src/game/client/c_ragdoll_manager.cpp +++ b/sp/src/game/client/c_ragdoll_manager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_recipientfilter.cpp b/sp/src/game/client/c_recipientfilter.cpp index ece0fabe91..f4b0cdcecf 100644 --- a/sp/src/game/client/c_recipientfilter.cpp +++ b/sp/src/game/client/c_recipientfilter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_recipientfilter.h b/sp/src/game/client/c_recipientfilter.h index d501452f87..ca0b0e35a5 100644 --- a/sp/src/game/client/c_recipientfilter.h +++ b/sp/src/game/client/c_recipientfilter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_rope.cpp b/sp/src/game/client/c_rope.cpp index 636b7c6e2d..6a26799d66 100644 --- a/sp/src/game/client/c_rope.cpp +++ b/sp/src/game/client/c_rope.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_rope.h b/sp/src/game/client/c_rope.h index 204b412b1c..407df46e72 100644 --- a/sp/src/game/client/c_rope.h +++ b/sp/src/game/client/c_rope.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_rumble.cpp b/sp/src/game/client/c_rumble.cpp index a22ef88429..4b2c938802 100644 --- a/sp/src/game/client/c_rumble.cpp +++ b/sp/src/game/client/c_rumble.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Rumble effects mixer for XBox // diff --git a/sp/src/game/client/c_rumble.h b/sp/src/game/client/c_rumble.h index 3772bfb37f..c1131215c7 100644 --- a/sp/src/game/client/c_rumble.h +++ b/sp/src/game/client/c_rumble.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Rumble effects mixer for XBox // diff --git a/sp/src/game/client/c_sceneentity.cpp b/sp/src/game/client/c_sceneentity.cpp index f4c66cc7fd..5b821d382d 100644 --- a/sp/src/game/client/c_sceneentity.cpp +++ b/sp/src/game/client/c_sceneentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_sceneentity.h b/sp/src/game/client/c_sceneentity.h index 28efcd191f..5596ce5cd2 100644 --- a/sp/src/game/client/c_sceneentity.h +++ b/sp/src/game/client/c_sceneentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_shadowcontrol.cpp b/sp/src/game/client/c_shadowcontrol.cpp index c725a2ba40..32ac07310f 100644 --- a/sp/src/game/client/c_shadowcontrol.cpp +++ b/sp/src/game/client/c_shadowcontrol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shadow control entity. // diff --git a/sp/src/game/client/c_slideshow_display.cpp b/sp/src/game/client/c_slideshow_display.cpp index 90ee0a7432..fcf55c4c33 100644 --- a/sp/src/game/client/c_slideshow_display.cpp +++ b/sp/src/game/client/c_slideshow_display.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_slideshow_display.h b/sp/src/game/client/c_slideshow_display.h index 0a88d57c39..3ad58e7266 100644 --- a/sp/src/game/client/c_slideshow_display.h +++ b/sp/src/game/client/c_slideshow_display.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_smoke_trail.cpp b/sp/src/game/client/c_smoke_trail.cpp index f3d71adb66..185a76519a 100644 --- a/sp/src/game/client/c_smoke_trail.cpp +++ b/sp/src/game/client/c_smoke_trail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_smoke_trail.h b/sp/src/game/client/c_smoke_trail.h index 501ab73c35..42b7165d0c 100644 --- a/sp/src/game/client/c_smoke_trail.h +++ b/sp/src/game/client/c_smoke_trail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_smokestack.cpp b/sp/src/game/client/c_smokestack.cpp index 2c66dcf53c..03d530e50c 100644 --- a/sp/src/game/client/c_smokestack.cpp +++ b/sp/src/game/client/c_smokestack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a particle system steam jet. // diff --git a/sp/src/game/client/c_soundscape.cpp b/sp/src/game/client/c_soundscape.cpp index 93a8aa2bce..b97b1957dc 100644 --- a/sp/src/game/client/c_soundscape.cpp +++ b/sp/src/game/client/c_soundscape.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Soundscapes.txt resource file processor // diff --git a/sp/src/game/client/c_soundscape.h b/sp/src/game/client/c_soundscape.h index b42d4b420d..08e9da6e7d 100644 --- a/sp/src/game/client/c_soundscape.h +++ b/sp/src/game/client/c_soundscape.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_spotlight_end.cpp b/sp/src/game/client/c_spotlight_end.cpp index d47d4aa053..8c6dc06375 100644 --- a/sp/src/game/client/c_spotlight_end.cpp +++ b/sp/src/game/client/c_spotlight_end.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_sprite.cpp b/sp/src/game/client/c_sprite.cpp index 9146eefc0c..65e2f80720 100644 --- a/sp/src/game/client/c_sprite.cpp +++ b/sp/src/game/client/c_sprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_sprite.h b/sp/src/game/client/c_sprite.h index d367eaebfb..f74856b8bd 100644 --- a/sp/src/game/client/c_sprite.h +++ b/sp/src/game/client/c_sprite.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_sprite_perfmonitor.cpp b/sp/src/game/client/c_sprite_perfmonitor.cpp index 3994d14fce..1083c33838 100644 --- a/sp/src/game/client/c_sprite_perfmonitor.cpp +++ b/sp/src/game/client/c_sprite_perfmonitor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_steamjet.cpp b/sp/src/game/client/c_steamjet.cpp index f36ccc6386..3f41a460a0 100644 --- a/sp/src/game/client/c_steamjet.cpp +++ b/sp/src/game/client/c_steamjet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a particle system steam jet. // diff --git a/sp/src/game/client/c_stickybolt.cpp b/sp/src/game/client/c_stickybolt.cpp index 7b710f7908..b952d85ce2 100644 --- a/sp/src/game/client/c_stickybolt.cpp +++ b/sp/src/game/client/c_stickybolt.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the Sticky Bolt code. This constraints ragdolls to the world // after being hit by a crossbow bolt. If something here is acting funny diff --git a/sp/src/game/client/c_sun.cpp b/sp/src/game/client/c_sun.cpp index 265bb53a58..207f2ec4c3 100644 --- a/sp/src/game/client/c_sun.cpp +++ b/sp/src/game/client/c_sun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_sun.h b/sp/src/game/client/c_sun.h index 5f15e35f67..73eb625eee 100644 --- a/sp/src/game/client/c_sun.h +++ b/sp/src/game/client/c_sun.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te.cpp b/sp/src/game/client/c_te.cpp index 113e71e452..6cbe25ebd8 100644 --- a/sp/src/game/client/c_te.cpp +++ b/sp/src/game/client/c_te.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_armorricochet.cpp b/sp/src/game/client/c_te_armorricochet.cpp index c84afc8545..652b930de0 100644 --- a/sp/src/game/client/c_te_armorricochet.cpp +++ b/sp/src/game/client/c_te_armorricochet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_basebeam.cpp b/sp/src/game/client/c_te_basebeam.cpp index f49b94f949..cb63d39c48 100644 --- a/sp/src/game/client/c_te_basebeam.cpp +++ b/sp/src/game/client/c_te_basebeam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_basebeam.h b/sp/src/game/client/c_te_basebeam.h index 1fd17b206b..32b6d4be94 100644 --- a/sp/src/game/client/c_te_basebeam.h +++ b/sp/src/game/client/c_te_basebeam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamentpoint.cpp b/sp/src/game/client/c_te_beamentpoint.cpp index 41b15b40f8..49d719f65b 100644 --- a/sp/src/game/client/c_te_beamentpoint.cpp +++ b/sp/src/game/client/c_te_beamentpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beaments.cpp b/sp/src/game/client/c_te_beaments.cpp index 76d39e7187..a041ec9d20 100644 --- a/sp/src/game/client/c_te_beaments.cpp +++ b/sp/src/game/client/c_te_beaments.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamfollow.cpp b/sp/src/game/client/c_te_beamfollow.cpp index a8e6f4f218..b12b11c1e5 100644 --- a/sp/src/game/client/c_te_beamfollow.cpp +++ b/sp/src/game/client/c_te_beamfollow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamlaser.cpp b/sp/src/game/client/c_te_beamlaser.cpp index a081e5c7c4..5c8d9caf2f 100644 --- a/sp/src/game/client/c_te_beamlaser.cpp +++ b/sp/src/game/client/c_te_beamlaser.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Beam that's used for the sniper's laser sight // diff --git a/sp/src/game/client/c_te_beampoints.cpp b/sp/src/game/client/c_te_beampoints.cpp index b2f4369c9f..3daba77126 100644 --- a/sp/src/game/client/c_te_beampoints.cpp +++ b/sp/src/game/client/c_te_beampoints.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamring.cpp b/sp/src/game/client/c_te_beamring.cpp index eced223677..b58016e3e7 100644 --- a/sp/src/game/client/c_te_beamring.cpp +++ b/sp/src/game/client/c_te_beamring.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamringpoint.cpp b/sp/src/game/client/c_te_beamringpoint.cpp index 832ba2f14a..b16fc83775 100644 --- a/sp/src/game/client/c_te_beamringpoint.cpp +++ b/sp/src/game/client/c_te_beamringpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_beamspline.cpp b/sp/src/game/client/c_te_beamspline.cpp index 443b23c3a7..cad74a9f7e 100644 --- a/sp/src/game/client/c_te_beamspline.cpp +++ b/sp/src/game/client/c_te_beamspline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_bloodsprite.cpp b/sp/src/game/client/c_te_bloodsprite.cpp index 4e6e3eb011..836736187f 100644 --- a/sp/src/game/client/c_te_bloodsprite.cpp +++ b/sp/src/game/client/c_te_bloodsprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_bloodstream.cpp b/sp/src/game/client/c_te_bloodstream.cpp index d543d11100..3307eb7d4a 100644 --- a/sp/src/game/client/c_te_bloodstream.cpp +++ b/sp/src/game/client/c_te_bloodstream.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_breakmodel.cpp b/sp/src/game/client/c_te_breakmodel.cpp index d09fe31d22..f018fa4da1 100644 --- a/sp/src/game/client/c_te_breakmodel.cpp +++ b/sp/src/game/client/c_te_breakmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_bspdecal.cpp b/sp/src/game/client/c_te_bspdecal.cpp index 445912c2c6..19732a2f2f 100644 --- a/sp/src/game/client/c_te_bspdecal.cpp +++ b/sp/src/game/client/c_te_bspdecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_bubbles.cpp b/sp/src/game/client/c_te_bubbles.cpp index 7d406fa463..7c6d8fdb5b 100644 --- a/sp/src/game/client/c_te_bubbles.cpp +++ b/sp/src/game/client/c_te_bubbles.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_bubbletrail.cpp b/sp/src/game/client/c_te_bubbletrail.cpp index ab0a7f2161..d945e58ce9 100644 --- a/sp/src/game/client/c_te_bubbletrail.cpp +++ b/sp/src/game/client/c_te_bubbletrail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_clientprojectile.cpp b/sp/src/game/client/c_te_clientprojectile.cpp index f2a1739234..f3abf01250 100644 --- a/sp/src/game/client/c_te_clientprojectile.cpp +++ b/sp/src/game/client/c_te_clientprojectile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_decal.cpp b/sp/src/game/client/c_te_decal.cpp index f0212ee1ac..3fd629d16a 100644 --- a/sp/src/game/client/c_te_decal.cpp +++ b/sp/src/game/client/c_te_decal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_dynamiclight.cpp b/sp/src/game/client/c_te_dynamiclight.cpp index b53765df20..4984b27022 100644 --- a/sp/src/game/client/c_te_dynamiclight.cpp +++ b/sp/src/game/client/c_te_dynamiclight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_effect_dispatch.cpp b/sp/src/game/client/c_te_effect_dispatch.cpp index e0688a2d72..4d7ee046bc 100644 --- a/sp/src/game/client/c_te_effect_dispatch.cpp +++ b/sp/src/game/client/c_te_effect_dispatch.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_effect_dispatch.h b/sp/src/game/client/c_te_effect_dispatch.h index 8abaaeab3e..032317de3f 100644 --- a/sp/src/game/client/c_te_effect_dispatch.h +++ b/sp/src/game/client/c_te_effect_dispatch.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_energysplash.cpp b/sp/src/game/client/c_te_energysplash.cpp index b88aea7dc1..2e07d3fca3 100644 --- a/sp/src/game/client/c_te_energysplash.cpp +++ b/sp/src/game/client/c_te_energysplash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_explosion.cpp b/sp/src/game/client/c_te_explosion.cpp index 7c52a0359c..cc7f1a06bd 100644 --- a/sp/src/game/client/c_te_explosion.cpp +++ b/sp/src/game/client/c_te_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client explosions // diff --git a/sp/src/game/client/c_te_fizz.cpp b/sp/src/game/client/c_te_fizz.cpp index 93d801749c..2af59e4ae7 100644 --- a/sp/src/game/client/c_te_fizz.cpp +++ b/sp/src/game/client/c_te_fizz.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_footprint.cpp b/sp/src/game/client/c_te_footprint.cpp index 50bbc31439..4a4f93d94c 100644 --- a/sp/src/game/client/c_te_footprint.cpp +++ b/sp/src/game/client/c_te_footprint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_glassshatter.cpp b/sp/src/game/client/c_te_glassshatter.cpp index 9cd5cd6f72..69c0559804 100644 --- a/sp/src/game/client/c_te_glassshatter.cpp +++ b/sp/src/game/client/c_te_glassshatter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_glowsprite.cpp b/sp/src/game/client/c_te_glowsprite.cpp index 35920c02ae..ad1a737ac3 100644 --- a/sp/src/game/client/c_te_glowsprite.cpp +++ b/sp/src/game/client/c_te_glowsprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_impact.cpp b/sp/src/game/client/c_te_impact.cpp index 554e8b20fd..9656122256 100644 --- a/sp/src/game/client/c_te_impact.cpp +++ b/sp/src/game/client/c_te_impact.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_killplayerattachments.cpp b/sp/src/game/client/c_te_killplayerattachments.cpp index ebb2436aaa..69e3e503db 100644 --- a/sp/src/game/client/c_te_killplayerattachments.cpp +++ b/sp/src/game/client/c_te_killplayerattachments.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_largefunnel.cpp b/sp/src/game/client/c_te_largefunnel.cpp index f8db20c467..fe5042a414 100644 --- a/sp/src/game/client/c_te_largefunnel.cpp +++ b/sp/src/game/client/c_te_largefunnel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_legacytempents.cpp b/sp/src/game/client/c_te_legacytempents.cpp index 8c7a8551f4..de908fb777 100644 --- a/sp/src/game/client/c_te_legacytempents.cpp +++ b/sp/src/game/client/c_te_legacytempents.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_legacytempents.h b/sp/src/game/client/c_te_legacytempents.h index 038eeccd31..b59b8ae4e4 100644 --- a/sp/src/game/client/c_te_legacytempents.h +++ b/sp/src/game/client/c_te_legacytempents.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_muzzleflash.cpp b/sp/src/game/client/c_te_muzzleflash.cpp index 529aa7816e..5a83e8ceb5 100644 --- a/sp/src/game/client/c_te_muzzleflash.cpp +++ b/sp/src/game/client/c_te_muzzleflash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Muzzle flash temp ent // diff --git a/sp/src/game/client/c_te_particlesystem.cpp b/sp/src/game/client/c_te_particlesystem.cpp index b89b7b4164..5667385385 100644 --- a/sp/src/game/client/c_te_particlesystem.cpp +++ b/sp/src/game/client/c_te_particlesystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_particlesystem.h b/sp/src/game/client/c_te_particlesystem.h index 7bd7b4ba4c..d504eb6ebe 100644 --- a/sp/src/game/client/c_te_particlesystem.h +++ b/sp/src/game/client/c_te_particlesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_physicsprop.cpp b/sp/src/game/client/c_te_physicsprop.cpp index 8505171b32..e9b50c8330 100644 --- a/sp/src/game/client/c_te_physicsprop.cpp +++ b/sp/src/game/client/c_te_physicsprop.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_playerdecal.cpp b/sp/src/game/client/c_te_playerdecal.cpp index 9620484f95..1b12d4b8a5 100644 --- a/sp/src/game/client/c_te_playerdecal.cpp +++ b/sp/src/game/client/c_te_playerdecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_projecteddecal.cpp b/sp/src/game/client/c_te_projecteddecal.cpp index ec8e4b7b27..ab21604370 100644 --- a/sp/src/game/client/c_te_projecteddecal.cpp +++ b/sp/src/game/client/c_te_projecteddecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_showline.cpp b/sp/src/game/client/c_te_showline.cpp index 294d3cde01..507ef6e0b9 100644 --- a/sp/src/game/client/c_te_showline.cpp +++ b/sp/src/game/client/c_te_showline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_smoke.cpp b/sp/src/game/client/c_te_smoke.cpp index 5d664cd6b8..f5053807bb 100644 --- a/sp/src/game/client/c_te_smoke.cpp +++ b/sp/src/game/client/c_te_smoke.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_sparks.cpp b/sp/src/game/client/c_te_sparks.cpp index 7f1310a690..a4aec2d1cc 100644 --- a/sp/src/game/client/c_te_sparks.cpp +++ b/sp/src/game/client/c_te_sparks.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_sprite.cpp b/sp/src/game/client/c_te_sprite.cpp index 36cf6b2e6b..12beaa4ebf 100644 --- a/sp/src/game/client/c_te_sprite.cpp +++ b/sp/src/game/client/c_te_sprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_te_spritespray.cpp b/sp/src/game/client/c_te_spritespray.cpp index 149a812fda..94b701919a 100644 --- a/sp/src/game/client/c_te_spritespray.cpp +++ b/sp/src/game/client/c_te_spritespray.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // $NoKeywords: $ diff --git a/sp/src/game/client/c_te_worlddecal.cpp b/sp/src/game/client/c_te_worlddecal.cpp index b6bad25dc2..85d4219f10 100644 --- a/sp/src/game/client/c_te_worlddecal.cpp +++ b/sp/src/game/client/c_te_worlddecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_team.cpp b/sp/src/game/client/c_team.cpp index ba688cc7fb..511d4df968 100644 --- a/sp/src/game/client/c_team.cpp +++ b/sp/src/game/client/c_team.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side CTeam class // diff --git a/sp/src/game/client/c_team.h b/sp/src/game/client/c_team.h index 5f26917b5b..52190f7301 100644 --- a/sp/src/game/client/c_team.h +++ b/sp/src/game/client/c_team.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side CTeam class // diff --git a/sp/src/game/client/c_team_objectiveresource.cpp b/sp/src/game/client/c_team_objectiveresource.cpp index 76dd3e168a..78211735bf 100644 --- a/sp/src/game/client/c_team_objectiveresource.cpp +++ b/sp/src/game/client/c_team_objectiveresource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that networks the state of the game's objectives. // diff --git a/sp/src/game/client/c_team_objectiveresource.h b/sp/src/game/client/c_team_objectiveresource.h index b713980288..732c5115f0 100644 --- a/sp/src/game/client/c_team_objectiveresource.h +++ b/sp/src/game/client/c_team_objectiveresource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_team_train_watcher.cpp b/sp/src/game/client/c_team_train_watcher.cpp index da3fa880d0..c6ed6f6cd2 100644 --- a/sp/src/game/client/c_team_train_watcher.cpp +++ b/sp/src/game/client/c_team_train_watcher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that propagates train data for escort game type // diff --git a/sp/src/game/client/c_team_train_watcher.h b/sp/src/game/client/c_team_train_watcher.h index 8887d22b0d..9391ade06d 100644 --- a/sp/src/game/client/c_team_train_watcher.h +++ b/sp/src/game/client/c_team_train_watcher.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_tesla.cpp b/sp/src/game/client/c_tesla.cpp index 691192a143..eed028850d 100644 --- a/sp/src/game/client/c_tesla.cpp +++ b/sp/src/game/client/c_tesla.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_tesla.h b/sp/src/game/client/c_tesla.h index 5fce1898f3..9797568e61 100644 --- a/sp/src/game/client/c_tesla.h +++ b/sp/src/game/client/c_tesla.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_test_proxytoggle.cpp b/sp/src/game/client/c_test_proxytoggle.cpp index 45405e1081..d8767410f4 100644 --- a/sp/src/game/client/c_test_proxytoggle.cpp +++ b/sp/src/game/client/c_test_proxytoggle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_testtraceline.cpp b/sp/src/game/client/c_testtraceline.cpp index 6475fff9fe..7b461fc60f 100644 --- a/sp/src/game/client/c_testtraceline.cpp +++ b/sp/src/game/client/c_testtraceline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_tracer.cpp b/sp/src/game/client/c_tracer.cpp index ea6600a298..f3f026b52f 100644 --- a/sp/src/game/client/c_tracer.cpp +++ b/sp/src/game/client/c_tracer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_tracer.h b/sp/src/game/client/c_tracer.h index bb9e13feec..9c3c2c87c5 100644 --- a/sp/src/game/client/c_tracer.h +++ b/sp/src/game/client/c_tracer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_user_message_register.cpp b/sp/src/game/client/c_user_message_register.cpp index 73d275542d..9fcd28b64e 100644 --- a/sp/src/game/client/c_user_message_register.cpp +++ b/sp/src/game/client/c_user_message_register.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_user_message_register.h b/sp/src/game/client/c_user_message_register.h index bf4c4d62db..acfdd3e975 100644 --- a/sp/src/game/client/c_user_message_register.h +++ b/sp/src/game/client/c_user_message_register.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vehicle_choreo_generic.cpp b/sp/src/game/client/c_vehicle_choreo_generic.cpp index 82abc22492..514e309b74 100644 --- a/sp/src/game/client/c_vehicle_choreo_generic.cpp +++ b/sp/src/game/client/c_vehicle_choreo_generic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vehicle_jeep.cpp b/sp/src/game/client/c_vehicle_jeep.cpp index a59e291eeb..2d5f17f2a9 100644 --- a/sp/src/game/client/c_vehicle_jeep.cpp +++ b/sp/src/game/client/c_vehicle_jeep.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vehicle_jeep.h b/sp/src/game/client/c_vehicle_jeep.h index d7e53c1f5e..f3a0ae8962 100644 --- a/sp/src/game/client/c_vehicle_jeep.h +++ b/sp/src/game/client/c_vehicle_jeep.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vguiscreen.cpp b/sp/src/game/client/c_vguiscreen.cpp index 7695afd848..975a51557b 100644 --- a/sp/src/game/client/c_vguiscreen.cpp +++ b/sp/src/game/client/c_vguiscreen.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vguiscreen.h b/sp/src/game/client/c_vguiscreen.h index 331fbc7862..94b146b09c 100644 --- a/sp/src/game/client/c_vguiscreen.h +++ b/sp/src/game/client/c_vguiscreen.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_vote_controller.cpp b/sp/src/game/client/c_vote_controller.cpp index c900c27e0e..83250f82c3 100644 --- a/sp/src/game/client/c_vote_controller.cpp +++ b/sp/src/game/client/c_vote_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: CS's custom C_VoteController // diff --git a/sp/src/game/client/c_vote_controller.h b/sp/src/game/client/c_vote_controller.h index 5c1a4c5e8a..7e86c84392 100644 --- a/sp/src/game/client/c_vote_controller.h +++ b/sp/src/game/client/c_vote_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client VoteController // diff --git a/sp/src/game/client/c_weapon__stubs.h b/sp/src/game/client/c_weapon__stubs.h index 9b48d12857..772d72014a 100644 --- a/sp/src/game/client/c_weapon__stubs.h +++ b/sp/src/game/client/c_weapon__stubs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_world.cpp b/sp/src/game/client/c_world.cpp index 938db2418f..be59c1f86e 100644 --- a/sp/src/game/client/c_world.cpp +++ b/sp/src/game/client/c_world.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/c_world.h b/sp/src/game/client/c_world.h index 12366490c7..2e1350e137 100644 --- a/sp/src/game/client/c_world.h +++ b/sp/src/game/client/c_world.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/camomaterialproxy.cpp b/sp/src/game/client/camomaterialproxy.cpp index 77828c8973..2d266e93e1 100644 --- a/sp/src/game/client/camomaterialproxy.cpp +++ b/sp/src/game/client/camomaterialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cbase.h b/sp/src/game/client/cbase.h index 53322ca4be..62661764a0 100644 --- a/sp/src/game/client/cbase.h +++ b/sp/src/game/client/cbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cdll_bounded_cvars.cpp b/sp/src/game/client/cdll_bounded_cvars.cpp index 0928b77481..db5cd10033 100644 --- a/sp/src/game/client/cdll_bounded_cvars.cpp +++ b/sp/src/game/client/cdll_bounded_cvars.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cdll_bounded_cvars.h b/sp/src/game/client/cdll_bounded_cvars.h index 1b08f007c7..73511b67b1 100644 --- a/sp/src/game/client/cdll_bounded_cvars.h +++ b/sp/src/game/client/cdll_bounded_cvars.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provides access to cvars that are bounded in the client DLL. // diff --git a/sp/src/game/client/cdll_client_int.cpp b/sp/src/game/client/cdll_client_int.cpp index ea23d800ff..cb4be7c316 100644 --- a/sp/src/game/client/cdll_client_int.cpp +++ b/sp/src/game/client/cdll_client_int.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cdll_client_int.h b/sp/src/game/client/cdll_client_int.h index 5cbd087e27..1d37ea2242 100644 --- a/sp/src/game/client/cdll_client_int.h +++ b/sp/src/game/client/cdll_client_int.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cdll_util.cpp b/sp/src/game/client/cdll_util.cpp index 5117eaa73a..7e09924608 100644 --- a/sp/src/game/client/cdll_util.cpp +++ b/sp/src/game/client/cdll_util.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cdll_util.h b/sp/src/game/client/cdll_util.h index 263325515a..e3f860e9b0 100644 --- a/sp/src/game/client/cdll_util.h +++ b/sp/src/game/client/cdll_util.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cl_animevent.h b/sp/src/game/client/cl_animevent.h index 29c95b7b42..b6b5e21c85 100644 --- a/sp/src/game/client/cl_animevent.h +++ b/sp/src/game/client/cl_animevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hold definitions for all client animation events // diff --git a/sp/src/game/client/cl_mat_stub.cpp b/sp/src/game/client/cl_mat_stub.cpp index a0caec8d4d..41a3dcb64c 100644 --- a/sp/src/game/client/cl_mat_stub.cpp +++ b/sp/src/game/client/cl_mat_stub.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cl_mat_stub.h b/sp/src/game/client/cl_mat_stub.h index 8b0951dc14..7df57184e9 100644 --- a/sp/src/game/client/cl_mat_stub.h +++ b/sp/src/game/client/cl_mat_stub.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/classmap.cpp b/sp/src/game/client/classmap.cpp index a6790a0fe0..6397eef346 100644 --- a/sp/src/game/client/classmap.cpp +++ b/sp/src/game/client/classmap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_factorylist.cpp b/sp/src/game/client/client_factorylist.cpp index 9275bc5e90..e463d6c4df 100644 --- a/sp/src/game/client/client_factorylist.cpp +++ b/sp/src/game/client/client_factorylist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_factorylist.h b/sp/src/game/client/client_factorylist.h index 6cb27b1b26..ed89ada261 100644 --- a/sp/src/game/client/client_factorylist.h +++ b/sp/src/game/client/client_factorylist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_thinklist.cpp b/sp/src/game/client/client_thinklist.cpp index eae2d8803c..7e65a00117 100644 --- a/sp/src/game/client/client_thinklist.cpp +++ b/sp/src/game/client/client_thinklist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_thinklist.h b/sp/src/game/client/client_thinklist.h index 3d3e174485..e70740ceab 100644 --- a/sp/src/game/client/client_thinklist.h +++ b/sp/src/game/client/client_thinklist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_virtualreality.cpp b/sp/src/game/client/client_virtualreality.cpp index af52b56e0b..6466b66f4c 100644 --- a/sp/src/game/client/client_virtualreality.cpp +++ b/sp/src/game/client/client_virtualreality.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/client_virtualreality.h b/sp/src/game/client/client_virtualreality.h index 9aadfeb370..eaefbf8e80 100644 --- a/sp/src/game/client/client_virtualreality.h +++ b/sp/src/game/client/client_virtualreality.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The implementation of ISourceVirtualReality, which provides utility // functions for VR including head tracking, window/viewport information, diff --git a/sp/src/game/client/clienteffectprecachesystem.cpp b/sp/src/game/client/clienteffectprecachesystem.cpp index c5d4e07b45..0420b51533 100644 --- a/sp/src/game/client/clienteffectprecachesystem.cpp +++ b/sp/src/game/client/clienteffectprecachesystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deals with precaching requests from client effects // diff --git a/sp/src/game/client/clienteffectprecachesystem.h b/sp/src/game/client/clienteffectprecachesystem.h index e05a50019e..c7ba5473bd 100644 --- a/sp/src/game/client/clienteffectprecachesystem.h +++ b/sp/src/game/client/clienteffectprecachesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deals with singleton // diff --git a/sp/src/game/client/cliententitylist.cpp b/sp/src/game/client/cliententitylist.cpp index 294d4ff1c5..d48f7751e8 100644 --- a/sp/src/game/client/cliententitylist.cpp +++ b/sp/src/game/client/cliententitylist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/cliententitylist.h b/sp/src/game/client/cliententitylist.h index f09b891690..9428614ca7 100644 --- a/sp/src/game/client/cliententitylist.h +++ b/sp/src/game/client/cliententitylist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientleafsystem.cpp b/sp/src/game/client/clientleafsystem.cpp index 03d36cd538..5ad4ff4150 100644 --- a/sp/src/game/client/clientleafsystem.cpp +++ b/sp/src/game/client/clientleafsystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientleafsystem.h b/sp/src/game/client/clientleafsystem.h index 5caa8914cb..709e36b5ef 100644 --- a/sp/src/game/client/clientleafsystem.h +++ b/sp/src/game/client/clientleafsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientmode.h b/sp/src/game/client/clientmode.h index b4d9350acd..a661179c4f 100644 --- a/sp/src/game/client/clientmode.h +++ b/sp/src/game/client/clientmode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientmode_normal.cpp b/sp/src/game/client/clientmode_normal.cpp index 49fa61d16b..21f1d1dd1c 100644 --- a/sp/src/game/client/clientmode_normal.cpp +++ b/sp/src/game/client/clientmode_normal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientmode_normal.h b/sp/src/game/client/clientmode_normal.h index 49fa61d16b..21f1d1dd1c 100644 --- a/sp/src/game/client/clientmode_normal.h +++ b/sp/src/game/client/clientmode_normal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientmode_shared.cpp b/sp/src/game/client/clientmode_shared.cpp index f2e6e31dc5..e817b97f6b 100644 --- a/sp/src/game/client/clientmode_shared.cpp +++ b/sp/src/game/client/clientmode_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Normal HUD mode // diff --git a/sp/src/game/client/clientmode_shared.h b/sp/src/game/client/clientmode_shared.h index 20288db8f7..4f531e6c23 100644 --- a/sp/src/game/client/clientmode_shared.h +++ b/sp/src/game/client/clientmode_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientshadowmgr.cpp b/sp/src/game/client/clientshadowmgr.cpp index 2d016f489d..bf2f714484 100644 --- a/sp/src/game/client/clientshadowmgr.cpp +++ b/sp/src/game/client/clientshadowmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientsideeffects.cpp b/sp/src/game/client/clientsideeffects.cpp index b9cb5f569b..5e1bb0bee5 100644 --- a/sp/src/game/client/clientsideeffects.cpp +++ b/sp/src/game/client/clientsideeffects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientsideeffects.h b/sp/src/game/client/clientsideeffects.h index c5aa4fd68a..a9683eb68c 100644 --- a/sp/src/game/client/clientsideeffects.h +++ b/sp/src/game/client/clientsideeffects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientsideeffects_test.cpp b/sp/src/game/client/clientsideeffects_test.cpp index 8d1e3858de..6634f474ba 100644 --- a/sp/src/game/client/clientsideeffects_test.cpp +++ b/sp/src/game/client/clientsideeffects_test.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/clientsteamcontext.cpp b/sp/src/game/client/clientsteamcontext.cpp index df1f921d95..3fa411c246 100644 --- a/sp/src/game/client/clientsteamcontext.cpp +++ b/sp/src/game/client/clientsteamcontext.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "clientsteamcontext.h" diff --git a/sp/src/game/client/clientsteamcontext.h b/sp/src/game/client/clientsteamcontext.h index 07a4bcd8f2..5acccbf7c6 100644 --- a/sp/src/game/client/clientsteamcontext.h +++ b/sp/src/game/client/clientsteamcontext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #if !defined( CLIENTSTEAMCONTEXT_H ) #define CLIENTSTEAMCONTEXT_H #ifdef _WIN32 diff --git a/sp/src/game/client/colorcorrectionmgr.cpp b/sp/src/game/client/colorcorrectionmgr.cpp index cf1210ac7f..dfd5f09bd1 100644 --- a/sp/src/game/client/colorcorrectionmgr.cpp +++ b/sp/src/game/client/colorcorrectionmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose : Singleton manager for color correction on the client // diff --git a/sp/src/game/client/colorcorrectionmgr.h b/sp/src/game/client/colorcorrectionmgr.h index 3eba0f8cb7..24ace32613 100644 --- a/sp/src/game/client/colorcorrectionmgr.h +++ b/sp/src/game/client/colorcorrectionmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose : Singleton manager for color correction on the client // diff --git a/sp/src/game/client/commentary_modelviewer.cpp b/sp/src/game/client/commentary_modelviewer.cpp index 8c81fbd3ec..48cfe710e9 100644 --- a/sp/src/game/client/commentary_modelviewer.cpp +++ b/sp/src/game/client/commentary_modelviewer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/commentary_modelviewer.h b/sp/src/game/client/commentary_modelviewer.h index 1fd1d41e32..7baf0ffefa 100644 --- a/sp/src/game/client/commentary_modelviewer.h +++ b/sp/src/game/client/commentary_modelviewer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/death.cpp b/sp/src/game/client/death.cpp index b10da53d28..0329b0797f 100644 --- a/sp/src/game/client/death.cpp +++ b/sp/src/game/client/death.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws the death notices // diff --git a/sp/src/game/client/detailobjectsystem.cpp b/sp/src/game/client/detailobjectsystem.cpp index 726e2cd72c..e9fb136d73 100644 --- a/sp/src/game/client/detailobjectsystem.cpp +++ b/sp/src/game/client/detailobjectsystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws grasses and other small objects // diff --git a/sp/src/game/client/detailobjectsystem.h b/sp/src/game/client/detailobjectsystem.h index 11bb696fa8..c30c4fd01c 100644 --- a/sp/src/game/client/detailobjectsystem.h +++ b/sp/src/game/client/detailobjectsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deals with singleton // diff --git a/sp/src/game/client/dummyproxy.cpp b/sp/src/game/client/dummyproxy.cpp index 52ee1fc8c9..6a4f19b4f3 100644 --- a/sp/src/game/client/dummyproxy.cpp +++ b/sp/src/game/client/dummyproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/enginesprite.h b/sp/src/game/client/enginesprite.h index 6735bde644..75f1cf5533 100644 --- a/sp/src/game/client/enginesprite.h +++ b/sp/src/game/client/enginesprite.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/entity_client_tools.cpp b/sp/src/game/client/entity_client_tools.cpp index 99dc2370b1..f53cca4489 100644 --- a/sp/src/game/client/entity_client_tools.cpp +++ b/sp/src/game/client/entity_client_tools.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/entityoriginmaterialproxy.cpp b/sp/src/game/client/entityoriginmaterialproxy.cpp index a70789ba30..9b5db33b7f 100644 --- a/sp/src/game/client/entityoriginmaterialproxy.cpp +++ b/sp/src/game/client/entityoriginmaterialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A base class for all material proxies in the client dll // diff --git a/sp/src/game/client/episodic/c_npc_advisor.cpp b/sp/src/game/client/episodic/c_npc_advisor.cpp index 4aba115d0b..9a4d9310ac 100644 --- a/sp/src/game/client/episodic/c_npc_advisor.cpp +++ b/sp/src/game/client/episodic/c_npc_advisor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Definition for client-side advisor. // diff --git a/sp/src/game/client/episodic/c_npc_puppet.cpp b/sp/src/game/client/episodic/c_npc_puppet.cpp index 193b1da219..d697d9f0cc 100644 --- a/sp/src/game/client/episodic/c_npc_puppet.cpp +++ b/sp/src/game/client/episodic/c_npc_puppet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/c_prop_coreball.cpp b/sp/src/game/client/episodic/c_prop_coreball.cpp index a8ec7dc982..01e1d070be 100644 --- a/sp/src/game/client/episodic/c_prop_coreball.cpp +++ b/sp/src/game/client/episodic/c_prop_coreball.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/c_prop_scalable.cpp b/sp/src/game/client/episodic/c_prop_scalable.cpp index b3134460ab..8203567120 100644 --- a/sp/src/game/client/episodic/c_prop_scalable.cpp +++ b/sp/src/game/client/episodic/c_prop_scalable.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/c_vehicle_jeep_episodic.cpp b/sp/src/game/client/episodic/c_vehicle_jeep_episodic.cpp index 66befaceef..15d2a8cbac 100644 --- a/sp/src/game/client/episodic/c_vehicle_jeep_episodic.cpp +++ b/sp/src/game/client/episodic/c_vehicle_jeep_episodic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/c_vort_charge_token.cpp b/sp/src/game/client/episodic/c_vort_charge_token.cpp index fa769fa055..116dcc02b1 100644 --- a/sp/src/game/client/episodic/c_vort_charge_token.cpp +++ b/sp/src/game/client/episodic/c_vort_charge_token.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/c_weapon_hopwire.cpp b/sp/src/game/client/episodic/c_weapon_hopwire.cpp index 942ef0c03a..c1577b2d9b 100644 --- a/sp/src/game/client/episodic/c_weapon_hopwire.cpp +++ b/sp/src/game/client/episodic/c_weapon_hopwire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/episodic_screenspaceeffects.cpp b/sp/src/game/client/episodic/episodic_screenspaceeffects.cpp index fd8cafb282..07fbd48d7f 100644 --- a/sp/src/game/client/episodic/episodic_screenspaceeffects.cpp +++ b/sp/src/game/client/episodic/episodic_screenspaceeffects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Episodic screen-space effects // diff --git a/sp/src/game/client/episodic/episodic_screenspaceeffects.h b/sp/src/game/client/episodic/episodic_screenspaceeffects.h index 661aa403d9..572713847e 100644 --- a/sp/src/game/client/episodic/episodic_screenspaceeffects.h +++ b/sp/src/game/client/episodic/episodic_screenspaceeffects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/episodic/flesh_internal_material_proxy.cpp b/sp/src/game/client/episodic/flesh_internal_material_proxy.cpp index 6d182ea1e5..d62c85addc 100644 --- a/sp/src/game/client/episodic/flesh_internal_material_proxy.cpp +++ b/sp/src/game/client/episodic/flesh_internal_material_proxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // Purpose: // // $NoKeywords: $ diff --git a/sp/src/game/client/flashlighteffect.cpp b/sp/src/game/client/flashlighteffect.cpp index 9a4af817fd..69c671207d 100644 --- a/sp/src/game/client/flashlighteffect.cpp +++ b/sp/src/game/client/flashlighteffect.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/flashlighteffect.h b/sp/src/game/client/flashlighteffect.h index d291c3823a..63ba83b432 100644 --- a/sp/src/game/client/flashlighteffect.h +++ b/sp/src/game/client/flashlighteffect.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fontabc.h b/sp/src/game/client/fontabc.h index bdf4b4975d..1ddc41e0be 100644 --- a/sp/src/game/client/fontabc.h +++ b/sp/src/game/client/fontabc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/functionproxy.cpp b/sp/src/game/client/functionproxy.cpp index 51464b6f10..6d5103a530 100644 --- a/sp/src/game/client/functionproxy.cpp +++ b/sp/src/game/client/functionproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/functionproxy.h b/sp/src/game/client/functionproxy.h index 22bb818773..3c78d3c087 100644 --- a/sp/src/game/client/functionproxy.h +++ b/sp/src/game/client/functionproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: These are a couple of base proxy classes to help us with // getting/setting source/result material vars diff --git a/sp/src/game/client/fx.cpp b/sp/src/game/client/fx.cpp index 78a70a7799..e1aa9047c6 100644 --- a/sp/src/game/client/fx.cpp +++ b/sp/src/game/client/fx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx.h b/sp/src/game/client/fx.h index 3b5e4e93b9..f8a66aa376 100644 --- a/sp/src/game/client/fx.h +++ b/sp/src/game/client/fx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_blood.cpp b/sp/src/game/client/fx_blood.cpp index 441084bc5b..4b903ec012 100644 --- a/sp/src/game/client/fx_blood.cpp +++ b/sp/src/game/client/fx_blood.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A blood spray effect, like a big exit wound, used when people are // violently impaled, skewered, eviscerated, etc. diff --git a/sp/src/game/client/fx_blood.h b/sp/src/game/client/fx_blood.h index 4fed5fb27f..800551fe06 100644 --- a/sp/src/game/client/fx_blood.h +++ b/sp/src/game/client/fx_blood.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_cube.cpp b/sp/src/game/client/fx_cube.cpp index 6532f634ff..f76697db3a 100644 --- a/sp/src/game/client/fx_cube.cpp +++ b/sp/src/game/client/fx_cube.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_discreetline.cpp b/sp/src/game/client/fx_discreetline.cpp index 019e729221..3faf107de3 100644 --- a/sp/src/game/client/fx_discreetline.cpp +++ b/sp/src/game/client/fx_discreetline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_discreetline.h b/sp/src/game/client/fx_discreetline.h index 316bfdb8ac..97d2402886 100644 --- a/sp/src/game/client/fx_discreetline.h +++ b/sp/src/game/client/fx_discreetline.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_envelope.cpp b/sp/src/game/client/fx_envelope.cpp index 44a9e7e525..dfc495fcbd 100644 --- a/sp/src/game/client/fx_envelope.cpp +++ b/sp/src/game/client/fx_envelope.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_envelope.h b/sp/src/game/client/fx_envelope.h index 3f1997f586..14703f13b7 100644 --- a/sp/src/game/client/fx_envelope.h +++ b/sp/src/game/client/fx_envelope.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_explosion.cpp b/sp/src/game/client/fx_explosion.cpp index ef322e8ca4..a4c0f9b219 100644 --- a/sp/src/game/client/fx_explosion.cpp +++ b/sp/src/game/client/fx_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base explosion effect // diff --git a/sp/src/game/client/fx_explosion.h b/sp/src/game/client/fx_explosion.h index 5aa147a4cc..cc26302a21 100644 --- a/sp/src/game/client/fx_explosion.h +++ b/sp/src/game/client/fx_explosion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_fleck.cpp b/sp/src/game/client/fx_fleck.cpp index 790e5f18f4..79c37a4d99 100644 --- a/sp/src/game/client/fx_fleck.cpp +++ b/sp/src/game/client/fx_fleck.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_fleck.h b/sp/src/game/client/fx_fleck.h index bd9396b514..453f905b98 100644 --- a/sp/src/game/client/fx_fleck.h +++ b/sp/src/game/client/fx_fleck.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_impact.cpp b/sp/src/game/client/fx_impact.cpp index 236e39b4dd..0adb498c8d 100644 --- a/sp/src/game/client/fx_impact.cpp +++ b/sp/src/game/client/fx_impact.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_impact.h b/sp/src/game/client/fx_impact.h index 9c6cb875fc..556e83e365 100644 --- a/sp/src/game/client/fx_impact.h +++ b/sp/src/game/client/fx_impact.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_interpvalue.cpp b/sp/src/game/client/fx_interpvalue.cpp index ab16672316..f8f88b50f1 100644 --- a/sp/src/game/client/fx_interpvalue.cpp +++ b/sp/src/game/client/fx_interpvalue.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_interpvalue.h b/sp/src/game/client/fx_interpvalue.h index a274ffe1ee..d6bb5b14ba 100644 --- a/sp/src/game/client/fx_interpvalue.h +++ b/sp/src/game/client/fx_interpvalue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_line.cpp b/sp/src/game/client/fx_line.cpp index 9e0d349702..142f59aec8 100644 --- a/sp/src/game/client/fx_line.cpp +++ b/sp/src/game/client/fx_line.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_line.h b/sp/src/game/client/fx_line.h index 59752716dc..117734801d 100644 --- a/sp/src/game/client/fx_line.h +++ b/sp/src/game/client/fx_line.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_quad.cpp b/sp/src/game/client/fx_quad.cpp index 6a254b97c2..6b2e0092ca 100644 --- a/sp/src/game/client/fx_quad.cpp +++ b/sp/src/game/client/fx_quad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_quad.h b/sp/src/game/client/fx_quad.h index 77563e8ba4..6cb1876400 100644 --- a/sp/src/game/client/fx_quad.h +++ b/sp/src/game/client/fx_quad.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_shelleject.cpp b/sp/src/game/client/fx_shelleject.cpp index 98380a506f..ba5f52db32 100644 --- a/sp/src/game/client/fx_shelleject.cpp +++ b/sp/src/game/client/fx_shelleject.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_sparks.cpp b/sp/src/game/client/fx_sparks.cpp index 38df4dbd0c..eeb8320991 100644 --- a/sp/src/game/client/fx_sparks.cpp +++ b/sp/src/game/client/fx_sparks.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_sparks.h b/sp/src/game/client/fx_sparks.h index bdfbe43e9c..e700731449 100644 --- a/sp/src/game/client/fx_sparks.h +++ b/sp/src/game/client/fx_sparks.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_staticline.cpp b/sp/src/game/client/fx_staticline.cpp index 0e6e5a86e3..97fb8513c9 100644 --- a/sp/src/game/client/fx_staticline.cpp +++ b/sp/src/game/client/fx_staticline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_staticline.h b/sp/src/game/client/fx_staticline.h index 2beeb99d30..a3f5725088 100644 --- a/sp/src/game/client/fx_staticline.h +++ b/sp/src/game/client/fx_staticline.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_tracer.cpp b/sp/src/game/client/fx_tracer.cpp index 8ce6de18d5..cb23f0815c 100644 --- a/sp/src/game/client/fx_tracer.cpp +++ b/sp/src/game/client/fx_tracer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_trail.cpp b/sp/src/game/client/fx_trail.cpp index 9a090e6543..2d370c9b69 100644 --- a/sp/src/game/client/fx_trail.cpp +++ b/sp/src/game/client/fx_trail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_trail.h b/sp/src/game/client/fx_trail.h index e618fd05ba..6a4b4df475 100644 --- a/sp/src/game/client/fx_trail.h +++ b/sp/src/game/client/fx_trail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_water.cpp b/sp/src/game/client/fx_water.cpp index 1873607342..6306b13d86 100644 --- a/sp/src/game/client/fx_water.cpp +++ b/sp/src/game/client/fx_water.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/fx_water.h b/sp/src/game/client/fx_water.h index a1e623a08e..b5c25a0421 100644 --- a/sp/src/game/client/fx_water.h +++ b/sp/src/game/client/fx_water.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/ClientScoreBoardDialog.cpp b/sp/src/game/client/game_controls/ClientScoreBoardDialog.cpp index 72776206e7..283b58831f 100644 --- a/sp/src/game/client/game_controls/ClientScoreBoardDialog.cpp +++ b/sp/src/game/client/game_controls/ClientScoreBoardDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/IconPanel.cpp b/sp/src/game/client/game_controls/IconPanel.cpp index 3688daed6b..eeb7edeac7 100644 --- a/sp/src/game/client/game_controls/IconPanel.cpp +++ b/sp/src/game/client/game_controls/IconPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/IconPanel.h b/sp/src/game/client/game_controls/IconPanel.h index f9dcb243f6..d6443c07b9 100644 --- a/sp/src/game/client/game_controls/IconPanel.h +++ b/sp/src/game/client/game_controls/IconPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/MapOverview.cpp b/sp/src/game/client/game_controls/MapOverview.cpp index b4262fbbf7..637ff6dcd8 100644 --- a/sp/src/game/client/game_controls/MapOverview.cpp +++ b/sp/src/game/client/game_controls/MapOverview.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: MapOverview.cpp: implementation of the CMapOverview class. // diff --git a/sp/src/game/client/game_controls/NavProgress.cpp b/sp/src/game/client/game_controls/NavProgress.cpp index 8aef8c4e20..60ffca6059 100644 --- a/sp/src/game/client/game_controls/NavProgress.cpp +++ b/sp/src/game/client/game_controls/NavProgress.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/NavProgress.h b/sp/src/game/client/game_controls/NavProgress.h index 9cae369ec3..3587bc3b9f 100644 --- a/sp/src/game/client/game_controls/NavProgress.h +++ b/sp/src/game/client/game_controls/NavProgress.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/SpectatorGUI.cpp b/sp/src/game/client/game_controls/SpectatorGUI.cpp index 1c95068a0b..cfbca1049a 100644 --- a/sp/src/game/client/game_controls/SpectatorGUI.cpp +++ b/sp/src/game/client/game_controls/SpectatorGUI.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/basemodel_panel.cpp b/sp/src/game/client/game_controls/basemodel_panel.cpp index e4115ea4fd..bc6e6860b1 100644 --- a/sp/src/game/client/game_controls/basemodel_panel.cpp +++ b/sp/src/game/client/game_controls/basemodel_panel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/basemodel_panel.h b/sp/src/game/client/game_controls/basemodel_panel.h index b9fa0d682a..2b3ffcca4c 100644 --- a/sp/src/game/client/game_controls/basemodel_panel.h +++ b/sp/src/game/client/game_controls/basemodel_panel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/basemodelpanel.cpp b/sp/src/game/client/game_controls/basemodelpanel.cpp index 95008b4dd6..5d86c974b4 100644 --- a/sp/src/game/client/game_controls/basemodelpanel.cpp +++ b/sp/src/game/client/game_controls/basemodelpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/basemodelpanel.h b/sp/src/game/client/game_controls/basemodelpanel.h index 76c0058dd6..080b9497a2 100644 --- a/sp/src/game/client/game_controls/basemodelpanel.h +++ b/sp/src/game/client/game_controls/basemodelpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/baseviewport.cpp b/sp/src/game/client/game_controls/baseviewport.cpp index a098662094..49c94ef9da 100644 --- a/sp/src/game/client/game_controls/baseviewport.cpp +++ b/sp/src/game/client/game_controls/baseviewport.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client DLL VGUI2 Viewport // diff --git a/sp/src/game/client/game_controls/baseviewport.h b/sp/src/game/client/game_controls/baseviewport.h index cbc602a0ed..dff22c6ddf 100644 --- a/sp/src/game/client/game_controls/baseviewport.h +++ b/sp/src/game/client/game_controls/baseviewport.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/buymenu.cpp b/sp/src/game/client/game_controls/buymenu.cpp index 4ae693ae7f..b57782cef7 100644 --- a/sp/src/game/client/game_controls/buymenu.cpp +++ b/sp/src/game/client/game_controls/buymenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/buymenu.h b/sp/src/game/client/game_controls/buymenu.h index bdaff26ed7..552ab9e892 100644 --- a/sp/src/game/client/game_controls/buymenu.h +++ b/sp/src/game/client/game_controls/buymenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/buysubmenu.cpp b/sp/src/game/client/game_controls/buysubmenu.cpp index 6bee2e5c79..ef2d77b624 100644 --- a/sp/src/game/client/game_controls/buysubmenu.cpp +++ b/sp/src/game/client/game_controls/buysubmenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/buysubmenu.h b/sp/src/game/client/game_controls/buysubmenu.h index f3b8c25659..faf8cc581f 100644 --- a/sp/src/game/client/game_controls/buysubmenu.h +++ b/sp/src/game/client/game_controls/buysubmenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/classmenu.cpp b/sp/src/game/client/game_controls/classmenu.cpp index b71b75fa03..4c8906091d 100644 --- a/sp/src/game/client/game_controls/classmenu.cpp +++ b/sp/src/game/client/game_controls/classmenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/classmenu.h b/sp/src/game/client/game_controls/classmenu.h index 169885590b..a878bb577d 100644 --- a/sp/src/game/client/game_controls/classmenu.h +++ b/sp/src/game/client/game_controls/classmenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/clientscoreboarddialog.h b/sp/src/game/client/game_controls/clientscoreboarddialog.h index 210934d863..93caea2a6e 100644 --- a/sp/src/game/client/game_controls/clientscoreboarddialog.h +++ b/sp/src/game/client/game_controls/clientscoreboarddialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/commandmenu.cpp b/sp/src/game/client/game_controls/commandmenu.cpp index f86b2f2168..ede7380fa4 100644 --- a/sp/src/game/client/game_controls/commandmenu.cpp +++ b/sp/src/game/client/game_controls/commandmenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/commandmenu.h b/sp/src/game/client/game_controls/commandmenu.h index 9f80049127..ef9effa89e 100644 --- a/sp/src/game/client/game_controls/commandmenu.h +++ b/sp/src/game/client/game_controls/commandmenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/imagemouseoverbutton.h b/sp/src/game/client/game_controls/imagemouseoverbutton.h index 9dee5d73d3..1dc6f5ba65 100644 --- a/sp/src/game/client/game_controls/imagemouseoverbutton.h +++ b/sp/src/game/client/game_controls/imagemouseoverbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/intromenu.cpp b/sp/src/game/client/game_controls/intromenu.cpp index bf31a83dab..e39dc5838d 100644 --- a/sp/src/game/client/game_controls/intromenu.cpp +++ b/sp/src/game/client/game_controls/intromenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/intromenu.h b/sp/src/game/client/game_controls/intromenu.h index 02043ecd7f..77228a789f 100644 --- a/sp/src/game/client/game_controls/intromenu.h +++ b/sp/src/game/client/game_controls/intromenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/mapoverview.h b/sp/src/game/client/game_controls/mapoverview.h index edaa2d1bff..626a8acf06 100644 --- a/sp/src/game/client/game_controls/mapoverview.h +++ b/sp/src/game/client/game_controls/mapoverview.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: MiniMap.h: interface for the CMiniMap class. // diff --git a/sp/src/game/client/game_controls/mouseoverhtmlbutton.h b/sp/src/game/client/game_controls/mouseoverhtmlbutton.h index e3800832c3..4011474936 100644 --- a/sp/src/game/client/game_controls/mouseoverhtmlbutton.h +++ b/sp/src/game/client/game_controls/mouseoverhtmlbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/mouseoverpanelbutton.h b/sp/src/game/client/game_controls/mouseoverpanelbutton.h index 9e4e245df6..6c29d41d17 100644 --- a/sp/src/game/client/game_controls/mouseoverpanelbutton.h +++ b/sp/src/game/client/game_controls/mouseoverpanelbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/spectatorgui.h b/sp/src/game/client/game_controls/spectatorgui.h index 2962608531..56ba168631 100644 --- a/sp/src/game/client/game_controls/spectatorgui.h +++ b/sp/src/game/client/game_controls/spectatorgui.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/teammenu.cpp b/sp/src/game/client/game_controls/teammenu.cpp index c242c93668..d61d36dfe8 100644 --- a/sp/src/game/client/game_controls/teammenu.cpp +++ b/sp/src/game/client/game_controls/teammenu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/teammenu.h b/sp/src/game/client/game_controls/teammenu.h index a1eab0f523..2d0678b7cb 100644 --- a/sp/src/game/client/game_controls/teammenu.h +++ b/sp/src/game/client/game_controls/teammenu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/vguitextwindow.cpp b/sp/src/game/client/game_controls/vguitextwindow.cpp index 5cdc253210..6b2d87af34 100644 --- a/sp/src/game/client/game_controls/vguitextwindow.cpp +++ b/sp/src/game/client/game_controls/vguitextwindow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/game_controls/vguitextwindow.h b/sp/src/game/client/game_controls/vguitextwindow.h index 4557c7bfc7..6c80ddc9b0 100644 --- a/sp/src/game/client/game_controls/vguitextwindow.h +++ b/sp/src/game/client/game_controls/vguitextwindow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/gametrace_client.cpp b/sp/src/game/client/gametrace_client.cpp index 29d6a9b22e..470defab3a 100644 --- a/sp/src/game/client/gametrace_client.cpp +++ b/sp/src/game/client/gametrace_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/geiger.cpp b/sp/src/game/client/geiger.cpp index f1e0ae7f14..9ae6d97ec7 100644 --- a/sp/src/game/client/geiger.cpp +++ b/sp/src/game/client/geiger.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/glow_outline_effect.cpp b/sp/src/game/client/glow_outline_effect.cpp index c8f35b9090..12487a7081 100644 --- a/sp/src/game/client/glow_outline_effect.cpp +++ b/sp/src/game/client/glow_outline_effect.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Functionality to render a glowing outline around client renderable objects. // diff --git a/sp/src/game/client/glow_outline_effect.h b/sp/src/game/client/glow_outline_effect.h index 111328620d..b1f7351b38 100644 --- a/sp/src/game/client/glow_outline_effect.h +++ b/sp/src/game/client/glow_outline_effect.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Functionality to render a glowing outline around client renderable objects. // diff --git a/sp/src/game/client/glow_overlay.cpp b/sp/src/game/client/glow_overlay.cpp index 72915e3c5a..daf9bf9703 100644 --- a/sp/src/game/client/glow_overlay.cpp +++ b/sp/src/game/client/glow_overlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/glow_overlay.h b/sp/src/game/client/glow_overlay.h index 14de906ed4..bfbbca2445 100644 --- a/sp/src/game/client/glow_overlay.h +++ b/sp/src/game/client/glow_overlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/history_resource.cpp b/sp/src/game/client/history_resource.cpp index c0743b4100..c259a26a11 100644 --- a/sp/src/game/client/history_resource.cpp +++ b/sp/src/game/client/history_resource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Item pickup history displayed onscreen when items are picked up. // diff --git a/sp/src/game/client/history_resource.h b/sp/src/game/client/history_resource.h index 962b16882c..17da2d6902 100644 --- a/sp/src/game/client/history_resource.h +++ b/sp/src/game/client/history_resource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Item pickup history displayed onscreen when items are picked up. // diff --git a/sp/src/game/client/hl2/C_Func_Monitor.cpp b/sp/src/game/client/hl2/C_Func_Monitor.cpp index 17ce78ba26..e265285e1f 100644 --- a/sp/src/game/client/hl2/C_Func_Monitor.cpp +++ b/sp/src/game/client/hl2/C_Func_Monitor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_antlion_dust.cpp b/sp/src/game/client/hl2/c_antlion_dust.cpp index f883cc7480..d41944aeee 100644 --- a/sp/src/game/client/hl2/c_antlion_dust.cpp +++ b/sp/src/game/client/hl2/c_antlion_dust.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_ar2_explosion.cpp b/sp/src/game/client/hl2/c_ar2_explosion.cpp index e60343e6fe..74e7b80f4c 100644 --- a/sp/src/game/client/hl2/c_ar2_explosion.cpp +++ b/sp/src/game/client/hl2/c_ar2_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_barnacle.cpp b/sp/src/game/client/hl2/c_barnacle.cpp index 344ac0e199..68b334a3af 100644 --- a/sp/src/game/client/hl2/c_barnacle.cpp +++ b/sp/src/game/client/hl2/c_barnacle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_barney.cpp b/sp/src/game/client/hl2/c_barney.cpp index 85d6173e6f..0731ebc71f 100644 --- a/sp/src/game/client/hl2/c_barney.cpp +++ b/sp/src/game/client/hl2/c_barney.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehelicopter.cpp b/sp/src/game/client/hl2/c_basehelicopter.cpp index abc372869b..359a06ad91 100644 --- a/sp/src/game/client/hl2/c_basehelicopter.cpp +++ b/sp/src/game/client/hl2/c_basehelicopter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehelicopter.h b/sp/src/game/client/hl2/c_basehelicopter.h index 6ef2d93082..f2dacd94ce 100644 --- a/sp/src/game/client/hl2/c_basehelicopter.h +++ b/sp/src/game/client/hl2/c_basehelicopter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehlcombatweapon.cpp b/sp/src/game/client/hl2/c_basehlcombatweapon.cpp index bc3e5a3ef8..91446a865b 100644 --- a/sp/src/game/client/hl2/c_basehlcombatweapon.cpp +++ b/sp/src/game/client/hl2/c_basehlcombatweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehlcombatweapon.h b/sp/src/game/client/hl2/c_basehlcombatweapon.h index 72440cc379..0cea2691d6 100644 --- a/sp/src/game/client/hl2/c_basehlcombatweapon.h +++ b/sp/src/game/client/hl2/c_basehlcombatweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehlplayer.cpp b/sp/src/game/client/hl2/c_basehlplayer.cpp index 15a33ea8c2..6a018f947d 100644 --- a/sp/src/game/client/hl2/c_basehlplayer.cpp +++ b/sp/src/game/client/hl2/c_basehlplayer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_basehlplayer.h b/sp/src/game/client/hl2/c_basehlplayer.h index 368c9bb12c..197baca96a 100644 --- a/sp/src/game/client/hl2/c_basehlplayer.h +++ b/sp/src/game/client/hl2/c_basehlplayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_citadel_effects.cpp b/sp/src/game/client/hl2/c_citadel_effects.cpp index af43c4be24..bf05beb8d5 100644 --- a/sp/src/game/client/hl2/c_citadel_effects.cpp +++ b/sp/src/game/client/hl2/c_citadel_effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_corpse.cpp b/sp/src/game/client/hl2/c_corpse.cpp index fddb07e743..1e7ccd3ce1 100644 --- a/sp/src/game/client/hl2/c_corpse.cpp +++ b/sp/src/game/client/hl2/c_corpse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements C_Corpse // diff --git a/sp/src/game/client/hl2/c_corpse.h b/sp/src/game/client/hl2/c_corpse.h index 1bd4a09086..6b15263a4f 100644 --- a/sp/src/game/client/hl2/c_corpse.h +++ b/sp/src/game/client/hl2/c_corpse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_energy_wave.cpp b/sp/src/game/client/hl2/c_energy_wave.cpp index 31d8b32303..605f4ba236 100644 --- a/sp/src/game/client/hl2/c_energy_wave.cpp +++ b/sp/src/game/client/hl2/c_energy_wave.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client's energy wave // diff --git a/sp/src/game/client/hl2/c_env_alyxtemp.cpp b/sp/src/game/client/hl2/c_env_alyxtemp.cpp index 9e7cd5749d..b469891e5d 100644 --- a/sp/src/game/client/hl2/c_env_alyxtemp.cpp +++ b/sp/src/game/client/hl2/c_env_alyxtemp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_env_headcrabcanister.cpp b/sp/src/game/client/hl2/c_env_headcrabcanister.cpp index fe92ed2f56..84987fadf5 100644 --- a/sp/src/game/client/hl2/c_env_headcrabcanister.cpp +++ b/sp/src/game/client/hl2/c_env_headcrabcanister.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_env_starfield.cpp b/sp/src/game/client/hl2/c_env_starfield.cpp index 123dc0c160..4db1726ca9 100644 --- a/sp/src/game/client/hl2/c_env_starfield.cpp +++ b/sp/src/game/client/hl2/c_env_starfield.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_extinguisher.cpp b/sp/src/game/client/hl2/c_extinguisher.cpp index c5dd04246f..5a2d2bc67f 100644 --- a/sp/src/game/client/hl2/c_extinguisher.cpp +++ b/sp/src/game/client/hl2/c_extinguisher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_func_tankmortar.cpp b/sp/src/game/client/hl2/c_func_tankmortar.cpp index 09987aaf8c..a2e32445fc 100644 --- a/sp/src/game/client/hl2/c_func_tankmortar.cpp +++ b/sp/src/game/client/hl2/c_func_tankmortar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_hl2_playerlocaldata.cpp b/sp/src/game/client/hl2/c_hl2_playerlocaldata.cpp index 469bd4ec10..a2d4d8df9d 100644 --- a/sp/src/game/client/hl2/c_hl2_playerlocaldata.cpp +++ b/sp/src/game/client/hl2/c_hl2_playerlocaldata.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_hl2_playerlocaldata.h b/sp/src/game/client/hl2/c_hl2_playerlocaldata.h index 80019915ee..9b7fc23e34 100644 --- a/sp/src/game/client/hl2/c_hl2_playerlocaldata.h +++ b/sp/src/game/client/hl2/c_hl2_playerlocaldata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_info_teleporter_countdown.cpp b/sp/src/game/client/hl2/c_info_teleporter_countdown.cpp index e99277c9c9..14fe7f4996 100644 --- a/sp/src/game/client/hl2/c_info_teleporter_countdown.cpp +++ b/sp/src/game/client/hl2/c_info_teleporter_countdown.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_npc_antlionguard.cpp b/sp/src/game/client/hl2/c_npc_antlionguard.cpp index e2c7232a03..087e90747d 100644 --- a/sp/src/game/client/hl2/c_npc_antlionguard.cpp +++ b/sp/src/game/client/hl2/c_npc_antlionguard.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Client side antlion guard. Used to create dlight for the cave guard. // diff --git a/sp/src/game/client/hl2/c_npc_combinegunship.cpp b/sp/src/game/client/hl2/c_npc_combinegunship.cpp index b42ca04ff5..8eb5b1801e 100644 --- a/sp/src/game/client/hl2/c_npc_combinegunship.cpp +++ b/sp/src/game/client/hl2/c_npc_combinegunship.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_npc_hydra.cpp b/sp/src/game/client/hl2/c_npc_hydra.cpp index 271c7752c9..5967b19061 100644 --- a/sp/src/game/client/hl2/c_npc_hydra.cpp +++ b/sp/src/game/client/hl2/c_npc_hydra.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_npc_manhack.cpp b/sp/src/game/client/hl2/c_npc_manhack.cpp index a804fcff23..95e6ea3b6c 100644 --- a/sp/src/game/client/hl2/c_npc_manhack.cpp +++ b/sp/src/game/client/hl2/c_npc_manhack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_npc_rollermine.cpp b/sp/src/game/client/hl2/c_npc_rollermine.cpp index a8b7ed0f46..1729ede089 100644 --- a/sp/src/game/client/hl2/c_npc_rollermine.cpp +++ b/sp/src/game/client/hl2/c_npc_rollermine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_plasma_beam_node.cpp b/sp/src/game/client/hl2/c_plasma_beam_node.cpp index 68cbc70ae8..945870a630 100644 --- a/sp/src/game/client/hl2/c_plasma_beam_node.cpp +++ b/sp/src/game/client/hl2/c_plasma_beam_node.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_prop_combine_ball.cpp b/sp/src/game/client/hl2/c_prop_combine_ball.cpp index 2e31806460..27c5b93def 100644 --- a/sp/src/game/client/hl2/c_prop_combine_ball.cpp +++ b/sp/src/game/client/hl2/c_prop_combine_ball.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_prop_combine_ball.h b/sp/src/game/client/hl2/c_prop_combine_ball.h index 04e8e47dd3..c2e62bfd20 100644 --- a/sp/src/game/client/hl2/c_prop_combine_ball.h +++ b/sp/src/game/client/hl2/c_prop_combine_ball.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_rotorwash.cpp b/sp/src/game/client/hl2/c_rotorwash.cpp index 439f18a3d1..0defc5c087 100644 --- a/sp/src/game/client/hl2/c_rotorwash.cpp +++ b/sp/src/game/client/hl2/c_rotorwash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_script_intro.cpp b/sp/src/game/client/hl2/c_script_intro.cpp index 835e0a8287..411566a925 100644 --- a/sp/src/game/client/hl2/c_script_intro.cpp +++ b/sp/src/game/client/hl2/c_script_intro.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_strider.cpp b/sp/src/game/client/hl2/c_strider.cpp index 3ea3f733ad..1eb4dfa23f 100644 --- a/sp/src/game/client/hl2/c_strider.cpp +++ b/sp/src/game/client/hl2/c_strider.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_te_concussiveexplosion.cpp b/sp/src/game/client/hl2/c_te_concussiveexplosion.cpp index 530d5d5def..54021db8f5 100644 --- a/sp/src/game/client/hl2/c_te_concussiveexplosion.cpp +++ b/sp/src/game/client/hl2/c_te_concussiveexplosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_te_flare.cpp b/sp/src/game/client/hl2/c_te_flare.cpp index 5e00ea5dbe..8587e6b6b9 100644 --- a/sp/src/game/client/hl2/c_te_flare.cpp +++ b/sp/src/game/client/hl2/c_te_flare.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Flare effects // diff --git a/sp/src/game/client/hl2/c_thumper_dust.cpp b/sp/src/game/client/hl2/c_thumper_dust.cpp index ade7b30344..6a60c2ef52 100644 --- a/sp/src/game/client/hl2/c_thumper_dust.cpp +++ b/sp/src/game/client/hl2/c_thumper_dust.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_vehicle_airboat.cpp b/sp/src/game/client/hl2/c_vehicle_airboat.cpp index 167203706c..fa9b63563a 100644 --- a/sp/src/game/client/hl2/c_vehicle_airboat.cpp +++ b/sp/src/game/client/hl2/c_vehicle_airboat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side implementation of the airboat. // diff --git a/sp/src/game/client/hl2/c_vehicle_cannon.cpp b/sp/src/game/client/hl2/c_vehicle_cannon.cpp index 74e49ce684..36be2661a9 100644 --- a/sp/src/game/client/hl2/c_vehicle_cannon.cpp +++ b/sp/src/game/client/hl2/c_vehicle_cannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_vehicle_crane.cpp b/sp/src/game/client/hl2/c_vehicle_crane.cpp index 933bef8167..a554419b44 100644 --- a/sp/src/game/client/hl2/c_vehicle_crane.cpp +++ b/sp/src/game/client/hl2/c_vehicle_crane.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_vehicle_crane.h b/sp/src/game/client/hl2/c_vehicle_crane.h index 81ca6d1ee9..625fd9da11 100644 --- a/sp/src/game/client/hl2/c_vehicle_crane.h +++ b/sp/src/game/client/hl2/c_vehicle_crane.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_vehicle_prisoner_pod.cpp b/sp/src/game/client/hl2/c_vehicle_prisoner_pod.cpp index 1b78bddab8..10a7291e2b 100644 --- a/sp/src/game/client/hl2/c_vehicle_prisoner_pod.cpp +++ b/sp/src/game/client/hl2/c_vehicle_prisoner_pod.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_waterbullet.cpp b/sp/src/game/client/hl2/c_waterbullet.cpp index b4491ca166..d6f0eb883a 100644 --- a/sp/src/game/client/hl2/c_waterbullet.cpp +++ b/sp/src/game/client/hl2/c_waterbullet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_weapon__stubs_hl2.cpp b/sp/src/game/client/hl2/c_weapon__stubs_hl2.cpp index 1bb922ee5e..5f8eca7673 100644 --- a/sp/src/game/client/hl2/c_weapon__stubs_hl2.cpp +++ b/sp/src/game/client/hl2/c_weapon__stubs_hl2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_weapon_crossbow.cpp b/sp/src/game/client/hl2/c_weapon_crossbow.cpp index a48604127e..b36459bbdf 100644 --- a/sp/src/game/client/hl2/c_weapon_crossbow.cpp +++ b/sp/src/game/client/hl2/c_weapon_crossbow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_weapon_gravitygun.cpp b/sp/src/game/client/hl2/c_weapon_gravitygun.cpp index a32858420d..8d2c8edef2 100644 --- a/sp/src/game/client/hl2/c_weapon_gravitygun.cpp +++ b/sp/src/game/client/hl2/c_weapon_gravitygun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_weapon_physcannon.cpp b/sp/src/game/client/hl2/c_weapon_physcannon.cpp index 5dff9a289a..9b2468a73b 100644 --- a/sp/src/game/client/hl2/c_weapon_physcannon.cpp +++ b/sp/src/game/client/hl2/c_weapon_physcannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/c_weapon_stunstick.cpp b/sp/src/game/client/hl2/c_weapon_stunstick.cpp index 28359c330e..e59aca797f 100644 --- a/sp/src/game/client/hl2/c_weapon_stunstick.cpp +++ b/sp/src/game/client/hl2/c_weapon_stunstick.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/clientmode_hlnormal.cpp b/sp/src/game/client/hl2/clientmode_hlnormal.cpp index dc1415af21..9d1b2c8d83 100644 --- a/sp/src/game/client/hl2/clientmode_hlnormal.cpp +++ b/sp/src/game/client/hl2/clientmode_hlnormal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws the normal TF2 or HL2 HUD. // diff --git a/sp/src/game/client/hl2/clientmode_hlnormal.h b/sp/src/game/client/hl2/clientmode_hlnormal.h index 623da4335d..fb7e2eb67c 100644 --- a/sp/src/game/client/hl2/clientmode_hlnormal.h +++ b/sp/src/game/client/hl2/clientmode_hlnormal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/fx_antlion.cpp b/sp/src/game/client/hl2/fx_antlion.cpp index eafca9b08d..cdd8ac7216 100644 --- a/sp/src/game/client/hl2/fx_antlion.cpp +++ b/sp/src/game/client/hl2/fx_antlion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/fx_bugbait.cpp b/sp/src/game/client/hl2/fx_bugbait.cpp index 6d12a1c0e0..add578bb64 100644 --- a/sp/src/game/client/hl2/fx_bugbait.cpp +++ b/sp/src/game/client/hl2/fx_bugbait.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/fx_hl2_impacts.cpp b/sp/src/game/client/hl2/fx_hl2_impacts.cpp index ac75b85af7..72c7f980d5 100644 --- a/sp/src/game/client/hl2/fx_hl2_impacts.cpp +++ b/sp/src/game/client/hl2/fx_hl2_impacts.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game-specific impact effect hooks // diff --git a/sp/src/game/client/hl2/fx_hl2_tracers.cpp b/sp/src/game/client/hl2/fx_hl2_tracers.cpp index c252937ae8..2c6fde010f 100644 --- a/sp/src/game/client/hl2/fx_hl2_tracers.cpp +++ b/sp/src/game/client/hl2/fx_hl2_tracers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game-specific impact effect hooks // diff --git a/sp/src/game/client/hl2/hl2_clientmode.cpp b/sp/src/game/client/hl2/hl2_clientmode.cpp index 26650ce21e..a60dfd76fd 100644 --- a/sp/src/game/client/hl2/hl2_clientmode.cpp +++ b/sp/src/game/client/hl2/hl2_clientmode.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hl_in_main.cpp b/sp/src/game/client/hl2/hl_in_main.cpp index 7cdf4e0771..1b2d2ec5e5 100644 --- a/sp/src/game/client/hl2/hl_in_main.cpp +++ b/sp/src/game/client/hl2/hl_in_main.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: HL2 specific input handling // diff --git a/sp/src/game/client/hl2/hl_prediction.cpp b/sp/src/game/client/hl2/hl_prediction.cpp index 090598f0c1..47ce805e20 100644 --- a/sp/src/game/client/hl2/hl_prediction.cpp +++ b/sp/src/game/client/hl2/hl_prediction.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_ammo.cpp b/sp/src/game/client/hl2/hud_ammo.cpp index 9e9e913991..4f4f4c8a2f 100644 --- a/sp/src/game/client/hl2/hud_ammo.cpp +++ b/sp/src/game/client/hl2/hud_ammo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_autoaim.cpp b/sp/src/game/client/hl2/hud_autoaim.cpp index aa808acffa..4446e677c7 100644 --- a/sp/src/game/client/hl2/hud_autoaim.cpp +++ b/sp/src/game/client/hl2/hud_autoaim.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_battery.cpp b/sp/src/game/client/hl2/hud_battery.cpp index c07943c103..8f964e4314 100644 --- a/sp/src/game/client/hl2/hud_battery.cpp +++ b/sp/src/game/client/hl2/hud_battery.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_blood.cpp b/sp/src/game/client/hl2/hud_blood.cpp index e3528b5e65..5a4ff3c54d 100644 --- a/sp/src/game/client/hl2/hud_blood.cpp +++ b/sp/src/game/client/hl2/hud_blood.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_bonusprogress.cpp b/sp/src/game/client/hl2/hud_bonusprogress.cpp index c7569e05be..b2d01e7383 100644 --- a/sp/src/game/client/hl2/hud_bonusprogress.cpp +++ b/sp/src/game/client/hl2/hud_bonusprogress.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_credits.cpp b/sp/src/game/client/hl2/hud_credits.cpp index bf0e58fd6b..807f959f24 100644 --- a/sp/src/game/client/hl2/hud_credits.cpp +++ b/sp/src/game/client/hl2/hud_credits.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_damageindicator.cpp b/sp/src/game/client/hl2/hud_damageindicator.cpp index 48dd9b623b..d6534f64fd 100644 --- a/sp/src/game/client/hl2/hud_damageindicator.cpp +++ b/sp/src/game/client/hl2/hud_damageindicator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_filmdemo.cpp b/sp/src/game/client/hl2/hud_filmdemo.cpp index ca21a855f8..c050bce8d2 100644 --- a/sp/src/game/client/hl2/hud_filmdemo.cpp +++ b/sp/src/game/client/hl2/hud_filmdemo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_flashlight.cpp b/sp/src/game/client/hl2/hud_flashlight.cpp index 7c63f7a763..b5291e37f7 100644 --- a/sp/src/game/client/hl2/hud_flashlight.cpp +++ b/sp/src/game/client/hl2/hud_flashlight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_hdrdemo.cpp b/sp/src/game/client/hl2/hud_hdrdemo.cpp index eaaaf1fe20..844239e991 100644 --- a/sp/src/game/client/hl2/hud_hdrdemo.cpp +++ b/sp/src/game/client/hl2/hud_hdrdemo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_health.cpp b/sp/src/game/client/hl2/hud_health.cpp index c25da7b9bd..5b4d3b5dd6 100644 --- a/sp/src/game/client/hl2/hud_health.cpp +++ b/sp/src/game/client/hl2/hud_health.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_locator.cpp b/sp/src/game/client/hl2/hud_locator.cpp index 2b8dd880b3..423eb59354 100644 --- a/sp/src/game/client/hl2/hud_locator.cpp +++ b/sp/src/game/client/hl2/hud_locator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hud locator element, helps direct the player to objects in the world // diff --git a/sp/src/game/client/hl2/hud_poisondamageindicator.cpp b/sp/src/game/client/hl2/hud_poisondamageindicator.cpp index f0ed7ea6ec..2d2a8eb851 100644 --- a/sp/src/game/client/hl2/hud_poisondamageindicator.cpp +++ b/sp/src/game/client/hl2/hud_poisondamageindicator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_quickinfo.cpp b/sp/src/game/client/hl2/hud_quickinfo.cpp index 37db4c3107..c1761fa1a0 100644 --- a/sp/src/game/client/hl2/hud_quickinfo.cpp +++ b/sp/src/game/client/hl2/hud_quickinfo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_radar.cpp b/sp/src/game/client/hl2/hud_radar.cpp index 2f0fd7e91c..b8f11923ac 100644 --- a/sp/src/game/client/hl2/hud_radar.cpp +++ b/sp/src/game/client/hl2/hud_radar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_radar.h b/sp/src/game/client/hl2/hud_radar.h index 81134cae6a..dc382a0e80 100644 --- a/sp/src/game/client/hl2/hud_radar.h +++ b/sp/src/game/client/hl2/hud_radar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_suitpower.cpp b/sp/src/game/client/hl2/hud_suitpower.cpp index f1af00acfd..04bec12d70 100644 --- a/sp/src/game/client/hl2/hud_suitpower.cpp +++ b/sp/src/game/client/hl2/hud_suitpower.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_suitpower.h b/sp/src/game/client/hl2/hud_suitpower.h index 83af2be1c6..653a319011 100644 --- a/sp/src/game/client/hl2/hud_suitpower.h +++ b/sp/src/game/client/hl2/hud_suitpower.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_weaponselection.cpp b/sp/src/game/client/hl2/hud_weaponselection.cpp index b83d6429ab..3a857f1ee5 100644 --- a/sp/src/game/client/hl2/hud_weaponselection.cpp +++ b/sp/src/game/client/hl2/hud_weaponselection.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/hud_zoom.cpp b/sp/src/game/client/hl2/hud_zoom.cpp index 8b47e87974..097d3bbe19 100644 --- a/sp/src/game/client/hl2/hud_zoom.cpp +++ b/sp/src/game/client/hl2/hud_zoom.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/shieldproxy.cpp b/sp/src/game/client/hl2/shieldproxy.cpp index ff3a5820b5..dfee3d4f5f 100644 --- a/sp/src/game/client/hl2/shieldproxy.cpp +++ b/sp/src/game/client/hl2/shieldproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2/vgui_rootpanel_hl2.cpp b/sp/src/game/client/hl2/vgui_rootpanel_hl2.cpp index fbb952d724..d3685a7a4b 100644 --- a/sp/src/game/client/hl2/vgui_rootpanel_hl2.cpp +++ b/sp/src/game/client/hl2/vgui_rootpanel_hl2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/c_hl2mp_player.cpp b/sp/src/game/client/hl2mp/c_hl2mp_player.cpp index 49e55e293f..5ca2cbbb8a 100644 --- a/sp/src/game/client/hl2mp/c_hl2mp_player.cpp +++ b/sp/src/game/client/hl2mp/c_hl2mp_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL2. // diff --git a/sp/src/game/client/hl2mp/c_hl2mp_player.h b/sp/src/game/client/hl2mp/c_hl2mp_player.h index bac41977df..3c6bad2dc3 100644 --- a/sp/src/game/client/hl2mp/c_hl2mp_player.h +++ b/sp/src/game/client/hl2mp/c_hl2mp_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/c_te_hl2mp_shotgun_shot.cpp b/sp/src/game/client/hl2mp/c_te_hl2mp_shotgun_shot.cpp index 4283c3b02d..7e32abc75a 100644 --- a/sp/src/game/client/hl2mp/c_te_hl2mp_shotgun_shot.cpp +++ b/sp/src/game/client/hl2mp/c_te_hl2mp_shotgun_shot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.cpp b/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.cpp index 35bfd1c1fc..78f11bd296 100644 --- a/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.cpp +++ b/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws the normal TF2 or HL2 HUD. // diff --git a/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.h b/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.h index 2b06a6f86e..07a7e312f1 100644 --- a/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.h +++ b/sp/src/game/client/hl2mp/clientmode_hl2mpnormal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/hl2mp_hud_chat.cpp b/sp/src/game/client/hl2mp/hl2mp_hud_chat.cpp index 67f47148ea..c9729d8faf 100644 --- a/sp/src/game/client/hl2mp/hl2mp_hud_chat.cpp +++ b/sp/src/game/client/hl2mp/hl2mp_hud_chat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/hl2mp_hud_chat.h b/sp/src/game/client/hl2mp/hl2mp_hud_chat.h index 5eb2157cc6..a103e54fbd 100644 --- a/sp/src/game/client/hl2mp/hl2mp_hud_chat.h +++ b/sp/src/game/client/hl2mp/hl2mp_hud_chat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/hl2mp_hud_target_id.cpp b/sp/src/game/client/hl2mp/hl2mp_hud_target_id.cpp index dc7f164ee5..13643b5395 100644 --- a/sp/src/game/client/hl2mp/hl2mp_hud_target_id.cpp +++ b/sp/src/game/client/hl2mp/hl2mp_hud_target_id.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: HUD Target ID element // diff --git a/sp/src/game/client/hl2mp/hl2mp_hud_team.cpp b/sp/src/game/client/hl2mp/hl2mp_hud_team.cpp index c3f0c058c1..dea10f69b8 100644 --- a/sp/src/game/client/hl2mp/hl2mp_hud_team.cpp +++ b/sp/src/game/client/hl2mp/hl2mp_hud_team.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: HUD Target ID element // diff --git a/sp/src/game/client/hl2mp/hud_deathnotice.cpp b/sp/src/game/client/hl2mp/hud_deathnotice.cpp index cbdaa0249b..96c86c6bcf 100644 --- a/sp/src/game/client/hl2mp/hud_deathnotice.cpp +++ b/sp/src/game/client/hl2mp/hud_deathnotice.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws CSPort's death notices // diff --git a/sp/src/game/client/hl2mp/ui/backgroundpanel.cpp b/sp/src/game/client/hl2mp/ui/backgroundpanel.cpp index da35a96566..5804780170 100644 --- a/sp/src/game/client/hl2mp/ui/backgroundpanel.cpp +++ b/sp/src/game/client/hl2mp/ui/backgroundpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/ui/backgroundpanel.h b/sp/src/game/client/hl2mp/ui/backgroundpanel.h index 54cb2ca5d9..8aa6b4e766 100644 --- a/sp/src/game/client/hl2mp/ui/backgroundpanel.h +++ b/sp/src/game/client/hl2mp/ui/backgroundpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.cpp b/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.cpp index 941c976d48..70a564ee7b 100644 --- a/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.cpp +++ b/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.h b/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.h index d933658e8d..f6eb4af1a6 100644 --- a/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.h +++ b/sp/src/game/client/hl2mp/ui/hl2mpclientscoreboard.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/ui/hl2mptextwindow.cpp b/sp/src/game/client/hl2mp/ui/hl2mptextwindow.cpp index dcf5a07b6c..ac69febfc5 100644 --- a/sp/src/game/client/hl2mp/ui/hl2mptextwindow.cpp +++ b/sp/src/game/client/hl2mp/ui/hl2mptextwindow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hl2mp/ui/hl2mptextwindow.h b/sp/src/game/client/hl2mp/ui/hl2mptextwindow.h index 55e378ff29..93077600db 100644 --- a/sp/src/game/client/hl2mp/ui/hl2mptextwindow.h +++ b/sp/src/game/client/hl2mp/ui/hl2mptextwindow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hltvcamera.cpp b/sp/src/game/client/hltvcamera.cpp index 9754b99f15..da81d9d0be 100644 --- a/sp/src/game/client/hltvcamera.cpp +++ b/sp/src/game/client/hltvcamera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hltvcamera.h b/sp/src/game/client/hltvcamera.h index c98c9b7cf0..40618702cb 100644 --- a/sp/src/game/client/hltvcamera.h +++ b/sp/src/game/client/hltvcamera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud.cpp b/sp/src/game/client/hud.cpp index a7d77a32ed..751ec2eaad 100644 --- a/sp/src/game/client/hud.cpp +++ b/sp/src/game/client/hud.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud.h b/sp/src/game/client/hud.h index 52ff0580bf..9563ad8400 100644 --- a/sp/src/game/client/hud.h +++ b/sp/src/game/client/hud.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: CHud handles the message, calculation, and drawing the HUD // diff --git a/sp/src/game/client/hud_animationinfo.cpp b/sp/src/game/client/hud_animationinfo.cpp index 27949987d1..99297cb696 100644 --- a/sp/src/game/client/hud_animationinfo.cpp +++ b/sp/src/game/client/hud_animationinfo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_base_account.cpp b/sp/src/game/client/hud_base_account.cpp index 9d99a2c3c7..2f060907c1 100644 --- a/sp/src/game/client/hud_base_account.cpp +++ b/sp/src/game/client/hud_base_account.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_base_account.h b/sp/src/game/client/hud_base_account.h index b65e354e49..43f03ed85b 100644 --- a/sp/src/game/client/hud_base_account.h +++ b/sp/src/game/client/hud_base_account.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_basechat.cpp b/sp/src/game/client/hud_basechat.cpp index 69d67862a4..fd9fd07b64 100644 --- a/sp/src/game/client/hud_basechat.cpp +++ b/sp/src/game/client/hud_basechat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_basechat.h b/sp/src/game/client/hud_basechat.h index 90de8fbf9c..41ea69be86 100644 --- a/sp/src/game/client/hud_basechat.h +++ b/sp/src/game/client/hud_basechat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_basedeathnotice.cpp b/sp/src/game/client/hud_basedeathnotice.cpp index d732bd05fa..11851055d1 100644 --- a/sp/src/game/client/hud_basedeathnotice.cpp +++ b/sp/src/game/client/hud_basedeathnotice.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws CSPort's death notices // diff --git a/sp/src/game/client/hud_basedeathnotice.h b/sp/src/game/client/hud_basedeathnotice.h index 2a9da0c5a6..59a1967bb0 100644 --- a/sp/src/game/client/hud_basedeathnotice.h +++ b/sp/src/game/client/hud_basedeathnotice.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_basetimer.cpp b/sp/src/game/client/hud_basetimer.cpp index d666268c12..f86bb6ea19 100644 --- a/sp/src/game/client/hud_basetimer.cpp +++ b/sp/src/game/client/hud_basetimer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Draws a timer in the format "Minutes:Seconds" // Seconds are padded with zeros diff --git a/sp/src/game/client/hud_basetimer.h b/sp/src/game/client/hud_basetimer.h index f407b1310e..1c61814f82 100644 --- a/sp/src/game/client/hud_basetimer.h +++ b/sp/src/game/client/hud_basetimer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_bitmapnumericdisplay.cpp b/sp/src/game/client/hud_bitmapnumericdisplay.cpp index e2a176814a..622e2aa84b 100644 --- a/sp/src/game/client/hud_bitmapnumericdisplay.cpp +++ b/sp/src/game/client/hud_bitmapnumericdisplay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_bitmapnumericdisplay.h b/sp/src/game/client/hud_bitmapnumericdisplay.h index f35d7538b5..80a03f38be 100644 --- a/sp/src/game/client/hud_bitmapnumericdisplay.h +++ b/sp/src/game/client/hud_bitmapnumericdisplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_chat.cpp b/sp/src/game/client/hud_chat.cpp index e2c3fcdc22..32b7a06b8b 100644 --- a/sp/src/game/client/hud_chat.cpp +++ b/sp/src/game/client/hud_chat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_chat.h b/sp/src/game/client/hud_chat.h index ff968fdcd5..1aebb6705d 100644 --- a/sp/src/game/client/hud_chat.h +++ b/sp/src/game/client/hud_chat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_closecaption.cpp b/sp/src/game/client/hud_closecaption.cpp index 5fdfdfa125..de389737c0 100644 --- a/sp/src/game/client/hud_closecaption.cpp +++ b/sp/src/game/client/hud_closecaption.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_closecaption.h b/sp/src/game/client/hud_closecaption.h index 8688e60e04..17ed36f0c8 100644 --- a/sp/src/game/client/hud_closecaption.h +++ b/sp/src/game/client/hud_closecaption.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_controlpointicons.cpp b/sp/src/game/client/hud_controlpointicons.cpp index cc446c8341..25216b2a8e 100644 --- a/sp/src/game/client/hud_controlpointicons.cpp +++ b/sp/src/game/client/hud_controlpointicons.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_controlpointicons.h b/sp/src/game/client/hud_controlpointicons.h index c660ca7323..363d014db8 100644 --- a/sp/src/game/client/hud_controlpointicons.h +++ b/sp/src/game/client/hud_controlpointicons.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_controlpointpanel.cpp b/sp/src/game/client/hud_controlpointpanel.cpp index 2d50a073c4..e63a6a5c2a 100644 --- a/sp/src/game/client/hud_controlpointpanel.cpp +++ b/sp/src/game/client/hud_controlpointpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_crosshair.cpp b/sp/src/game/client/hud_crosshair.cpp index fc7714fef3..3a1f698821 100644 --- a/sp/src/game/client/hud_crosshair.cpp +++ b/sp/src/game/client/hud_crosshair.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_crosshair.h b/sp/src/game/client/hud_crosshair.h index 7952db29a2..0abf93c756 100644 --- a/sp/src/game/client/hud_crosshair.h +++ b/sp/src/game/client/hud_crosshair.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_element_helper.cpp b/sp/src/game/client/hud_element_helper.cpp index fce62e7286..f5481a20e6 100644 --- a/sp/src/game/client/hud_element_helper.cpp +++ b/sp/src/game/client/hud_element_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper for the CHudElement class to add themselves to the list of hud elements // diff --git a/sp/src/game/client/hud_element_helper.h b/sp/src/game/client/hud_element_helper.h index 848a23ed4c..e162cf6e6e 100644 --- a/sp/src/game/client/hud_element_helper.h +++ b/sp/src/game/client/hud_element_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper for the CHudElement class to add themselves to the list of hud elements // diff --git a/sp/src/game/client/hud_hintdisplay.cpp b/sp/src/game/client/hud_hintdisplay.cpp index 50ab208a22..ce54dd7d7c 100644 --- a/sp/src/game/client/hud_hintdisplay.cpp +++ b/sp/src/game/client/hud_hintdisplay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_lcd.cpp b/sp/src/game/client/hud_lcd.cpp index d0425d6b80..71f2d2b229 100644 --- a/sp/src/game/client/hud_lcd.cpp +++ b/sp/src/game/client/hud_lcd.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: LCD support // diff --git a/sp/src/game/client/hud_lcd.h b/sp/src/game/client/hud_lcd.h index f7fd4c90c6..0011d2dd55 100644 --- a/sp/src/game/client/hud_lcd.h +++ b/sp/src/game/client/hud_lcd.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: CLCD Manages the Logitech G-Series Gaming Keyboard LCD // diff --git a/sp/src/game/client/hud_macros.h b/sp/src/game/client/hud_macros.h index 667ef64338..b14260b68e 100644 --- a/sp/src/game/client/hud_macros.h +++ b/sp/src/game/client/hud_macros.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_msg.cpp b/sp/src/game/client/hud_msg.cpp index e39e43bfdb..e901db61bc 100644 --- a/sp/src/game/client/hud_msg.cpp +++ b/sp/src/game/client/hud_msg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_numericdisplay.cpp b/sp/src/game/client/hud_numericdisplay.cpp index de9c84f1b1..6878df35c1 100644 --- a/sp/src/game/client/hud_numericdisplay.cpp +++ b/sp/src/game/client/hud_numericdisplay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_numericdisplay.h b/sp/src/game/client/hud_numericdisplay.h index b004f91826..2963935473 100644 --- a/sp/src/game/client/hud_numericdisplay.h +++ b/sp/src/game/client/hud_numericdisplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_pdump.cpp b/sp/src/game/client/hud_pdump.cpp index 56ac16f4d5..349cd8143f 100644 --- a/sp/src/game/client/hud_pdump.cpp +++ b/sp/src/game/client/hud_pdump.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_pdump.h b/sp/src/game/client/hud_pdump.h index 83af436ecc..9ceee90b78 100644 --- a/sp/src/game/client/hud_pdump.h +++ b/sp/src/game/client/hud_pdump.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_posture.cpp b/sp/src/game/client/hud_posture.cpp index 0e76cf2723..ce8efff478 100644 --- a/sp/src/game/client/hud_posture.cpp +++ b/sp/src/game/client/hud_posture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_redraw.cpp b/sp/src/game/client/hud_redraw.cpp index 37f1531cd7..58c8170162 100644 --- a/sp/src/game/client/hud_redraw.cpp +++ b/sp/src/game/client/hud_redraw.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_squadstatus.cpp b/sp/src/game/client/hud_squadstatus.cpp index 3abcd0c79c..b55c15dfd2 100644 --- a/sp/src/game/client/hud_squadstatus.cpp +++ b/sp/src/game/client/hud_squadstatus.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_vehicle.cpp b/sp/src/game/client/hud_vehicle.cpp index e224df6e30..b4953974ba 100644 --- a/sp/src/game/client/hud_vehicle.cpp +++ b/sp/src/game/client/hud_vehicle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_vehicle.h b/sp/src/game/client/hud_vehicle.h index 8dddf88023..c7be4323cf 100644 --- a/sp/src/game/client/hud_vehicle.h +++ b/sp/src/game/client/hud_vehicle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_vguiscreencursor.cpp b/sp/src/game/client/hud_vguiscreencursor.cpp index bb453390e1..daa3dba1a5 100644 --- a/sp/src/game/client/hud_vguiscreencursor.cpp +++ b/sp/src/game/client/hud_vguiscreencursor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_voicestatus.cpp b/sp/src/game/client/hud_voicestatus.cpp index 3095c13a26..77d7a82307 100644 --- a/sp/src/game/client/hud_voicestatus.cpp +++ b/sp/src/game/client/hud_voicestatus.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_vote.cpp b/sp/src/game/client/hud_vote.cpp index 659669a0b1..8882e31546 100644 --- a/sp/src/game/client/hud_vote.cpp +++ b/sp/src/game/client/hud_vote.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //===========================================================================// diff --git a/sp/src/game/client/hud_vote.h b/sp/src/game/client/hud_vote.h index 91ba1e9b6d..7ff24abf33 100644 --- a/sp/src/game/client/hud_vote.h +++ b/sp/src/game/client/hud_vote.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hud_weapon.cpp b/sp/src/game/client/hud_weapon.cpp index cf63f337be..f337f52774 100644 --- a/sp/src/game/client/hud_weapon.cpp +++ b/sp/src/game/client/hud_weapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hudelement.h b/sp/src/game/client/hudelement.h index 824cb97558..e9849c3894 100644 --- a/sp/src/game/client/hudelement.h +++ b/sp/src/game/client/hudelement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/hudtexturehandle.h b/sp/src/game/client/hudtexturehandle.h index 2e1ef794c9..d61a703911 100644 --- a/sp/src/game/client/hudtexturehandle.h +++ b/sp/src/game/client/hudtexturehandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iclassmap.h b/sp/src/game/client/iclassmap.h index 78ac84c983..e93186882b 100644 --- a/sp/src/game/client/iclassmap.h +++ b/sp/src/game/client/iclassmap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/icliententityinternal.h b/sp/src/game/client/icliententityinternal.h index be4dfc9011..53e5af51c0 100644 --- a/sp/src/game/client/icliententityinternal.h +++ b/sp/src/game/client/icliententityinternal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iclientmode.h b/sp/src/game/client/iclientmode.h index 38b60047aa..a3d18c8084 100644 --- a/sp/src/game/client/iclientmode.h +++ b/sp/src/game/client/iclientmode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iclientshadowmgr.h b/sp/src/game/client/iclientshadowmgr.h index df8f9352e7..6ddd61977f 100644 --- a/sp/src/game/client/iclientshadowmgr.h +++ b/sp/src/game/client/iclientshadowmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iclientvehicle.h b/sp/src/game/client/iclientvehicle.h index d5d526dbb9..affba51cab 100644 --- a/sp/src/game/client/iclientvehicle.h +++ b/sp/src/game/client/iclientvehicle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iconsole.h b/sp/src/game/client/iconsole.h index fad7fcc9c4..f930acf292 100644 --- a/sp/src/game/client/iconsole.h +++ b/sp/src/game/client/iconsole.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/idebugoverlaypanel.h b/sp/src/game/client/idebugoverlaypanel.h index dc06948ed4..32a3372f03 100644 --- a/sp/src/game/client/idebugoverlaypanel.h +++ b/sp/src/game/client/idebugoverlaypanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ifpspanel.h b/sp/src/game/client/ifpspanel.h index cc5fb0ff85..73cc6e07f6 100644 --- a/sp/src/game/client/ifpspanel.h +++ b/sp/src/game/client/ifpspanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ihudlcd.h b/sp/src/game/client/ihudlcd.h index ff1d819319..5ef3327583 100644 --- a/sp/src/game/client/ihudlcd.h +++ b/sp/src/game/client/ihudlcd.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iinput.h b/sp/src/game/client/iinput.h index 0a2aa70e00..865001dad9 100644 --- a/sp/src/game/client/iinput.h +++ b/sp/src/game/client/iinput.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iloadingdisc.h b/sp/src/game/client/iloadingdisc.h index 5929b49678..761756aa4f 100644 --- a/sp/src/game/client/iloadingdisc.h +++ b/sp/src/game/client/iloadingdisc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/imessagechars.h b/sp/src/game/client/imessagechars.h index af390909b0..01b9667efe 100644 --- a/sp/src/game/client/imessagechars.h +++ b/sp/src/game/client/imessagechars.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/in_camera.cpp b/sp/src/game/client/in_camera.cpp index aa010732ef..99c537326b 100644 --- a/sp/src/game/client/in_camera.cpp +++ b/sp/src/game/client/in_camera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/in_forcefeedback.cpp b/sp/src/game/client/in_forcefeedback.cpp index 23fa5445e1..cb0df9fb53 100644 --- a/sp/src/game/client/in_forcefeedback.cpp +++ b/sp/src/game/client/in_forcefeedback.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Force feeback OS level handlers // diff --git a/sp/src/game/client/in_joystick.cpp b/sp/src/game/client/in_joystick.cpp index a2f73ee54e..f97cf3cef9 100644 --- a/sp/src/game/client/in_joystick.cpp +++ b/sp/src/game/client/in_joystick.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Joystick handling function // diff --git a/sp/src/game/client/in_main.cpp b/sp/src/game/client/in_main.cpp index 2cd8a6b5c8..ca276cacae 100644 --- a/sp/src/game/client/in_main.cpp +++ b/sp/src/game/client/in_main.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: builds an intended movement command to send to the server // diff --git a/sp/src/game/client/in_main.h b/sp/src/game/client/in_main.h index 2e8fb9a511..3ae735042e 100644 --- a/sp/src/game/client/in_main.h +++ b/sp/src/game/client/in_main.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/in_mouse.cpp b/sp/src/game/client/in_mouse.cpp index bcf715a1b0..3b7831f38f 100644 --- a/sp/src/game/client/in_mouse.cpp +++ b/sp/src/game/client/in_mouse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Mouse input routines // diff --git a/sp/src/game/client/inetgraphpanel.h b/sp/src/game/client/inetgraphpanel.h index f53d238fe4..c6feb7f168 100644 --- a/sp/src/game/client/inetgraphpanel.h +++ b/sp/src/game/client/inetgraphpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/initializer.cpp b/sp/src/game/client/initializer.cpp index 19ccba6f0d..14b757b489 100644 --- a/sp/src/game/client/initializer.cpp +++ b/sp/src/game/client/initializer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/initializer.h b/sp/src/game/client/initializer.h index 949368c870..41b81df39f 100644 --- a/sp/src/game/client/initializer.h +++ b/sp/src/game/client/initializer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/input.h b/sp/src/game/client/input.h index e34b82db24..2c6d4decfe 100644 --- a/sp/src/game/client/input.h +++ b/sp/src/game/client/input.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/interpolatedvar.cpp b/sp/src/game/client/interpolatedvar.cpp index 44caf80888..a3f07a0d13 100644 --- a/sp/src/game/client/interpolatedvar.cpp +++ b/sp/src/game/client/interpolatedvar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/interpolatedvar.h b/sp/src/game/client/interpolatedvar.h index f0edb585e2..b41d29b103 100644 --- a/sp/src/game/client/interpolatedvar.h +++ b/sp/src/game/client/interpolatedvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ipresence.h b/sp/src/game/client/ipresence.h index e61cb31539..7917e3a879 100644 --- a/sp/src/game/client/ipresence.h +++ b/sp/src/game/client/ipresence.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface for setting Rich Presence contexts and properties. // diff --git a/sp/src/game/client/iprofiling.h b/sp/src/game/client/iprofiling.h index 76237d188d..64ed35d9f6 100644 --- a/sp/src/game/client/iprofiling.h +++ b/sp/src/game/client/iprofiling.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/itextmessage.h b/sp/src/game/client/itextmessage.h index 6117d50241..5a7160970e 100644 --- a/sp/src/game/client/itextmessage.h +++ b/sp/src/game/client/itextmessage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ivieweffects.h b/sp/src/game/client/ivieweffects.h index 77b772eb14..b101be99be 100644 --- a/sp/src/game/client/ivieweffects.h +++ b/sp/src/game/client/ivieweffects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iviewrender.h b/sp/src/game/client/iviewrender.h index 8d797dea53..fe8e3e04dc 100644 --- a/sp/src/game/client/iviewrender.h +++ b/sp/src/game/client/iviewrender.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/iviewrender_beams.h b/sp/src/game/client/iviewrender_beams.h index 9718e3b267..9ef6e7cb15 100644 --- a/sp/src/game/client/iviewrender_beams.h +++ b/sp/src/game/client/iviewrender_beams.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ivmodemanager.h b/sp/src/game/client/ivmodemanager.h index 69d279928a..19c3f7046e 100644 --- a/sp/src/game/client/ivmodemanager.h +++ b/sp/src/game/client/ivmodemanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/kbutton.h b/sp/src/game/client/kbutton.h index c3dc2abd61..b4bbef1530 100644 --- a/sp/src/game/client/kbutton.h +++ b/sp/src/game/client/kbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/lampbeamproxy.cpp b/sp/src/game/client/lampbeamproxy.cpp index 38140d75d4..bd579b2dc8 100644 --- a/sp/src/game/client/lampbeamproxy.cpp +++ b/sp/src/game/client/lampbeamproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/lamphaloproxy.cpp b/sp/src/game/client/lamphaloproxy.cpp index 2b5ab3090c..661302ac12 100644 --- a/sp/src/game/client/lamphaloproxy.cpp +++ b/sp/src/game/client/lamphaloproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/lerp_functions.h b/sp/src/game/client/lerp_functions.h index 198cb679af..a2217568cb 100644 --- a/sp/src/game/client/lerp_functions.h +++ b/sp/src/game/client/lerp_functions.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/mapbase/vscript_vgui.cpp b/sp/src/game/client/mapbase/vscript_vgui.cpp index 805d330514..c679d6e258 100644 --- a/sp/src/game/client/mapbase/vscript_vgui.cpp +++ b/sp/src/game/client/mapbase/vscript_vgui.cpp @@ -1031,7 +1031,7 @@ void CScriptSurface::DrawColoredTextRect( int font, int x, int y, int w, int h, #define __base() this->_base #define BEGIN_SCRIPTDESC_VGUI( panelClass )\ - BEGIN_SCRIPTDESC_NAMED( CScript_##panelClass##_Helper, IScriptVGUIObject, #panelClass, "" )\ + BEGIN_SCRIPTDESC_NAMED_WITH_HELPER( CScript_##panelClass##_Helper, IScriptVGUIObject, #panelClass, "", VGUI_SCRIPT_INSTANCE_HELPER )\ DEFINE_VGUI_SCRIPTFUNC_##panelClass() // @@ -1235,9 +1235,9 @@ class CScriptVGUIScriptInstanceHelper : public IScriptInstanceHelper static CScriptVGUIScriptInstanceHelper g_ScriptVGUIScriptInstanceHelper; -#define DEFINE_VGUI_SCRIPT_INSTANCE_HELPER() DEFINE_SCRIPT_INSTANCE_HELPER( &g_ScriptVGUIScriptInstanceHelper ) +#define VGUI_SCRIPT_INSTANCE_HELPER &g_ScriptVGUIScriptInstanceHelper #else -#define DEFINE_VGUI_SCRIPT_INSTANCE_HELPER() +#define VGUI_SCRIPT_INSTANCE_HELPER NULL #endif @@ -1866,8 +1866,6 @@ CLASS_HELPER_INTERFACE_ROOT( Panel ) }; #define DEFINE_VGUI_SCRIPTFUNC_Panel()\ - DEFINE_VGUI_SCRIPT_INSTANCE_HELPER()\ -\ DEFINE_SCRIPTFUNC( Destroy, "" )\ DEFINE_SCRIPTFUNC( MakeReadyForUse, "" )\ DEFINE_SCRIPTFUNC( GetName, "" )\ diff --git a/sp/src/game/client/mathproxy.cpp b/sp/src/game/client/mathproxy.cpp index 2dccb7ca12..656506cbd3 100644 --- a/sp/src/game/client/mathproxy.cpp +++ b/sp/src/game/client/mathproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/matrixproxy.cpp b/sp/src/game/client/matrixproxy.cpp index b16bac1c79..b12fbdfa11 100644 --- a/sp/src/game/client/matrixproxy.cpp +++ b/sp/src/game/client/matrixproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/menu.cpp b/sp/src/game/client/menu.cpp index f5ee316927..f4ac27ec22 100644 --- a/sp/src/game/client/menu.cpp +++ b/sp/src/game/client/menu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/menu.h b/sp/src/game/client/menu.h index 0b3ae9a7cb..7d71144adf 100644 --- a/sp/src/game/client/menu.h +++ b/sp/src/game/client/menu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/message.cpp b/sp/src/game/client/message.cpp index 176b88ff9e..7704d137f8 100644 --- a/sp/src/game/client/message.cpp +++ b/sp/src/game/client/message.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/movehelper_client.cpp b/sp/src/game/client/movehelper_client.cpp index 35cc660f32..e9efb1ecaa 100644 --- a/sp/src/game/client/movehelper_client.cpp +++ b/sp/src/game/client/movehelper_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/movehelper_client.h b/sp/src/game/client/movehelper_client.h index f711b11999..2bbe09eff6 100644 --- a/sp/src/game/client/movehelper_client.h +++ b/sp/src/game/client/movehelper_client.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/mp3player.cpp b/sp/src/game/client/mp3player.cpp index 929419ddd6..ae8436e88b 100644 --- a/sp/src/game/client/mp3player.cpp +++ b/sp/src/game/client/mp3player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A simple .mp3 player example // diff --git a/sp/src/game/client/mp3player.h b/sp/src/game/client/mp3player.h index aaaee912d7..a7298a6e90 100644 --- a/sp/src/game/client/mp3player.h +++ b/sp/src/game/client/mp3player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/mumble.cpp b/sp/src/game/client/mumble.cpp index 8e58bc22b4..ec3c34abae 100644 --- a/sp/src/game/client/mumble.cpp +++ b/sp/src/game/client/mumble.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provides an interface to enable positional audio support in Mumble // diff --git a/sp/src/game/client/mumble.h b/sp/src/game/client/mumble.h index 114353b718..4baf3282fb 100644 --- a/sp/src/game/client/mumble.h +++ b/sp/src/game/client/mumble.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains an interface to enable positional audio support in Mumble // diff --git a/sp/src/game/client/networkstringtable_clientdll.h b/sp/src/game/client/networkstringtable_clientdll.h index 006817c887..e4ce4ee7a5 100644 --- a/sp/src/game/client/networkstringtable_clientdll.h +++ b/sp/src/game/client/networkstringtable_clientdll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/panelmetaclassmgr.cpp b/sp/src/game/client/panelmetaclassmgr.cpp index 6f0b50d076..2942cc5746 100644 --- a/sp/src/game/client/panelmetaclassmgr.cpp +++ b/sp/src/game/client/panelmetaclassmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A panel "metaclass" is a name given to a particular type of // panel with particular instance data. Such panels tend to be dynamically diff --git a/sp/src/game/client/panelmetaclassmgr.h b/sp/src/game/client/panelmetaclassmgr.h index a1f938e6ed..07950f4d34 100644 --- a/sp/src/game/client/panelmetaclassmgr.h +++ b/sp/src/game/client/panelmetaclassmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A panel "metaclass" is a name given to a particular type of // panel with particular instance data. Such panels tend to be dynamically diff --git a/sp/src/game/client/particle_collision.cpp b/sp/src/game/client/particle_collision.cpp index 5da0ac14e0..4fd5a17424 100644 --- a/sp/src/game/client/particle_collision.cpp +++ b/sp/src/game/client/particle_collision.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Local fast collision system for particles // diff --git a/sp/src/game/client/particle_collision.h b/sp/src/game/client/particle_collision.h index 159a7a3650..ef389bdfe8 100644 --- a/sp/src/game/client/particle_collision.h +++ b/sp/src/game/client/particle_collision.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_iterators.h b/sp/src/game/client/particle_iterators.h index f38e4c49a5..368128cede 100644 --- a/sp/src/game/client/particle_iterators.h +++ b/sp/src/game/client/particle_iterators.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side CTFTeam class // diff --git a/sp/src/game/client/particle_litsmokeemitter.cpp b/sp/src/game/client/particle_litsmokeemitter.cpp index 4d6398c2b1..97a8df5cce 100644 --- a/sp/src/game/client/particle_litsmokeemitter.cpp +++ b/sp/src/game/client/particle_litsmokeemitter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_litsmokeemitter.h b/sp/src/game/client/particle_litsmokeemitter.h index 4c65cfeb98..717fb694e1 100644 --- a/sp/src/game/client/particle_litsmokeemitter.h +++ b/sp/src/game/client/particle_litsmokeemitter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_prototype.cpp b/sp/src/game/client/particle_prototype.cpp index d8de1a5f07..c142d9233c 100644 --- a/sp/src/game/client/particle_prototype.cpp +++ b/sp/src/game/client/particle_prototype.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_prototype.h b/sp/src/game/client/particle_prototype.h index ff4d690ade..ba4b770af8 100644 --- a/sp/src/game/client/particle_prototype.h +++ b/sp/src/game/client/particle_prototype.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_proxies.cpp b/sp/src/game/client/particle_proxies.cpp index 0e98330e3d..4b64c51224 100644 --- a/sp/src/game/client/particle_proxies.cpp +++ b/sp/src/game/client/particle_proxies.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This module implements all the proxies used by the particle systems. // diff --git a/sp/src/game/client/particle_simple3d.cpp b/sp/src/game/client/particle_simple3d.cpp index 99eef91ddc..53333015c9 100644 --- a/sp/src/game/client/particle_simple3d.cpp +++ b/sp/src/game/client/particle_simple3d.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_simple3d.h b/sp/src/game/client/particle_simple3d.h index 177ea42af5..1b7a62b6c0 100644 --- a/sp/src/game/client/particle_simple3d.h +++ b/sp/src/game/client/particle_simple3d.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particle_util.h b/sp/src/game/client/particle_util.h index d96ef3f1dd..2c85bb8858 100644 --- a/sp/src/game/client/particle_util.h +++ b/sp/src/game/client/particle_util.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particledraw.h b/sp/src/game/client/particledraw.h index e52788b3a6..dbc94d312f 100644 --- a/sp/src/game/client/particledraw.h +++ b/sp/src/game/client/particledraw.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particlemgr.cpp b/sp/src/game/client/particlemgr.cpp index b37a200038..479d5ec609 100644 --- a/sp/src/game/client/particlemgr.cpp +++ b/sp/src/game/client/particlemgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particlemgr.h b/sp/src/game/client/particlemgr.h index ee86e515c3..02b0a8b295 100644 --- a/sp/src/game/client/particlemgr.h +++ b/sp/src/game/client/particlemgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_attractor.cpp b/sp/src/game/client/particles_attractor.cpp index 3b52fb58f7..adcc5c6ffe 100644 --- a/sp/src/game/client/particles_attractor.cpp +++ b/sp/src/game/client/particles_attractor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_attractor.h b/sp/src/game/client/particles_attractor.h index 077376f222..5c96f79ee7 100644 --- a/sp/src/game/client/particles_attractor.h +++ b/sp/src/game/client/particles_attractor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_ez.cpp b/sp/src/game/client/particles_ez.cpp index d45d4c78ae..3593b1312c 100644 --- a/sp/src/game/client/particles_ez.cpp +++ b/sp/src/game/client/particles_ez.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_ez.h b/sp/src/game/client/particles_ez.h index cb82198f2a..bfa7394228 100644 --- a/sp/src/game/client/particles_ez.h +++ b/sp/src/game/client/particles_ez.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_localspace.cpp b/sp/src/game/client/particles_localspace.cpp index 5a426018dc..535393d480 100644 --- a/sp/src/game/client/particles_localspace.cpp +++ b/sp/src/game/client/particles_localspace.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Particles which are simulated locally to some space (attachment, bone, etc) // diff --git a/sp/src/game/client/particles_localspace.h b/sp/src/game/client/particles_localspace.h index 8b2a5a4b00..468eacad27 100644 --- a/sp/src/game/client/particles_localspace.h +++ b/sp/src/game/client/particles_localspace.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_new.cpp b/sp/src/game/client/particles_new.cpp index d3dc659967..447119aee0 100644 --- a/sp/src/game/client/particles_new.cpp +++ b/sp/src/game/client/particles_new.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_new.h b/sp/src/game/client/particles_new.h index eb80f93a57..310fc46c8d 100644 --- a/sp/src/game/client/particles_new.h +++ b/sp/src/game/client/particles_new.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: provide client-side access to the new particle system, with similar // usage to CSimpleEmitter diff --git a/sp/src/game/client/particles_simple.cpp b/sp/src/game/client/particles_simple.cpp index 20500b32a7..7c9368e3e7 100644 --- a/sp/src/game/client/particles_simple.cpp +++ b/sp/src/game/client/particles_simple.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particles_simple.h b/sp/src/game/client/particles_simple.h index 4b30f110ea..bc908e7383 100644 --- a/sp/src/game/client/particles_simple.h +++ b/sp/src/game/client/particles_simple.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particlesphererenderer.cpp b/sp/src/game/client/particlesphererenderer.cpp index f995ee1343..7cdec16064 100644 --- a/sp/src/game/client/particlesphererenderer.cpp +++ b/sp/src/game/client/particlesphererenderer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/particlesphererenderer.h b/sp/src/game/client/particlesphererenderer.h index ac0f96b4d0..9f5aeb889e 100644 --- a/sp/src/game/client/particlesphererenderer.h +++ b/sp/src/game/client/particlesphererenderer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/perfvisualbenchmark.cpp b/sp/src/game/client/perfvisualbenchmark.cpp index 29eb1fdf8c..007ab468c9 100644 --- a/sp/src/game/client/perfvisualbenchmark.cpp +++ b/sp/src/game/client/perfvisualbenchmark.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/perfvisualbenchmark.h b/sp/src/game/client/perfvisualbenchmark.h index 7714b5271c..15d99f2476 100644 --- a/sp/src/game/client/perfvisualbenchmark.h +++ b/sp/src/game/client/perfvisualbenchmark.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/physics.cpp b/sp/src/game/client/physics.cpp index fb182ab067..060eb14a49 100644 --- a/sp/src/game/client/physics.cpp +++ b/sp/src/game/client/physics.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/physics.h b/sp/src/game/client/physics.h index 9da17e0359..57bf8ff38e 100644 --- a/sp/src/game/client/physics.h +++ b/sp/src/game/client/physics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: insulates client DLL from dependencies on vphysics // diff --git a/sp/src/game/client/physics_main_client.cpp b/sp/src/game/client/physics_main_client.cpp index ebc392e2b3..542c029169 100644 --- a/sp/src/game/client/physics_main_client.cpp +++ b/sp/src/game/client/physics_main_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/physpropclientside.cpp b/sp/src/game/client/physpropclientside.cpp index 3db90618a3..45bd37de16 100644 --- a/sp/src/game/client/physpropclientside.cpp +++ b/sp/src/game/client/physpropclientside.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/physpropclientside.h b/sp/src/game/client/physpropclientside.h index b305fbf0d5..6df0f56bfa 100644 --- a/sp/src/game/client/physpropclientside.h +++ b/sp/src/game/client/physpropclientside.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/playerandobjectenumerator.cpp b/sp/src/game/client/playerandobjectenumerator.cpp index 4868b50aa5..09680f2f6b 100644 --- a/sp/src/game/client/playerandobjectenumerator.cpp +++ b/sp/src/game/client/playerandobjectenumerator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/playerandobjectenumerator.h b/sp/src/game/client/playerandobjectenumerator.h index 0f6fa2d378..e445a3ddb5 100644 --- a/sp/src/game/client/playerandobjectenumerator.h +++ b/sp/src/game/client/playerandobjectenumerator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/playerenumerator.h b/sp/src/game/client/playerenumerator.h index 974fb7d471..77db6dea18 100644 --- a/sp/src/game/client/playerenumerator.h +++ b/sp/src/game/client/playerenumerator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/playerspawncache.cpp b/sp/src/game/client/playerspawncache.cpp index 7c5d4cfa92..60a80f0e3f 100644 --- a/sp/src/game/client/playerspawncache.cpp +++ b/sp/src/game/client/playerspawncache.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/playerspawncache.h b/sp/src/game/client/playerspawncache.h index 0669c56503..bfd10585dc 100644 --- a/sp/src/game/client/playerspawncache.h +++ b/sp/src/game/client/playerspawncache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- @@ -15,21 +15,21 @@ //-------------------------------------------------------------------------------- // -// I’m not sure if player spawn cache is the most descriptive name, but essentially +// I�m not sure if player spawn cache is the most descriptive name, but essentially // there is a singleton instance of CPlayerSpawnCache for the local player which has // a set of counters/pointers/etc. that get cleared every time a map loads. This -// can be useful for situations where a player’s net connection chokes and they get +// can be useful for situations where a player�s net connection chokes and they get // a full update, which recreates their C_TF_Player entirely or otherwise invalidates -// a bunch of data in the local player. I believe it’s already known that there is +// a bunch of data in the local player. I believe it�s already known that there is // a class of bugs stemming from this behavior. // // Right now the cache is used as a way to display a message to the player if they -// connect to a server that’s recording replays. As soon as they choose their player -// class, a counter is checked, and if it’s zero the message is displayed. The counter +// connect to a server that�s recording replays. As soon as they choose their player +// class, a counter is checked, and if it�s zero the message is displayed. The counter // is then incremented. This is a sort of odd use for it actually. A better example -// would be what I’m going to do next, which is that if the player’s net connection +// would be what I�m going to do next, which is that if the player�s net connection // chokes (or if you host_timescale at too great a speed and cause a full update on the -// client), the replay system will think that you’ve already saved a replay for that life. +// client), the replay system will think that you�ve already saved a replay for that life. // So this example will be a perfect time to use the player spawn cache because you can // maintain some level of persistence in the face of your entire local player getting // nuked. diff --git a/sp/src/game/client/prediction.cpp b/sp/src/game/client/prediction.cpp index 6d3a0439a1..6badaf46bb 100644 --- a/sp/src/game/client/prediction.cpp +++ b/sp/src/game/client/prediction.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/prediction.h b/sp/src/game/client/prediction.h index 1a77f0ab75..f110d464b5 100644 --- a/sp/src/game/client/prediction.h +++ b/sp/src/game/client/prediction.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/prediction_private.h b/sp/src/game/client/prediction_private.h index 9f1832cebf..44b2590451 100644 --- a/sp/src/game/client/prediction_private.h +++ b/sp/src/game/client/prediction_private.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/proxyentity.cpp b/sp/src/game/client/proxyentity.cpp index d2a972ee1e..a697643276 100644 --- a/sp/src/game/client/proxyentity.cpp +++ b/sp/src/game/client/proxyentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/proxyentity.h b/sp/src/game/client/proxyentity.h index 5084a4e833..da1c65ffdf 100644 --- a/sp/src/game/client/proxyentity.h +++ b/sp/src/game/client/proxyentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A base class for all material proxies in the client dll // diff --git a/sp/src/game/client/proxyplayer.cpp b/sp/src/game/client/proxyplayer.cpp index 5fa7f1bcc9..b7e69cd3ec 100644 --- a/sp/src/game/client/proxyplayer.cpp +++ b/sp/src/game/client/proxyplayer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/proxypupil.cpp b/sp/src/game/client/proxypupil.cpp index 9fe9b8f023..98a9ed7ed6 100644 --- a/sp/src/game/client/proxypupil.cpp +++ b/sp/src/game/client/proxypupil.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ragdoll.cpp b/sp/src/game/client/ragdoll.cpp index 1e044a1d76..c504532b1f 100644 --- a/sp/src/game/client/ragdoll.cpp +++ b/sp/src/game/client/ragdoll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ragdoll.h b/sp/src/game/client/ragdoll.h index 6f5056f68a..55e37fa4ee 100644 --- a/sp/src/game/client/ragdoll.h +++ b/sp/src/game/client/ragdoll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/ragdollexplosionenumerator.h b/sp/src/game/client/ragdollexplosionenumerator.h index a027e19376..c780a17082 100644 --- a/sp/src/game/client/ragdollexplosionenumerator.h +++ b/sp/src/game/client/ragdollexplosionenumerator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/recvproxy.cpp b/sp/src/game/client/recvproxy.cpp index 24779dafa4..3a1ba34a9e 100644 --- a/sp/src/game/client/recvproxy.cpp +++ b/sp/src/game/client/recvproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implements various common send proxies // diff --git a/sp/src/game/client/recvproxy.h b/sp/src/game/client/recvproxy.h index 67d5d52e01..39e1fe0e85 100644 --- a/sp/src/game/client/recvproxy.h +++ b/sp/src/game/client/recvproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implements various common send proxies // diff --git a/sp/src/game/client/rendertexture.cpp b/sp/src/game/client/rendertexture.cpp index 78780e9302..f628e784e0 100644 --- a/sp/src/game/client/rendertexture.cpp +++ b/sp/src/game/client/rendertexture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // Implements local hooks into named renderable textures. diff --git a/sp/src/game/client/rendertexture.h b/sp/src/game/client/rendertexture.h index 2afdc6aeb8..7e8fb35332 100644 --- a/sp/src/game/client/rendertexture.h +++ b/sp/src/game/client/rendertexture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/cdll_replay.cpp b/sp/src/game/client/replay/cdll_replay.cpp index 618edfa72a..5266341a9f 100644 --- a/sp/src/game/client/replay/cdll_replay.cpp +++ b/sp/src/game/client/replay/cdll_replay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #if defined( REPLAY_ENABLED ) diff --git a/sp/src/game/client/replay/cdll_replay.h b/sp/src/game/client/replay/cdll_replay.h index a7c7438268..1645f4c7bb 100644 --- a/sp/src/game/client/replay/cdll_replay.h +++ b/sp/src/game/client/replay/cdll_replay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// //=======================================================================================// #ifndef CDLL_REPLAY_H diff --git a/sp/src/game/client/replay/gamedefs.cpp b/sp/src/game/client/replay/gamedefs.cpp index 77a6456bc0..f2c3d54c66 100644 --- a/sp/src/game/client/replay/gamedefs.cpp +++ b/sp/src/game/client/replay/gamedefs.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/replay/gamedefs.h b/sp/src/game/client/replay/gamedefs.h index 439bb14151..06383d4b3a 100644 --- a/sp/src/game/client/replay/gamedefs.h +++ b/sp/src/game/client/replay/gamedefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/replay/genericclassbased_replay.cpp b/sp/src/game/client/replay/genericclassbased_replay.cpp index 00e2febaa4..b3f4aab62f 100644 --- a/sp/src/game/client/replay/genericclassbased_replay.cpp +++ b/sp/src/game/client/replay/genericclassbased_replay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/genericclassbased_replay.h b/sp/src/game/client/replay/genericclassbased_replay.h index 02c5e705a6..e942b75d5d 100644 --- a/sp/src/game/client/replay/genericclassbased_replay.h +++ b/sp/src/game/client/replay/genericclassbased_replay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// //=======================================================================================// #if defined( REPLAY_ENABLED ) diff --git a/sp/src/game/client/replay/replay_ragdoll.cpp b/sp/src/game/client/replay/replay_ragdoll.cpp index a2633c0b6d..1746cde1a0 100644 --- a/sp/src/game/client/replay/replay_ragdoll.cpp +++ b/sp/src/game/client/replay/replay_ragdoll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // TODO: // - Use a mempool diff --git a/sp/src/game/client/replay/replay_ragdoll.h b/sp/src/game/client/replay/replay_ragdoll.h index 10112030fb..6241ea760e 100644 --- a/sp/src/game/client/replay/replay_ragdoll.h +++ b/sp/src/game/client/replay/replay_ragdoll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/replay/replay_screenshot.cpp b/sp/src/game/client/replay/replay_screenshot.cpp index f4b9600af6..fab50e41b0 100644 --- a/sp/src/game/client/replay/replay_screenshot.cpp +++ b/sp/src/game/client/replay/replay_screenshot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/replay_screenshot.h b/sp/src/game/client/replay/replay_screenshot.h index 4c95a56690..02ce51e9ef 100644 --- a/sp/src/game/client/replay/replay_screenshot.h +++ b/sp/src/game/client/replay/replay_screenshot.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replaycamera.cpp b/sp/src/game/client/replay/replaycamera.cpp index 7ee49101c0..c2920bf6e3 100644 --- a/sp/src/game/client/replay/replaycamera.cpp +++ b/sp/src/game/client/replay/replaycamera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/replaycamera.h b/sp/src/game/client/replay/replaycamera.h index 842c6ac86f..13200ed85c 100644 --- a/sp/src/game/client/replay/replaycamera.h +++ b/sp/src/game/client/replay/replaycamera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/replayperformanceplaybackhandler.cpp b/sp/src/game/client/replay/replayperformanceplaybackhandler.cpp index 18ed41c5be..3810f95ba2 100644 --- a/sp/src/game/client/replay/replayperformanceplaybackhandler.cpp +++ b/sp/src/game/client/replay/replayperformanceplaybackhandler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayperformanceplaybackhandler.h b/sp/src/game/client/replay/replayperformanceplaybackhandler.h index 13767c6260..5cb9fdc05e 100644 --- a/sp/src/game/client/replay/replayperformanceplaybackhandler.h +++ b/sp/src/game/client/replay/replayperformanceplaybackhandler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayrenderer.cpp b/sp/src/game/client/replay/replayrenderer.cpp index 7c7e4086e2..ac2dc5976a 100644 --- a/sp/src/game/client/replay/replayrenderer.cpp +++ b/sp/src/game/client/replay/replayrenderer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayrenderer.h b/sp/src/game/client/replay/replayrenderer.h index 5c2a5305c5..b91bbe2ee3 100644 --- a/sp/src/game/client/replay/replayrenderer.h +++ b/sp/src/game/client/replay/replayrenderer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayvideo.cpp b/sp/src/game/client/replay/replayvideo.cpp index f3588db48d..98d08eafff 100644 --- a/sp/src/game/client/replay/replayvideo.cpp +++ b/sp/src/game/client/replay/replayvideo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayvideo.h b/sp/src/game/client/replay/replayvideo.h index b6ac2661b6..353a3eab5a 100644 --- a/sp/src/game/client/replay/replayvideo.h +++ b/sp/src/game/client/replay/replayvideo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/replayyoutubeapi.cpp b/sp/src/game/client/replay/replayyoutubeapi.cpp index faab2e95d0..1af3cb5fe3 100644 --- a/sp/src/game/client/replay/replayyoutubeapi.cpp +++ b/sp/src/game/client/replay/replayyoutubeapi.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/replayyoutubeapi.h b/sp/src/game/client/replay/replayyoutubeapi.h index a4acd8a997..7726f15758 100644 --- a/sp/src/game/client/replay/replayyoutubeapi.h +++ b/sp/src/game/client/replay/replayyoutubeapi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/replayyoutubeapi_key_sdk.cpp b/sp/src/game/client/replay/replayyoutubeapi_key_sdk.cpp index b46230ca7c..a159acbff5 100644 --- a/sp/src/game/client/replay/replayyoutubeapi_key_sdk.cpp +++ b/sp/src/game/client/replay/replayyoutubeapi_key_sdk.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserbasepage.cpp b/sp/src/game/client/replay/vgui/replaybrowserbasepage.cpp index 0416147aaf..864851a490 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserbasepage.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserbasepage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserbasepage.h b/sp/src/game/client/replay/vgui/replaybrowserbasepage.h index 58af944fa7..8f9a002f83 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserbasepage.h +++ b/sp/src/game/client/replay/vgui/replaybrowserbasepage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserbasepanel.cpp b/sp/src/game/client/replay/vgui/replaybrowserbasepanel.cpp index 8358a2434a..aeeae4c9fd 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserbasepanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserbasepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserbasepanel.h b/sp/src/game/client/replay/vgui/replaybrowserbasepanel.h index 2268b8b458..3e905b7819 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserbasepanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowserbasepanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.cpp b/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.cpp index 3efadebee3..94243fd917 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.h b/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.h index 850d1022ba..ba75d1804b 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowserdetailspanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowseritemmanager.cpp b/sp/src/game/client/replay/vgui/replaybrowseritemmanager.cpp index 3776b7b9ba..527a9f3fa8 100644 --- a/sp/src/game/client/replay/vgui/replaybrowseritemmanager.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowseritemmanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowseritemmanager.h b/sp/src/game/client/replay/vgui/replaybrowseritemmanager.h index 4468119a67..f9ddcb2362 100644 --- a/sp/src/game/client/replay/vgui/replaybrowseritemmanager.h +++ b/sp/src/game/client/replay/vgui/replaybrowseritemmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.cpp b/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.cpp index 63a0f246b0..9157d00e78 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.h b/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.h index 004ae74d87..e7691b0309 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowserlistitempanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserlistpanel.cpp b/sp/src/game/client/replay/vgui/replaybrowserlistpanel.cpp index 13d411eaaf..d3bd899650 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserlistpanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserlistpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserlistpanel.h b/sp/src/game/client/replay/vgui/replaybrowserlistpanel.h index b30658bf3e..4f1cab6824 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserlistpanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowserlistpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowsermainpanel.cpp b/sp/src/game/client/replay/vgui/replaybrowsermainpanel.cpp index 2dcc6893f7..2bc7047f58 100644 --- a/sp/src/game/client/replay/vgui/replaybrowsermainpanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowsermainpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowsermainpanel.h b/sp/src/game/client/replay/vgui/replaybrowsermainpanel.h index e34574b00a..7d4fd18ded 100644 --- a/sp/src/game/client/replay/vgui/replaybrowsermainpanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowsermainpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.cpp b/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.cpp index f273369396..4d8d98c6c9 100644 --- a/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.h b/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.h index 968ad58a10..d8abc48cbf 100644 --- a/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowsermovieplayerpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.cpp b/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.cpp index 67297a41cf..d7820a6040 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.h b/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.h index c1ba78bf86..87a6630743 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.h +++ b/sp/src/game/client/replay/vgui/replaybrowserpreviewpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.cpp b/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.cpp index 7f48ae0650..097f3bae88 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.cpp +++ b/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.h b/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.h index 338115fa25..5d112950fa 100644 --- a/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.h +++ b/sp/src/game/client/replay/vgui/replaybrowserrenderdialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayconfirmquitdlg.cpp b/sp/src/game/client/replay/vgui/replayconfirmquitdlg.cpp index 55d1d4d885..c88d6cad6d 100644 --- a/sp/src/game/client/replay/vgui/replayconfirmquitdlg.cpp +++ b/sp/src/game/client/replay/vgui/replayconfirmquitdlg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayconfirmquitdlg.h b/sp/src/game/client/replay/vgui/replayconfirmquitdlg.h index 29f2bbdfd8..c8767d1c4f 100644 --- a/sp/src/game/client/replay/vgui/replayconfirmquitdlg.h +++ b/sp/src/game/client/replay/vgui/replayconfirmquitdlg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayinputpanel.cpp b/sp/src/game/client/replay/vgui/replayinputpanel.cpp index 7fab825e09..ffc328760c 100644 --- a/sp/src/game/client/replay/vgui/replayinputpanel.cpp +++ b/sp/src/game/client/replay/vgui/replayinputpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replayinputpanel.h b/sp/src/game/client/replay/vgui/replayinputpanel.h index 142de013de..a42eb60a5d 100644 --- a/sp/src/game/client/replay/vgui/replayinputpanel.h +++ b/sp/src/game/client/replay/vgui/replayinputpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replaymessagepanel.cpp b/sp/src/game/client/replay/vgui/replaymessagepanel.cpp index bf929eac34..ee77eaf739 100644 --- a/sp/src/game/client/replay/vgui/replaymessagepanel.cpp +++ b/sp/src/game/client/replay/vgui/replaymessagepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/replay/vgui/replaymessagepanel.h b/sp/src/game/client/replay/vgui/replaymessagepanel.h index 4e253c0335..ca06b8f415 100644 --- a/sp/src/game/client/replay/vgui/replaymessagepanel.h +++ b/sp/src/game/client/replay/vgui/replaymessagepanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //---------------------------------------------------------------------------------------- diff --git a/sp/src/game/client/replay/vgui/replayperformanceeditor.cpp b/sp/src/game/client/replay/vgui/replayperformanceeditor.cpp index 99178f6e81..60f66fc1db 100644 --- a/sp/src/game/client/replay/vgui/replayperformanceeditor.cpp +++ b/sp/src/game/client/replay/vgui/replayperformanceeditor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayperformanceeditor.h b/sp/src/game/client/replay/vgui/replayperformanceeditor.h index 034843a37d..633eef73d1 100644 --- a/sp/src/game/client/replay/vgui/replayperformanceeditor.h +++ b/sp/src/game/client/replay/vgui/replayperformanceeditor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayperformancesavedlg.cpp b/sp/src/game/client/replay/vgui/replayperformancesavedlg.cpp index e7efa0c1d6..18a1c7afcc 100644 --- a/sp/src/game/client/replay/vgui/replayperformancesavedlg.cpp +++ b/sp/src/game/client/replay/vgui/replayperformancesavedlg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replayperformancesavedlg.h b/sp/src/game/client/replay/vgui/replayperformancesavedlg.h index 6650ee2fb3..0d2ae61332 100644 --- a/sp/src/game/client/replay/vgui/replayperformancesavedlg.h +++ b/sp/src/game/client/replay/vgui/replayperformancesavedlg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replayreminderpanel.cpp b/sp/src/game/client/replay/vgui/replayreminderpanel.cpp index 57cebc7248..07b4ab0519 100644 --- a/sp/src/game/client/replay/vgui/replayreminderpanel.cpp +++ b/sp/src/game/client/replay/vgui/replayreminderpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayreminderpanel.h b/sp/src/game/client/replay/vgui/replayreminderpanel.h index ede64908fc..075f17433d 100644 --- a/sp/src/game/client/replay/vgui/replayreminderpanel.h +++ b/sp/src/game/client/replay/vgui/replayreminderpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/replay/vgui/replayrenderoverlay.cpp b/sp/src/game/client/replay/vgui/replayrenderoverlay.cpp index 7cc9490758..17f130ae05 100644 --- a/sp/src/game/client/replay/vgui/replayrenderoverlay.cpp +++ b/sp/src/game/client/replay/vgui/replayrenderoverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/replay/vgui/replayrenderoverlay.h b/sp/src/game/client/replay/vgui/replayrenderoverlay.h index a6dbdab0d6..a971abffe0 100644 --- a/sp/src/game/client/replay/vgui/replayrenderoverlay.h +++ b/sp/src/game/client/replay/vgui/replayrenderoverlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/sdk/c_sdk_env_sparkler.cpp b/sp/src/game/client/sdk/c_sdk_env_sparkler.cpp index 7e4cb62cfc..c2b8b2976f 100644 --- a/sp/src/game/client/sdk/c_sdk_env_sparkler.cpp +++ b/sp/src/game/client/sdk/c_sdk_env_sparkler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A simple test entity for creating special effects // diff --git a/sp/src/game/client/sdk/c_sdk_player.cpp b/sp/src/game/client/sdk/c_sdk_player.cpp index 414e4e723a..3174fe9d75 100644 --- a/sp/src/game/client/sdk/c_sdk_player.cpp +++ b/sp/src/game/client/sdk/c_sdk_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/c_sdk_player.h b/sp/src/game/client/sdk/c_sdk_player.h index e4986b952e..a7b8051bf5 100644 --- a/sp/src/game/client/sdk/c_sdk_player.h +++ b/sp/src/game/client/sdk/c_sdk_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/c_sdk_team.cpp b/sp/src/game/client/sdk/c_sdk_team.cpp index 47ab46acdf..9721e53d26 100644 --- a/sp/src/game/client/sdk/c_sdk_team.cpp +++ b/sp/src/game/client/sdk/c_sdk_team.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side C_SDKTeam class // diff --git a/sp/src/game/client/sdk/c_sdk_team.h b/sp/src/game/client/sdk/c_sdk_team.h index 4cd2702ba1..09d7516b9d 100644 --- a/sp/src/game/client/sdk/c_sdk_team.h +++ b/sp/src/game/client/sdk/c_sdk_team.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client side CTFTeam class // diff --git a/sp/src/game/client/sdk/c_te_firebullets.cpp b/sp/src/game/client/sdk/c_te_firebullets.cpp index 846be238c6..12efbb080c 100644 --- a/sp/src/game/client/sdk/c_te_firebullets.cpp +++ b/sp/src/game/client/sdk/c_te_firebullets.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/clientmode_sdk.cpp b/sp/src/game/client/sdk/clientmode_sdk.cpp index 284d609b27..27cc0a9f41 100644 --- a/sp/src/game/client/sdk/clientmode_sdk.cpp +++ b/sp/src/game/client/sdk/clientmode_sdk.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/clientmode_sdk.h b/sp/src/game/client/sdk/clientmode_sdk.h index cbe11cc1a6..92921d2bca 100644 --- a/sp/src/game/client/sdk/clientmode_sdk.h +++ b/sp/src/game/client/sdk/clientmode_sdk.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_fx_impacts.cpp b/sp/src/game/client/sdk/sdk_fx_impacts.cpp index c1ae37ff15..e3804019ca 100644 --- a/sp/src/game/client/sdk/sdk_fx_impacts.cpp +++ b/sp/src/game/client/sdk/sdk_fx_impacts.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game-specific impact effect hooks // diff --git a/sp/src/game/client/sdk/sdk_fx_weaponfx.cpp b/sp/src/game/client/sdk/sdk_fx_weaponfx.cpp index b0fe4f1624..96429bd97e 100644 --- a/sp/src/game/client/sdk/sdk_fx_weaponfx.cpp +++ b/sp/src/game/client/sdk/sdk_fx_weaponfx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game-specific impact effect hooks // diff --git a/sp/src/game/client/sdk/sdk_hud_ammo.cpp b/sp/src/game/client/sdk/sdk_hud_ammo.cpp index a5dfb6afee..9d881be310 100644 --- a/sp/src/game/client/sdk/sdk_hud_ammo.cpp +++ b/sp/src/game/client/sdk/sdk_hud_ammo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_hud_chat.cpp b/sp/src/game/client/sdk/sdk_hud_chat.cpp index bdeaf48ff9..40e28291f9 100644 --- a/sp/src/game/client/sdk/sdk_hud_chat.cpp +++ b/sp/src/game/client/sdk/sdk_hud_chat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_hud_chat.h b/sp/src/game/client/sdk/sdk_hud_chat.h index 26d3e58e27..9607264a0b 100644 --- a/sp/src/game/client/sdk/sdk_hud_chat.h +++ b/sp/src/game/client/sdk/sdk_hud_chat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_hud_health.cpp b/sp/src/game/client/sdk/sdk_hud_health.cpp index 9f984a0de5..51e58ecaf4 100644 --- a/sp/src/game/client/sdk/sdk_hud_health.cpp +++ b/sp/src/game/client/sdk/sdk_hud_health.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_hud_message.cpp b/sp/src/game/client/sdk/sdk_hud_message.cpp index a774abfd37..6b0e2e34f3 100644 --- a/sp/src/game/client/sdk/sdk_hud_message.cpp +++ b/sp/src/game/client/sdk/sdk_hud_message.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple HUD element // diff --git a/sp/src/game/client/sdk/sdk_hud_weaponselection.cpp b/sp/src/game/client/sdk/sdk_hud_weaponselection.cpp index 77577471ca..931e07e399 100644 --- a/sp/src/game/client/sdk/sdk_hud_weaponselection.cpp +++ b/sp/src/game/client/sdk/sdk_hud_weaponselection.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/sdk_in_main.cpp b/sp/src/game/client/sdk/sdk_in_main.cpp index 1ce48c72bb..41b79f88b4 100644 --- a/sp/src/game/client/sdk/sdk_in_main.cpp +++ b/sp/src/game/client/sdk/sdk_in_main.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: TF2 specific input handling // diff --git a/sp/src/game/client/sdk/sdk_prediction.cpp b/sp/src/game/client/sdk/sdk_prediction.cpp index c72a990825..021d8f75a8 100644 --- a/sp/src/game/client/sdk/sdk_prediction.cpp +++ b/sp/src/game/client/sdk/sdk_prediction.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/vgui/sdkviewport.cpp b/sp/src/game/client/sdk/vgui/sdkviewport.cpp index 5fd3627e1c..6ae4be1acb 100644 --- a/sp/src/game/client/sdk/vgui/sdkviewport.cpp +++ b/sp/src/game/client/sdk/vgui/sdkviewport.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client DLL VGUI2 Viewport // diff --git a/sp/src/game/client/sdk/vgui/sdkviewport.h b/sp/src/game/client/sdk/vgui/sdkviewport.h index 159da3925e..a617fab87c 100644 --- a/sp/src/game/client/sdk/vgui/sdkviewport.h +++ b/sp/src/game/client/sdk/vgui/sdkviewport.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.cpp b/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.cpp index e756829d21..a6fc75df2f 100644 --- a/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.cpp +++ b/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.h b/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.h index 448abbc717..44061a5612 100644 --- a/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.h +++ b/sp/src/game/client/sdk/vgui/vgui_rootpanel_sdk.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/simple_keys.cpp b/sp/src/game/client/simple_keys.cpp index 1a5af28088..5ef6460943 100644 --- a/sp/src/game/client/simple_keys.cpp +++ b/sp/src/game/client/simple_keys.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/simple_keys.h b/sp/src/game/client/simple_keys.h index 1f3f0cd293..8d134068f0 100644 --- a/sp/src/game/client/simple_keys.h +++ b/sp/src/game/client/simple_keys.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/sixense/in_sixense.cpp b/sp/src/game/client/sixense/in_sixense.cpp index e0f4ba39ff..1436606e5f 100644 --- a/sp/src/game/client/sixense/in_sixense.cpp +++ b/sp/src/game/client/sixense/in_sixense.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef _XBOX //#include #endif diff --git a/sp/src/game/client/sixense/in_sixense.h b/sp/src/game/client/sixense/in_sixense.h index eb56a8a37a..7f563823d9 100644 --- a/sp/src/game/client/sixense/in_sixense.h +++ b/sp/src/game/client/sixense/in_sixense.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef IN_SIXENSE_H #define IN_SIXENSE_H diff --git a/sp/src/game/client/sixense/in_sixense_gesture_bindings.cpp b/sp/src/game/client/sixense/in_sixense_gesture_bindings.cpp index 0f0f710555..7a45ad5324 100644 --- a/sp/src/game/client/sixense/in_sixense_gesture_bindings.cpp +++ b/sp/src/game/client/sixense/in_sixense_gesture_bindings.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #ifdef SIXENSE diff --git a/sp/src/game/client/sixense/in_sixense_gesture_bindings.h b/sp/src/game/client/sixense/in_sixense_gesture_bindings.h index d9e334e7dd..98725b34c1 100644 --- a/sp/src/game/client/sixense/in_sixense_gesture_bindings.h +++ b/sp/src/game/client/sixense/in_sixense_gesture_bindings.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef IN_SIXENSE_GESTURES_H #define IN_SIXENSE_GESTURES_H #ifdef _WIN32 diff --git a/sp/src/game/client/smoke_fog_overlay.cpp b/sp/src/game/client/smoke_fog_overlay.cpp index 53ac08712d..05b4924b01 100644 --- a/sp/src/game/client/smoke_fog_overlay.cpp +++ b/sp/src/game/client/smoke_fog_overlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/smoke_fog_overlay.h b/sp/src/game/client/smoke_fog_overlay.h index 175e0ec4bd..f021f271b7 100644 --- a/sp/src/game/client/smoke_fog_overlay.h +++ b/sp/src/game/client/smoke_fog_overlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/splinepatch.cpp b/sp/src/game/client/splinepatch.cpp index db9a0403ca..50e5cd682e 100644 --- a/sp/src/game/client/splinepatch.cpp +++ b/sp/src/game/client/splinepatch.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A little helper class that computes a spline patch // diff --git a/sp/src/game/client/splinepatch.h b/sp/src/game/client/splinepatch.h index 31af0f00af..d5088fbcfb 100644 --- a/sp/src/game/client/splinepatch.h +++ b/sp/src/game/client/splinepatch.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A little helper class that computes a spline patch // diff --git a/sp/src/game/client/spritemodel.cpp b/sp/src/game/client/spritemodel.cpp index 018e918fb8..665f97f9d9 100644 --- a/sp/src/game/client/spritemodel.cpp +++ b/sp/src/game/client/spritemodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/stdafx.cpp b/sp/src/game/client/stdafx.cpp index fe982bcecf..d882a55506 100644 --- a/sp/src/game/client/stdafx.cpp +++ b/sp/src/game/client/stdafx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Builds the precompiled header for the client DLL // diff --git a/sp/src/game/client/studio_stats.cpp b/sp/src/game/client/studio_stats.cpp index 329f7680d0..488411a7ee 100644 --- a/sp/src/game/client/studio_stats.cpp +++ b/sp/src/game/client/studio_stats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/studio_stats.h b/sp/src/game/client/studio_stats.h index 831bb7d3f9..b423a435ea 100644 --- a/sp/src/game/client/studio_stats.h +++ b/sp/src/game/client/studio_stats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/tempent.h b/sp/src/game/client/tempent.h index 16b5653cba..e2f170a6f0 100644 --- a/sp/src/game/client/tempent.h +++ b/sp/src/game/client/tempent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/text_message.cpp b/sp/src/game/client/text_message.cpp index 33bef81fe9..b285481113 100644 --- a/sp/src/game/client/text_message.cpp +++ b/sp/src/game/client/text_message.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/text_message.h b/sp/src/game/client/text_message.h index 157290114e..fa96484cdb 100644 --- a/sp/src/game/client/text_message.h +++ b/sp/src/game/client/text_message.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/texturescrollmaterialproxy.cpp b/sp/src/game/client/texturescrollmaterialproxy.cpp index 76f7086ec0..ab5c03517a 100644 --- a/sp/src/game/client/texturescrollmaterialproxy.cpp +++ b/sp/src/game/client/texturescrollmaterialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/thermalmaterialproxy.cpp b/sp/src/game/client/thermalmaterialproxy.cpp index 9386294ce1..6f44841927 100644 --- a/sp/src/game/client/thermalmaterialproxy.cpp +++ b/sp/src/game/client/thermalmaterialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/timedevent.h b/sp/src/game/client/timedevent.h index 8c58be51fc..3194b2a594 100644 --- a/sp/src/game/client/timedevent.h +++ b/sp/src/game/client/timedevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/timematerialproxy.cpp b/sp/src/game/client/timematerialproxy.cpp index 3e1dd66a57..df4c59bf53 100644 --- a/sp/src/game/client/timematerialproxy.cpp +++ b/sp/src/game/client/timematerialproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/toggletextureproxy.cpp b/sp/src/game/client/toggletextureproxy.cpp index 77eea576eb..806590012f 100644 --- a/sp/src/game/client/toggletextureproxy.cpp +++ b/sp/src/game/client/toggletextureproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/toggletextureproxy.h b/sp/src/game/client/toggletextureproxy.h index 66bd828566..3580a96854 100644 --- a/sp/src/game/client/toggletextureproxy.h +++ b/sp/src/game/client/toggletextureproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/toolframework_client.cpp b/sp/src/game/client/toolframework_client.cpp index 5e7dfa220f..6379411d6f 100644 --- a/sp/src/game/client/toolframework_client.cpp +++ b/sp/src/game/client/toolframework_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/toolframework_client.h b/sp/src/game/client/toolframework_client.h index 0ef9760c0a..4715a4193a 100644 --- a/sp/src/game/client/toolframework_client.h +++ b/sp/src/game/client/toolframework_client.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/train.cpp b/sp/src/game/client/train.cpp index 9e928e8472..d4629dd76a 100644 --- a/sp/src/game/client/train.cpp +++ b/sp/src/game/client/train.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_avatarimage.cpp b/sp/src/game/client/vgui_avatarimage.cpp index b5878eff1e..527b70c9c9 100644 --- a/sp/src/game/client/vgui_avatarimage.cpp +++ b/sp/src/game/client/vgui_avatarimage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_avatarimage.h b/sp/src/game/client/vgui_avatarimage.h index de4db42b10..3897d46428 100644 --- a/sp/src/game/client/vgui_avatarimage.h +++ b/sp/src/game/client/vgui_avatarimage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_basepanel.cpp b/sp/src/game/client/vgui_basepanel.cpp index 2054d47116..53cfc44a9e 100644 --- a/sp/src/game/client/vgui_basepanel.cpp +++ b/sp/src/game/client/vgui_basepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_basepanel.h b/sp/src/game/client/vgui_basepanel.h index daec845e52..be45739ed7 100644 --- a/sp/src/game/client/vgui_basepanel.h +++ b/sp/src/game/client/vgui_basepanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_bitmapbutton.cpp b/sp/src/game/client/vgui_bitmapbutton.cpp index 080e11fc7e..3f42977754 100644 --- a/sp/src/game/client/vgui_bitmapbutton.cpp +++ b/sp/src/game/client/vgui_bitmapbutton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_bitmapbutton.h b/sp/src/game/client/vgui_bitmapbutton.h index a52e766718..7498974e1d 100644 --- a/sp/src/game/client/vgui_bitmapbutton.h +++ b/sp/src/game/client/vgui_bitmapbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_bitmapimage.cpp b/sp/src/game/client/vgui_bitmapimage.cpp index 5ec1fccf49..fd1efdc446 100644 --- a/sp/src/game/client/vgui_bitmapimage.cpp +++ b/sp/src/game/client/vgui_bitmapimage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_bitmapimage.h b/sp/src/game/client/vgui_bitmapimage.h index 5a2525b664..eb30206b3e 100644 --- a/sp/src/game/client/vgui_bitmapimage.h +++ b/sp/src/game/client/vgui_bitmapimage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_bitmappanel.cpp b/sp/src/game/client/vgui_bitmappanel.cpp index d28d26dc9c..5888f32dd8 100644 --- a/sp/src/game/client/vgui_bitmappanel.cpp +++ b/sp/src/game/client/vgui_bitmappanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_bitmappanel.h b/sp/src/game/client/vgui_bitmappanel.h index 4ed1f43eed..9271c08bf1 100644 --- a/sp/src/game/client/vgui_bitmappanel.h +++ b/sp/src/game/client/vgui_bitmappanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_centerstringpanel.cpp b/sp/src/game/client/vgui_centerstringpanel.cpp index a4171e733e..9f1ed6dc5d 100644 --- a/sp/src/game/client/vgui_centerstringpanel.cpp +++ b/sp/src/game/client/vgui_centerstringpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_consolepanel.cpp b/sp/src/game/client/vgui_consolepanel.cpp index b4ed50c482..b5d03def7c 100644 --- a/sp/src/game/client/vgui_consolepanel.cpp +++ b/sp/src/game/client/vgui_consolepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_debugoverlaypanel.cpp b/sp/src/game/client/vgui_debugoverlaypanel.cpp index 2460ffa086..e7e1f38959 100644 --- a/sp/src/game/client/vgui_debugoverlaypanel.cpp +++ b/sp/src/game/client/vgui_debugoverlaypanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_entityimagepanel.cpp b/sp/src/game/client/vgui_entityimagepanel.cpp index 5de27e4d36..3b662299b1 100644 --- a/sp/src/game/client/vgui_entityimagepanel.cpp +++ b/sp/src/game/client/vgui_entityimagepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_entityimagepanel.h b/sp/src/game/client/vgui_entityimagepanel.h index bb5452568d..a002b42e4c 100644 --- a/sp/src/game/client/vgui_entityimagepanel.h +++ b/sp/src/game/client/vgui_entityimagepanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_entitypanel.cpp b/sp/src/game/client/vgui_entitypanel.cpp index 51d3b17bc0..9c9338ce76 100644 --- a/sp/src/game/client/vgui_entitypanel.cpp +++ b/sp/src/game/client/vgui_entitypanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered on top of an entity // diff --git a/sp/src/game/client/vgui_entitypanel.h b/sp/src/game/client/vgui_entitypanel.h index 69cfbb3f2d..9cc1f02e1b 100644 --- a/sp/src/game/client/vgui_entitypanel.h +++ b/sp/src/game/client/vgui_entitypanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered on top of an entity // diff --git a/sp/src/game/client/vgui_fpspanel.cpp b/sp/src/game/client/vgui_fpspanel.cpp index aec28adda9..927310813b 100644 --- a/sp/src/game/client/vgui_fpspanel.cpp +++ b/sp/src/game/client/vgui_fpspanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_game_viewport.cpp b/sp/src/game/client/vgui_game_viewport.cpp index b4f638dcff..e3f27d7b4b 100644 --- a/sp/src/game/client/vgui_game_viewport.cpp +++ b/sp/src/game/client/vgui_game_viewport.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_game_viewport.h b/sp/src/game/client/vgui_game_viewport.h index e50da310ad..e41381210d 100644 --- a/sp/src/game/client/vgui_game_viewport.h +++ b/sp/src/game/client/vgui_game_viewport.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_grid.cpp b/sp/src/game/client/vgui_grid.cpp index d5f11d6bcb..cd1faddb18 100644 --- a/sp/src/game/client/vgui_grid.cpp +++ b/sp/src/game/client/vgui_grid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_grid.h b/sp/src/game/client/vgui_grid.h index 318344a793..06bd0a4b4a 100644 --- a/sp/src/game/client/vgui_grid.h +++ b/sp/src/game/client/vgui_grid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_helpers.h b/sp/src/game/client/vgui_helpers.h index ba0418eff1..f9cabafb8c 100644 --- a/sp/src/game/client/vgui_helpers.h +++ b/sp/src/game/client/vgui_helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_imagehealthpanel.cpp b/sp/src/game/client/vgui_imagehealthpanel.cpp index 69119cb2c1..868cfa967f 100644 --- a/sp/src/game/client/vgui_imagehealthpanel.cpp +++ b/sp/src/game/client/vgui_imagehealthpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_imagehealthpanel.h b/sp/src/game/client/vgui_imagehealthpanel.h index 5b914a788b..104d32c3bc 100644 --- a/sp/src/game/client/vgui_imagehealthpanel.h +++ b/sp/src/game/client/vgui_imagehealthpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a panel which is rendered image on top of an entity // diff --git a/sp/src/game/client/vgui_int.cpp b/sp/src/game/client/vgui_int.cpp index fb6d871fb0..c0aa4d850e 100644 --- a/sp/src/game/client/vgui_int.cpp +++ b/sp/src/game/client/vgui_int.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_int.h b/sp/src/game/client/vgui_int.h index ad95f01c45..0dd1a7cf3d 100644 --- a/sp/src/game/client/vgui_int.h +++ b/sp/src/game/client/vgui_int.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_loadingdiscpanel.cpp b/sp/src/game/client/vgui_loadingdiscpanel.cpp index 94b2a9fb77..5acfe25405 100644 --- a/sp/src/game/client/vgui_loadingdiscpanel.cpp +++ b/sp/src/game/client/vgui_loadingdiscpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_messagechars.cpp b/sp/src/game/client/vgui_messagechars.cpp index 1d1410f14e..b7cebd2124 100644 --- a/sp/src/game/client/vgui_messagechars.cpp +++ b/sp/src/game/client/vgui_messagechars.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_netgraphpanel.cpp b/sp/src/game/client/vgui_netgraphpanel.cpp index d3837c033f..7120df906d 100644 --- a/sp/src/game/client/vgui_netgraphpanel.cpp +++ b/sp/src/game/client/vgui_netgraphpanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_schemevisualizer.cpp b/sp/src/game/client/vgui_schemevisualizer.cpp index 12070f2907..e0b2959914 100644 --- a/sp/src/game/client/vgui_schemevisualizer.cpp +++ b/sp/src/game/client/vgui_schemevisualizer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/vgui_schemevisualizer.h b/sp/src/game/client/vgui_schemevisualizer.h index 0c2d749184..db55923972 100644 --- a/sp/src/game/client/vgui_schemevisualizer.h +++ b/sp/src/game/client/vgui_schemevisualizer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/game/client/vgui_slideshow_display_screen.cpp b/sp/src/game/client/vgui_slideshow_display_screen.cpp index b518c7574d..2ffd99a247 100644 --- a/sp/src/game/client/vgui_slideshow_display_screen.cpp +++ b/sp/src/game/client/vgui_slideshow_display_screen.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_textmessagepanel.cpp b/sp/src/game/client/vgui_textmessagepanel.cpp index 5e4b12321f..e484bf2341 100644 --- a/sp/src/game/client/vgui_textmessagepanel.cpp +++ b/sp/src/game/client/vgui_textmessagepanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vgui_video.cpp b/sp/src/game/client/vgui_video.cpp index 17e28aa287..a8284c0955 100644 --- a/sp/src/game/client/vgui_video.cpp +++ b/sp/src/game/client/vgui_video.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: VGUI panel which can play back video, in-engine // diff --git a/sp/src/game/client/vgui_video.h b/sp/src/game/client/vgui_video.h index b413d8326e..a13494c8dd 100644 --- a/sp/src/game/client/vgui_video.h +++ b/sp/src/game/client/vgui_video.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: VGUI panel which can play back video, in-engine // diff --git a/sp/src/game/client/vgui_video_player.cpp b/sp/src/game/client/vgui_video_player.cpp index a22b81e6d5..ea12f90158 100644 --- a/sp/src/game/client/vgui_video_player.cpp +++ b/sp/src/game/client/vgui_video_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: VGUI panel which can play back video, in-engine // diff --git a/sp/src/game/client/vgui_video_player.h b/sp/src/game/client/vgui_video_player.h index 3d8605d928..1a8efa4cf3 100644 --- a/sp/src/game/client/vgui_video_player.h +++ b/sp/src/game/client/vgui_video_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // VGUI_VIDEO_PLAYER // diff --git a/sp/src/game/client/vguicenterprint.h b/sp/src/game/client/vguicenterprint.h index f1a83a70f8..0951bed5ce 100644 --- a/sp/src/game/client/vguicenterprint.h +++ b/sp/src/game/client/vguicenterprint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/view.cpp b/sp/src/game/client/view.cpp index 8cd5293d40..fdda7914d2 100644 --- a/sp/src/game/client/view.cpp +++ b/sp/src/game/client/view.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/view.h b/sp/src/game/client/view.h index 7c41593a4c..9ae8e777b6 100644 --- a/sp/src/game/client/view.h +++ b/sp/src/game/client/view.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/view_beams.cpp b/sp/src/game/client/view_beams.cpp index d88812444e..e2afae8461 100644 --- a/sp/src/game/client/view_beams.cpp +++ b/sp/src/game/client/view_beams.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/view_effects.cpp b/sp/src/game/client/view_effects.cpp index 41cf27d42a..94347945e7 100644 --- a/sp/src/game/client/view_effects.cpp +++ b/sp/src/game/client/view_effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/view_scene.cpp b/sp/src/game/client/view_scene.cpp index 098e9ae934..8e75000d68 100644 --- a/sp/src/game/client/view_scene.cpp +++ b/sp/src/game/client/view_scene.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Responsible for drawing the scene // diff --git a/sp/src/game/client/view_scene.h b/sp/src/game/client/view_scene.h index 9126904865..34098413b9 100644 --- a/sp/src/game/client/view_scene.h +++ b/sp/src/game/client/view_scene.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewangleanim.cpp b/sp/src/game/client/viewangleanim.cpp index dce49f29e3..5fa1f8060a 100644 --- a/sp/src/game/client/viewangleanim.cpp +++ b/sp/src/game/client/viewangleanim.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewangleanim.h b/sp/src/game/client/viewangleanim.h index c5d08bc118..2e788caeec 100644 --- a/sp/src/game/client/viewangleanim.h +++ b/sp/src/game/client/viewangleanim.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewdebug.cpp b/sp/src/game/client/viewdebug.cpp index 94988d9f84..b88350980d 100644 --- a/sp/src/game/client/viewdebug.cpp +++ b/sp/src/game/client/viewdebug.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewdebug.h b/sp/src/game/client/viewdebug.h index fe827f907d..b03e73f87d 100644 --- a/sp/src/game/client/viewdebug.h +++ b/sp/src/game/client/viewdebug.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewpostprocess.cpp b/sp/src/game/client/viewpostprocess.cpp index e1845d8dd0..b56e293271 100644 --- a/sp/src/game/client/viewpostprocess.cpp +++ b/sp/src/game/client/viewpostprocess.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewpostprocess.h b/sp/src/game/client/viewpostprocess.h index f40a69370b..de50542d2f 100644 --- a/sp/src/game/client/viewpostprocess.h +++ b/sp/src/game/client/viewpostprocess.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/viewrender.cpp b/sp/src/game/client/viewrender.cpp index 6bcff8da90..436ae332d3 100644 --- a/sp/src/game/client/viewrender.cpp +++ b/sp/src/game/client/viewrender.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Responsible for drawing the scene // diff --git a/sp/src/game/client/viewrender.h b/sp/src/game/client/viewrender.h index 3ba6cd9fc4..8924c809b7 100644 --- a/sp/src/game/client/viewrender.h +++ b/sp/src/game/client/viewrender.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/voice_menu.cpp b/sp/src/game/client/voice_menu.cpp index b93c5d2b76..02060f99e4 100644 --- a/sp/src/game/client/voice_menu.cpp +++ b/sp/src/game/client/voice_menu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/client/vscript_client.cpp b/sp/src/game/client/vscript_client.cpp index 2312d6ca9a..8722f3ecf3 100644 --- a/sp/src/game/client/vscript_client.cpp +++ b/sp/src/game/client/vscript_client.cpp @@ -234,8 +234,7 @@ class CMaterialProxyScriptInstanceHelper : public IScriptInstanceHelper CMaterialProxyScriptInstanceHelper g_MaterialProxyScriptInstanceHelper; -BEGIN_SCRIPTDESC_ROOT_NAMED( CScriptMaterialProxy, "CScriptMaterialProxy", "Material proxy for VScript" ) - DEFINE_SCRIPT_INSTANCE_HELPER( &g_MaterialProxyScriptInstanceHelper ) +BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( CScriptMaterialProxy, "CScriptMaterialProxy", "Material proxy for VScript", &g_MaterialProxyScriptInstanceHelper ) DEFINE_SCRIPTFUNC( GetVarString, "Gets a material var's string value" ) DEFINE_SCRIPTFUNC( GetVarInt, "Gets a material var's int value" ) DEFINE_SCRIPTFUNC( GetVarFloat, "Gets a material var's float value" ) diff --git a/sp/src/game/client/warp_overlay.cpp b/sp/src/game/client/warp_overlay.cpp index f851facad8..da7a154ccd 100644 --- a/sp/src/game/client/warp_overlay.cpp +++ b/sp/src/game/client/warp_overlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Screen warp overlay // diff --git a/sp/src/game/client/weapon_selection.cpp b/sp/src/game/client/weapon_selection.cpp index 5568c532ec..8cca89d671 100644 --- a/sp/src/game/client/weapon_selection.cpp +++ b/sp/src/game/client/weapon_selection.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon selection handling // diff --git a/sp/src/game/client/weapon_selection.h b/sp/src/game/client/weapon_selection.h index bca6840728..f35a059320 100644 --- a/sp/src/game/client/weapon_selection.h +++ b/sp/src/game/client/weapon_selection.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon selection handling // diff --git a/sp/src/game/client/weapons_resource.cpp b/sp/src/game/client/weapons_resource.cpp index 8f8d58e86d..fa83775370 100644 --- a/sp/src/game/client/weapons_resource.cpp +++ b/sp/src/game/client/weapons_resource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapons Resource implementation // diff --git a/sp/src/game/client/weapons_resource.h b/sp/src/game/client/weapons_resource.h index db787c2b33..793dffdd20 100644 --- a/sp/src/game/client/weapons_resource.h +++ b/sp/src/game/client/weapons_resource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/AI_Criteria.cpp b/sp/src/game/server/AI_Criteria.cpp index d0b25e8a65..114f10e19f 100644 --- a/sp/src/game/server/AI_Criteria.cpp +++ b/sp/src/game/server/AI_Criteria.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/AI_Criteria.h b/sp/src/game/server/AI_Criteria.h index 5327785810..91f6a5e1c6 100644 --- a/sp/src/game/server/AI_Criteria.h +++ b/sp/src/game/server/AI_Criteria.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/AI_Interest_Target.cpp b/sp/src/game/server/AI_Interest_Target.cpp index 79d5432745..e0c36d3a0a 100644 --- a/sp/src/game/server/AI_Interest_Target.cpp +++ b/sp/src/game/server/AI_Interest_Target.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hooks and classes for the support of humanoid NPCs with // groovy facial animation capabilities, aka, "Actors" diff --git a/sp/src/game/server/AI_Interest_Target.h b/sp/src/game/server/AI_Interest_Target.h index dd4cfe303c..c6811742d2 100644 --- a/sp/src/game/server/AI_Interest_Target.h +++ b/sp/src/game/server/AI_Interest_Target.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hooks and classes for the support of humanoid NPCs with // groovy facial animation capabilities, aka, "Actors" diff --git a/sp/src/game/server/AI_ResponseSystem.cpp b/sp/src/game/server/AI_ResponseSystem.cpp index a46ddb3657..ad32b36f57 100644 --- a/sp/src/game/server/AI_ResponseSystem.cpp +++ b/sp/src/game/server/AI_ResponseSystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/AI_ResponseSystem.h b/sp/src/game/server/AI_ResponseSystem.h index 0b0b633405..348c689325 100644 --- a/sp/src/game/server/AI_ResponseSystem.h +++ b/sp/src/game/server/AI_ResponseSystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/BaseAnimatingOverlay.cpp b/sp/src/game/server/BaseAnimatingOverlay.cpp index 06bf690e0a..ab50455a94 100644 --- a/sp/src/game/server/BaseAnimatingOverlay.cpp +++ b/sp/src/game/server/BaseAnimatingOverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/BaseAnimatingOverlay.h b/sp/src/game/server/BaseAnimatingOverlay.h index 38ee7ed15c..a7b6f958f4 100644 --- a/sp/src/game/server/BaseAnimatingOverlay.h +++ b/sp/src/game/server/BaseAnimatingOverlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/BasePropDoor.h b/sp/src/game/server/BasePropDoor.h index ea14d20d35..822b78e6c9 100644 --- a/sp/src/game/server/BasePropDoor.h +++ b/sp/src/game/server/BasePropDoor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A base class for model-based doors. The exact movement required to // open or close the door is not dictated by this class, only that diff --git a/sp/src/game/server/CRagdollMagnet.cpp b/sp/src/game/server/CRagdollMagnet.cpp index fc17cc9a36..1bda12b753 100644 --- a/sp/src/game/server/CRagdollMagnet.cpp +++ b/sp/src/game/server/CRagdollMagnet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/CRagdollMagnet.h b/sp/src/game/server/CRagdollMagnet.h index 52d3f57d60..d10aed75bb 100644 --- a/sp/src/game/server/CRagdollMagnet.h +++ b/sp/src/game/server/CRagdollMagnet.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to influence the initial force for a dying NPC's ragdoll. // Passive entity. Just represents position in the world, radius, force diff --git a/sp/src/game/server/CommentarySystem.cpp b/sp/src/game/server/CommentarySystem.cpp index 7ff8b33e3c..2404edb719 100644 --- a/sp/src/game/server/CommentarySystem.cpp +++ b/sp/src/game/server/CommentarySystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The system for handling director's commentary style production info in-game. // diff --git a/sp/src/game/server/EffectsServer.cpp b/sp/src/game/server/EffectsServer.cpp index 7f0dd0f317..63df470a32 100644 --- a/sp/src/game/server/EffectsServer.cpp +++ b/sp/src/game/server/EffectsServer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility code. // diff --git a/sp/src/game/server/EntityDissolve.cpp b/sp/src/game/server/EntityDissolve.cpp index 7979e852e6..e4a3d1e691 100644 --- a/sp/src/game/server/EntityDissolve.cpp +++ b/sp/src/game/server/EntityDissolve.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dissolve entity to be attached to target entity. Serves two purposes: // diff --git a/sp/src/game/server/EntityDissolve.h b/sp/src/game/server/EntityDissolve.h index ae9e819565..0c75d90ced 100644 --- a/sp/src/game/server/EntityDissolve.h +++ b/sp/src/game/server/EntityDissolve.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EntityFlame.cpp b/sp/src/game/server/EntityFlame.cpp index 80217efb17..a56c2e1cb5 100644 --- a/sp/src/game/server/EntityFlame.cpp +++ b/sp/src/game/server/EntityFlame.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Flame entity to be attached to target entity. Serves two purposes: // diff --git a/sp/src/game/server/EntityFlame.h b/sp/src/game/server/EntityFlame.h index 9ea136019f..68aba1bdc5 100644 --- a/sp/src/game/server/EntityFlame.h +++ b/sp/src/game/server/EntityFlame.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EntityParticleTrail.cpp b/sp/src/game/server/EntityParticleTrail.cpp index 544dc5d0b6..1ab48e6dbf 100644 --- a/sp/src/game/server/EntityParticleTrail.cpp +++ b/sp/src/game/server/EntityParticleTrail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Drops particles where the entity was. // diff --git a/sp/src/game/server/EntityParticleTrail.h b/sp/src/game/server/EntityParticleTrail.h index d22e0d4b97..1f9e3844df 100644 --- a/sp/src/game/server/EntityParticleTrail.h +++ b/sp/src/game/server/EntityParticleTrail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EnvBeam.cpp b/sp/src/game/server/EnvBeam.cpp index c74df00d9a..87a1696b0f 100644 --- a/sp/src/game/server/EnvBeam.cpp +++ b/sp/src/game/server/EnvBeam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/server/EnvFade.cpp b/sp/src/game/server/EnvFade.cpp index 8b6c58f260..04bfadfc10 100644 --- a/sp/src/game/server/EnvFade.cpp +++ b/sp/src/game/server/EnvFade.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/server/EnvHudHint.cpp b/sp/src/game/server/EnvHudHint.cpp index 2cb38eabc4..bef0184c26 100644 --- a/sp/src/game/server/EnvHudHint.cpp +++ b/sp/src/game/server/EnvHudHint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/server/EnvLaser.cpp b/sp/src/game/server/EnvLaser.cpp index 3db94e7c63..a9740a3902 100644 --- a/sp/src/game/server/EnvLaser.cpp +++ b/sp/src/game/server/EnvLaser.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A special kind of beam effect that traces from its start position to // its end position and stops if it hits anything. diff --git a/sp/src/game/server/EnvLaser.h b/sp/src/game/server/EnvLaser.h index fc7404420b..e23666bf6f 100644 --- a/sp/src/game/server/EnvLaser.h +++ b/sp/src/game/server/EnvLaser.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EnvMessage.cpp b/sp/src/game/server/EnvMessage.cpp index 7725b67dbe..7faf8378c4 100644 --- a/sp/src/game/server/EnvMessage.cpp +++ b/sp/src/game/server/EnvMessage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/server/EnvMessage.h b/sp/src/game/server/EnvMessage.h index cca710eaac..09e10d0708 100644 --- a/sp/src/game/server/EnvMessage.h +++ b/sp/src/game/server/EnvMessage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EnvShake.cpp b/sp/src/game/server/EnvShake.cpp index 14d4a51437..d4e882ba99 100644 --- a/sp/src/game/server/EnvShake.cpp +++ b/sp/src/game/server/EnvShake.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a screen shake effect that can also shake physics objects. // diff --git a/sp/src/game/server/EnvSpark.cpp b/sp/src/game/server/EnvSpark.cpp index ba4054b62d..5abd079018 100644 --- a/sp/src/game/server/EnvSpark.cpp +++ b/sp/src/game/server/EnvSpark.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A point entity that periodically emits sparks and "bzzt" sounds. // diff --git a/sp/src/game/server/EventLog.cpp b/sp/src/game/server/EventLog.cpp index 7c8512727b..35c98e7321 100644 --- a/sp/src/game/server/EventLog.cpp +++ b/sp/src/game/server/EventLog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/EventLog.h b/sp/src/game/server/EventLog.h index 1bcbd0113d..c2fd2508a2 100644 --- a/sp/src/game/server/EventLog.h +++ b/sp/src/game/server/EventLog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/GameStats.cpp b/sp/src/game/server/GameStats.cpp index 5b7b961030..fa2e28ee17 100644 --- a/sp/src/game/server/GameStats.cpp +++ b/sp/src/game/server/GameStats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/GameStats_BasicStatsFunctions.cpp b/sp/src/game/server/GameStats_BasicStatsFunctions.cpp index 5656b6b7ae..fb5d97e527 100644 --- a/sp/src/game/server/GameStats_BasicStatsFunctions.cpp +++ b/sp/src/game/server/GameStats_BasicStatsFunctions.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/MaterialModifyControl.cpp b/sp/src/game/server/MaterialModifyControl.cpp index 05d8714f88..e674b60fec 100644 --- a/sp/src/game/server/MaterialModifyControl.cpp +++ b/sp/src/game/server/MaterialModifyControl.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Material modify control entity. // diff --git a/sp/src/game/server/PointAngularVelocitySensor.cpp b/sp/src/game/server/PointAngularVelocitySensor.cpp index 03e6a45cac..08e6d478a1 100644 --- a/sp/src/game/server/PointAngularVelocitySensor.cpp +++ b/sp/src/game/server/PointAngularVelocitySensor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to fire events based on the orientation of a given entity. // diff --git a/sp/src/game/server/RagdollBoogie.cpp b/sp/src/game/server/RagdollBoogie.cpp index 0d54418de2..44fab35246 100644 --- a/sp/src/game/server/RagdollBoogie.cpp +++ b/sp/src/game/server/RagdollBoogie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dissolve entity to be attached to target entity. Serves two purposes: // diff --git a/sp/src/game/server/RagdollBoogie.h b/sp/src/game/server/RagdollBoogie.h index 8ca99e8104..b6ba6ed64c 100644 --- a/sp/src/game/server/RagdollBoogie.h +++ b/sp/src/game/server/RagdollBoogie.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ServerNetworkProperty.cpp b/sp/src/game/server/ServerNetworkProperty.cpp index 5bd93c18a7..e8e7810d41 100644 --- a/sp/src/game/server/ServerNetworkProperty.cpp +++ b/sp/src/game/server/ServerNetworkProperty.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ServerNetworkProperty.h b/sp/src/game/server/ServerNetworkProperty.h index cb4c386641..e716e644dc 100644 --- a/sp/src/game/server/ServerNetworkProperty.h +++ b/sp/src/game/server/ServerNetworkProperty.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/SkyCamera.cpp b/sp/src/game/server/SkyCamera.cpp index f5bb282522..d183d212d6 100644 --- a/sp/src/game/server/SkyCamera.cpp +++ b/sp/src/game/server/SkyCamera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/SkyCamera.h b/sp/src/game/server/SkyCamera.h index a193656818..967ddf0ed3 100644 --- a/sp/src/game/server/SkyCamera.h +++ b/sp/src/game/server/SkyCamera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Resource collection entity // diff --git a/sp/src/game/server/TemplateEntities.cpp b/sp/src/game/server/TemplateEntities.cpp index b2a54fd1ea..d4de890304 100644 --- a/sp/src/game/server/TemplateEntities.cpp +++ b/sp/src/game/server/TemplateEntities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Template entities are used by spawners to create copies of entities // that were configured by the level designer. This allows us to spawn diff --git a/sp/src/game/server/TemplateEntities.h b/sp/src/game/server/TemplateEntities.h index 6d0fa1b0ef..d107446721 100644 --- a/sp/src/game/server/TemplateEntities.h +++ b/sp/src/game/server/TemplateEntities.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Template entities are used by spawners to create copies of entities // that were configured by the level designer. This allows us to spawn diff --git a/sp/src/game/server/WaterLODControl.cpp b/sp/src/game/server/WaterLODControl.cpp index ebe616658d..e92bd2ec0a 100644 --- a/sp/src/game/server/WaterLODControl.cpp +++ b/sp/src/game/server/WaterLODControl.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shadow control entity. // diff --git a/sp/src/game/server/actanimating.cpp b/sp/src/game/server/actanimating.cpp index 4a75660771..36212506eb 100644 --- a/sp/src/game/server/actanimating.cpp +++ b/sp/src/game/server/actanimating.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/actanimating.h b/sp/src/game/server/actanimating.h index 5aa2b93be3..b53ca09e8f 100644 --- a/sp/src/game/server/actanimating.h +++ b/sp/src/game/server/actanimating.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_activity.cpp b/sp/src/game/server/ai_activity.cpp index e20bfc48db..3fe9fb9e84 100644 --- a/sp/src/game/server/ai_activity.cpp +++ b/sp/src/game/server/ai_activity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Activities that are available to all NPCs. // diff --git a/sp/src/game/server/ai_baseactor.cpp b/sp/src/game/server/ai_baseactor.cpp index df0a5aaa4b..1ace54d258 100644 --- a/sp/src/game/server/ai_baseactor.cpp +++ b/sp/src/game/server/ai_baseactor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_baseactor.h b/sp/src/game/server/ai_baseactor.h index f0d9f8ae89..db90f7bf03 100644 --- a/sp/src/game/server/ai_baseactor.h +++ b/sp/src/game/server/ai_baseactor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hooks and classes for the support of humanoid NPCs with // groovy facial animation capabilities, aka, "Actors" diff --git a/sp/src/game/server/ai_basehumanoid.cpp b/sp/src/game/server/ai_basehumanoid.cpp index 4208486038..501fc5000c 100644 --- a/sp/src/game/server/ai_basehumanoid.cpp +++ b/sp/src/game/server/ai_basehumanoid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basehumanoid.h b/sp/src/game/server/ai_basehumanoid.h index 86da44a56a..af28de0f6d 100644 --- a/sp/src/game/server/ai_basehumanoid.h +++ b/sp/src/game/server/ai_basehumanoid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc.cpp b/sp/src/game/server/ai_basenpc.cpp index f087f8a40e..bb550ad33d 100644 --- a/sp/src/game/server/ai_basenpc.cpp +++ b/sp/src/game/server/ai_basenpc.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc.h b/sp/src/game/server/ai_basenpc.h index 7db67d33e4..5da1e8dede 100644 --- a/sp/src/game/server/ai_basenpc.h +++ b/sp/src/game/server/ai_basenpc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base NPC character with AI // diff --git a/sp/src/game/server/ai_basenpc_flyer.cpp b/sp/src/game/server/ai_basenpc_flyer.cpp index f09f32762c..185279c287 100644 --- a/sp/src/game/server/ai_basenpc_flyer.cpp +++ b/sp/src/game/server/ai_basenpc_flyer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for many flying NPCs // diff --git a/sp/src/game/server/ai_basenpc_flyer.h b/sp/src/game/server/ai_basenpc_flyer.h index 127a669041..a51da7b557 100644 --- a/sp/src/game/server/ai_basenpc_flyer.h +++ b/sp/src/game/server/ai_basenpc_flyer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc_flyer_new.cpp b/sp/src/game/server/ai_basenpc_flyer_new.cpp index ef03fb45f3..76e0ea53a1 100644 --- a/sp/src/game/server/ai_basenpc_flyer_new.cpp +++ b/sp/src/game/server/ai_basenpc_flyer_new.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for many flying NPCs // diff --git a/sp/src/game/server/ai_basenpc_flyer_new.h b/sp/src/game/server/ai_basenpc_flyer_new.h index ed99963f3e..2a0f120813 100644 --- a/sp/src/game/server/ai_basenpc_flyer_new.h +++ b/sp/src/game/server/ai_basenpc_flyer_new.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc_movement.cpp b/sp/src/game/server/ai_basenpc_movement.cpp index 142b11e23c..2be48ec832 100644 --- a/sp/src/game/server/ai_basenpc_movement.cpp +++ b/sp/src/game/server/ai_basenpc_movement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc_physicsflyer.cpp b/sp/src/game/server/ai_basenpc_physicsflyer.cpp index 96ce265db8..61d5d0a110 100644 --- a/sp/src/game/server/ai_basenpc_physicsflyer.cpp +++ b/sp/src/game/server/ai_basenpc_physicsflyer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for many flying NPCs // diff --git a/sp/src/game/server/ai_basenpc_physicsflyer.h b/sp/src/game/server/ai_basenpc_physicsflyer.h index 0928fd4cdf..e5c2433b11 100644 --- a/sp/src/game/server/ai_basenpc_physicsflyer.h +++ b/sp/src/game/server/ai_basenpc_physicsflyer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_basenpc_schedule.cpp b/sp/src/game/server/ai_basenpc_schedule.cpp index 56e20e035f..46daaf141a 100644 --- a/sp/src/game/server/ai_basenpc_schedule.cpp +++ b/sp/src/game/server/ai_basenpc_schedule.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Functions and data pertaining to the NPCs' AI scheduling system. // Implements default NPC tasks and schedules. diff --git a/sp/src/game/server/ai_basenpc_squad.cpp b/sp/src/game/server/ai_basenpc_squad.cpp index 1e895536f0..689addbbc4 100644 --- a/sp/src/game/server/ai_basenpc_squad.cpp +++ b/sp/src/game/server/ai_basenpc_squad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior.cpp b/sp/src/game/server/ai_behavior.cpp index 4730e122f3..08cd2e8823 100644 --- a/sp/src/game/server/ai_behavior.cpp +++ b/sp/src/game/server/ai_behavior.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior.h b/sp/src/game/server/ai_behavior.h index f4df0640a1..fdc88a61f5 100644 --- a/sp/src/game/server/ai_behavior.h +++ b/sp/src/game/server/ai_behavior.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_assault.cpp b/sp/src/game/server/ai_behavior_assault.cpp index bacb4d6a7d..49c0013041 100644 --- a/sp/src/game/server/ai_behavior_assault.cpp +++ b/sp/src/game/server/ai_behavior_assault.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_assault.h b/sp/src/game/server/ai_behavior_assault.h index e927def921..7b35d11881 100644 --- a/sp/src/game/server/ai_behavior_assault.h +++ b/sp/src/game/server/ai_behavior_assault.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_fear.cpp b/sp/src/game/server/ai_behavior_fear.cpp index d153b7e30f..553c177e1f 100644 --- a/sp/src/game/server/ai_behavior_fear.cpp +++ b/sp/src/game/server/ai_behavior_fear.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_fear.h b/sp/src/game/server/ai_behavior_fear.h index e92ae689fa..493214840e 100644 --- a/sp/src/game/server/ai_behavior_fear.h +++ b/sp/src/game/server/ai_behavior_fear.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deal intelligently with an enemy that we're afraid of // diff --git a/sp/src/game/server/ai_behavior_follow.cpp b/sp/src/game/server/ai_behavior_follow.cpp index a2ab0caeab..5bf0605591 100644 --- a/sp/src/game/server/ai_behavior_follow.cpp +++ b/sp/src/game/server/ai_behavior_follow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_follow.h b/sp/src/game/server/ai_behavior_follow.h index 097588c616..c191a4bda0 100644 --- a/sp/src/game/server/ai_behavior_follow.h +++ b/sp/src/game/server/ai_behavior_follow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_lead.cpp b/sp/src/game/server/ai_behavior_lead.cpp index 733f9f1d75..a6863fdabc 100644 --- a/sp/src/game/server/ai_behavior_lead.cpp +++ b/sp/src/game/server/ai_behavior_lead.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_lead.h b/sp/src/game/server/ai_behavior_lead.h index ef4bb0253a..cd23817b61 100644 --- a/sp/src/game/server/ai_behavior_lead.h +++ b/sp/src/game/server/ai_behavior_lead.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_passenger.cpp b/sp/src/game/server/ai_behavior_passenger.cpp index d5d4439d1b..dadd807f66 100644 --- a/sp/src/game/server/ai_behavior_passenger.cpp +++ b/sp/src/game/server/ai_behavior_passenger.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Behavior for NPCs riding in cars (with boys) // diff --git a/sp/src/game/server/ai_behavior_passenger.h b/sp/src/game/server/ai_behavior_passenger.h index 61e0d73027..bb3a54b717 100644 --- a/sp/src/game/server/ai_behavior_passenger.h +++ b/sp/src/game/server/ai_behavior_passenger.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_rappel.cpp b/sp/src/game/server/ai_behavior_rappel.cpp index a9a75e916e..8cf18eaf96 100644 --- a/sp/src/game/server/ai_behavior_rappel.cpp +++ b/sp/src/game/server/ai_behavior_rappel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_behavior_rappel.h b/sp/src/game/server/ai_behavior_rappel.h index ee16fc65db..04a5f48ffe 100644 --- a/sp/src/game/server/ai_behavior_rappel.h +++ b/sp/src/game/server/ai_behavior_rappel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deal with weapon being out // diff --git a/sp/src/game/server/ai_behavior_standoff.cpp b/sp/src/game/server/ai_behavior_standoff.cpp index 00e1565b53..b6171316bf 100644 --- a/sp/src/game/server/ai_behavior_standoff.cpp +++ b/sp/src/game/server/ai_behavior_standoff.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Combat behaviors for AIs in a relatively self-preservationist mode. // Lots of cover taking and attempted shots out of cover. diff --git a/sp/src/game/server/ai_behavior_standoff.h b/sp/src/game/server/ai_behavior_standoff.h index 9141e87434..afb7cf7ca0 100644 --- a/sp/src/game/server/ai_behavior_standoff.h +++ b/sp/src/game/server/ai_behavior_standoff.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Combat behaviors for AIs in a relatively self-preservationist mode. // Lots of cover taking and attempted shots out of cover. diff --git a/sp/src/game/server/ai_blended_movement.cpp b/sp/src/game/server/ai_blended_movement.cpp index 0a11c915dd..8a9ab9f41e 100644 --- a/sp/src/game/server/ai_blended_movement.cpp +++ b/sp/src/game/server/ai_blended_movement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_blended_movement.h b/sp/src/game/server/ai_blended_movement.h index dab62be686..744d5de188 100644 --- a/sp/src/game/server/ai_blended_movement.h +++ b/sp/src/game/server/ai_blended_movement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_component.h b/sp/src/game/server/ai_component.h index 2385d61b82..2149428a6d 100644 --- a/sp/src/game/server/ai_component.h +++ b/sp/src/game/server/ai_component.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_concommands.cpp b/sp/src/game/server/ai_concommands.cpp index 6c4370d934..f2b063096f 100644 --- a/sp/src/game/server/ai_concommands.cpp +++ b/sp/src/game/server/ai_concommands.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Console commands for debugging and manipulating NPCs. // diff --git a/sp/src/game/server/ai_condition.cpp b/sp/src/game/server/ai_condition.cpp index eec0066e85..67f2749205 100644 --- a/sp/src/game/server/ai_condition.cpp +++ b/sp/src/game/server/ai_condition.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_condition.h b/sp/src/game/server/ai_condition.h index e23185f22e..11b6b6acdc 100644 --- a/sp/src/game/server/ai_condition.h +++ b/sp/src/game/server/ai_condition.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The default shared conditions // diff --git a/sp/src/game/server/ai_debug.h b/sp/src/game/server/ai_debug.h index 8a438d7000..198e593391 100644 --- a/sp/src/game/server/ai_debug.h +++ b/sp/src/game/server/ai_debug.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_default.cpp b/sp/src/game/server/ai_default.cpp index 8f660ec319..43cf4e2f9d 100644 --- a/sp/src/game/server/ai_default.cpp +++ b/sp/src/game/server/ai_default.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Default schedules. // diff --git a/sp/src/game/server/ai_default.h b/sp/src/game/server/ai_default.h index 662dd45ff4..c7ba68471b 100644 --- a/sp/src/game/server/ai_default.h +++ b/sp/src/game/server/ai_default.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Default schedules. // diff --git a/sp/src/game/server/ai_dynamiclink.cpp b/sp/src/game/server/ai_dynamiclink.cpp index a08402e860..43f03051f4 100644 --- a/sp/src/game/server/ai_dynamiclink.cpp +++ b/sp/src/game/server/ai_dynamiclink.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A link that can be turned on and off. Unlike normal links // dyanimc links must be entities so they can receive messages. diff --git a/sp/src/game/server/ai_dynamiclink.h b/sp/src/game/server/ai_dynamiclink.h index 971df96a95..85f4ce9a1f 100644 --- a/sp/src/game/server/ai_dynamiclink.h +++ b/sp/src/game/server/ai_dynamiclink.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A link that can be turned on and off. Unlike normal links // dyanimc links must be entities so they and receive messages. diff --git a/sp/src/game/server/ai_event.cpp b/sp/src/game/server/ai_event.cpp index a9cea52c7e..0502eb885d 100644 --- a/sp/src/game/server/ai_event.cpp +++ b/sp/src/game/server/ai_event.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Events that are available to all NPCs. // diff --git a/sp/src/game/server/ai_eventresponse.cpp b/sp/src/game/server/ai_eventresponse.cpp index 8e5f19ecd2..860c7b7bc8 100644 --- a/sp/src/game/server/ai_eventresponse.cpp +++ b/sp/src/game/server/ai_eventresponse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: AI system that makes NPCs verbally respond to game events // diff --git a/sp/src/game/server/ai_eventresponse.h b/sp/src/game/server/ai_eventresponse.h index fedc14034f..e67927138d 100644 --- a/sp/src/game/server/ai_eventresponse.h +++ b/sp/src/game/server/ai_eventresponse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: AI system that makes NPCs verbally respond to game events // diff --git a/sp/src/game/server/ai_goalentity.cpp b/sp/src/game/server/ai_goalentity.cpp index 916d9210fb..93ff60672b 100644 --- a/sp/src/game/server/ai_goalentity.cpp +++ b/sp/src/game/server/ai_goalentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_goalentity.h b/sp/src/game/server/ai_goalentity.h index 56252d2506..6440c67f28 100644 --- a/sp/src/game/server/ai_goalentity.h +++ b/sp/src/game/server/ai_goalentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_hint.cpp b/sp/src/game/server/ai_hint.cpp index 10d9d7282b..43fb2fb72a 100644 --- a/sp/src/game/server/ai_hint.cpp +++ b/sp/src/game/server/ai_hint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hint node utilities and functions // diff --git a/sp/src/game/server/ai_hint.h b/sp/src/game/server/ai_hint.h index b18be429fa..2446b89cd1 100644 --- a/sp/src/game/server/ai_hint.h +++ b/sp/src/game/server/ai_hint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Hint node utilities and functions. // diff --git a/sp/src/game/server/ai_hull.cpp b/sp/src/game/server/ai_hull.cpp index e688f0fd48..597afbcdcc 100644 --- a/sp/src/game/server/ai_hull.cpp +++ b/sp/src/game/server/ai_hull.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=============================================================================// diff --git a/sp/src/game/server/ai_hull.h b/sp/src/game/server/ai_hull.h index 348f730f8d..3638557961 100644 --- a/sp/src/game/server/ai_hull.h +++ b/sp/src/game/server/ai_hull.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=============================================================================// diff --git a/sp/src/game/server/ai_initutils.cpp b/sp/src/game/server/ai_initutils.cpp index cd79279881..64b718be67 100644 --- a/sp/src/game/server/ai_initutils.cpp +++ b/sp/src/game/server/ai_initutils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: AI Utility classes for building the initial AI Networks // diff --git a/sp/src/game/server/ai_initutils.h b/sp/src/game/server/ai_initutils.h index 70bd019c00..2e06ccd2c1 100644 --- a/sp/src/game/server/ai_initutils.h +++ b/sp/src/game/server/ai_initutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: AI Utility classes for building the initial AI Networks // diff --git a/sp/src/game/server/ai_link.cpp b/sp/src/game/server/ai_link.cpp index 6bf993dec5..61a0737611 100644 --- a/sp/src/game/server/ai_link.cpp +++ b/sp/src/game/server/ai_link.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_link.h b/sp/src/game/server/ai_link.h index d9d5713bb2..f552416ef6 100644 --- a/sp/src/game/server/ai_link.h +++ b/sp/src/game/server/ai_link.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_localnavigator.cpp b/sp/src/game/server/ai_localnavigator.cpp index 48f8f9b9cd..00efd2324d 100644 --- a/sp/src/game/server/ai_localnavigator.cpp +++ b/sp/src/game/server/ai_localnavigator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_localnavigator.h b/sp/src/game/server/ai_localnavigator.h index a6f48011f1..ef0ba753b0 100644 --- a/sp/src/game/server/ai_localnavigator.h +++ b/sp/src/game/server/ai_localnavigator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_looktarget.cpp b/sp/src/game/server/ai_looktarget.cpp index b10bb7cffe..6a9b5f604b 100644 --- a/sp/src/game/server/ai_looktarget.cpp +++ b/sp/src/game/server/ai_looktarget.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_looktarget.h b/sp/src/game/server/ai_looktarget.h index a98ceb0bf0..c53c29dead 100644 --- a/sp/src/game/server/ai_looktarget.h +++ b/sp/src/game/server/ai_looktarget.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_memory.cpp b/sp/src/game/server/ai_memory.cpp index 7ac69311a2..64dd6d5b7a 100644 --- a/sp/src/game/server/ai_memory.cpp +++ b/sp/src/game/server/ai_memory.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An NPC's memory of potential enemies // diff --git a/sp/src/game/server/ai_memory.h b/sp/src/game/server/ai_memory.h index d348c53e02..2bf827a38f 100644 --- a/sp/src/game/server/ai_memory.h +++ b/sp/src/game/server/ai_memory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An NPC's memory of potential enemies // diff --git a/sp/src/game/server/ai_motor.cpp b/sp/src/game/server/ai_motor.cpp index 43eb86a34f..f6d990865a 100644 --- a/sp/src/game/server/ai_motor.cpp +++ b/sp/src/game/server/ai_motor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_motor.h b/sp/src/game/server/ai_motor.h index 29c05f8464..0cc5e1befa 100644 --- a/sp/src/game/server/ai_motor.h +++ b/sp/src/game/server/ai_motor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_moveprobe.cpp b/sp/src/game/server/ai_moveprobe.cpp index bdf8796b59..c90764a13c 100644 --- a/sp/src/game/server/ai_moveprobe.cpp +++ b/sp/src/game/server/ai_moveprobe.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_moveprobe.h b/sp/src/game/server/ai_moveprobe.h index 8bf1c7cb57..1aeeb10246 100644 --- a/sp/src/game/server/ai_moveprobe.h +++ b/sp/src/game/server/ai_moveprobe.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_moveshoot.cpp b/sp/src/game/server/ai_moveshoot.cpp index 578faa0a29..bf919fa02d 100644 --- a/sp/src/game/server/ai_moveshoot.cpp +++ b/sp/src/game/server/ai_moveshoot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // To give an NPC the ability to shoot while moving: // diff --git a/sp/src/game/server/ai_moveshoot.h b/sp/src/game/server/ai_moveshoot.h index 9fee00057c..8d531ed120 100644 --- a/sp/src/game/server/ai_moveshoot.h +++ b/sp/src/game/server/ai_moveshoot.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_movesolver.cpp b/sp/src/game/server/ai_movesolver.cpp index 101056a74a..f9d66b45cb 100644 --- a/sp/src/game/server/ai_movesolver.cpp +++ b/sp/src/game/server/ai_movesolver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_movesolver.h b/sp/src/game/server/ai_movesolver.h index 8f6826b953..f4e3e3f70d 100644 --- a/sp/src/game/server/ai_movesolver.h +++ b/sp/src/game/server/ai_movesolver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: "Force-field" obstacle avoidance & steering // diff --git a/sp/src/game/server/ai_movetypes.h b/sp/src/game/server/ai_movetypes.h index b255921e74..334b4addef 100644 --- a/sp/src/game/server/ai_movetypes.h +++ b/sp/src/game/server/ai_movetypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_namespaces.cpp b/sp/src/game/server/ai_namespaces.cpp index d21d4779ea..ef441d09f1 100644 --- a/sp/src/game/server/ai_namespaces.cpp +++ b/sp/src/game/server/ai_namespaces.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_namespaces.h b/sp/src/game/server/ai_namespaces.h index 8ea9053aef..de63ab30b8 100644 --- a/sp/src/game/server/ai_namespaces.h +++ b/sp/src/game/server/ai_namespaces.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_navgoaltype.h b/sp/src/game/server/ai_navgoaltype.h index cd9ef1fd9e..3c149a8bed 100644 --- a/sp/src/game/server/ai_navgoaltype.h +++ b/sp/src/game/server/ai_navgoaltype.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_navigator.cpp b/sp/src/game/server/ai_navigator.cpp index dacab2aa94..2d2c8b60c7 100644 --- a/sp/src/game/server/ai_navigator.cpp +++ b/sp/src/game/server/ai_navigator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_navigator.h b/sp/src/game/server/ai_navigator.h index a2100943c6..bd884e0ae8 100644 --- a/sp/src/game/server/ai_navigator.h +++ b/sp/src/game/server/ai_navigator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_navtype.h b/sp/src/game/server/ai_navtype.h index 8aa47e6fed..05fcd33d07 100644 --- a/sp/src/game/server/ai_navtype.h +++ b/sp/src/game/server/ai_navtype.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_network.cpp b/sp/src/game/server/ai_network.cpp index 1323b7ce21..5f9ffb3a35 100644 --- a/sp/src/game/server/ai_network.cpp +++ b/sp/src/game/server/ai_network.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_network.h b/sp/src/game/server/ai_network.h index a86d89b889..83abbb1a25 100644 --- a/sp/src/game/server/ai_network.h +++ b/sp/src/game/server/ai_network.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_networkmanager.cpp b/sp/src/game/server/ai_networkmanager.cpp index 10fb51ffe1..ce2a8509e3 100644 --- a/sp/src/game/server/ai_networkmanager.cpp +++ b/sp/src/game/server/ai_networkmanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_networkmanager.h b/sp/src/game/server/ai_networkmanager.h index e8e61304d5..9129564a4e 100644 --- a/sp/src/game/server/ai_networkmanager.h +++ b/sp/src/game/server/ai_networkmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_node.cpp b/sp/src/game/server/ai_node.cpp index 7b82eacf12..bbce5f1c6b 100644 --- a/sp/src/game/server/ai_node.cpp +++ b/sp/src/game/server/ai_node.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_node.h b/sp/src/game/server/ai_node.h index 6c79d9a891..09848b4e09 100644 --- a/sp/src/game/server/ai_node.h +++ b/sp/src/game/server/ai_node.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_npcstate.h b/sp/src/game/server/ai_npcstate.h index 91834c4b80..bf1718ac4a 100644 --- a/sp/src/game/server/ai_npcstate.h +++ b/sp/src/game/server/ai_npcstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_obstacle_type.h b/sp/src/game/server/ai_obstacle_type.h index 5f5a382964..0554385ef2 100644 --- a/sp/src/game/server/ai_obstacle_type.h +++ b/sp/src/game/server/ai_obstacle_type.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_pathfinder.cpp b/sp/src/game/server/ai_pathfinder.cpp index 61c641a537..dcf8ed9366 100644 --- a/sp/src/game/server/ai_pathfinder.cpp +++ b/sp/src/game/server/ai_pathfinder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_pathfinder.h b/sp/src/game/server/ai_pathfinder.h index 615e7d74a5..1ed518948a 100644 --- a/sp/src/game/server/ai_pathfinder.h +++ b/sp/src/game/server/ai_pathfinder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_planesolver.cpp b/sp/src/game/server/ai_planesolver.cpp index 680195c577..9c08d5d330 100644 --- a/sp/src/game/server/ai_planesolver.cpp +++ b/sp/src/game/server/ai_planesolver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_planesolver.h b/sp/src/game/server/ai_planesolver.h index 867d1e813c..c599f9a8f0 100644 --- a/sp/src/game/server/ai_planesolver.h +++ b/sp/src/game/server/ai_planesolver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_playerally.cpp b/sp/src/game/server/ai_playerally.cpp index ea7c986f17..8e94d23fb5 100644 --- a/sp/src/game/server/ai_playerally.cpp +++ b/sp/src/game/server/ai_playerally.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_playerally.h b/sp/src/game/server/ai_playerally.h index 8c34333a09..7c8a12a4a3 100644 --- a/sp/src/game/server/ai_playerally.h +++ b/sp/src/game/server/ai_playerally.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_relationship.cpp b/sp/src/game/server/ai_relationship.cpp index e5f12d62ed..42619310a9 100644 --- a/sp/src/game/server/ai_relationship.cpp +++ b/sp/src/game/server/ai_relationship.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity which alters the relationships between entities via entity I/O // diff --git a/sp/src/game/server/ai_route.cpp b/sp/src/game/server/ai_route.cpp index 91175b7864..cd2cd487b3 100644 --- a/sp/src/game/server/ai_route.cpp +++ b/sp/src/game/server/ai_route.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_route.h b/sp/src/game/server/ai_route.h index 9c481f0e2b..b9103fe513 100644 --- a/sp/src/game/server/ai_route.h +++ b/sp/src/game/server/ai_route.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_routedist.h b/sp/src/game/server/ai_routedist.h index 4820539372..89093c2080 100644 --- a/sp/src/game/server/ai_routedist.h +++ b/sp/src/game/server/ai_routedist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_saverestore.cpp b/sp/src/game/server/ai_saverestore.cpp index 917a73b264..bf17fd323e 100644 --- a/sp/src/game/server/ai_saverestore.cpp +++ b/sp/src/game/server/ai_saverestore.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_saverestore.h b/sp/src/game/server/ai_saverestore.h index c2276c576f..8490b20cc0 100644 --- a/sp/src/game/server/ai_saverestore.h +++ b/sp/src/game/server/ai_saverestore.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_schedule.cpp b/sp/src/game/server/ai_schedule.cpp index a4389769f9..0b52ce5e8d 100644 --- a/sp/src/game/server/ai_schedule.cpp +++ b/sp/src/game/server/ai_schedule.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_schedule.h b/sp/src/game/server/ai_schedule.h index 2a2d96cc6d..1de242f984 100644 --- a/sp/src/game/server/ai_schedule.h +++ b/sp/src/game/server/ai_schedule.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A schedule // diff --git a/sp/src/game/server/ai_scriptconditions.cpp b/sp/src/game/server/ai_scriptconditions.cpp index 205bcfb9cc..74cc2dabe7 100644 --- a/sp/src/game/server/ai_scriptconditions.cpp +++ b/sp/src/game/server/ai_scriptconditions.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_scriptconditions.h b/sp/src/game/server/ai_scriptconditions.h index f63096ce85..25b749f38a 100644 --- a/sp/src/game/server/ai_scriptconditions.h +++ b/sp/src/game/server/ai_scriptconditions.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_senses.cpp b/sp/src/game/server/ai_senses.cpp index 45e23e0960..c50b270a7c 100644 --- a/sp/src/game/server/ai_senses.cpp +++ b/sp/src/game/server/ai_senses.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_senses.h b/sp/src/game/server/ai_senses.h index fed85eb962..43d919aca7 100644 --- a/sp/src/game/server/ai_senses.h +++ b/sp/src/game/server/ai_senses.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_sentence.cpp b/sp/src/game/server/ai_sentence.cpp index 15e9efb3cf..00ae241866 100644 --- a/sp/src/game/server/ai_sentence.cpp +++ b/sp/src/game/server/ai_sentence.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_sentence.h b/sp/src/game/server/ai_sentence.h index 8099fce060..1331f40d65 100644 --- a/sp/src/game/server/ai_sentence.h +++ b/sp/src/game/server/ai_sentence.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_speech.cpp b/sp/src/game/server/ai_speech.cpp index 16b8e93272..ab19259f64 100644 --- a/sp/src/game/server/ai_speech.cpp +++ b/sp/src/game/server/ai_speech.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_speech.h b/sp/src/game/server/ai_speech.h index d91fee83f4..a5f390ef7f 100644 --- a/sp/src/game/server/ai_speech.h +++ b/sp/src/game/server/ai_speech.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_speechfilter.cpp b/sp/src/game/server/ai_speechfilter.cpp index 7af10796f0..9822d7befe 100644 --- a/sp/src/game/server/ai_speechfilter.cpp +++ b/sp/src/game/server/ai_speechfilter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that can be used to control speech behaviour for a group // of NPCs. diff --git a/sp/src/game/server/ai_speechfilter.h b/sp/src/game/server/ai_speechfilter.h index 023a2aa686..e568d044c5 100644 --- a/sp/src/game/server/ai_speechfilter.h +++ b/sp/src/game/server/ai_speechfilter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_squad.cpp b/sp/src/game/server/ai_squad.cpp index 15e7fb68e2..23cbe35e54 100644 --- a/sp/src/game/server/ai_squad.cpp +++ b/sp/src/game/server/ai_squad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Squad classes // diff --git a/sp/src/game/server/ai_squad.h b/sp/src/game/server/ai_squad.h index 9604d1f0d1..1826cc793f 100644 --- a/sp/src/game/server/ai_squad.h +++ b/sp/src/game/server/ai_squad.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Squad classes // diff --git a/sp/src/game/server/ai_squadslot.cpp b/sp/src/game/server/ai_squadslot.cpp index ca22d1288e..3bc69957f8 100644 --- a/sp/src/game/server/ai_squadslot.cpp +++ b/sp/src/game/server/ai_squadslot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/ai_squadslot.h b/sp/src/game/server/ai_squadslot.h index 53e43a3e97..658d4acf2c 100644 --- a/sp/src/game/server/ai_squadslot.h +++ b/sp/src/game/server/ai_squadslot.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The default shared conditions // diff --git a/sp/src/game/server/ai_tacticalservices.cpp b/sp/src/game/server/ai_tacticalservices.cpp index 8bcdcc0826..e22805f1a3 100644 --- a/sp/src/game/server/ai_tacticalservices.cpp +++ b/sp/src/game/server/ai_tacticalservices.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= diff --git a/sp/src/game/server/ai_tacticalservices.h b/sp/src/game/server/ai_tacticalservices.h index 4ed844f564..d26d168a3b 100644 --- a/sp/src/game/server/ai_tacticalservices.h +++ b/sp/src/game/server/ai_tacticalservices.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= diff --git a/sp/src/game/server/ai_task.cpp b/sp/src/game/server/ai_task.cpp index 6e47135163..c7b2cd580b 100644 --- a/sp/src/game/server/ai_task.cpp +++ b/sp/src/game/server/ai_task.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Sets up the tasks for default AI. // diff --git a/sp/src/game/server/ai_task.h b/sp/src/game/server/ai_task.h index dc167752fe..40108365cb 100644 --- a/sp/src/game/server/ai_task.h +++ b/sp/src/game/server/ai_task.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the tasks for default AI. // diff --git a/sp/src/game/server/ai_trackpather.cpp b/sp/src/game/server/ai_trackpather.cpp index 18596c9a0e..ba89461264 100644 --- a/sp/src/game/server/ai_trackpather.cpp +++ b/sp/src/game/server/ai_trackpather.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_trackpather.h b/sp/src/game/server/ai_trackpather.h index a2ce734515..736b4115ef 100644 --- a/sp/src/game/server/ai_trackpather.h +++ b/sp/src/game/server/ai_trackpather.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_utils.cpp b/sp/src/game/server/ai_utils.cpp index 838474799f..84dd458b49 100644 --- a/sp/src/game/server/ai_utils.cpp +++ b/sp/src/game/server/ai_utils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_utils.h b/sp/src/game/server/ai_utils.h index 8cdde7bae1..7e102c23e8 100644 --- a/sp/src/game/server/ai_utils.h +++ b/sp/src/game/server/ai_utils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple, small, free-standing tools for building AIs // diff --git a/sp/src/game/server/ai_waypoint.cpp b/sp/src/game/server/ai_waypoint.cpp index 79885c374c..ec732205f7 100644 --- a/sp/src/game/server/ai_waypoint.cpp +++ b/sp/src/game/server/ai_waypoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ai_waypoint.h b/sp/src/game/server/ai_waypoint.h index cc899b5ed2..6dfb4190dd 100644 --- a/sp/src/game/server/ai_waypoint.h +++ b/sp/src/game/server/ai_waypoint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/base_gameinterface.cpp b/sp/src/game/server/base_gameinterface.cpp index cc20c89bce..3380bba714 100644 --- a/sp/src/game/server/base_gameinterface.cpp +++ b/sp/src/game/server/base_gameinterface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/base_transmit_proxy.cpp b/sp/src/game/server/base_transmit_proxy.cpp index 4832af8df9..f454a29232 100644 --- a/sp/src/game/server/base_transmit_proxy.cpp +++ b/sp/src/game/server/base_transmit_proxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/base_transmit_proxy.h b/sp/src/game/server/base_transmit_proxy.h index d319779f22..33ad366e35 100644 --- a/sp/src/game/server/base_transmit_proxy.h +++ b/sp/src/game/server/base_transmit_proxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/baseanimating.cpp b/sp/src/game/server/baseanimating.cpp index 0e2262094d..f5f416690f 100644 --- a/sp/src/game/server/baseanimating.cpp +++ b/sp/src/game/server/baseanimating.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for all animating characters and objects. // diff --git a/sp/src/game/server/baseanimating.h b/sp/src/game/server/baseanimating.h index 4fb3c47c3b..3c4b0025cb 100644 --- a/sp/src/game/server/baseanimating.h +++ b/sp/src/game/server/baseanimating.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basebludgeonweapon.cpp b/sp/src/game/server/basebludgeonweapon.cpp index c755e2ef5c..f71cb97036 100644 --- a/sp/src/game/server/basebludgeonweapon.cpp +++ b/sp/src/game/server/basebludgeonweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basebludgeonweapon.h b/sp/src/game/server/basebludgeonweapon.h index 57f0ed11d6..0c90aae0a0 100644 --- a/sp/src/game/server/basebludgeonweapon.h +++ b/sp/src/game/server/basebludgeonweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The class from which all bludgeon melee // weapons are derived. diff --git a/sp/src/game/server/basecombatcharacter.cpp b/sp/src/game/server/basecombatcharacter.cpp index b7a2692d68..4625af81e3 100644 --- a/sp/src/game/server/basecombatcharacter.cpp +++ b/sp/src/game/server/basecombatcharacter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/basecombatcharacter.h b/sp/src/game/server/basecombatcharacter.h index f7aa3d8e67..f47035956a 100644 --- a/sp/src/game/server/basecombatcharacter.h +++ b/sp/src/game/server/basecombatcharacter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/basecombatweapon.cpp b/sp/src/game/server/basecombatweapon.cpp index 2863b747fd..00c4e8e8dc 100644 --- a/sp/src/game/server/basecombatweapon.cpp +++ b/sp/src/game/server/basecombatweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basecombatweapon.h b/sp/src/game/server/basecombatweapon.h index 0af362ca13..54a63b8339 100644 --- a/sp/src/game/server/basecombatweapon.h +++ b/sp/src/game/server/basecombatweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/baseentity.cpp b/sp/src/game/server/baseentity.cpp index d62e95364b..a6b1b62463 100644 --- a/sp/src/game/server/baseentity.cpp +++ b/sp/src/game/server/baseentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The base class from which all game entities are derived. // @@ -2257,8 +2257,7 @@ ScriptHook_t CBaseEntity::g_Hook_ModifyEmitSoundParams; ScriptHook_t CBaseEntity::g_Hook_ModifySentenceParams; #endif -BEGIN_ENT_SCRIPTDESC_ROOT( CBaseEntity, "Root class of all server-side entities" ) - DEFINE_SCRIPT_INSTANCE_HELPER( &g_BaseEntityScriptInstanceHelper ) +BEGIN_ENT_SCRIPTDESC_ROOT_WITH_HELPER( CBaseEntity, "Root class of all server-side entities", &g_BaseEntityScriptInstanceHelper ) DEFINE_SCRIPTFUNC_NAMED( ConnectOutputToScript, "ConnectOutput", "Adds an I/O connection that will call the named function when the specified output fires" ) DEFINE_SCRIPTFUNC_NAMED( DisconnectOutputFromScript, "DisconnectOutput", "Removes a connected script function from an I/O event." ) diff --git a/sp/src/game/server/baseentity.h b/sp/src/game/server/baseentity.h index e589923121..729b3e91c0 100644 --- a/sp/src/game/server/baseentity.h +++ b/sp/src/game/server/baseentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/baseflex.cpp b/sp/src/game/server/baseflex.cpp index 49f3c189fe..d45b55503c 100644 --- a/sp/src/game/server/baseflex.cpp +++ b/sp/src/game/server/baseflex.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/baseflex.h b/sp/src/game/server/baseflex.h index ec809534af..31e251e736 100644 --- a/sp/src/game/server/baseflex.h +++ b/sp/src/game/server/baseflex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basegrenade_concussion.cpp b/sp/src/game/server/basegrenade_concussion.cpp index 2954416e27..bc8d753cb8 100644 --- a/sp/src/game/server/basegrenade_concussion.cpp +++ b/sp/src/game/server/basegrenade_concussion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basegrenade_contact.cpp b/sp/src/game/server/basegrenade_contact.cpp index d0123ba093..e405b17c13 100644 --- a/sp/src/game/server/basegrenade_contact.cpp +++ b/sp/src/game/server/basegrenade_contact.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basegrenade_timed.cpp b/sp/src/game/server/basegrenade_timed.cpp index e22b47c47f..c3cfd3ca3d 100644 --- a/sp/src/game/server/basegrenade_timed.cpp +++ b/sp/src/game/server/basegrenade_timed.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basemultiplayerplayer.cpp b/sp/src/game/server/basemultiplayerplayer.cpp index d75ec6279e..9ca65f4094 100644 --- a/sp/src/game/server/basemultiplayerplayer.cpp +++ b/sp/src/game/server/basemultiplayerplayer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basemultiplayerplayer.h b/sp/src/game/server/basemultiplayerplayer.h index 9550a86ac9..57941e801a 100644 --- a/sp/src/game/server/basemultiplayerplayer.h +++ b/sp/src/game/server/basemultiplayerplayer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= #ifndef BASEMULTIPLAYERPLAYER_H diff --git a/sp/src/game/server/basetempentity.cpp b/sp/src/game/server/basetempentity.cpp index a238397ee7..4c65848e9f 100644 --- a/sp/src/game/server/basetempentity.cpp +++ b/sp/src/game/server/basetempentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basetempentity.h b/sp/src/game/server/basetempentity.h index bef09105c3..c28e251258 100644 --- a/sp/src/game/server/basetempentity.h +++ b/sp/src/game/server/basetempentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/basetoggle.h b/sp/src/game/server/basetoggle.h index 877e48db20..3be3811f53 100644 --- a/sp/src/game/server/basetoggle.h +++ b/sp/src/game/server/basetoggle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: For the slow removing of the CBaseToggle entity // only old entities that need it for backwards-compatibility should diff --git a/sp/src/game/server/baseviewmodel.cpp b/sp/src/game/server/baseviewmodel.cpp index 0936b97ddc..695dfdd15e 100644 --- a/sp/src/game/server/baseviewmodel.cpp +++ b/sp/src/game/server/baseviewmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/baseviewmodel.h b/sp/src/game/server/baseviewmodel.h index 6560bbd873..e92fa5b057 100644 --- a/sp/src/game/server/baseviewmodel.h +++ b/sp/src/game/server/baseviewmodel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Server side view model object // diff --git a/sp/src/game/server/bitstring.cpp b/sp/src/game/server/bitstring.cpp index 21d424d3a9..09bf7a47ee 100644 --- a/sp/src/game/server/bitstring.cpp +++ b/sp/src/game/server/bitstring.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Arbitrary length bit string // ** NOTE: This class does NOT override the bitwise operators diff --git a/sp/src/game/server/bitstring.h b/sp/src/game/server/bitstring.h index f3c063f6fe..9403f43256 100644 --- a/sp/src/game/server/bitstring.h +++ b/sp/src/game/server/bitstring.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Arbitrary length bit string // ** NOTE: This class does NOT override the bitwise operators diff --git a/sp/src/game/server/bmodels.cpp b/sp/src/game/server/bmodels.cpp index e8291f8f60..24f2c87e84 100644 --- a/sp/src/game/server/bmodels.cpp +++ b/sp/src/game/server/bmodels.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Spawn, think, and use functions for common brush entities. // diff --git a/sp/src/game/server/buttons.cpp b/sp/src/game/server/buttons.cpp index 47472d4374..ad5bc703d2 100644 --- a/sp/src/game/server/buttons.cpp +++ b/sp/src/game/server/buttons.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements buttons. // diff --git a/sp/src/game/server/buttons.h b/sp/src/game/server/buttons.h index c78a8652db..b3a61da3da 100644 --- a/sp/src/game/server/buttons.h +++ b/sp/src/game/server/buttons.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/cbase.cpp b/sp/src/game/server/cbase.cpp index abee7a5d85..b7c7398063 100644 --- a/sp/src/game/server/cbase.cpp +++ b/sp/src/game/server/cbase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/cbase.h b/sp/src/game/server/cbase.h index 2b00af39ed..0116b6e790 100644 --- a/sp/src/game/server/cbase.h +++ b/sp/src/game/server/cbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/client.cpp b/sp/src/game/server/client.cpp index 087d023f42..7dd714f8b0 100644 --- a/sp/src/game/server/client.cpp +++ b/sp/src/game/server/client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/client.h b/sp/src/game/server/client.h index 076d6cacc9..0fa234a28d 100644 --- a/sp/src/game/server/client.h +++ b/sp/src/game/server/client.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/colorcorrection.cpp b/sp/src/game/server/colorcorrection.cpp index 69e6db8580..4c423b7db6 100644 --- a/sp/src/game/server/colorcorrection.cpp +++ b/sp/src/game/server/colorcorrection.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Color correction entity. // diff --git a/sp/src/game/server/colorcorrectionvolume.cpp b/sp/src/game/server/colorcorrectionvolume.cpp index abc55d75ff..e8fe99c622 100644 --- a/sp/src/game/server/colorcorrectionvolume.cpp +++ b/sp/src/game/server/colorcorrectionvolume.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Color correction entity. // diff --git a/sp/src/game/server/controlentities.cpp b/sp/src/game/server/controlentities.cpp index e67b8f8e13..578ab825bb 100644 --- a/sp/src/game/server/controlentities.cpp +++ b/sp/src/game/server/controlentities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: contains entities who have no physical representation in the game, and who // must be triggered by other entities to cause their effects. diff --git a/sp/src/game/server/cplane.cpp b/sp/src/game/server/cplane.cpp index ccea553ef8..53364eb21d 100644 --- a/sp/src/game/server/cplane.cpp +++ b/sp/src/game/server/cplane.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/cplane.h b/sp/src/game/server/cplane.h index 98d5b45852..96d6f8f3de 100644 --- a/sp/src/game/server/cplane.h +++ b/sp/src/game/server/cplane.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/damagemodifier.cpp b/sp/src/game/server/damagemodifier.cpp index 12c9a595fa..8dfb9d9dd1 100644 --- a/sp/src/game/server/damagemodifier.cpp +++ b/sp/src/game/server/damagemodifier.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/damagemodifier.h b/sp/src/game/server/damagemodifier.h index 5123f636f0..e58a627e82 100644 --- a/sp/src/game/server/damagemodifier.h +++ b/sp/src/game/server/damagemodifier.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/data_collector.cpp b/sp/src/game/server/data_collector.cpp index d2323b868d..693b55799a 100644 --- a/sp/src/game/server/data_collector.cpp +++ b/sp/src/game/server/data_collector.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/data_collector.h b/sp/src/game/server/data_collector.h index ba1b9fd621..01f56c2491 100644 --- a/sp/src/game/server/data_collector.h +++ b/sp/src/game/server/data_collector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/doors.cpp b/sp/src/game/server/doors.cpp index e76ba1994f..f0853aa025 100644 --- a/sp/src/game/server/doors.cpp +++ b/sp/src/game/server/doors.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements two types of doors: linear and rotating. // diff --git a/sp/src/game/server/doors.h b/sp/src/game/server/doors.h index 7658482cda..3c4d9ccd36 100644 --- a/sp/src/game/server/doors.h +++ b/sp/src/game/server/doors.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/dynamiclight.cpp b/sp/src/game/server/dynamiclight.cpp index 9c14c466d2..598616047c 100644 --- a/sp/src/game/server/dynamiclight.cpp +++ b/sp/src/game/server/dynamiclight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dynamic light. // diff --git a/sp/src/game/server/effects.cpp b/sp/src/game/server/effects.cpp index cbe0519083..8413da3296 100644 --- a/sp/src/game/server/effects.cpp +++ b/sp/src/game/server/effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a grab bag of visual effects entities. // diff --git a/sp/src/game/server/effects.h b/sp/src/game/server/effects.h index 364657fb6c..1a0518c264 100644 --- a/sp/src/game/server/effects.h +++ b/sp/src/game/server/effects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/enginecallback.h b/sp/src/game/server/enginecallback.h index 45993be904..eebaba2978 100644 --- a/sp/src/game/server/enginecallback.h +++ b/sp/src/game/server/enginecallback.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entity_tools_server.cpp b/sp/src/game/server/entity_tools_server.cpp index 8b76e88883..6ed7cd19fd 100644 --- a/sp/src/game/server/entity_tools_server.cpp +++ b/sp/src/game/server/entity_tools_server.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entityapi.h b/sp/src/game/server/entityapi.h index 234001dd44..8daeccea23 100644 --- a/sp/src/game/server/entityapi.h +++ b/sp/src/game/server/entityapi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entityblocker.cpp b/sp/src/game/server/entityblocker.cpp index cc6edbf5f5..3624f15977 100644 --- a/sp/src/game/server/entityblocker.cpp +++ b/sp/src/game/server/entityblocker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entityblocker.h b/sp/src/game/server/entityblocker.h index cc6c3fda0b..9b7b296e7c 100644 --- a/sp/src/game/server/entityblocker.h +++ b/sp/src/game/server/entityblocker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entityinput.h b/sp/src/game/server/entityinput.h index df6b69beb5..3c10ca936b 100644 --- a/sp/src/game/server/entityinput.h +++ b/sp/src/game/server/entityinput.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entitylist.cpp b/sp/src/game/server/entitylist.cpp index 29d87f50ab..58a040c851 100644 --- a/sp/src/game/server/entitylist.cpp +++ b/sp/src/game/server/entitylist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entitylist.h b/sp/src/game/server/entitylist.h index e2339ada1e..cf21887f23 100644 --- a/sp/src/game/server/entitylist.h +++ b/sp/src/game/server/entitylist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/entityoutput.h b/sp/src/game/server/entityoutput.h index 424ae761fe..28c04357f7 100644 --- a/sp/src/game/server/entityoutput.h +++ b/sp/src/game/server/entityoutput.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Declares basic entity communications classes, for input/output of data // between entities diff --git a/sp/src/game/server/env_debughistory.cpp b/sp/src/game/server/env_debughistory.cpp index bf249ecf91..c01cde016b 100644 --- a/sp/src/game/server/env_debughistory.cpp +++ b/sp/src/game/server/env_debughistory.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_debughistory.h b/sp/src/game/server/env_debughistory.h index 7bce102afd..e949612bcc 100644 --- a/sp/src/game/server/env_debughistory.h +++ b/sp/src/game/server/env_debughistory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_effectsscript.cpp b/sp/src/game/server/env_effectsscript.cpp index 98f1a97dc5..2bed495e7a 100644 --- a/sp/src/game/server/env_effectsscript.cpp +++ b/sp/src/game/server/env_effectsscript.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_entity_maker.cpp b/sp/src/game/server/env_entity_maker.cpp index 19d8ddf601..890ee3f0d8 100644 --- a/sp/src/game/server/env_entity_maker.cpp +++ b/sp/src/game/server/env_entity_maker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_particlescript.cpp b/sp/src/game/server/env_particlescript.cpp index bf69224de5..e3f15d1ed8 100644 --- a/sp/src/game/server/env_particlescript.cpp +++ b/sp/src/game/server/env_particlescript.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_player_surface_trigger.cpp b/sp/src/game/server/env_player_surface_trigger.cpp index e25038ec38..f8cb16d093 100644 --- a/sp/src/game/server/env_player_surface_trigger.cpp +++ b/sp/src/game/server/env_player_surface_trigger.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_player_surface_trigger.h b/sp/src/game/server/env_player_surface_trigger.h index 96eb0810d9..71e4951e30 100644 --- a/sp/src/game/server/env_player_surface_trigger.h +++ b/sp/src/game/server/env_player_surface_trigger.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_projectedtexture.cpp b/sp/src/game/server/env_projectedtexture.cpp index 15fb1367c5..48aa538b8f 100644 --- a/sp/src/game/server/env_projectedtexture.cpp +++ b/sp/src/game/server/env_projectedtexture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity to control screen overlays on a player // diff --git a/sp/src/game/server/env_screenoverlay.cpp b/sp/src/game/server/env_screenoverlay.cpp index 259a6fdcc2..f9349bffe7 100644 --- a/sp/src/game/server/env_screenoverlay.cpp +++ b/sp/src/game/server/env_screenoverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity to control screen overlays on a player // diff --git a/sp/src/game/server/env_texturetoggle.cpp b/sp/src/game/server/env_texturetoggle.cpp index 53ccbd5fe3..a059acbdb3 100644 --- a/sp/src/game/server/env_texturetoggle.cpp +++ b/sp/src/game/server/env_texturetoggle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_tonemap_controller.cpp b/sp/src/game/server/env_tonemap_controller.cpp index 95cf61358f..2d55d86158 100644 --- a/sp/src/game/server/env_tonemap_controller.cpp +++ b/sp/src/game/server/env_tonemap_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_zoom.cpp b/sp/src/game/server/env_zoom.cpp index ec67915217..f92e1bb68f 100644 --- a/sp/src/game/server/env_zoom.cpp +++ b/sp/src/game/server/env_zoom.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/env_zoom.h b/sp/src/game/server/env_zoom.h index 1af1ef5b1f..1d219881bb 100644 --- a/sp/src/game/server/env_zoom.h +++ b/sp/src/game/server/env_zoom.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/envmicrophone.cpp b/sp/src/game/server/envmicrophone.cpp index 23b1758cdd..ca530c655a 100644 --- a/sp/src/game/server/envmicrophone.cpp +++ b/sp/src/game/server/envmicrophone.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements an entity that measures sound volume at a point in a map. // diff --git a/sp/src/game/server/envmicrophone.h b/sp/src/game/server/envmicrophone.h index e330099c10..8ec87e91c9 100644 --- a/sp/src/game/server/envmicrophone.h +++ b/sp/src/game/server/envmicrophone.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/envspark.h b/sp/src/game/server/envspark.h index b9d62df902..ebb610260e 100644 --- a/sp/src/game/server/envspark.h +++ b/sp/src/game/server/envspark.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A point entity that periodically emits sparks and "bzzt" sounds. // diff --git a/sp/src/game/server/episodic/ai_behavior_alyx_injured.cpp b/sp/src/game/server/episodic/ai_behavior_alyx_injured.cpp index a762587df6..3c21b7798e 100644 --- a/sp/src/game/server/episodic/ai_behavior_alyx_injured.cpp +++ b/sp/src/game/server/episodic/ai_behavior_alyx_injured.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: FIXME: This will ultimately become a more generic implementation // diff --git a/sp/src/game/server/episodic/ai_behavior_alyx_injured.h b/sp/src/game/server/episodic/ai_behavior_alyx_injured.h index 2eb1ff197b..f94bc5fe80 100644 --- a/sp/src/game/server/episodic/ai_behavior_alyx_injured.h +++ b/sp/src/game/server/episodic/ai_behavior_alyx_injured.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: FIXME: This will ultimately become a more generic implementation // diff --git a/sp/src/game/server/episodic/ai_behavior_passenger_companion.cpp b/sp/src/game/server/episodic/ai_behavior_passenger_companion.cpp index a9568c6976..0754975ab6 100644 --- a/sp/src/game/server/episodic/ai_behavior_passenger_companion.cpp +++ b/sp/src/game/server/episodic/ai_behavior_passenger_companion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Companion NPCs riding in cars // diff --git a/sp/src/game/server/episodic/ai_behavior_passenger_companion.h b/sp/src/game/server/episodic/ai_behavior_passenger_companion.h index 857254e0c0..1b0abb6fde 100644 --- a/sp/src/game/server/episodic/ai_behavior_passenger_companion.h +++ b/sp/src/game/server/episodic/ai_behavior_passenger_companion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/ai_behavior_passenger_zombie.cpp b/sp/src/game/server/episodic/ai_behavior_passenger_zombie.cpp index 0667530bcd..a75f58b446 100644 --- a/sp/src/game/server/episodic/ai_behavior_passenger_zombie.cpp +++ b/sp/src/game/server/episodic/ai_behavior_passenger_zombie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Zombies on cars! // diff --git a/sp/src/game/server/episodic/ai_behavior_passenger_zombie.h b/sp/src/game/server/episodic/ai_behavior_passenger_zombie.h index 98b2ea0a66..68b45f9c88 100644 --- a/sp/src/game/server/episodic/ai_behavior_passenger_zombie.h +++ b/sp/src/game/server/episodic/ai_behavior_passenger_zombie.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Zombies on cars! // diff --git a/sp/src/game/server/episodic/ep1_gamestats.cpp b/sp/src/game/server/episodic/ep1_gamestats.cpp index a82c27db09..3401bd8ab9 100644 --- a/sp/src/game/server/episodic/ep1_gamestats.cpp +++ b/sp/src/game/server/episodic/ep1_gamestats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/ep1_gamestats.h b/sp/src/game/server/episodic/ep1_gamestats.h index 5cd1356284..0b93945fda 100644 --- a/sp/src/game/server/episodic/ep1_gamestats.h +++ b/sp/src/game/server/episodic/ep1_gamestats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/ep2_gamestats.cpp b/sp/src/game/server/episodic/ep2_gamestats.cpp index af6d5e9469..bb635dc343 100644 --- a/sp/src/game/server/episodic/ep2_gamestats.cpp +++ b/sp/src/game/server/episodic/ep2_gamestats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/ep2_gamestats.h b/sp/src/game/server/episodic/ep2_gamestats.h index cc36301cbd..09c53a077c 100644 --- a/sp/src/game/server/episodic/ep2_gamestats.h +++ b/sp/src/game/server/episodic/ep2_gamestats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/grenade_hopwire.cpp b/sp/src/game/server/episodic/grenade_hopwire.cpp index 7010c4b0c4..ee13a128a3 100644 --- a/sp/src/game/server/episodic/grenade_hopwire.cpp +++ b/sp/src/game/server/episodic/grenade_hopwire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Gravity well device // diff --git a/sp/src/game/server/episodic/grenade_hopwire.h b/sp/src/game/server/episodic/grenade_hopwire.h index c8cd71e9a2..7985e3348f 100644 --- a/sp/src/game/server/episodic/grenade_hopwire.h +++ b/sp/src/game/server/episodic/grenade_hopwire.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/npc_advisor.cpp b/sp/src/game/server/episodic/npc_advisor.cpp index 1b7fb23fa1..4e4eac51d2 100644 --- a/sp/src/game/server/episodic/npc_advisor.cpp +++ b/sp/src/game/server/episodic/npc_advisor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Advisors. Large sluglike aliens with creepy psychic powers! // diff --git a/sp/src/game/server/episodic/npc_combine_cannon.cpp b/sp/src/game/server/episodic/npc_combine_cannon.cpp index 18ae490e19..792adfe033 100644 --- a/sp/src/game/server/episodic/npc_combine_cannon.cpp +++ b/sp/src/game/server/episodic/npc_combine_cannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/npc_hunter.cpp b/sp/src/game/server/episodic/npc_hunter.cpp index 0699d89061..ebcea03699 100644 --- a/sp/src/game/server/episodic/npc_hunter.cpp +++ b/sp/src/game/server/episodic/npc_hunter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Small, fast version of the strider. Goes where striders cannot, such // as into buildings. Best killed with physics objects and explosives. diff --git a/sp/src/game/server/episodic/npc_hunter.h b/sp/src/game/server/episodic/npc_hunter.h index b68cedff6f..5610f4c780 100644 --- a/sp/src/game/server/episodic/npc_hunter.h +++ b/sp/src/game/server/episodic/npc_hunter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Expose an IsAHunter function // diff --git a/sp/src/game/server/episodic/npc_magnusson.cpp b/sp/src/game/server/episodic/npc_magnusson.cpp index 30e1f69783..a45291ce94 100644 --- a/sp/src/game/server/episodic/npc_magnusson.cpp +++ b/sp/src/game/server/episodic/npc_magnusson.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dr. Magnusson, a grumpy bastard who builds satellites and rockets // at the White Forest missile silo. Instantly unlikeable, he is also diff --git a/sp/src/game/server/episodic/npc_puppet.cpp b/sp/src/game/server/episodic/npc_puppet.cpp index 8d4f366915..499e7a7062 100644 --- a/sp/src/game/server/episodic/npc_puppet.cpp +++ b/sp/src/game/server/episodic/npc_puppet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: NPC Puppet // diff --git a/sp/src/game/server/episodic/prop_scalable.cpp b/sp/src/game/server/episodic/prop_scalable.cpp index a311535771..7a75557ff2 100644 --- a/sp/src/game/server/episodic/prop_scalable.cpp +++ b/sp/src/game/server/episodic/prop_scalable.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Big pulsating ball inside the core of the citadel // diff --git a/sp/src/game/server/episodic/vehicle_jeep_episodic.cpp b/sp/src/game/server/episodic/vehicle_jeep_episodic.cpp index 69bb4c3f04..d2dc3f662e 100644 --- a/sp/src/game/server/episodic/vehicle_jeep_episodic.cpp +++ b/sp/src/game/server/episodic/vehicle_jeep_episodic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // // diff --git a/sp/src/game/server/episodic/vehicle_jeep_episodic.h b/sp/src/game/server/episodic/vehicle_jeep_episodic.h index 869cf33a89..c5a8fe6583 100644 --- a/sp/src/game/server/episodic/vehicle_jeep_episodic.h +++ b/sp/src/game/server/episodic/vehicle_jeep_episodic.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/weapon_hopwire.cpp b/sp/src/game/server/episodic/weapon_hopwire.cpp index 798f6eb871..fe8f9da5f5 100644 --- a/sp/src/game/server/episodic/weapon_hopwire.cpp +++ b/sp/src/game/server/episodic/weapon_hopwire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/weapon_oldmanharpoon.cpp b/sp/src/game/server/episodic/weapon_oldmanharpoon.cpp index 497fe22560..94af7ae208 100644 --- a/sp/src/game/server/episodic/weapon_oldmanharpoon.cpp +++ b/sp/src/game/server/episodic/weapon_oldmanharpoon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/episodic/weapon_striderbuster.cpp b/sp/src/game/server/episodic/weapon_striderbuster.cpp index 3c766c5191..2724ad5859 100644 --- a/sp/src/game/server/episodic/weapon_striderbuster.cpp +++ b/sp/src/game/server/episodic/weapon_striderbuster.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // An ingenious device. We call it "The Magnusson Device". Not my chosen label, // you understand, but it seemed to please the personnel. diff --git a/sp/src/game/server/episodic/weapon_striderbuster.h b/sp/src/game/server/episodic/weapon_striderbuster.h index fe6703472d..ac89182537 100644 --- a/sp/src/game/server/episodic/weapon_striderbuster.h +++ b/sp/src/game/server/episodic/weapon_striderbuster.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Helper functions for the striderbuster weapon. // diff --git a/sp/src/game/server/event_tempentity_tester.cpp b/sp/src/game/server/event_tempentity_tester.cpp index e8a2e05dcf..5753c11263 100644 --- a/sp/src/game/server/event_tempentity_tester.cpp +++ b/sp/src/game/server/event_tempentity_tester.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/event_tempentity_tester.h b/sp/src/game/server/event_tempentity_tester.h index 9ece13a4c9..417e40821b 100644 --- a/sp/src/game/server/event_tempentity_tester.h +++ b/sp/src/game/server/event_tempentity_tester.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/eventqueue.h b/sp/src/game/server/eventqueue.h index d5cc2d5f35..4136e2552a 100644 --- a/sp/src/game/server/eventqueue.h +++ b/sp/src/game/server/eventqueue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A global class that holds a prioritized queue of entity I/O events. // Events can be posted with a nonzero delay, which determines how long diff --git a/sp/src/game/server/explode.cpp b/sp/src/game/server/explode.cpp index d9031dd424..d79de8900b 100644 --- a/sp/src/game/server/explode.cpp +++ b/sp/src/game/server/explode.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements an explosion entity and a support spark shower entity. // diff --git a/sp/src/game/server/explode.h b/sp/src/game/server/explode.h index 956c1e0082..04ae550fb3 100644 --- a/sp/src/game/server/explode.h +++ b/sp/src/game/server/explode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/filters.cpp b/sp/src/game/server/filters.cpp index ca2f6c7af4..294b090a32 100644 --- a/sp/src/game/server/filters.cpp +++ b/sp/src/game/server/filters.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/filters.h b/sp/src/game/server/filters.h index faaa20fd83..6e501a264c 100644 --- a/sp/src/game/server/filters.h +++ b/sp/src/game/server/filters.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Filters are outboard entities that hold a set of rules that other // entities can use to determine behaviors. diff --git a/sp/src/game/server/fire.cpp b/sp/src/game/server/fire.cpp index a4fb972084..8233c43412 100644 --- a/sp/src/game/server/fire.cpp +++ b/sp/src/game/server/fire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fire.h b/sp/src/game/server/fire.h index c04641bc9d..bd9c999a89 100644 --- a/sp/src/game/server/fire.h +++ b/sp/src/game/server/fire.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fire_smoke.cpp b/sp/src/game/server/fire_smoke.cpp index edb4c04b76..db7375d7c3 100644 --- a/sp/src/game/server/fire_smoke.cpp +++ b/sp/src/game/server/fire_smoke.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fire_smoke.h b/sp/src/game/server/fire_smoke.h index a41aeb456b..ae33b3fbf8 100644 --- a/sp/src/game/server/fire_smoke.h +++ b/sp/src/game/server/fire_smoke.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fish.cpp b/sp/src/game/server/fish.cpp index 553c7659ca..e6ddd9e49b 100644 --- a/sp/src/game/server/fish.cpp +++ b/sp/src/game/server/fish.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fish.h b/sp/src/game/server/fish.h index 257bdbcdfc..bbefd0f660 100644 --- a/sp/src/game/server/fish.h +++ b/sp/src/game/server/fish.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fogcontroller.cpp b/sp/src/game/server/fogcontroller.cpp index 3ed7506025..423052990d 100644 --- a/sp/src/game/server/fogcontroller.cpp +++ b/sp/src/game/server/fogcontroller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // An entity that allows level designer control over the fog parameters. // diff --git a/sp/src/game/server/fogcontroller.h b/sp/src/game/server/fogcontroller.h index 3a5b716dce..2827c5444d 100644 --- a/sp/src/game/server/fogcontroller.h +++ b/sp/src/game/server/fogcontroller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/forcefeedback.cpp b/sp/src/game/server/forcefeedback.cpp index 59f131e23f..8bfbb04f22 100644 --- a/sp/src/game/server/forcefeedback.cpp +++ b/sp/src/game/server/forcefeedback.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/fourwheelvehiclephysics.cpp b/sp/src/game/server/fourwheelvehiclephysics.cpp index ba4a827a18..79cdab4f89 100644 --- a/sp/src/game/server/fourwheelvehiclephysics.cpp +++ b/sp/src/game/server/fourwheelvehiclephysics.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A moving vehicle that is used as a battering ram // diff --git a/sp/src/game/server/fourwheelvehiclephysics.h b/sp/src/game/server/fourwheelvehiclephysics.h index ab9e850697..5163eacbac 100644 --- a/sp/src/game/server/fourwheelvehiclephysics.h +++ b/sp/src/game/server/fourwheelvehiclephysics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A base class that deals with four-wheel vehicles // diff --git a/sp/src/game/server/func_areaportal.cpp b/sp/src/game/server/func_areaportal.cpp index d2e50a3555..302f46a481 100644 --- a/sp/src/game/server/func_areaportal.cpp +++ b/sp/src/game/server/func_areaportal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: area portal entity: toggles visibility areas on/off // diff --git a/sp/src/game/server/func_areaportalbase.cpp b/sp/src/game/server/func_areaportalbase.cpp index 88cb2a615c..5a3a09042f 100644 --- a/sp/src/game/server/func_areaportalbase.cpp +++ b/sp/src/game/server/func_areaportalbase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_areaportalbase.h b/sp/src/game/server/func_areaportalbase.h index 124ece47a6..df7a5842bf 100644 --- a/sp/src/game/server/func_areaportalbase.h +++ b/sp/src/game/server/func_areaportalbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_areaportalwindow.cpp b/sp/src/game/server/func_areaportalwindow.cpp index 4e60f9fb22..90edd57344 100644 --- a/sp/src/game/server/func_areaportalwindow.cpp +++ b/sp/src/game/server/func_areaportalwindow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_areaportalwindow.h b/sp/src/game/server/func_areaportalwindow.h index d128c843e5..260cd7b27b 100644 --- a/sp/src/game/server/func_areaportalwindow.h +++ b/sp/src/game/server/func_areaportalwindow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_break.cpp b/sp/src/game/server/func_break.cpp index fd4839aec3..eab0e814c7 100644 --- a/sp/src/game/server/func_break.cpp +++ b/sp/src/game/server/func_break.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements breakables and pushables. func_breakable is a bmodel // that breaks into pieces after taking damage. diff --git a/sp/src/game/server/func_break.h b/sp/src/game/server/func_break.h index d423c95338..454c0884cc 100644 --- a/sp/src/game/server/func_break.h +++ b/sp/src/game/server/func_break.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines a class for objects that break after taking a certain amount // of damage. diff --git a/sp/src/game/server/func_breakablesurf.cpp b/sp/src/game/server/func_breakablesurf.cpp index ddd8542f73..fd47f174dc 100644 --- a/sp/src/game/server/func_breakablesurf.cpp +++ b/sp/src/game/server/func_breakablesurf.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A planar textured surface that breaks into increasingly smaller fragments // as it takes damage. Undamaged pieces remain attached to the world diff --git a/sp/src/game/server/func_breakablesurf.h b/sp/src/game/server/func_breakablesurf.h index 58e4f0f241..69ddc0bb66 100644 --- a/sp/src/game/server/func_breakablesurf.h +++ b/sp/src/game/server/func_breakablesurf.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_dust.cpp b/sp/src/game/server/func_dust.cpp index 3e3fcb2154..8faa287704 100644 --- a/sp/src/game/server/func_dust.cpp +++ b/sp/src/game/server/func_dust.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Volumetric dust motes. // diff --git a/sp/src/game/server/func_ladder_endpoint.cpp b/sp/src/game/server/func_ladder_endpoint.cpp index 73d29c528b..2ed2359b17 100644 --- a/sp/src/game/server/func_ladder_endpoint.cpp +++ b/sp/src/game/server/func_ladder_endpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_lod.cpp b/sp/src/game/server/func_lod.cpp index 7a71e270bb..b43ad67c62 100644 --- a/sp/src/game/server/func_lod.cpp +++ b/sp/src/game/server/func_lod.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_movelinear.cpp b/sp/src/game/server/func_movelinear.cpp index 0fd92a82db..51744d10e5 100644 --- a/sp/src/game/server/func_movelinear.cpp +++ b/sp/src/game/server/func_movelinear.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a brush model entity that moves along a linear path. // Water whose level can be changed is implemented using the same entity. diff --git a/sp/src/game/server/func_movelinear.h b/sp/src/game/server/func_movelinear.h index ac58f963ba..00df99a4da 100644 --- a/sp/src/game/server/func_movelinear.h +++ b/sp/src/game/server/func_movelinear.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_occluder.cpp b/sp/src/game/server/func_occluder.cpp index 37308df64a..8bcce913ce 100644 --- a/sp/src/game/server/func_occluder.cpp +++ b/sp/src/game/server/func_occluder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: area portal entity: toggles visibility areas on/off // diff --git a/sp/src/game/server/func_reflective_glass.cpp b/sp/src/game/server/func_reflective_glass.cpp index 187556b5e9..b1259a2c24 100644 --- a/sp/src/game/server/func_reflective_glass.cpp +++ b/sp/src/game/server/func_reflective_glass.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/func_smokevolume.cpp b/sp/src/game/server/func_smokevolume.cpp index c1e0e8b80e..3c11c6be5e 100644 --- a/sp/src/game/server/func_smokevolume.cpp +++ b/sp/src/game/server/func_smokevolume.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/functorutils.h b/sp/src/game/server/functorutils.h index 4816664b5e..ac65af8f60 100644 --- a/sp/src/game/server/functorutils.h +++ b/sp/src/game/server/functorutils.h @@ -1,6 +1,6 @@ // FunctorUtils.h // Useful functors -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef _FUNCTOR_UTILS_H_ #define _FUNCTOR_UTILS_H_ diff --git a/sp/src/game/server/game.cpp b/sp/src/game/server/game.cpp index c22f7ebd12..7f29000995 100644 --- a/sp/src/game/server/game.cpp +++ b/sp/src/game/server/game.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/game.h b/sp/src/game/server/game.h index 3377baa67d..5a3aa847d4 100644 --- a/sp/src/game/server/game.h +++ b/sp/src/game/server/game.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/game_ui.cpp b/sp/src/game/server/game_ui.cpp index dd2e2032cb..f19252f748 100644 --- a/sp/src/game/server/game_ui.cpp +++ b/sp/src/game/server/game_ui.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entities that capture the player's UI and move it into game design // as outputs. diff --git a/sp/src/game/server/gamedll_replay.cpp b/sp/src/game/server/gamedll_replay.cpp index e9ccde1d7d..70cd72e4fe 100644 --- a/sp/src/game/server/gamedll_replay.cpp +++ b/sp/src/game/server/gamedll_replay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #if defined( REPLAY_ENABLED ) diff --git a/sp/src/game/server/gamehandle.cpp b/sp/src/game/server/gamehandle.cpp index 2ffcdc2e84..1fe4983ebd 100644 --- a/sp/src/game/server/gamehandle.cpp +++ b/sp/src/game/server/gamehandle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: returns the module handle of the game dll // this is in its own file to protect it from tier0 PROTECTED_THINGS diff --git a/sp/src/game/server/gameinterface.cpp b/sp/src/game/server/gameinterface.cpp index 8f3df0a774..50570383b9 100644 --- a/sp/src/game/server/gameinterface.cpp +++ b/sp/src/game/server/gameinterface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: encapsulates and implements all the accessing of the game dll from external // sources (only the engine at the time of writing) diff --git a/sp/src/game/server/gameinterface.h b/sp/src/game/server/gameinterface.h index 67805ff6c8..5b1b586f6f 100644 --- a/sp/src/game/server/gameinterface.h +++ b/sp/src/game/server/gameinterface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Expose things from GameInterface.cpp. Mostly the engine interfaces. // diff --git a/sp/src/game/server/gametrace_dll.cpp b/sp/src/game/server/gametrace_dll.cpp index c95c371638..4c45a50f65 100644 --- a/sp/src/game/server/gametrace_dll.cpp +++ b/sp/src/game/server/gametrace_dll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/gameweaponmanager.cpp b/sp/src/game/server/gameweaponmanager.cpp index 68bced8a0d..5918326fe0 100644 --- a/sp/src/game/server/gameweaponmanager.cpp +++ b/sp/src/game/server/gameweaponmanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/gameweaponmanager.h b/sp/src/game/server/gameweaponmanager.h index 3179914c0e..afa8830353 100644 --- a/sp/src/game/server/gameweaponmanager.h +++ b/sp/src/game/server/gameweaponmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/genericactor.cpp b/sp/src/game/server/genericactor.cpp index 8f60651996..dfbb905aff 100644 --- a/sp/src/game/server/genericactor.cpp +++ b/sp/src/game/server/genericactor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/genericmonster.cpp b/sp/src/game/server/genericmonster.cpp index 71fd197f75..6977c0404e 100644 --- a/sp/src/game/server/genericmonster.cpp +++ b/sp/src/game/server/genericmonster.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/gib.cpp b/sp/src/game/server/gib.cpp index a5dec6daba..001b8bdf87 100644 --- a/sp/src/game/server/gib.cpp +++ b/sp/src/game/server/gib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A gib is a chunk of a body, or a piece of wood/metal/rocks/etc. // diff --git a/sp/src/game/server/gib.h b/sp/src/game/server/gib.h index 57d5630ffc..188b34bd17 100644 --- a/sp/src/game/server/gib.h +++ b/sp/src/game/server/gib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A gib is a chunk of a body, or a piece of wood/metal/rocks/etc. // diff --git a/sp/src/game/server/globals.cpp b/sp/src/game/server/globals.cpp index f568ed5870..09172cb59f 100644 --- a/sp/src/game/server/globals.cpp +++ b/sp/src/game/server/globals.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/globals.h b/sp/src/game/server/globals.h index 03076e37ad..f975c9c919 100644 --- a/sp/src/game/server/globals.h +++ b/sp/src/game/server/globals.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/globalstate.cpp b/sp/src/game/server/globalstate.cpp index 720e890608..569a5960a6 100644 --- a/sp/src/game/server/globalstate.cpp +++ b/sp/src/game/server/globalstate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/globalstate.h b/sp/src/game/server/globalstate.h index ff9d4b31c5..aae6f6244b 100644 --- a/sp/src/game/server/globalstate.h +++ b/sp/src/game/server/globalstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/globalstate_private.h b/sp/src/game/server/globalstate_private.h index fb3f8f9e1c..779af5f676 100644 --- a/sp/src/game/server/globalstate_private.h +++ b/sp/src/game/server/globalstate_private.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/grenadethrown.cpp b/sp/src/game/server/grenadethrown.cpp index ed688027c8..c330b86353 100644 --- a/sp/src/game/server/grenadethrown.cpp +++ b/sp/src/game/server/grenadethrown.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/grenadethrown.h b/sp/src/game/server/grenadethrown.h index 361f13f12a..3c6c1f63a4 100644 --- a/sp/src/game/server/grenadethrown.h +++ b/sp/src/game/server/grenadethrown.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Header file for player-thrown grenades. // diff --git a/sp/src/game/server/guntarget.cpp b/sp/src/game/server/guntarget.cpp index cbae0f835c..a6996d7b01 100644 --- a/sp/src/game/server/guntarget.cpp +++ b/sp/src/game/server/guntarget.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a moving target that moves along a path of path_tracks // and can be shot and killed. When the target it killed it fires an diff --git a/sp/src/game/server/h_ai.cpp b/sp/src/game/server/h_ai.cpp index 52dffc8e6f..2a099b6506 100644 --- a/sp/src/game/server/h_ai.cpp +++ b/sp/src/game/server/h_ai.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility functions used by AI code. // diff --git a/sp/src/game/server/h_cycler.cpp b/sp/src/game/server/h_cycler.cpp index 973deec21f..76b74d960d 100644 --- a/sp/src/game/server/h_cycler.cpp +++ b/sp/src/game/server/h_cycler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The Halflife Cycler NPCs // diff --git a/sp/src/game/server/h_cycler.h b/sp/src/game/server/h_cycler.h index 2bc7a2a1a4..1c673e2243 100644 --- a/sp/src/game/server/h_cycler.h +++ b/sp/src/game/server/h_cycler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/h_export.cpp b/sp/src/game/server/h_export.cpp index fbd7c508b4..0c0ba44d6b 100644 --- a/sp/src/game/server/h_export.cpp +++ b/sp/src/game/server/h_export.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hierarchy.cpp b/sp/src/game/server/hierarchy.cpp index ae708703db..04405bad84 100644 --- a/sp/src/game/server/hierarchy.cpp +++ b/sp/src/game/server/hierarchy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the set of functions for manipulating entity hierarchies. // diff --git a/sp/src/game/server/hierarchy.h b/sp/src/game/server/hierarchy.h index 874f5ada3e..5c9f777506 100644 --- a/sp/src/game/server/hierarchy.h +++ b/sp/src/game/server/hierarchy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the set of functions for manipulating entity hierarchies. // diff --git a/sp/src/game/server/hl1_CBaseHelicopter.h b/sp/src/game/server/hl1_CBaseHelicopter.h index 0158612648..63f2fbc741 100644 --- a/sp/src/game/server/hl1_CBaseHelicopter.h +++ b/sp/src/game/server/hl1_CBaseHelicopter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/Func_Monitor.cpp b/sp/src/game/server/hl2/Func_Monitor.cpp index ef3cce3217..a0326bb622 100644 --- a/sp/src/game/server/hl2/Func_Monitor.cpp +++ b/sp/src/game/server/hl2/Func_Monitor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_allymanager.cpp b/sp/src/game/server/hl2/ai_allymanager.cpp index d64ce807b6..6313e20c88 100644 --- a/sp/src/game/server/hl2/ai_allymanager.cpp +++ b/sp/src/game/server/hl2/ai_allymanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_actbusy.cpp b/sp/src/game/server/hl2/ai_behavior_actbusy.cpp index c5ad733d8b..8aa5e3ef8a 100644 --- a/sp/src/game/server/hl2/ai_behavior_actbusy.cpp +++ b/sp/src/game/server/hl2/ai_behavior_actbusy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_actbusy.h b/sp/src/game/server/hl2/ai_behavior_actbusy.h index 264fdb3d20..4223a4c4e1 100644 --- a/sp/src/game/server/hl2/ai_behavior_actbusy.h +++ b/sp/src/game/server/hl2/ai_behavior_actbusy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_functank.cpp b/sp/src/game/server/hl2/ai_behavior_functank.cpp index 105bf6e210..7964b58f7c 100644 --- a/sp/src/game/server/hl2/ai_behavior_functank.cpp +++ b/sp/src/game/server/hl2/ai_behavior_functank.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_functank.h b/sp/src/game/server/hl2/ai_behavior_functank.h index 54f91d1fc4..407a8d1c61 100644 --- a/sp/src/game/server/hl2/ai_behavior_functank.h +++ b/sp/src/game/server/hl2/ai_behavior_functank.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_holster.cpp b/sp/src/game/server/hl2/ai_behavior_holster.cpp index da116c8e77..7a9312ef15 100644 --- a/sp/src/game/server/hl2/ai_behavior_holster.cpp +++ b/sp/src/game/server/hl2/ai_behavior_holster.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_holster.h b/sp/src/game/server/hl2/ai_behavior_holster.h index 5425aa3a69..8f0c5da963 100644 --- a/sp/src/game/server/hl2/ai_behavior_holster.h +++ b/sp/src/game/server/hl2/ai_behavior_holster.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deal with weapon being out // diff --git a/sp/src/game/server/hl2/ai_behavior_operator.cpp b/sp/src/game/server/hl2/ai_behavior_operator.cpp index f3505298d5..f59731e631 100644 --- a/sp/src/game/server/hl2/ai_behavior_operator.cpp +++ b/sp/src/game/server/hl2/ai_behavior_operator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_operator.h b/sp/src/game/server/hl2/ai_behavior_operator.h index afa05fdf6e..bffd14d13c 100644 --- a/sp/src/game/server/hl2/ai_behavior_operator.h +++ b/sp/src/game/server/hl2/ai_behavior_operator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Operate consoles/machinery in the world. // diff --git a/sp/src/game/server/hl2/ai_behavior_police.cpp b/sp/src/game/server/hl2/ai_behavior_police.cpp index 8dc5ec4008..e122228e4b 100644 --- a/sp/src/game/server/hl2/ai_behavior_police.cpp +++ b/sp/src/game/server/hl2/ai_behavior_police.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_behavior_police.h b/sp/src/game/server/hl2/ai_behavior_police.h index ed1f58da54..33de2364bc 100644 --- a/sp/src/game/server/hl2/ai_behavior_police.h +++ b/sp/src/game/server/hl2/ai_behavior_police.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_goal_police.cpp b/sp/src/game/server/hl2/ai_goal_police.cpp index a5177ae1fd..a54a7db3e2 100644 --- a/sp/src/game/server/hl2/ai_goal_police.cpp +++ b/sp/src/game/server/hl2/ai_goal_police.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_goal_police.h b/sp/src/game/server/hl2/ai_goal_police.h index c2b7096e27..4e036ac63b 100644 --- a/sp/src/game/server/hl2/ai_goal_police.h +++ b/sp/src/game/server/hl2/ai_goal_police.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_interactions.h b/sp/src/game/server/hl2/ai_interactions.h index 93f7ef8df8..4175172428 100644 --- a/sp/src/game/server/hl2/ai_interactions.h +++ b/sp/src/game/server/hl2/ai_interactions.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_spotlight.cpp b/sp/src/game/server/hl2/ai_spotlight.cpp index 621068aab2..6cee709a55 100644 --- a/sp/src/game/server/hl2/ai_spotlight.cpp +++ b/sp/src/game/server/hl2/ai_spotlight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ai_spotlight.h b/sp/src/game/server/hl2/ai_spotlight.h index c8a2937585..b6932f054b 100644 --- a/sp/src/game/server/hl2/ai_spotlight.h +++ b/sp/src/game/server/hl2/ai_spotlight.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/antlion_dust.cpp b/sp/src/game/server/hl2/antlion_dust.cpp index a68579dca6..ddcf5f0f1b 100644 --- a/sp/src/game/server/hl2/antlion_dust.cpp +++ b/sp/src/game/server/hl2/antlion_dust.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/antlion_dust.h b/sp/src/game/server/hl2/antlion_dust.h index 51b783bc72..dcbf91defe 100644 --- a/sp/src/game/server/hl2/antlion_dust.h +++ b/sp/src/game/server/hl2/antlion_dust.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/antlion_maker.cpp b/sp/src/game/server/hl2/antlion_maker.cpp index 0e8d6bab2a..c69eac8205 100644 --- a/sp/src/game/server/hl2/antlion_maker.cpp +++ b/sp/src/game/server/hl2/antlion_maker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/antlion_maker.h b/sp/src/game/server/hl2/antlion_maker.h index 8c8c63d6ea..dbea821f01 100644 --- a/sp/src/game/server/hl2/antlion_maker.h +++ b/sp/src/game/server/hl2/antlion_maker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ar2_explosion.cpp b/sp/src/game/server/hl2/ar2_explosion.cpp index 53bc4637e0..16f2b6d0b1 100644 --- a/sp/src/game/server/hl2/ar2_explosion.cpp +++ b/sp/src/game/server/hl2/ar2_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/ar2_explosion.h b/sp/src/game/server/hl2/ar2_explosion.h index 673528d70a..c3ca806e01 100644 --- a/sp/src/game/server/hl2/ar2_explosion.h +++ b/sp/src/game/server/hl2/ar2_explosion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/assassin_smoke.cpp b/sp/src/game/server/hl2/assassin_smoke.cpp index 05693f5e2a..ad8307f2b6 100644 --- a/sp/src/game/server/hl2/assassin_smoke.cpp +++ b/sp/src/game/server/hl2/assassin_smoke.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/assassin_smoke.h b/sp/src/game/server/hl2/assassin_smoke.h index 5492378d14..c5c6f05189 100644 --- a/sp/src/game/server/hl2/assassin_smoke.h +++ b/sp/src/game/server/hl2/assassin_smoke.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/basehlcombatweapon.cpp b/sp/src/game/server/hl2/basehlcombatweapon.cpp index 894c290b22..266401ba72 100644 --- a/sp/src/game/server/hl2/basehlcombatweapon.cpp +++ b/sp/src/game/server/hl2/basehlcombatweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/basehlcombatweapon.h b/sp/src/game/server/hl2/basehlcombatweapon.h index 7c4316404c..15ec34c4be 100644 --- a/sp/src/game/server/hl2/basehlcombatweapon.h +++ b/sp/src/game/server/hl2/basehlcombatweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/cbasehelicopter.cpp b/sp/src/game/server/hl2/cbasehelicopter.cpp index 2b46bce668..2a280ac1e5 100644 --- a/sp/src/game/server/hl2/cbasehelicopter.cpp +++ b/sp/src/game/server/hl2/cbasehelicopter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for helicopters & helicopter-type vehicles // diff --git a/sp/src/game/server/hl2/cbasehelicopter.h b/sp/src/game/server/hl2/cbasehelicopter.h index 714f62f400..d46f960819 100644 --- a/sp/src/game/server/hl2/cbasehelicopter.h +++ b/sp/src/game/server/hl2/cbasehelicopter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for helicopters & helicopter-type vehicles // diff --git a/sp/src/game/server/hl2/cbasespriteprojectile.cpp b/sp/src/game/server/hl2/cbasespriteprojectile.cpp index 391ef42ec2..21a1239959 100644 --- a/sp/src/game/server/hl2/cbasespriteprojectile.cpp +++ b/sp/src/game/server/hl2/cbasespriteprojectile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for simple projectiles // diff --git a/sp/src/game/server/hl2/cbasespriteprojectile.h b/sp/src/game/server/hl2/cbasespriteprojectile.h index bb60051671..f8de576d92 100644 --- a/sp/src/game/server/hl2/cbasespriteprojectile.h +++ b/sp/src/game/server/hl2/cbasespriteprojectile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for simple projectiles // diff --git a/sp/src/game/server/hl2/citadel_effects.cpp b/sp/src/game/server/hl2/citadel_effects.cpp index 5cffee2f95..21858e1290 100644 --- a/sp/src/game/server/hl2/citadel_effects.cpp +++ b/sp/src/game/server/hl2/citadel_effects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/combine_mine.cpp b/sp/src/game/server/hl2/combine_mine.cpp index aa9bdf2961..0b03c72fa4 100644 --- a/sp/src/game/server/hl2/combine_mine.cpp +++ b/sp/src/game/server/hl2/combine_mine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/combine_mine.h b/sp/src/game/server/hl2/combine_mine.h index 097968dbe7..a5ea8e5817 100644 --- a/sp/src/game/server/hl2/combine_mine.h +++ b/sp/src/game/server/hl2/combine_mine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/energy_wave.h b/sp/src/game/server/hl2/energy_wave.h index 484d8dff5f..396241d2b0 100644 --- a/sp/src/game/server/hl2/energy_wave.h +++ b/sp/src/game/server/hl2/energy_wave.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/env_alyxemp.cpp b/sp/src/game/server/hl2/env_alyxemp.cpp index b56a103935..8943de0ec9 100644 --- a/sp/src/game/server/hl2/env_alyxemp.cpp +++ b/sp/src/game/server/hl2/env_alyxemp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Alyx's EMP effect // diff --git a/sp/src/game/server/hl2/env_headcrabcanister.cpp b/sp/src/game/server/hl2/env_headcrabcanister.cpp index 4cf7fffbdd..2e762f9bad 100644 --- a/sp/src/game/server/hl2/env_headcrabcanister.cpp +++ b/sp/src/game/server/hl2/env_headcrabcanister.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/env_speaker.cpp b/sp/src/game/server/hl2/env_speaker.cpp index ad46a25c85..8ecb29bfb2 100644 --- a/sp/src/game/server/hl2/env_speaker.cpp +++ b/sp/src/game/server/hl2/env_speaker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/env_speaker.h b/sp/src/game/server/hl2/env_speaker.h index a28a2a4701..18edbe6290 100644 --- a/sp/src/game/server/hl2/env_speaker.h +++ b/sp/src/game/server/hl2/env_speaker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/env_starfield.cpp b/sp/src/game/server/hl2/env_starfield.cpp index 7b3dcc362a..d985432369 100644 --- a/sp/src/game/server/hl2/env_starfield.cpp +++ b/sp/src/game/server/hl2/env_starfield.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/extinguisherjet.cpp b/sp/src/game/server/hl2/extinguisherjet.cpp index de8e285a1a..0c691f7fca 100644 --- a/sp/src/game/server/hl2/extinguisherjet.cpp +++ b/sp/src/game/server/hl2/extinguisherjet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/extinguisherjet.h b/sp/src/game/server/hl2/extinguisherjet.h index bf328b05a2..d4f0c56645 100644 --- a/sp/src/game/server/hl2/extinguisherjet.h +++ b/sp/src/game/server/hl2/extinguisherjet.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/func_bulletshield.cpp b/sp/src/game/server/hl2/func_bulletshield.cpp index 3d5bcefdb3..e5ae879c6c 100644 --- a/sp/src/game/server/hl2/func_bulletshield.cpp +++ b/sp/src/game/server/hl2/func_bulletshield.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/func_bulletshield.h b/sp/src/game/server/hl2/func_bulletshield.h index dcbb1e3643..663cb501da 100644 --- a/sp/src/game/server/hl2/func_bulletshield.h +++ b/sp/src/game/server/hl2/func_bulletshield.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/func_recharge.cpp b/sp/src/game/server/hl2/func_recharge.cpp index c3bf74c1dc..24d18985c5 100644 --- a/sp/src/game/server/hl2/func_recharge.cpp +++ b/sp/src/game/server/hl2/func_recharge.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/func_tank.cpp b/sp/src/game/server/hl2/func_tank.cpp index c446257597..64500811fa 100644 --- a/sp/src/game/server/hl2/func_tank.cpp +++ b/sp/src/game/server/hl2/func_tank.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/func_tank.h b/sp/src/game/server/hl2/func_tank.h index 0ecacce569..669b429858 100644 --- a/sp/src/game/server/hl2/func_tank.h +++ b/sp/src/game/server/hl2/func_tank.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_ar2.cpp b/sp/src/game/server/hl2/grenade_ar2.cpp index 455efb18db..81ca1b6b64 100644 --- a/sp/src/game/server/hl2/grenade_ar2.cpp +++ b/sp/src/game/server/hl2/grenade_ar2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_ar2.h b/sp/src/game/server/hl2/grenade_ar2.h index b49dd202c4..bae2061c36 100644 --- a/sp/src/game/server/hl2/grenade_ar2.h +++ b/sp/src/game/server/hl2/grenade_ar2.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot from the AR2 // diff --git a/sp/src/game/server/hl2/grenade_beam.cpp b/sp/src/game/server/hl2/grenade_beam.cpp index 56c9e9e9ee..2d36780f9e 100644 --- a/sp/src/game/server/hl2/grenade_beam.cpp +++ b/sp/src/game/server/hl2/grenade_beam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by mortar synth. // diff --git a/sp/src/game/server/hl2/grenade_beam.h b/sp/src/game/server/hl2/grenade_beam.h index 76203f6795..85ebc57e3b 100644 --- a/sp/src/game/server/hl2/grenade_beam.h +++ b/sp/src/game/server/hl2/grenade_beam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by mortar synth // diff --git a/sp/src/game/server/hl2/grenade_brickbat.cpp b/sp/src/game/server/hl2/grenade_brickbat.cpp index 65b299769a..0f49b2d677 100644 --- a/sp/src/game/server/hl2/grenade_brickbat.cpp +++ b/sp/src/game/server/hl2/grenade_brickbat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Things thrown from the hand // diff --git a/sp/src/game/server/hl2/grenade_brickbat.h b/sp/src/game/server/hl2/grenade_brickbat.h index d0456a6092..04b67e1d29 100644 --- a/sp/src/game/server/hl2/grenade_brickbat.h +++ b/sp/src/game/server/hl2/grenade_brickbat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Things thrown from the hand // diff --git a/sp/src/game/server/hl2/grenade_bugbait.cpp b/sp/src/game/server/hl2/grenade_bugbait.cpp index feddcd5666..c61e336acf 100644 --- a/sp/src/game/server/hl2/grenade_bugbait.cpp +++ b/sp/src/game/server/hl2/grenade_bugbait.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Bugbait weapon to summon and direct antlions // diff --git a/sp/src/game/server/hl2/grenade_bugbait.h b/sp/src/game/server/hl2/grenade_bugbait.h index fb2a68ccc6..ce98df6b10 100644 --- a/sp/src/game/server/hl2/grenade_bugbait.h +++ b/sp/src/game/server/hl2/grenade_bugbait.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_energy.cpp b/sp/src/game/server/hl2/grenade_energy.cpp index e76265dca7..6730be1d5a 100644 --- a/sp/src/game/server/hl2/grenade_energy.cpp +++ b/sp/src/game/server/hl2/grenade_energy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by mortar synth. // diff --git a/sp/src/game/server/hl2/grenade_energy.h b/sp/src/game/server/hl2/grenade_energy.h index f587dbca6a..b9682877bf 100644 --- a/sp/src/game/server/hl2/grenade_energy.h +++ b/sp/src/game/server/hl2/grenade_energy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by mortar synth // diff --git a/sp/src/game/server/hl2/grenade_frag.cpp b/sp/src/game/server/hl2/grenade_frag.cpp index b0ad60fb37..ea309a58ea 100644 --- a/sp/src/game/server/hl2/grenade_frag.cpp +++ b/sp/src/game/server/hl2/grenade_frag.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_frag.h b/sp/src/game/server/hl2/grenade_frag.h index 63fe5ae5e3..7a5dc29ce6 100644 --- a/sp/src/game/server/hl2/grenade_frag.h +++ b/sp/src/game/server/hl2/grenade_frag.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_homer.cpp b/sp/src/game/server/hl2/grenade_homer.cpp index c024b07c10..c54803d9a5 100644 --- a/sp/src/game/server/hl2/grenade_homer.cpp +++ b/sp/src/game/server/hl2/grenade_homer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Grenade used by the city scanner // diff --git a/sp/src/game/server/hl2/grenade_homer.h b/sp/src/game/server/hl2/grenade_homer.h index 81ebcf91ba..4d6485c5cb 100644 --- a/sp/src/game/server/hl2/grenade_homer.h +++ b/sp/src/game/server/hl2/grenade_homer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by city scanner // diff --git a/sp/src/game/server/hl2/grenade_molotov.cpp b/sp/src/game/server/hl2/grenade_molotov.cpp index d688042c2a..1d1f377636 100644 --- a/sp/src/game/server/hl2/grenade_molotov.cpp +++ b/sp/src/game/server/hl2/grenade_molotov.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Flaming bottle thrown from the hand // diff --git a/sp/src/game/server/hl2/grenade_molotov.h b/sp/src/game/server/hl2/grenade_molotov.h index 3de070ccf7..71375564ec 100644 --- a/sp/src/game/server/hl2/grenade_molotov.h +++ b/sp/src/game/server/hl2/grenade_molotov.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Molotov grenades // diff --git a/sp/src/game/server/hl2/grenade_pathfollower.cpp b/sp/src/game/server/hl2/grenade_pathfollower.cpp index 71fa8bf0d3..6659303742 100644 --- a/sp/src/game/server/hl2/grenade_pathfollower.cpp +++ b/sp/src/game/server/hl2/grenade_pathfollower.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the brickbat weapon // diff --git a/sp/src/game/server/hl2/grenade_pathfollower.h b/sp/src/game/server/hl2/grenade_pathfollower.h index 5b2247b3f1..dede0fd24b 100644 --- a/sp/src/game/server/hl2/grenade_pathfollower.h +++ b/sp/src/game/server/hl2/grenade_pathfollower.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by wasteland scanner // diff --git a/sp/src/game/server/hl2/grenade_satchel.cpp b/sp/src/game/server/hl2/grenade_satchel.cpp index d8777f94fd..242c0a8cc7 100644 --- a/sp/src/game/server/hl2/grenade_satchel.cpp +++ b/sp/src/game/server/hl2/grenade_satchel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_satchel.h b/sp/src/game/server/hl2/grenade_satchel.h index d614dbcd6b..c7e8adb22d 100644 --- a/sp/src/game/server/hl2/grenade_satchel.h +++ b/sp/src/game/server/hl2/grenade_satchel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Satchel Charge // diff --git a/sp/src/game/server/hl2/grenade_spit.cpp b/sp/src/game/server/hl2/grenade_spit.cpp index 5f3e8ef9ef..ef21729a12 100644 --- a/sp/src/game/server/hl2/grenade_spit.cpp +++ b/sp/src/game/server/hl2/grenade_spit.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_spit.h b/sp/src/game/server/hl2/grenade_spit.h index 562b852652..917f2b6ea8 100644 --- a/sp/src/game/server/hl2/grenade_spit.h +++ b/sp/src/game/server/hl2/grenade_spit.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot by bullsquid // diff --git a/sp/src/game/server/hl2/grenade_tripmine.cpp b/sp/src/game/server/hl2/grenade_tripmine.cpp index 45ea115050..caf09ccd3f 100644 --- a/sp/src/game/server/hl2/grenade_tripmine.cpp +++ b/sp/src/game/server/hl2/grenade_tripmine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the tripmine grenade. // diff --git a/sp/src/game/server/hl2/grenade_tripmine.h b/sp/src/game/server/hl2/grenade_tripmine.h index d905edb768..c1c0e7bf3d 100644 --- a/sp/src/game/server/hl2/grenade_tripmine.h +++ b/sp/src/game/server/hl2/grenade_tripmine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/grenade_tripwire.cpp b/sp/src/game/server/hl2/grenade_tripwire.cpp index 77158d27bd..9ba049c498 100644 --- a/sp/src/game/server/hl2/grenade_tripwire.cpp +++ b/sp/src/game/server/hl2/grenade_tripwire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the tripmine grenade. // diff --git a/sp/src/game/server/hl2/grenade_tripwire.h b/sp/src/game/server/hl2/grenade_tripwire.h index 1da7c92d2b..7bad51778f 100644 --- a/sp/src/game/server/hl2/grenade_tripwire.h +++ b/sp/src/game/server/hl2/grenade_tripwire.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Tripmine // diff --git a/sp/src/game/server/hl2/hl2_ai_network.cpp b/sp/src/game/server/hl2/hl2_ai_network.cpp index 4e2dc69453..e47735d557 100644 --- a/sp/src/game/server/hl2/hl2_ai_network.cpp +++ b/sp/src/game/server/hl2/hl2_ai_network.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_client.cpp b/sp/src/game/server/hl2/hl2_client.cpp index 12dc248f5c..ed2755c69e 100644 --- a/sp/src/game/server/hl2/hl2_client.cpp +++ b/sp/src/game/server/hl2/hl2_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_eventlog.cpp b/sp/src/game/server/hl2/hl2_eventlog.cpp index ff2dc3c964..647a598839 100644 --- a/sp/src/game/server/hl2/hl2_eventlog.cpp +++ b/sp/src/game/server/hl2/hl2_eventlog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_gamestats.cpp b/sp/src/game/server/hl2/hl2_gamestats.cpp index c77cee65ed..ebc5c60cc4 100644 --- a/sp/src/game/server/hl2/hl2_gamestats.cpp +++ b/sp/src/game/server/hl2/hl2_gamestats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_gamestats.h b/sp/src/game/server/hl2/hl2_gamestats.h index 31a91a3290..a88815e405 100644 --- a/sp/src/game/server/hl2/hl2_gamestats.h +++ b/sp/src/game/server/hl2/hl2_gamestats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_player.cpp b/sp/src/game/server/hl2/hl2_player.cpp index b99f05b25e..bc51f2ad4b 100644 --- a/sp/src/game/server/hl2/hl2_player.cpp +++ b/sp/src/game/server/hl2/hl2_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL2. // diff --git a/sp/src/game/server/hl2/hl2_player.h b/sp/src/game/server/hl2/hl2_player.h index 12c0386c85..bcbe923369 100644 --- a/sp/src/game/server/hl2/hl2_player.h +++ b/sp/src/game/server/hl2/hl2_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL2. // diff --git a/sp/src/game/server/hl2/hl2_playerlocaldata.cpp b/sp/src/game/server/hl2/hl2_playerlocaldata.cpp index 819a8e064c..cab2cd957f 100644 --- a/sp/src/game/server/hl2/hl2_playerlocaldata.cpp +++ b/sp/src/game/server/hl2/hl2_playerlocaldata.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_playerlocaldata.h b/sp/src/game/server/hl2/hl2_playerlocaldata.h index e4c833415f..8701069653 100644 --- a/sp/src/game/server/hl2/hl2_playerlocaldata.h +++ b/sp/src/game/server/hl2/hl2_playerlocaldata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl2_triggers.cpp b/sp/src/game/server/hl2/hl2_triggers.cpp index 9aeee1a9e1..91ad9b4040 100644 --- a/sp/src/game/server/hl2/hl2_triggers.cpp +++ b/sp/src/game/server/hl2/hl2_triggers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/hl_playermove.cpp b/sp/src/game/server/hl2/hl_playermove.cpp index 4f768d4847..0f6408f3e2 100644 --- a/sp/src/game/server/hl2/hl_playermove.cpp +++ b/sp/src/game/server/hl2/hl_playermove.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/info_darknessmode_lightsource.cpp b/sp/src/game/server/hl2/info_darknessmode_lightsource.cpp index 03df7e3f49..0bfceb6a08 100644 --- a/sp/src/game/server/hl2/info_darknessmode_lightsource.cpp +++ b/sp/src/game/server/hl2/info_darknessmode_lightsource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/info_darknessmode_lightsource.h b/sp/src/game/server/hl2/info_darknessmode_lightsource.h index 51f523a961..73359ccaf4 100644 --- a/sp/src/game/server/hl2/info_darknessmode_lightsource.h +++ b/sp/src/game/server/hl2/info_darknessmode_lightsource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/info_teleporter_countdown.cpp b/sp/src/game/server/hl2/info_teleporter_countdown.cpp index fbe1e00a32..47e1d9b2e1 100644 --- a/sp/src/game/server/hl2/info_teleporter_countdown.cpp +++ b/sp/src/game/server/hl2/info_teleporter_countdown.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_ammo.cpp b/sp/src/game/server/hl2/item_ammo.cpp index fa54ad1f18..8682eb1d2e 100644 --- a/sp/src/game/server/hl2/item_ammo.cpp +++ b/sp/src/game/server/hl2/item_ammo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The various ammo types for HL2 // diff --git a/sp/src/game/server/hl2/item_antidote.cpp b/sp/src/game/server/hl2/item_antidote.cpp index f9837a73f1..539d6b144c 100644 --- a/sp/src/game/server/hl2/item_antidote.cpp +++ b/sp/src/game/server/hl2/item_antidote.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_battery.cpp b/sp/src/game/server/hl2/item_battery.cpp index d5c8b41636..126f37855f 100644 --- a/sp/src/game/server/hl2/item_battery.cpp +++ b/sp/src/game/server/hl2/item_battery.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Handling for the suit batteries. // diff --git a/sp/src/game/server/hl2/item_dynamic_resupply.cpp b/sp/src/game/server/hl2/item_dynamic_resupply.cpp index bc0a6c96e2..6e34b46101 100644 --- a/sp/src/game/server/hl2/item_dynamic_resupply.cpp +++ b/sp/src/game/server/hl2/item_dynamic_resupply.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_dynamic_resupply.h b/sp/src/game/server/hl2/item_dynamic_resupply.h index 8c2d8819bb..f97441a5a6 100644 --- a/sp/src/game/server/hl2/item_dynamic_resupply.h +++ b/sp/src/game/server/hl2/item_dynamic_resupply.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_healthkit.cpp b/sp/src/game/server/hl2/item_healthkit.cpp index 54f961c75d..5bf19f846b 100644 --- a/sp/src/game/server/hl2/item_healthkit.cpp +++ b/sp/src/game/server/hl2/item_healthkit.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements health kits and wall mounted health chargers. // diff --git a/sp/src/game/server/hl2/item_itemcrate.cpp b/sp/src/game/server/hl2/item_itemcrate.cpp index c1d47364e5..56f6acd7b5 100644 --- a/sp/src/game/server/hl2/item_itemcrate.cpp +++ b/sp/src/game/server/hl2/item_itemcrate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The various ammo types for HL2 // diff --git a/sp/src/game/server/hl2/item_longjump.cpp b/sp/src/game/server/hl2/item_longjump.cpp index fd4b8dbe36..e212cb766a 100644 --- a/sp/src/game/server/hl2/item_longjump.cpp +++ b/sp/src/game/server/hl2/item_longjump.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_security.cpp b/sp/src/game/server/hl2/item_security.cpp index 85d774b264..4c2adb93a1 100644 --- a/sp/src/game/server/hl2/item_security.cpp +++ b/sp/src/game/server/hl2/item_security.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/item_suit.cpp b/sp/src/game/server/hl2/item_suit.cpp index 67d327b9d7..ffe42843c4 100644 --- a/sp/src/game/server/hl2/item_suit.cpp +++ b/sp/src/game/server/hl2/item_suit.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/look_door.cpp b/sp/src/game/server/hl2/look_door.cpp index 488c4a6f29..b58444f732 100644 --- a/sp/src/game/server/hl2/look_door.cpp +++ b/sp/src/game/server/hl2/look_door.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements doors that move when you look at them. // diff --git a/sp/src/game/server/hl2/monster_dummy.cpp b/sp/src/game/server/hl2/monster_dummy.cpp index 2632d6abce..dad13936e7 100644 --- a/sp/src/game/server/hl2/monster_dummy.cpp +++ b/sp/src/game/server/hl2/monster_dummy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // This is a skeleton file for use when creating a new // NPC. Copy and rename this file for the new // NPC and add the copy to the build. diff --git a/sp/src/game/server/hl2/npc_BaseZombie.cpp b/sp/src/game/server/hl2/npc_BaseZombie.cpp index f8609f493a..7d778a4b00 100644 --- a/sp/src/game/server/hl2/npc_BaseZombie.cpp +++ b/sp/src/game/server/hl2/npc_BaseZombie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the zombie, a horrific once-human headcrab victim. // diff --git a/sp/src/game/server/hl2/npc_BaseZombie.h b/sp/src/game/server/hl2/npc_BaseZombie.h index cfc115667a..17b21d52a1 100644 --- a/sp/src/game/server/hl2/npc_BaseZombie.h +++ b/sp/src/game/server/hl2/npc_BaseZombie.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_PoisonZombie.cpp b/sp/src/game/server/hl2/npc_PoisonZombie.cpp index 1611e15b10..89f421e156 100644 --- a/sp/src/game/server/hl2/npc_PoisonZombie.cpp +++ b/sp/src/game/server/hl2/npc_PoisonZombie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A hideous, putrescent, pus-filled undead carcass atop which a vile // nest of filthy poisonous headcrabs lurks. diff --git a/sp/src/game/server/hl2/npc_alyx.cpp b/sp/src/game/server/hl2/npc_alyx.cpp index 72b3f32873..42793c175b 100644 --- a/sp/src/game/server/hl2/npc_alyx.cpp +++ b/sp/src/game/server/hl2/npc_alyx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Alyx, the female sidekick and love interest that's taking the world by storm! // diff --git a/sp/src/game/server/hl2/npc_alyx.h b/sp/src/game/server/hl2/npc_alyx.h index 266dca6d8e..11fecea458 100644 --- a/sp/src/game/server/hl2/npc_alyx.h +++ b/sp/src/game/server/hl2/npc_alyx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/hl2/npc_alyx_episodic.cpp b/sp/src/game/server/hl2/npc_alyx_episodic.cpp index dd5a35b0dd..e1cbe19120 100644 --- a/sp/src/game/server/hl2/npc_alyx_episodic.cpp +++ b/sp/src/game/server/hl2/npc_alyx_episodic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Alyx, the female sidekick and love interest that's taking the world by storm! // diff --git a/sp/src/game/server/hl2/npc_alyx_episodic.h b/sp/src/game/server/hl2/npc_alyx_episodic.h index f24ddf6768..42407c0f15 100644 --- a/sp/src/game/server/hl2/npc_alyx_episodic.h +++ b/sp/src/game/server/hl2/npc_alyx_episodic.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/hl2/npc_antlion.cpp b/sp/src/game/server/hl2/npc_antlion.cpp index bda685eaa1..4f53245b69 100644 --- a/sp/src/game/server/hl2/npc_antlion.cpp +++ b/sp/src/game/server/hl2/npc_antlion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Antlion - nasty bug // diff --git a/sp/src/game/server/hl2/npc_antlion.h b/sp/src/game/server/hl2/npc_antlion.h index dd26ec2abc..c67932237b 100644 --- a/sp/src/game/server/hl2/npc_antlion.h +++ b/sp/src/game/server/hl2/npc_antlion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_antliongrub.cpp b/sp/src/game/server/hl2/npc_antliongrub.cpp index 07444e9a7f..a5024ba85f 100644 --- a/sp/src/game/server/hl2/npc_antliongrub.cpp +++ b/sp/src/game/server/hl2/npc_antliongrub.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Antlion Grub - cannon fodder // diff --git a/sp/src/game/server/hl2/npc_antliongrub.h b/sp/src/game/server/hl2/npc_antliongrub.h index 4b0b8ff53a..ee79f195f2 100644 --- a/sp/src/game/server/hl2/npc_antliongrub.h +++ b/sp/src/game/server/hl2/npc_antliongrub.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Antlion Grub - cannon fodder // diff --git a/sp/src/game/server/hl2/npc_antlionguard.cpp b/sp/src/game/server/hl2/npc_antlionguard.cpp index 57592617cf..12999b9475 100644 --- a/sp/src/game/server/hl2/npc_antlionguard.cpp +++ b/sp/src/game/server/hl2/npc_antlionguard.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Antlion Guard // diff --git a/sp/src/game/server/hl2/npc_apcdriver.cpp b/sp/src/game/server/hl2/npc_apcdriver.cpp index b5f262a310..50bfde3a7b 100644 --- a/sp/src/game/server/hl2/npc_apcdriver.cpp +++ b/sp/src/game/server/hl2/npc_apcdriver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_assassin.cpp b/sp/src/game/server/hl2/npc_assassin.cpp index 25b4ba93ae..f883c76fa2 100644 --- a/sp/src/game/server/hl2/npc_assassin.cpp +++ b/sp/src/game/server/hl2/npc_assassin.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_assassin.h b/sp/src/game/server/hl2/npc_assassin.h index 1849c0642c..785af77c74 100644 --- a/sp/src/game/server/hl2/npc_assassin.h +++ b/sp/src/game/server/hl2/npc_assassin.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_attackchopper.cpp b/sp/src/game/server/hl2/npc_attackchopper.cpp index ac6efb1cbe..0aa6d0e889 100644 --- a/sp/src/game/server/hl2/npc_attackchopper.cpp +++ b/sp/src/game/server/hl2/npc_attackchopper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_attackchopper.h b/sp/src/game/server/hl2/npc_attackchopper.h index 9295bed838..281685bf21 100644 --- a/sp/src/game/server/hl2/npc_attackchopper.h +++ b/sp/src/game/server/hl2/npc_attackchopper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_barnacle.cpp b/sp/src/game/server/hl2/npc_barnacle.cpp index d26f702a1a..6b40a4afd0 100644 --- a/sp/src/game/server/hl2/npc_barnacle.cpp +++ b/sp/src/game/server/hl2/npc_barnacle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: barnacle - stationary ceiling mounted 'fishing' monster // diff --git a/sp/src/game/server/hl2/npc_barnacle.h b/sp/src/game/server/hl2/npc_barnacle.h index 373be24b77..38df7979ae 100644 --- a/sp/src/game/server/hl2/npc_barnacle.h +++ b/sp/src/game/server/hl2/npc_barnacle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_barney.cpp b/sp/src/game/server/hl2/npc_barney.cpp index cfb80afc0c..7396bb330d 100644 --- a/sp/src/game/server/hl2/npc_barney.cpp +++ b/sp/src/game/server/hl2/npc_barney.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_basescanner.cpp b/sp/src/game/server/hl2/npc_basescanner.cpp index fdae50dafc..cea570d2d7 100644 --- a/sp/src/game/server/hl2/npc_basescanner.cpp +++ b/sp/src/game/server/hl2/npc_basescanner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_basescanner.h b/sp/src/game/server/hl2/npc_basescanner.h index 1a286b8113..4300d59e79 100644 --- a/sp/src/game/server/hl2/npc_basescanner.h +++ b/sp/src/game/server/hl2/npc_basescanner.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_blob.cpp b/sp/src/game/server/hl2/npc_blob.cpp index 568ec5c5c9..d70edd32fa 100644 --- a/sp/src/game/server/hl2/npc_blob.cpp +++ b/sp/src/game/server/hl2/npc_blob.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // npc_blob - experimental, cpu-intensive monster made of lots of smaller elements // diff --git a/sp/src/game/server/hl2/npc_breen.cpp b/sp/src/game/server/hl2/npc_breen.cpp index e1409c80cc..164b8bd375 100644 --- a/sp/src/game/server/hl2/npc_breen.cpp +++ b/sp/src/game/server/hl2/npc_breen.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dr. Breen, the oft maligned genius, heroically saving humanity from // its own worst enemy, itself. diff --git a/sp/src/game/server/hl2/npc_bullseye.cpp b/sp/src/game/server/hl2/npc_bullseye.cpp index 6dcbf852a9..77e23d1b2d 100644 --- a/sp/src/game/server/hl2/npc_bullseye.cpp +++ b/sp/src/game/server/hl2/npc_bullseye.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Bullseyes act as targets for other NPC's to attack and to trigger // events diff --git a/sp/src/game/server/hl2/npc_bullseye.h b/sp/src/game/server/hl2/npc_bullseye.h index 9138d0119a..e423ec7a33 100644 --- a/sp/src/game/server/hl2/npc_bullseye.h +++ b/sp/src/game/server/hl2/npc_bullseye.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_bullsquid.cpp b/sp/src/game/server/hl2/npc_bullsquid.cpp index 954ea8689a..5d0373192a 100644 --- a/sp/src/game/server/hl2/npc_bullsquid.cpp +++ b/sp/src/game/server/hl2/npc_bullsquid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the bullsquid // diff --git a/sp/src/game/server/hl2/npc_bullsquid.h b/sp/src/game/server/hl2/npc_bullsquid.h index 62218b8de7..2062a444b0 100644 --- a/sp/src/game/server/hl2/npc_bullsquid.h +++ b/sp/src/game/server/hl2/npc_bullsquid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/server/hl2/npc_citizen17.cpp b/sp/src/game/server/hl2/npc_citizen17.cpp index 02baaf0794..289661524f 100644 --- a/sp/src/game/server/hl2/npc_citizen17.cpp +++ b/sp/src/game/server/hl2/npc_citizen17.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The downtrodden citizens of City 17. // diff --git a/sp/src/game/server/hl2/npc_citizen17.h b/sp/src/game/server/hl2/npc_citizen17.h index 5d23429d97..97e59b86d8 100644 --- a/sp/src/game/server/hl2/npc_citizen17.h +++ b/sp/src/game/server/hl2/npc_citizen17.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The downtrodden citizens of City 17. Timid when unarmed, they will // rise up against their Combine oppressors when given a weapon. diff --git a/sp/src/game/server/hl2/npc_combine.cpp b/sp/src/game/server/hl2/npc_combine.cpp index 93116b4d8f..552cf56e80 100644 --- a/sp/src/game/server/hl2/npc_combine.cpp +++ b/sp/src/game/server/hl2/npc_combine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_combine.h b/sp/src/game/server/hl2/npc_combine.h index d6a500b94d..cb5b10e7af 100644 --- a/sp/src/game/server/hl2/npc_combine.h +++ b/sp/src/game/server/hl2/npc_combine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_combinecamera.cpp b/sp/src/game/server/hl2/npc_combinecamera.cpp index 13bbba1b8a..8e1ca29b17 100644 --- a/sp/src/game/server/hl2/npc_combinecamera.cpp +++ b/sp/src/game/server/hl2/npc_combinecamera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Security cameras will track a default target (if they have one) // until they either acquire an enemy to track or are told to track diff --git a/sp/src/game/server/hl2/npc_combinedropship.cpp b/sp/src/game/server/hl2/npc_combinedropship.cpp index bc6067f2fa..0fb1bc6284 100644 --- a/sp/src/game/server/hl2/npc_combinedropship.cpp +++ b/sp/src/game/server/hl2/npc_combinedropship.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Large vehicle what delivers combine troops. // diff --git a/sp/src/game/server/hl2/npc_combinegunship.cpp b/sp/src/game/server/hl2/npc_combinegunship.cpp index dfe0aa20c6..9b03a9e11b 100644 --- a/sp/src/game/server/hl2/npc_combinegunship.cpp +++ b/sp/src/game/server/hl2/npc_combinegunship.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_combines.cpp b/sp/src/game/server/hl2/npc_combines.cpp index be85d895ab..18020aad80 100644 --- a/sp/src/game/server/hl2/npc_combines.cpp +++ b/sp/src/game/server/hl2/npc_combines.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the soldier version of the combine, analogous to the HL1 grunt. // diff --git a/sp/src/game/server/hl2/npc_combines.h b/sp/src/game/server/hl2/npc_combines.h index 7c7d8fbe20..733f2f13e7 100644 --- a/sp/src/game/server/hl2/npc_combines.h +++ b/sp/src/game/server/hl2/npc_combines.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_cranedriver.cpp b/sp/src/game/server/hl2/npc_cranedriver.cpp index d2ea97e39d..d516ffb5c1 100644 --- a/sp/src/game/server/hl2/npc_cranedriver.cpp +++ b/sp/src/game/server/hl2/npc_cranedriver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_crow.cpp b/sp/src/game/server/hl2/npc_crow.cpp index 0b897b9ec5..efa15f18c8 100644 --- a/sp/src/game/server/hl2/npc_crow.cpp +++ b/sp/src/game/server/hl2/npc_crow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Crows. Simple ambient birds that fly away when they hear gunfire or // when anything gets too close to them. diff --git a/sp/src/game/server/hl2/npc_crow.h b/sp/src/game/server/hl2/npc_crow.h index 4ecac5357c..85fcec053a 100644 --- a/sp/src/game/server/hl2/npc_crow.h +++ b/sp/src/game/server/hl2/npc_crow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_dog.cpp b/sp/src/game/server/hl2/npc_dog.cpp index 6e05cf4d00..35977d47dc 100644 --- a/sp/src/game/server/hl2/npc_dog.cpp +++ b/sp/src/game/server/hl2/npc_dog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements d0g, the loving and caring head crushing Alyx companion. // diff --git a/sp/src/game/server/hl2/npc_eli.cpp b/sp/src/game/server/hl2/npc_eli.cpp index c66e927310..9ec8116d44 100644 --- a/sp/src/game/server/hl2/npc_eli.cpp +++ b/sp/src/game/server/hl2/npc_eli.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dr. Eli Vance, earths last great hope, single-handedly fighting // off both an evil alien invasion, as well as trying to stop diff --git a/sp/src/game/server/hl2/npc_enemyfinder.cpp b/sp/src/game/server/hl2/npc_enemyfinder.cpp index d9855815df..85d359144e 100644 --- a/sp/src/game/server/hl2/npc_enemyfinder.cpp +++ b/sp/src/game/server/hl2/npc_enemyfinder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Bullseyes act as targets for other NPC's to attack and to trigger // events diff --git a/sp/src/game/server/hl2/npc_fastzombie.cpp b/sp/src/game/server/hl2/npc_fastzombie.cpp index 6e5ec1362a..123d657581 100644 --- a/sp/src/game/server/hl2/npc_fastzombie.cpp +++ b/sp/src/game/server/hl2/npc_fastzombie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_fisherman.cpp b/sp/src/game/server/hl2/npc_fisherman.cpp index 967c57953a..1a4ffec1cb 100644 --- a/sp/src/game/server/hl2/npc_fisherman.cpp +++ b/sp/src/game/server/hl2/npc_fisherman.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_gman.cpp b/sp/src/game/server/hl2/npc_gman.cpp index a13fd083bb..d2b2c20488 100644 --- a/sp/src/game/server/hl2/npc_gman.cpp +++ b/sp/src/game/server/hl2/npc_gman.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The G-Man, misunderstood servant of the people // diff --git a/sp/src/game/server/hl2/npc_headcrab.cpp b/sp/src/game/server/hl2/npc_headcrab.cpp index b1b8db81b2..8cdf158cd7 100644 --- a/sp/src/game/server/hl2/npc_headcrab.cpp +++ b/sp/src/game/server/hl2/npc_headcrab.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the headcrab, a tiny, jumpy alien parasite. // diff --git a/sp/src/game/server/hl2/npc_headcrab.h b/sp/src/game/server/hl2/npc_headcrab.h index 8c4103adae..050b00819b 100644 --- a/sp/src/game/server/hl2/npc_headcrab.h +++ b/sp/src/game/server/hl2/npc_headcrab.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the headcrab, a tiny, jumpy alien parasite. // diff --git a/sp/src/game/server/hl2/npc_houndeye.cpp b/sp/src/game/server/hl2/npc_houndeye.cpp index c121d11ae9..9d4bda1007 100644 --- a/sp/src/game/server/hl2/npc_houndeye.cpp +++ b/sp/src/game/server/hl2/npc_houndeye.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Houndeye - a spooky sonic dog. // diff --git a/sp/src/game/server/hl2/npc_houndeye.h b/sp/src/game/server/hl2/npc_houndeye.h index 1e7d8ca389..831a3badc9 100644 --- a/sp/src/game/server/hl2/npc_houndeye.h +++ b/sp/src/game/server/hl2/npc_houndeye.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_hydra.cpp b/sp/src/game/server/hl2/npc_hydra.cpp index 58184433d5..e2efd6268d 100644 --- a/sp/src/game/server/hl2/npc_hydra.cpp +++ b/sp/src/game/server/hl2/npc_hydra.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_hydra.h b/sp/src/game/server/hl2/npc_hydra.h index 253dbe0fcb..981c40d68a 100644 --- a/sp/src/game/server/hl2/npc_hydra.h +++ b/sp/src/game/server/hl2/npc_hydra.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_ichthyosaur.cpp b/sp/src/game/server/hl2/npc_ichthyosaur.cpp index 52d2675009..78de85882b 100644 --- a/sp/src/game/server/hl2/npc_ichthyosaur.cpp +++ b/sp/src/game/server/hl2/npc_ichthyosaur.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Ichthyosaur - buh bum... buh bum... // diff --git a/sp/src/game/server/hl2/npc_kleiner.cpp b/sp/src/game/server/hl2/npc_kleiner.cpp index 4e5e5cf8ed..a374de4248 100644 --- a/sp/src/game/server/hl2/npc_kleiner.cpp +++ b/sp/src/game/server/hl2/npc_kleiner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dr. Kleiner, a suave ladies man leading the fight against the evil // combine while constantly having to help his idiot assistant Gordon diff --git a/sp/src/game/server/hl2/npc_launcher.cpp b/sp/src/game/server/hl2/npc_launcher.cpp index 817bab234e..f80bef252e 100644 --- a/sp/src/game/server/hl2/npc_launcher.cpp +++ b/sp/src/game/server/hl2/npc_launcher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_manhack.cpp b/sp/src/game/server/hl2/npc_manhack.cpp index e221e93815..65ece5f062 100644 --- a/sp/src/game/server/hl2/npc_manhack.cpp +++ b/sp/src/game/server/hl2/npc_manhack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_manhack.h b/sp/src/game/server/hl2/npc_manhack.h index a080f0eb1b..8bd00b3a35 100644 --- a/sp/src/game/server/hl2/npc_manhack.h +++ b/sp/src/game/server/hl2/npc_manhack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_metropolice.cpp b/sp/src/game/server/hl2/npc_metropolice.cpp index f515ab9213..5b641e9596 100644 --- a/sp/src/game/server/hl2/npc_metropolice.cpp +++ b/sp/src/game/server/hl2/npc_metropolice.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_metropolice.h b/sp/src/game/server/hl2/npc_metropolice.h index 690bf2ae8d..be6d20d47b 100644 --- a/sp/src/game/server/hl2/npc_metropolice.h +++ b/sp/src/game/server/hl2/npc_metropolice.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_missiledefense.cpp b/sp/src/game/server/hl2/npc_missiledefense.cpp index f07984cf63..69f9320585 100644 --- a/sp/src/game/server/hl2/npc_missiledefense.cpp +++ b/sp/src/game/server/hl2/npc_missiledefense.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_monk.cpp b/sp/src/game/server/hl2/npc_monk.cpp index e517a6fe69..85a5458386 100644 --- a/sp/src/game/server/hl2/npc_monk.cpp +++ b/sp/src/game/server/hl2/npc_monk.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Father Grigori, a benevolent monk who is the last remaining human // in Ravenholm. He keeps to the rooftops and uses a big ole elephant diff --git a/sp/src/game/server/hl2/npc_mossman.cpp b/sp/src/game/server/hl2/npc_mossman.cpp index f92a8f51d9..cae985aa97 100644 --- a/sp/src/game/server/hl2/npc_mossman.cpp +++ b/sp/src/game/server/hl2/npc_mossman.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dr. Mossman, stalwart heroine, doing what is right in the face of // near certain doom, all while fighting off the clumsy advances of her diff --git a/sp/src/game/server/hl2/npc_playercompanion.cpp b/sp/src/game/server/hl2/npc_playercompanion.cpp index 660cb218ae..a262705abe 100644 --- a/sp/src/game/server/hl2/npc_playercompanion.cpp +++ b/sp/src/game/server/hl2/npc_playercompanion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_playercompanion.h b/sp/src/game/server/hl2/npc_playercompanion.h index e0f6769ef4..f500aa636b 100644 --- a/sp/src/game/server/hl2/npc_playercompanion.h +++ b/sp/src/game/server/hl2/npc_playercompanion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base class for humanoid NPCs intended to fight along side player in close // environments diff --git a/sp/src/game/server/hl2/npc_rollermine.cpp b/sp/src/game/server/hl2/npc_rollermine.cpp index fc803f1f67..054653df03 100644 --- a/sp/src/game/server/hl2/npc_rollermine.cpp +++ b/sp/src/game/server/hl2/npc_rollermine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_rollermine.h b/sp/src/game/server/hl2/npc_rollermine.h index 774e3aa99e..29eb2c3886 100644 --- a/sp/src/game/server/hl2/npc_rollermine.h +++ b/sp/src/game/server/hl2/npc_rollermine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_scanner.cpp b/sp/src/game/server/hl2/npc_scanner.cpp index 0323afcc0c..3dde149106 100644 --- a/sp/src/game/server/hl2/npc_scanner.cpp +++ b/sp/src/game/server/hl2/npc_scanner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_scanner.h b/sp/src/game/server/hl2/npc_scanner.h index 109b2a7d47..8de52561b3 100644 --- a/sp/src/game/server/hl2/npc_scanner.h +++ b/sp/src/game/server/hl2/npc_scanner.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_spotlight.cpp b/sp/src/game/server/hl2/npc_spotlight.cpp index d36478ddbc..4a61053d15 100644 --- a/sp/src/game/server/hl2/npc_spotlight.cpp +++ b/sp/src/game/server/hl2/npc_spotlight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_stalker.cpp b/sp/src/game/server/hl2/npc_stalker.cpp index 67ed567ae0..7ed50008af 100644 --- a/sp/src/game/server/hl2/npc_stalker.cpp +++ b/sp/src/game/server/hl2/npc_stalker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_stalker.h b/sp/src/game/server/hl2/npc_stalker.h index 206d199dd9..279208b5ac 100644 --- a/sp/src/game/server/hl2/npc_stalker.h +++ b/sp/src/game/server/hl2/npc_stalker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_strider.cpp b/sp/src/game/server/hl2/npc_strider.cpp index a4289fdb2a..12f9ca5fab 100644 --- a/sp/src/game/server/hl2/npc_strider.cpp +++ b/sp/src/game/server/hl2/npc_strider.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Giant walking strider thing! // diff --git a/sp/src/game/server/hl2/npc_strider.h b/sp/src/game/server/hl2/npc_strider.h index d5bdd2095c..f33d70bc17 100644 --- a/sp/src/game/server/hl2/npc_strider.h +++ b/sp/src/game/server/hl2/npc_strider.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_turret.cpp b/sp/src/game/server/hl2/npc_turret.cpp index f4ed2d81ca..5d5ae478d2 100644 --- a/sp/src/game/server/hl2/npc_turret.cpp +++ b/sp/src/game/server/hl2/npc_turret.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_turret_ceiling.cpp b/sp/src/game/server/hl2/npc_turret_ceiling.cpp index 0637525ade..97384dae7c 100644 --- a/sp/src/game/server/hl2/npc_turret_ceiling.cpp +++ b/sp/src/game/server/hl2/npc_turret_ceiling.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_turret_floor.cpp b/sp/src/game/server/hl2/npc_turret_floor.cpp index f365dfd74a..132e686744 100644 --- a/sp/src/game/server/hl2/npc_turret_floor.cpp +++ b/sp/src/game/server/hl2/npc_turret_floor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/npc_turret_floor.h b/sp/src/game/server/hl2/npc_turret_floor.h index af006a0143..42598567be 100644 --- a/sp/src/game/server/hl2/npc_turret_floor.h +++ b/sp/src/game/server/hl2/npc_turret_floor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef NPC_TURRET_FLOOR_H #define NPC_TURRET_FLOOR_H #ifdef _WIN32 diff --git a/sp/src/game/server/hl2/npc_turret_ground.cpp b/sp/src/game/server/hl2/npc_turret_ground.cpp index c7dceeaeff..717a161edd 100644 --- a/sp/src/game/server/hl2/npc_turret_ground.cpp +++ b/sp/src/game/server/hl2/npc_turret_ground.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Combine gun turret that emerges from a trapdoor in the ground. // diff --git a/sp/src/game/server/hl2/npc_turret_ground.h b/sp/src/game/server/hl2/npc_turret_ground.h index 97b1f4af32..f8db2f8a6d 100644 --- a/sp/src/game/server/hl2/npc_turret_ground.h +++ b/sp/src/game/server/hl2/npc_turret_ground.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef NPC_TURRET_GROUND_H #define NPC_TURRET_GROUND_H #ifdef _WIN32 diff --git a/sp/src/game/server/hl2/npc_vortigaunt_episodic.cpp b/sp/src/game/server/hl2/npc_vortigaunt_episodic.cpp index 218da1a552..b586bcce65 100644 --- a/sp/src/game/server/hl2/npc_vortigaunt_episodic.cpp +++ b/sp/src/game/server/hl2/npc_vortigaunt_episodic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Vortigaunt - now much friendlier! // diff --git a/sp/src/game/server/hl2/npc_vortigaunt_episodic.h b/sp/src/game/server/hl2/npc_vortigaunt_episodic.h index 91e6a3c639..b706e03491 100644 --- a/sp/src/game/server/hl2/npc_vortigaunt_episodic.h +++ b/sp/src/game/server/hl2/npc_vortigaunt_episodic.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the base version of the vortigaunt // diff --git a/sp/src/game/server/hl2/npc_zombie.cpp b/sp/src/game/server/hl2/npc_zombie.cpp index 83a6ed9e3b..58f91ffe68 100644 --- a/sp/src/game/server/hl2/npc_zombie.cpp +++ b/sp/src/game/server/hl2/npc_zombie.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A slow-moving, once-human headcrab victim with only melee attacks. // diff --git a/sp/src/game/server/hl2/npc_zombine.cpp b/sp/src/game/server/hl2/npc_zombine.cpp index c25104d22d..d0bed528fd 100644 --- a/sp/src/game/server/hl2/npc_zombine.cpp +++ b/sp/src/game/server/hl2/npc_zombine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Combine Zombie... Zombie Combine... its like a... Zombine... get it? // diff --git a/sp/src/game/server/hl2/point_apc_controller.cpp b/sp/src/game/server/hl2/point_apc_controller.cpp index 9802f80449..ac1bb6f93a 100644 --- a/sp/src/game/server/hl2/point_apc_controller.cpp +++ b/sp/src/game/server/hl2/point_apc_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/prop_combine_ball.cpp b/sp/src/game/server/hl2/prop_combine_ball.cpp index 1606e5b196..532c3b3358 100644 --- a/sp/src/game/server/hl2/prop_combine_ball.cpp +++ b/sp/src/game/server/hl2/prop_combine_ball.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: combine ball - can be held by the super physcannon and launched // by the AR2's alt-fire diff --git a/sp/src/game/server/hl2/prop_combine_ball.h b/sp/src/game/server/hl2/prop_combine_ball.h index d798fde1ee..d179d65601 100644 --- a/sp/src/game/server/hl2/prop_combine_ball.h +++ b/sp/src/game/server/hl2/prop_combine_ball.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/prop_thumper.cpp b/sp/src/game/server/hl2/prop_thumper.cpp index 67224ca8a6..8a3325081b 100644 --- a/sp/src/game/server/hl2/prop_thumper.cpp +++ b/sp/src/game/server/hl2/prop_thumper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the big scary boom-boom machine Antlions fear. // diff --git a/sp/src/game/server/hl2/proto_sniper.cpp b/sp/src/game/server/hl2/proto_sniper.cpp index 4315e35c6e..ea73e33152 100644 --- a/sp/src/game/server/hl2/proto_sniper.cpp +++ b/sp/src/game/server/hl2/proto_sniper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/rotorwash.cpp b/sp/src/game/server/hl2/rotorwash.cpp index 10c6a1abce..115961bacc 100644 --- a/sp/src/game/server/hl2/rotorwash.cpp +++ b/sp/src/game/server/hl2/rotorwash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/rotorwash.h b/sp/src/game/server/hl2/rotorwash.h index a33a687c10..652f1eecab 100644 --- a/sp/src/game/server/hl2/rotorwash.h +++ b/sp/src/game/server/hl2/rotorwash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/script_intro.cpp b/sp/src/game/server/hl2/script_intro.cpp index 6ac28e10ee..6ea0927dd4 100644 --- a/sp/src/game/server/hl2/script_intro.cpp +++ b/sp/src/game/server/hl2/script_intro.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/script_intro.h b/sp/src/game/server/hl2/script_intro.h index 552c61881e..835e678be1 100644 --- a/sp/src/game/server/hl2/script_intro.h +++ b/sp/src/game/server/hl2/script_intro.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/te_gaussexplosion.cpp b/sp/src/game/server/hl2/te_gaussexplosion.cpp index b8a44ec696..b71e28463d 100644 --- a/sp/src/game/server/hl2/te_gaussexplosion.cpp +++ b/sp/src/game/server/hl2/te_gaussexplosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/trigger_super_armor.cpp b/sp/src/game/server/hl2/trigger_super_armor.cpp index f917cea94d..28c5c111c2 100644 --- a/sp/src/game/server/hl2/trigger_super_armor.cpp +++ b/sp/src/game/server/hl2/trigger_super_armor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Spawn and use functions for editor-placed triggers. // diff --git a/sp/src/game/server/hl2/vehicle_airboat.cpp b/sp/src/game/server/hl2/vehicle_airboat.cpp index 120ffcaff7..ed6eae2a44 100644 --- a/sp/src/game/server/hl2/vehicle_airboat.cpp +++ b/sp/src/game/server/hl2/vehicle_airboat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_apc.cpp b/sp/src/game/server/hl2/vehicle_apc.cpp index 63d5e3ed8a..747b2d3a59 100644 --- a/sp/src/game/server/hl2/vehicle_apc.cpp +++ b/sp/src/game/server/hl2/vehicle_apc.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_apc.h b/sp/src/game/server/hl2/vehicle_apc.h index 5c7aa56146..be0bc4f7a2 100644 --- a/sp/src/game/server/hl2/vehicle_apc.h +++ b/sp/src/game/server/hl2/vehicle_apc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_cannon.cpp b/sp/src/game/server/hl2/vehicle_cannon.cpp index 4316802b57..205b443458 100644 --- a/sp/src/game/server/hl2/vehicle_cannon.cpp +++ b/sp/src/game/server/hl2/vehicle_cannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_crane.cpp b/sp/src/game/server/hl2/vehicle_crane.cpp index c8e30b4ffb..0f7a1d675c 100644 --- a/sp/src/game/server/hl2/vehicle_crane.cpp +++ b/sp/src/game/server/hl2/vehicle_crane.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_crane.h b/sp/src/game/server/hl2/vehicle_crane.h index 57d25e8164..1ed7ac5043 100644 --- a/sp/src/game/server/hl2/vehicle_crane.h +++ b/sp/src/game/server/hl2/vehicle_crane.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_jeep.cpp b/sp/src/game/server/hl2/vehicle_jeep.cpp index 0b47f3cb99..6ecdb81cb2 100644 --- a/sp/src/game/server/hl2/vehicle_jeep.cpp +++ b/sp/src/game/server/hl2/vehicle_jeep.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_jeep.h b/sp/src/game/server/hl2/vehicle_jeep.h index 982ee6dbfd..59cac7ba1e 100644 --- a/sp/src/game/server/hl2/vehicle_jeep.h +++ b/sp/src/game/server/hl2/vehicle_jeep.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_jetski.cpp b/sp/src/game/server/hl2/vehicle_jetski.cpp index 41935d11ac..e5e20e1335 100644 --- a/sp/src/game/server/hl2/vehicle_jetski.cpp +++ b/sp/src/game/server/hl2/vehicle_jetski.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_prisoner_pod.cpp b/sp/src/game/server/hl2/vehicle_prisoner_pod.cpp index 1288e082c5..294408680d 100644 --- a/sp/src/game/server/hl2/vehicle_prisoner_pod.cpp +++ b/sp/src/game/server/hl2/vehicle_prisoner_pod.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/vehicle_viewcontroller.cpp b/sp/src/game/server/hl2/vehicle_viewcontroller.cpp index 19e026381f..f2956decba 100644 --- a/sp/src/game/server/hl2/vehicle_viewcontroller.cpp +++ b/sp/src/game/server/hl2/vehicle_viewcontroller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is a bastardization of the vehicle code for the choreography // group who want to have smooth view lerping code out of a keyframed diff --git a/sp/src/game/server/hl2/weapon_357.cpp b/sp/src/game/server/hl2/weapon_357.cpp index a3c053719e..92a271a7fb 100644 --- a/sp/src/game/server/hl2/weapon_357.cpp +++ b/sp/src/game/server/hl2/weapon_357.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: 357 - hand gun // diff --git a/sp/src/game/server/hl2/weapon_alyxgun.cpp b/sp/src/game/server/hl2/weapon_alyxgun.cpp index 5bf20eb6d9..e88abdc813 100644 --- a/sp/src/game/server/hl2/weapon_alyxgun.cpp +++ b/sp/src/game/server/hl2/weapon_alyxgun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_alyxgun.h b/sp/src/game/server/hl2/weapon_alyxgun.h index 4dd95532ac..118dfc116b 100644 --- a/sp/src/game/server/hl2/weapon_alyxgun.h +++ b/sp/src/game/server/hl2/weapon_alyxgun.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_annabelle.cpp b/sp/src/game/server/hl2/weapon_annabelle.cpp index 835fcc6a3e..b89d7f136c 100644 --- a/sp/src/game/server/hl2/weapon_annabelle.cpp +++ b/sp/src/game/server/hl2/weapon_annabelle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Grigori's personal shotgun (npc_monk) // diff --git a/sp/src/game/server/hl2/weapon_ar1.cpp b/sp/src/game/server/hl2/weapon_ar1.cpp index 0d9c0240e7..b6be41009b 100644 --- a/sp/src/game/server/hl2/weapon_ar1.cpp +++ b/sp/src/game/server/hl2/weapon_ar1.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_ar2.cpp b/sp/src/game/server/hl2/weapon_ar2.cpp index deee79739c..e4ff6c278c 100644 --- a/sp/src/game/server/hl2/weapon_ar2.cpp +++ b/sp/src/game/server/hl2/weapon_ar2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_ar2.h b/sp/src/game/server/hl2/weapon_ar2.h index 5a855f2c8a..e65a4ab2ac 100644 --- a/sp/src/game/server/hl2/weapon_ar2.h +++ b/sp/src/game/server/hl2/weapon_ar2.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot from the AR2 // diff --git a/sp/src/game/server/hl2/weapon_brickbat.cpp b/sp/src/game/server/hl2/weapon_brickbat.cpp index cd76471f60..52588c5840 100644 --- a/sp/src/game/server/hl2/weapon_brickbat.cpp +++ b/sp/src/game/server/hl2/weapon_brickbat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the brickbat weapon // diff --git a/sp/src/game/server/hl2/weapon_brickbat.h b/sp/src/game/server/hl2/weapon_brickbat.h index ec4d827e17..5c89703efb 100644 --- a/sp/src/game/server/hl2/weapon_brickbat.h +++ b/sp/src/game/server/hl2/weapon_brickbat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon that throws things from the hand // diff --git a/sp/src/game/server/hl2/weapon_bugbait.cpp b/sp/src/game/server/hl2/weapon_bugbait.cpp index d9e6f94ca4..7ef6d92350 100644 --- a/sp/src/game/server/hl2/weapon_bugbait.cpp +++ b/sp/src/game/server/hl2/weapon_bugbait.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_cguard.cpp b/sp/src/game/server/hl2/weapon_cguard.cpp index 4b8a67d4f3..43dd3742f5 100644 --- a/sp/src/game/server/hl2/weapon_cguard.cpp +++ b/sp/src/game/server/hl2/weapon_cguard.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Combine guard gun, strider destroyer // diff --git a/sp/src/game/server/hl2/weapon_citizenpackage.cpp b/sp/src/game/server/hl2/weapon_citizenpackage.cpp index 95a0229633..b77e0c9985 100644 --- a/sp/src/game/server/hl2/weapon_citizenpackage.cpp +++ b/sp/src/game/server/hl2/weapon_citizenpackage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_citizenpackage.h b/sp/src/game/server/hl2/weapon_citizenpackage.h index b562d00a72..3a32faac47 100644 --- a/sp/src/game/server/hl2/weapon_citizenpackage.h +++ b/sp/src/game/server/hl2/weapon_citizenpackage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_crossbow.cpp b/sp/src/game/server/hl2/weapon_crossbow.cpp index f50a5c536c..452cad72ad 100644 --- a/sp/src/game/server/hl2/weapon_crossbow.cpp +++ b/sp/src/game/server/hl2/weapon_crossbow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_crowbar.cpp b/sp/src/game/server/hl2/weapon_crowbar.cpp index 7cc34b9cb3..c0d7c970d4 100644 --- a/sp/src/game/server/hl2/weapon_crowbar.cpp +++ b/sp/src/game/server/hl2/weapon_crowbar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Crowbar - an old favorite // diff --git a/sp/src/game/server/hl2/weapon_crowbar.h b/sp/src/game/server/hl2/weapon_crowbar.h index 26bb961fc4..1154ce5d90 100644 --- a/sp/src/game/server/hl2/weapon_crowbar.h +++ b/sp/src/game/server/hl2/weapon_crowbar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_extinguisher.cpp b/sp/src/game/server/hl2/weapon_extinguisher.cpp index ad08503114..146d2d3e8a 100644 --- a/sp/src/game/server/hl2/weapon_extinguisher.cpp +++ b/sp/src/game/server/hl2/weapon_extinguisher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_flaregun.cpp b/sp/src/game/server/hl2/weapon_flaregun.cpp index f2b74c46a4..f8fc34cf04 100644 --- a/sp/src/game/server/hl2/weapon_flaregun.cpp +++ b/sp/src/game/server/hl2/weapon_flaregun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Flare gun (fffsssssssssss!!) // diff --git a/sp/src/game/server/hl2/weapon_flaregun.h b/sp/src/game/server/hl2/weapon_flaregun.h index 5fcfac34a1..0b268bc328 100644 --- a/sp/src/game/server/hl2/weapon_flaregun.h +++ b/sp/src/game/server/hl2/weapon_flaregun.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_frag.cpp b/sp/src/game/server/hl2/weapon_frag.cpp index 91eddcd3c5..bb9b8e97a8 100644 --- a/sp/src/game/server/hl2/weapon_frag.cpp +++ b/sp/src/game/server/hl2/weapon_frag.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_gauss.h b/sp/src/game/server/hl2/weapon_gauss.h index 5ed9f039d2..18cf30e4ee 100644 --- a/sp/src/game/server/hl2/weapon_gauss.h +++ b/sp/src/game/server/hl2/weapon_gauss.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_immolator.cpp b/sp/src/game/server/hl2/weapon_immolator.cpp index 539d342bf0..1291b58957 100644 --- a/sp/src/game/server/hl2/weapon_immolator.cpp +++ b/sp/src/game/server/hl2/weapon_immolator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_irifle.cpp b/sp/src/game/server/hl2/weapon_irifle.cpp index 471534cf31..ffeed65689 100644 --- a/sp/src/game/server/hl2/weapon_irifle.cpp +++ b/sp/src/game/server/hl2/weapon_irifle.cpp @@ -1,11 +1,11 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// -//========= Copyright © 1996-2003, Valve LLC, All rights reserved. ============ +//========= Copyright � 1996-2003, Valve LLC, All rights reserved. ============ // // Purpose: This is the incendiary rifle. // diff --git a/sp/src/game/server/hl2/weapon_manhack.cpp b/sp/src/game/server/hl2/weapon_manhack.cpp index a4d14bffe4..10c31f7943 100644 --- a/sp/src/game/server/hl2/weapon_manhack.cpp +++ b/sp/src/game/server/hl2/weapon_manhack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_molotov.cpp b/sp/src/game/server/hl2/weapon_molotov.cpp index a1b6e2e1b4..ab49361472 100644 --- a/sp/src/game/server/hl2/weapon_molotov.cpp +++ b/sp/src/game/server/hl2/weapon_molotov.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the molotov weapon // diff --git a/sp/src/game/server/hl2/weapon_molotov.h b/sp/src/game/server/hl2/weapon_molotov.h index a54f02bc1c..ceeae32816 100644 --- a/sp/src/game/server/hl2/weapon_molotov.h +++ b/sp/src/game/server/hl2/weapon_molotov.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Molotov weapon // diff --git a/sp/src/game/server/hl2/weapon_physcannon.cpp b/sp/src/game/server/hl2/weapon_physcannon.cpp index c2a3c4ca3d..d82d316371 100644 --- a/sp/src/game/server/hl2/weapon_physcannon.cpp +++ b/sp/src/game/server/hl2/weapon_physcannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Physics cannon // diff --git a/sp/src/game/server/hl2/weapon_physcannon.h b/sp/src/game/server/hl2/weapon_physcannon.h index 01356d26e9..f6b9985ce9 100644 --- a/sp/src/game/server/hl2/weapon_physcannon.h +++ b/sp/src/game/server/hl2/weapon_physcannon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_pistol.cpp b/sp/src/game/server/hl2/weapon_pistol.cpp index 8a49f366c4..8c77bbeea0 100644 --- a/sp/src/game/server/hl2/weapon_pistol.cpp +++ b/sp/src/game/server/hl2/weapon_pistol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Pistol - hand gun // diff --git a/sp/src/game/server/hl2/weapon_rpg.cpp b/sp/src/game/server/hl2/weapon_rpg.cpp index 1ffc032609..495515b79a 100644 --- a/sp/src/game/server/hl2/weapon_rpg.cpp +++ b/sp/src/game/server/hl2/weapon_rpg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_rpg.h b/sp/src/game/server/hl2/weapon_rpg.h index a536d1c22f..4dfe5b0fa4 100644 --- a/sp/src/game/server/hl2/weapon_rpg.h +++ b/sp/src/game/server/hl2/weapon_rpg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_shotgun.cpp b/sp/src/game/server/hl2/weapon_shotgun.cpp index 5348e08a96..3ab4a332c8 100644 --- a/sp/src/game/server/hl2/weapon_shotgun.cpp +++ b/sp/src/game/server/hl2/weapon_shotgun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A shotgun. // diff --git a/sp/src/game/server/hl2/weapon_slam.cpp b/sp/src/game/server/hl2/weapon_slam.cpp index 958282fe91..d7efeef6ed 100644 --- a/sp/src/game/server/hl2/weapon_slam.cpp +++ b/sp/src/game/server/hl2/weapon_slam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_slam.h b/sp/src/game/server/hl2/weapon_slam.h index 8c0b473c36..3de37c479b 100644 --- a/sp/src/game/server/hl2/weapon_slam.h +++ b/sp/src/game/server/hl2/weapon_slam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: SLAM // diff --git a/sp/src/game/server/hl2/weapon_smg1.cpp b/sp/src/game/server/hl2/weapon_smg1.cpp index b11fbedc38..1504eb4045 100644 --- a/sp/src/game/server/hl2/weapon_smg1.cpp +++ b/sp/src/game/server/hl2/weapon_smg1.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_smg2.cpp b/sp/src/game/server/hl2/weapon_smg2.cpp index 9c5037b959..df80036117 100644 --- a/sp/src/game/server/hl2/weapon_smg2.cpp +++ b/sp/src/game/server/hl2/weapon_smg2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_sniperrifle.cpp b/sp/src/game/server/hl2/weapon_sniperrifle.cpp index 89887507e6..3611d2fcc1 100644 --- a/sp/src/game/server/hl2/weapon_sniperrifle.cpp +++ b/sp/src/game/server/hl2/weapon_sniperrifle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a sniper rifle weapon. // diff --git a/sp/src/game/server/hl2/weapon_stunstick.cpp b/sp/src/game/server/hl2/weapon_stunstick.cpp index 0d0bb3fda5..f181490be2 100644 --- a/sp/src/game/server/hl2/weapon_stunstick.cpp +++ b/sp/src/game/server/hl2/weapon_stunstick.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Stun Stick- beating stick with a zappy end // diff --git a/sp/src/game/server/hl2/weapon_stunstick.h b/sp/src/game/server/hl2/weapon_stunstick.h index 9d3942c8d6..325bafc4c5 100644 --- a/sp/src/game/server/hl2/weapon_stunstick.h +++ b/sp/src/game/server/hl2/weapon_stunstick.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_thumper.cpp b/sp/src/game/server/hl2/weapon_thumper.cpp index 00275a08af..0ac5d92f36 100644 --- a/sp/src/game/server/hl2/weapon_thumper.cpp +++ b/sp/src/game/server/hl2/weapon_thumper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: 'weapon' what lets the player controll the rollerbuddy. // diff --git a/sp/src/game/server/hl2/weapon_tripwire.cpp b/sp/src/game/server/hl2/weapon_tripwire.cpp index 62beda664d..556d21b36e 100644 --- a/sp/src/game/server/hl2/weapon_tripwire.cpp +++ b/sp/src/game/server/hl2/weapon_tripwire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2/weapon_tripwire.h b/sp/src/game/server/hl2/weapon_tripwire.h index 9ecde01d66..c2742f8e14 100644 --- a/sp/src/game/server/hl2/weapon_tripwire.h +++ b/sp/src/game/server/hl2/weapon_tripwire.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: TRIPWIRE // diff --git a/sp/src/game/server/hl2mp/grenade_satchel.cpp b/sp/src/game/server/hl2mp/grenade_satchel.cpp index 9b304ad883..dca726a734 100644 --- a/sp/src/game/server/hl2mp/grenade_satchel.cpp +++ b/sp/src/game/server/hl2mp/grenade_satchel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/grenade_satchel.h b/sp/src/game/server/hl2mp/grenade_satchel.h index 68d5d5a3d2..497f0ce80f 100644 --- a/sp/src/game/server/hl2mp/grenade_satchel.h +++ b/sp/src/game/server/hl2mp/grenade_satchel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Satchel Charge // diff --git a/sp/src/game/server/hl2mp/grenade_tripmine.cpp b/sp/src/game/server/hl2mp/grenade_tripmine.cpp index 399188690c..eeca49332e 100644 --- a/sp/src/game/server/hl2mp/grenade_tripmine.cpp +++ b/sp/src/game/server/hl2mp/grenade_tripmine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the tripmine grenade. // diff --git a/sp/src/game/server/hl2mp/grenade_tripmine.h b/sp/src/game/server/hl2mp/grenade_tripmine.h index 9ec9e72643..874373b640 100644 --- a/sp/src/game/server/hl2mp/grenade_tripmine.h +++ b/sp/src/game/server/hl2mp/grenade_tripmine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_bot_temp.cpp b/sp/src/game/server/hl2mp/hl2mp_bot_temp.cpp index 054eea40af..0df301b415 100644 --- a/sp/src/game/server/hl2mp/hl2mp_bot_temp.cpp +++ b/sp/src/game/server/hl2mp/hl2mp_bot_temp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Basic BOT handling. // diff --git a/sp/src/game/server/hl2mp/hl2mp_bot_temp.h b/sp/src/game/server/hl2mp/hl2mp_bot_temp.h index f78e63e85a..f34fdbd114 100644 --- a/sp/src/game/server/hl2mp/hl2mp_bot_temp.h +++ b/sp/src/game/server/hl2mp/hl2mp_bot_temp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_client.cpp b/sp/src/game/server/hl2mp/hl2mp_client.cpp index 571fbb85b1..49dfc729c6 100644 --- a/sp/src/game/server/hl2mp/hl2mp_client.cpp +++ b/sp/src/game/server/hl2mp/hl2mp_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_cvars.cpp b/sp/src/game/server/hl2mp/hl2mp_cvars.cpp index 11986ee8cf..c978f7415a 100644 --- a/sp/src/game/server/hl2mp/hl2mp_cvars.cpp +++ b/sp/src/game/server/hl2mp/hl2mp_cvars.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_cvars.h b/sp/src/game/server/hl2mp/hl2mp_cvars.h index 4baf52f49e..6bb0101cc4 100644 --- a/sp/src/game/server/hl2mp/hl2mp_cvars.h +++ b/sp/src/game/server/hl2mp/hl2mp_cvars.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_gameinterface.cpp b/sp/src/game/server/hl2mp/hl2mp_gameinterface.cpp index b5881f7b7d..9ab4bc5bcd 100644 --- a/sp/src/game/server/hl2mp/hl2mp_gameinterface.cpp +++ b/sp/src/game/server/hl2mp/hl2mp_gameinterface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/hl2mp_gameinterface.h b/sp/src/game/server/hl2mp/hl2mp_gameinterface.h index 4955e46cbd..855199f0ec 100644 --- a/sp/src/game/server/hl2mp/hl2mp_gameinterface.h +++ b/sp/src/game/server/hl2mp/hl2mp_gameinterface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef HL2MP_GAMEINTERFACE_H #define HL2MP_GAMEINTERFACE_H #ifdef _WIN32 diff --git a/sp/src/game/server/hl2mp/hl2mp_player.cpp b/sp/src/game/server/hl2mp/hl2mp_player.cpp index 1469d84208..173e0823f1 100644 --- a/sp/src/game/server/hl2mp/hl2mp_player.cpp +++ b/sp/src/game/server/hl2mp/hl2mp_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL2. // diff --git a/sp/src/game/server/hl2mp/hl2mp_player.h b/sp/src/game/server/hl2mp/hl2mp_player.h index f91513c738..eda56aee20 100644 --- a/sp/src/game/server/hl2mp/hl2mp_player.h +++ b/sp/src/game/server/hl2mp/hl2mp_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.cpp b/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.cpp index 6c93776534..d82b1aa595 100644 --- a/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.cpp +++ b/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.h b/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.h index d6a6833066..a8e188afca 100644 --- a/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.h +++ b/sp/src/game/server/hl2mp/te_hl2mp_shotgun_shot.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hltvdirector.cpp b/sp/src/game/server/hltvdirector.cpp index 34d69736d1..ccbbf5fefd 100644 --- a/sp/src/game/server/hltvdirector.cpp +++ b/sp/src/game/server/hltvdirector.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/hltvdirector.h b/sp/src/game/server/hltvdirector.h index 1b390e834d..96e847babc 100644 --- a/sp/src/game/server/hltvdirector.h +++ b/sp/src/game/server/hltvdirector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ilagcompensationmanager.h b/sp/src/game/server/ilagcompensationmanager.h index 507d29bf8b..105e9287a2 100644 --- a/sp/src/game/server/ilagcompensationmanager.h +++ b/sp/src/game/server/ilagcompensationmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/info_camera_link.cpp b/sp/src/game/server/info_camera_link.cpp index bdc8a8c8b2..146694acbc 100644 --- a/sp/src/game/server/info_camera_link.cpp +++ b/sp/src/game/server/info_camera_link.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/info_camera_link.h b/sp/src/game/server/info_camera_link.h index 592e4f5fb6..f49cdc0692 100644 --- a/sp/src/game/server/info_camera_link.h +++ b/sp/src/game/server/info_camera_link.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/info_overlay_accessor.cpp b/sp/src/game/server/info_overlay_accessor.cpp index ad81f91a84..4eee42cb11 100644 --- a/sp/src/game/server/info_overlay_accessor.cpp +++ b/sp/src/game/server/info_overlay_accessor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/init_factory.cpp b/sp/src/game/server/init_factory.cpp index a37789392f..ff45def37d 100644 --- a/sp/src/game/server/init_factory.cpp +++ b/sp/src/game/server/init_factory.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/init_factory.h b/sp/src/game/server/init_factory.h index 1cbc95c3e7..431933923d 100644 --- a/sp/src/game/server/init_factory.h +++ b/sp/src/game/server/init_factory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/intermission.cpp b/sp/src/game/server/intermission.cpp index 76cc801d6d..01f7b2075a 100644 --- a/sp/src/game/server/intermission.cpp +++ b/sp/src/game/server/intermission.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/iscorer.h b/sp/src/game/server/iscorer.h index efaf2ef864..c2494dc9ce 100644 --- a/sp/src/game/server/iscorer.h +++ b/sp/src/game/server/iscorer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface that entities can use to redirect scoring to other entities. // i.e. A rocket redirects scoring to the player that fired it. diff --git a/sp/src/game/server/iservervehicle.h b/sp/src/game/server/iservervehicle.h index 60be0083c6..89ef8e24d8 100644 --- a/sp/src/game/server/iservervehicle.h +++ b/sp/src/game/server/iservervehicle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/item_world.cpp b/sp/src/game/server/item_world.cpp index 6f124280db..4fb3db0626 100644 --- a/sp/src/game/server/item_world.cpp +++ b/sp/src/game/server/item_world.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Handling for the base world item. Most of this was moved from items.cpp. // diff --git a/sp/src/game/server/items.h b/sp/src/game/server/items.h index 6209c15ee0..1759beab55 100644 --- a/sp/src/game/server/items.h +++ b/sp/src/game/server/items.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/lightglow.cpp b/sp/src/game/server/lightglow.cpp index d941f0339f..bc4a11086a 100644 --- a/sp/src/game/server/lightglow.cpp +++ b/sp/src/game/server/lightglow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/lights.cpp b/sp/src/game/server/lights.cpp index 3a6e9a6050..187a4ecb1e 100644 --- a/sp/src/game/server/lights.cpp +++ b/sp/src/game/server/lights.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: spawn and think functions for editor-placed lights // diff --git a/sp/src/game/server/lights.h b/sp/src/game/server/lights.h index 5b937cd17a..8da3b344e9 100644 --- a/sp/src/game/server/lights.h +++ b/sp/src/game/server/lights.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/locksounds.h b/sp/src/game/server/locksounds.h index c70b4c52ac..3bbb9f96e0 100644 --- a/sp/src/game/server/locksounds.h +++ b/sp/src/game/server/locksounds.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines a structure common to buttons and doors for playing locked // and unlocked sounds. diff --git a/sp/src/game/server/logic_achievement.cpp b/sp/src/game/server/logic_achievement.cpp index 5dcea15aec..6e136f9e2e 100644 --- a/sp/src/game/server/logic_achievement.cpp +++ b/sp/src/game/server/logic_achievement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Defines a logical entity which passes achievement related events to the gamerules system. diff --git a/sp/src/game/server/logic_measure_movement.cpp b/sp/src/game/server/logic_measure_movement.cpp index 06c3da4578..d778f04907 100644 --- a/sp/src/game/server/logic_measure_movement.cpp +++ b/sp/src/game/server/logic_measure_movement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This will measure the movement of a target entity and move // another entity to match the movement of the first. diff --git a/sp/src/game/server/logic_mirror_movement.cpp b/sp/src/game/server/logic_mirror_movement.cpp index d2be00c7bf..dc351f0af5 100644 --- a/sp/src/game/server/logic_mirror_movement.cpp +++ b/sp/src/game/server/logic_mirror_movement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Mirrors the movement of a camera about a given point. // diff --git a/sp/src/game/server/logic_navigation.cpp b/sp/src/game/server/logic_navigation.cpp index 601425b599..e119967b4a 100644 --- a/sp/src/game/server/logic_navigation.cpp +++ b/sp/src/game/server/logic_navigation.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/logicauto.cpp b/sp/src/game/server/logicauto.cpp index af711dbe5d..17ca19d233 100644 --- a/sp/src/game/server/logicauto.cpp +++ b/sp/src/game/server/logicauto.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Fires an output when the map spawns (or respawns if not set to // only fire once). It can be set to check a global state before firing. diff --git a/sp/src/game/server/logicentities.cpp b/sp/src/game/server/logicentities.cpp index 2445f87573..d989e3fd11 100644 --- a/sp/src/game/server/logicentities.cpp +++ b/sp/src/game/server/logicentities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements many of the entities that control logic flow within a map. // diff --git a/sp/src/game/server/logicrelay.cpp b/sp/src/game/server/logicrelay.cpp index 6daa15f4b1..22be4ea0c1 100644 --- a/sp/src/game/server/logicrelay.cpp +++ b/sp/src/game/server/logicrelay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // A message forwarder. Fires an OnTrigger output when triggered, and can be // disabled to prevent forwarding outputs. diff --git a/sp/src/game/server/logicrelay.h b/sp/src/game/server/logicrelay.h index 0079157986..4fa33f0861 100644 --- a/sp/src/game/server/logicrelay.h +++ b/sp/src/game/server/logicrelay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/mapentities.cpp b/sp/src/game/server/mapentities.cpp index 0ee822068d..80188d5beb 100644 --- a/sp/src/game/server/mapentities.cpp +++ b/sp/src/game/server/mapentities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Controls the loading, parsing and creation of the entities from the BSP. // diff --git a/sp/src/game/server/mapentities.h b/sp/src/game/server/mapentities.h index d8fa42883f..baa99b66fd 100644 --- a/sp/src/game/server/mapentities.h +++ b/sp/src/game/server/mapentities.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/maprules.cpp b/sp/src/game/server/maprules.cpp index 60279244d3..e2eaa288e7 100644 --- a/sp/src/game/server/maprules.cpp +++ b/sp/src/game/server/maprules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains entities for implementing/changing game rules dynamically within each BSP. // diff --git a/sp/src/game/server/maprules.h b/sp/src/game/server/maprules.h index 7a4b15538f..af5d4febc3 100644 --- a/sp/src/game/server/maprules.h +++ b/sp/src/game/server/maprules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/message_entity.cpp b/sp/src/game/server/message_entity.cpp index 903947c1e6..2ca7c8f5df 100644 --- a/sp/src/game/server/message_entity.cpp +++ b/sp/src/game/server/message_entity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/modelentities.cpp b/sp/src/game/server/modelentities.cpp index 3b6e3e3be2..19cb19abb2 100644 --- a/sp/src/game/server/modelentities.cpp +++ b/sp/src/game/server/modelentities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/modelentities.h b/sp/src/game/server/modelentities.h index a8003b2de5..0af456f193 100644 --- a/sp/src/game/server/modelentities.h +++ b/sp/src/game/server/modelentities.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/monstermaker.cpp b/sp/src/game/server/monstermaker.cpp index 5d56eabf30..e335899bc6 100644 --- a/sp/src/game/server/monstermaker.cpp +++ b/sp/src/game/server/monstermaker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that creates NPCs in the game. There are two types of NPC // makers -- one which creates NPCs using a template NPC, and one which diff --git a/sp/src/game/server/monstermaker.h b/sp/src/game/server/monstermaker.h index e866662ea0..92d33bb3cc 100644 --- a/sp/src/game/server/monstermaker.h +++ b/sp/src/game/server/monstermaker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/movehelper_server.cpp b/sp/src/game/server/movehelper_server.cpp index acae986675..f00c80c225 100644 --- a/sp/src/game/server/movehelper_server.cpp +++ b/sp/src/game/server/movehelper_server.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/movehelper_server.h b/sp/src/game/server/movehelper_server.h index a203f77a26..63089d0cf5 100644 --- a/sp/src/game/server/movehelper_server.h +++ b/sp/src/game/server/movehelper_server.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/movement.cpp b/sp/src/game/server/movement.cpp index da12420ea7..e7ac553812 100644 --- a/sp/src/game/server/movement.cpp +++ b/sp/src/game/server/movement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: MOVEMENT ENTITIES TEST // diff --git a/sp/src/game/server/movie_explosion.cpp b/sp/src/game/server/movie_explosion.cpp index d3a86d5cec..5ccf497913 100644 --- a/sp/src/game/server/movie_explosion.cpp +++ b/sp/src/game/server/movie_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/movie_explosion.h b/sp/src/game/server/movie_explosion.h index 4cd19c0ae3..ef1cdd8c7c 100644 --- a/sp/src/game/server/movie_explosion.h +++ b/sp/src/game/server/movie_explosion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav.h b/sp/src/game/server/nav.h index 0319991ab1..9e5ec3796f 100644 --- a/sp/src/game/server/nav.h +++ b/sp/src/game/server/nav.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_area.cpp b/sp/src/game/server/nav_area.cpp index 73379f15ec..96fe18c7d5 100644 --- a/sp/src/game/server/nav_area.cpp +++ b/sp/src/game/server/nav_area.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_area.h b/sp/src/game/server/nav_area.h index 7c18a5e0c4..5b8cb998aa 100644 --- a/sp/src/game/server/nav_area.h +++ b/sp/src/game/server/nav_area.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_colors.cpp b/sp/src/game/server/nav_colors.cpp index b302c16796..0aa835819a 100644 --- a/sp/src/game/server/nav_colors.cpp +++ b/sp/src/game/server/nav_colors.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_colors.h b/sp/src/game/server/nav_colors.h index 1d3a8a433f..38b19b5839 100644 --- a/sp/src/game/server/nav_colors.h +++ b/sp/src/game/server/nav_colors.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_edit.cpp b/sp/src/game/server/nav_edit.cpp index 4113438d95..a214af7731 100644 --- a/sp/src/game/server/nav_edit.cpp +++ b/sp/src/game/server/nav_edit.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_entities.cpp b/sp/src/game/server/nav_entities.cpp index 83a7dd830d..b9cf7379e6 100644 --- a/sp/src/game/server/nav_entities.cpp +++ b/sp/src/game/server/nav_entities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_entities.h b/sp/src/game/server/nav_entities.h index 4d7576b238..25c2c4e7bb 100644 --- a/sp/src/game/server/nav_entities.h +++ b/sp/src/game/server/nav_entities.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_file.cpp b/sp/src/game/server/nav_file.cpp index 7de114ecb8..a219d33524 100644 --- a/sp/src/game/server/nav_file.cpp +++ b/sp/src/game/server/nav_file.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_generate.cpp b/sp/src/game/server/nav_generate.cpp index c9d2ea4bc3..6dcea9573c 100644 --- a/sp/src/game/server/nav_generate.cpp +++ b/sp/src/game/server/nav_generate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_ladder.cpp b/sp/src/game/server/nav_ladder.cpp index 231974a80a..2adad0386b 100644 --- a/sp/src/game/server/nav_ladder.cpp +++ b/sp/src/game/server/nav_ladder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_ladder.h b/sp/src/game/server/nav_ladder.h index f5a02b0fcd..4e0e707723 100644 --- a/sp/src/game/server/nav_ladder.h +++ b/sp/src/game/server/nav_ladder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_merge.cpp b/sp/src/game/server/nav_merge.cpp index 1d5330ca5c..7ee1145f15 100644 --- a/sp/src/game/server/nav_merge.cpp +++ b/sp/src/game/server/nav_merge.cpp @@ -1,6 +1,6 @@ // nav_merge.cpp // Save/merge for partial nav meshes -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "fmtstr.h" diff --git a/sp/src/game/server/nav_mesh.cpp b/sp/src/game/server/nav_mesh.cpp index 8a15b39ee1..15ca290195 100644 --- a/sp/src/game/server/nav_mesh.cpp +++ b/sp/src/game/server/nav_mesh.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_mesh.h b/sp/src/game/server/nav_mesh.h index 24faed414d..263a75a34f 100644 --- a/sp/src/game/server/nav_mesh.h +++ b/sp/src/game/server/nav_mesh.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_mesh_factory.cpp b/sp/src/game/server/nav_mesh_factory.cpp index 70d9936b48..6fb71bdadf 100644 --- a/sp/src/game/server/nav_mesh_factory.cpp +++ b/sp/src/game/server/nav_mesh_factory.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_node.cpp b/sp/src/game/server/nav_node.cpp index eae210714d..a14c7893fa 100644 --- a/sp/src/game/server/nav_node.cpp +++ b/sp/src/game/server/nav_node.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_node.h b/sp/src/game/server/nav_node.h index 9bbafe70e5..ac555ab7bd 100644 --- a/sp/src/game/server/nav_node.h +++ b/sp/src/game/server/nav_node.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_pathfind.h b/sp/src/game/server/nav_pathfind.h index b06b46a02a..8e4ef1d112 100644 --- a/sp/src/game/server/nav_pathfind.h +++ b/sp/src/game/server/nav_pathfind.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/nav_simplify.cpp b/sp/src/game/server/nav_simplify.cpp index 1e04cf4356..cabcec2797 100644 --- a/sp/src/game/server/nav_simplify.cpp +++ b/sp/src/game/server/nav_simplify.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ndebugoverlay.cpp b/sp/src/game/server/ndebugoverlay.cpp index fa152ba3fc..9351967d50 100644 --- a/sp/src/game/server/ndebugoverlay.cpp +++ b/sp/src/game/server/ndebugoverlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Namespace for functions dealing with Debug Overlays // diff --git a/sp/src/game/server/ndebugoverlay.h b/sp/src/game/server/ndebugoverlay.h index 7b0a64a9d3..f608cdcbd7 100644 --- a/sp/src/game/server/ndebugoverlay.h +++ b/sp/src/game/server/ndebugoverlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Namespace for functions dealing with Debug Overlays // diff --git a/sp/src/game/server/networkstringtable_gamedll.h b/sp/src/game/server/networkstringtable_gamedll.h index 903c7c6c10..82d51a51e3 100644 --- a/sp/src/game/server/networkstringtable_gamedll.h +++ b/sp/src/game/server/networkstringtable_gamedll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/npc_talker.cpp b/sp/src/game/server/npc_talker.cpp index ebb94583e5..67025172de 100644 --- a/sp/src/game/server/npc_talker.cpp +++ b/sp/src/game/server/npc_talker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/npc_talker.h b/sp/src/game/server/npc_talker.h index c86541777c..d7dd2a4bca 100644 --- a/sp/src/game/server/npc_talker.h +++ b/sp/src/game/server/npc_talker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/npc_vehicledriver.cpp b/sp/src/game/server/npc_vehicledriver.cpp index 8e38d76924..66bde93293 100644 --- a/sp/src/game/server/npc_vehicledriver.cpp +++ b/sp/src/game/server/npc_vehicledriver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/npc_vehicledriver.h b/sp/src/game/server/npc_vehicledriver.h index d59b443333..f094d0cbaf 100644 --- a/sp/src/game/server/npc_vehicledriver.h +++ b/sp/src/game/server/npc_vehicledriver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: NPC that drives vehicles // diff --git a/sp/src/game/server/particle_fire.cpp b/sp/src/game/server/particle_fire.cpp index 4181b98369..3439211551 100644 --- a/sp/src/game/server/particle_fire.cpp +++ b/sp/src/game/server/particle_fire.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_fire.h b/sp/src/game/server/particle_fire.h index 33ecce299d..bb4fff852a 100644 --- a/sp/src/game/server/particle_fire.h +++ b/sp/src/game/server/particle_fire.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_light.cpp b/sp/src/game/server/particle_light.cpp index 1430d2d2f3..94c2559f1d 100644 --- a/sp/src/game/server/particle_light.cpp +++ b/sp/src/game/server/particle_light.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_light.h b/sp/src/game/server/particle_light.h index cc7d9281b4..f2dda24e31 100644 --- a/sp/src/game/server/particle_light.h +++ b/sp/src/game/server/particle_light.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_smokegrenade.cpp b/sp/src/game/server/particle_smokegrenade.cpp index 57493d0e11..81b0bf8555 100644 --- a/sp/src/game/server/particle_smokegrenade.cpp +++ b/sp/src/game/server/particle_smokegrenade.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_smokegrenade.h b/sp/src/game/server/particle_smokegrenade.h index 925b11d987..cec01b224a 100644 --- a/sp/src/game/server/particle_smokegrenade.h +++ b/sp/src/game/server/particle_smokegrenade.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/particle_system.cpp b/sp/src/game/server/particle_system.cpp index 23e98eaf52..af3331afe0 100644 --- a/sp/src/game/server/particle_system.cpp +++ b/sp/src/game/server/particle_system.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that spawns and controls a particle system // diff --git a/sp/src/game/server/particle_system.h b/sp/src/game/server/particle_system.h index 42e213f518..18419ed5fe 100644 --- a/sp/src/game/server/particle_system.h +++ b/sp/src/game/server/particle_system.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/pathcorner.cpp b/sp/src/game/server/pathcorner.cpp index 977ce8ba58..2bd0159592 100644 --- a/sp/src/game/server/pathcorner.cpp +++ b/sp/src/game/server/pathcorner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to create a path that can be followed by NPCs and trains. // diff --git a/sp/src/game/server/pathtrack.cpp b/sp/src/game/server/pathtrack.cpp index 2a77666d5e..1146f6eaf6 100644 --- a/sp/src/game/server/pathtrack.cpp +++ b/sp/src/game/server/pathtrack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to create a path that can be followed by NPCs and trains. // diff --git a/sp/src/game/server/pathtrack.h b/sp/src/game/server/pathtrack.h index b88e44c4c5..6a78cfa5b6 100644 --- a/sp/src/game/server/pathtrack.h +++ b/sp/src/game/server/pathtrack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/phys_controller.cpp b/sp/src/game/server/phys_controller.cpp index f5e2221aa8..d99b66d057 100644 --- a/sp/src/game/server/phys_controller.cpp +++ b/sp/src/game/server/phys_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/phys_controller.h b/sp/src/game/server/phys_controller.h index 1492a50158..395b23023f 100644 --- a/sp/src/game/server/phys_controller.h +++ b/sp/src/game/server/phys_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physconstraint.cpp b/sp/src/game/server/physconstraint.cpp index 467c7cfb28..5813f77050 100644 --- a/sp/src/game/server/physconstraint.cpp +++ b/sp/src/game/server/physconstraint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Physics constraint entities // diff --git a/sp/src/game/server/physconstraint.h b/sp/src/game/server/physconstraint.h index 8031ec2b1b..5da454e837 100644 --- a/sp/src/game/server/physconstraint.h +++ b/sp/src/game/server/physconstraint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Physics constraint entities // diff --git a/sp/src/game/server/physconstraint_sounds.h b/sp/src/game/server/physconstraint_sounds.h index 71b9a5795a..202001af84 100644 --- a/sp/src/game/server/physconstraint_sounds.h +++ b/sp/src/game/server/physconstraint_sounds.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Data types used inside constraints for the purpose of playing sounds // during movement. diff --git a/sp/src/game/server/physgun.cpp b/sp/src/game/server/physgun.cpp index 21324bae7f..1199b8cad9 100644 --- a/sp/src/game/server/physgun.cpp +++ b/sp/src/game/server/physgun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics.cpp b/sp/src/game/server/physics.cpp index 3e2ab69c63..ab95af047a 100644 --- a/sp/src/game/server/physics.cpp +++ b/sp/src/game/server/physics.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface layer for ipion IVP physics. // diff --git a/sp/src/game/server/physics.h b/sp/src/game/server/physics.h index 541a1654da..a5ae8c513b 100644 --- a/sp/src/game/server/physics.h +++ b/sp/src/game/server/physics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is the abstraction layer for the physics simulation system // Any calls to the external physics library (ipion) should be made through this diff --git a/sp/src/game/server/physics_bone_follower.cpp b/sp/src/game/server/physics_bone_follower.cpp index fc980cc359..975d6c6db7 100644 --- a/sp/src/game/server/physics_bone_follower.cpp +++ b/sp/src/game/server/physics_bone_follower.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_bone_follower.h b/sp/src/game/server/physics_bone_follower.h index 10059afa0e..0f5396353e 100644 --- a/sp/src/game/server/physics_bone_follower.h +++ b/sp/src/game/server/physics_bone_follower.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_cannister.cpp b/sp/src/game/server/physics_cannister.cpp index 848463bf06..7887a1a628 100644 --- a/sp/src/game/server/physics_cannister.cpp +++ b/sp/src/game/server/physics_cannister.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_cannister.h b/sp/src/game/server/physics_cannister.h index 72a1b68c9f..f96ef0e52d 100644 --- a/sp/src/game/server/physics_cannister.h +++ b/sp/src/game/server/physics_cannister.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_collisionevent.h b/sp/src/game/server/physics_collisionevent.h index 67f91d3f9b..57076f05bd 100644 --- a/sp/src/game/server/physics_collisionevent.h +++ b/sp/src/game/server/physics_collisionevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Pulling CCollisionEvent's definition out of physics.cpp so it can be abstracted upon (for the portal mod) // diff --git a/sp/src/game/server/physics_fx.cpp b/sp/src/game/server/physics_fx.cpp index 260437201f..a8feceb16f 100644 --- a/sp/src/game/server/physics_fx.cpp +++ b/sp/src/game/server/physics_fx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_fx.h b/sp/src/game/server/physics_fx.h index 2d267104ea..4650744a74 100644 --- a/sp/src/game/server/physics_fx.h +++ b/sp/src/game/server/physics_fx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_impact_damage.cpp b/sp/src/game/server/physics_impact_damage.cpp index 312b8a1e7a..531b4f6169 100644 --- a/sp/src/game/server/physics_impact_damage.cpp +++ b/sp/src/game/server/physics_impact_damage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_impact_damage.h b/sp/src/game/server/physics_impact_damage.h index 2bd46a1e5c..6a64f23b3a 100644 --- a/sp/src/game/server/physics_impact_damage.h +++ b/sp/src/game/server/physics_impact_damage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_main.cpp b/sp/src/game/server/physics_main.cpp index eb6ceee6b5..cc52049abc 100644 --- a/sp/src/game/server/physics_main.cpp +++ b/sp/src/game/server/physics_main.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Physics simulation for non-havok/ipion objects // diff --git a/sp/src/game/server/physics_npc_solver.cpp b/sp/src/game/server/physics_npc_solver.cpp index ce7f8434f9..d842ed0173 100644 --- a/sp/src/game/server/physics_npc_solver.cpp +++ b/sp/src/game/server/physics_npc_solver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_npc_solver.h b/sp/src/game/server/physics_npc_solver.h index 12e2e1882a..19bee5f61b 100644 --- a/sp/src/game/server/physics_npc_solver.h +++ b/sp/src/game/server/physics_npc_solver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_prop_ragdoll.cpp b/sp/src/game/server/physics_prop_ragdoll.cpp index e208e620cf..7ec4e3774d 100644 --- a/sp/src/game/server/physics_prop_ragdoll.cpp +++ b/sp/src/game/server/physics_prop_ragdoll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physics_prop_ragdoll.h b/sp/src/game/server/physics_prop_ragdoll.h index 82a3d77aaf..9fa2ddd333 100644 --- a/sp/src/game/server/physics_prop_ragdoll.h +++ b/sp/src/game/server/physics_prop_ragdoll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physobj.cpp b/sp/src/game/server/physobj.cpp index c486fa8004..7fa6cbc54c 100644 --- a/sp/src/game/server/physobj.cpp +++ b/sp/src/game/server/physobj.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/physobj.h b/sp/src/game/server/physobj.h index 09d333c5b7..c8969a09c3 100644 --- a/sp/src/game/server/physobj.h +++ b/sp/src/game/server/physobj.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/plasma.cpp b/sp/src/game/server/plasma.cpp index 964cf76f02..2a62fa73db 100644 --- a/sp/src/game/server/plasma.cpp +++ b/sp/src/game/server/plasma.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/plasma.h b/sp/src/game/server/plasma.h index c723a9a6ab..da8f6d7552 100644 --- a/sp/src/game/server/plasma.h +++ b/sp/src/game/server/plasma.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player.cpp b/sp/src/game/server/player.cpp index 6fd1c50415..aeea191bc9 100644 --- a/sp/src/game/server/player.cpp +++ b/sp/src/game/server/player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Functions dealing with the player. // diff --git a/sp/src/game/server/player.h b/sp/src/game/server/player.h index c3ef666a28..bad0686149 100644 --- a/sp/src/game/server/player.h +++ b/sp/src/game/server/player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player_command.cpp b/sp/src/game/server/player_command.cpp index 7614babee0..26ca542fb7 100644 --- a/sp/src/game/server/player_command.cpp +++ b/sp/src/game/server/player_command.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player_command.h b/sp/src/game/server/player_command.h index 574fc8dd33..e12f45626d 100644 --- a/sp/src/game/server/player_command.h +++ b/sp/src/game/server/player_command.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player_lagcompensation.cpp b/sp/src/game/server/player_lagcompensation.cpp index 08503652de..944d9d2f77 100644 --- a/sp/src/game/server/player_lagcompensation.cpp +++ b/sp/src/game/server/player_lagcompensation.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player_pickup.cpp b/sp/src/game/server/player_pickup.cpp index c0892f1a67..2fe527cc25 100644 --- a/sp/src/game/server/player_pickup.cpp +++ b/sp/src/game/server/player_pickup.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/player_pickup.h b/sp/src/game/server/player_pickup.h index 1b6d252ae2..dcb78e264b 100644 --- a/sp/src/game/server/player_pickup.h +++ b/sp/src/game/server/player_pickup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: APIs for player pickup of physics objects // diff --git a/sp/src/game/server/player_resource.cpp b/sp/src/game/server/player_resource.cpp index e4829cde71..1873e58955 100644 --- a/sp/src/game/server/player_resource.cpp +++ b/sp/src/game/server/player_resource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that propagates general data needed by clients for every player. // diff --git a/sp/src/game/server/player_resource.h b/sp/src/game/server/player_resource.h index 298eda04bf..02092b1029 100644 --- a/sp/src/game/server/player_resource.h +++ b/sp/src/game/server/player_resource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that propagates general data needed by clients for every player. // diff --git a/sp/src/game/server/playerinfomanager.cpp b/sp/src/game/server/playerinfomanager.cpp index 69917511e5..d5d5ef52b7 100644 --- a/sp/src/game/server/playerinfomanager.cpp +++ b/sp/src/game/server/playerinfomanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implementation of player info manager // diff --git a/sp/src/game/server/playerinfomanager.h b/sp/src/game/server/playerinfomanager.h index 2b1105626b..88739cc51d 100644 --- a/sp/src/game/server/playerinfomanager.h +++ b/sp/src/game/server/playerinfomanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implementation of player info manager // diff --git a/sp/src/game/server/playerlocaldata.cpp b/sp/src/game/server/playerlocaldata.cpp index 3b9aea08c6..28c3ea5ff0 100644 --- a/sp/src/game/server/playerlocaldata.cpp +++ b/sp/src/game/server/playerlocaldata.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/playerlocaldata.h b/sp/src/game/server/playerlocaldata.h index f9ceef70e6..5aec435cfd 100644 --- a/sp/src/game/server/playerlocaldata.h +++ b/sp/src/game/server/playerlocaldata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/plugin_check.cpp b/sp/src/game/server/plugin_check.cpp index 833f5efc02..b5a572342b 100644 --- a/sp/src/game/server/plugin_check.cpp +++ b/sp/src/game/server/plugin_check.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/point_camera.cpp b/sp/src/game/server/point_camera.cpp index 72a40b263e..1809af7adb 100644 --- a/sp/src/game/server/point_camera.cpp +++ b/sp/src/game/server/point_camera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/point_camera.h b/sp/src/game/server/point_camera.h index 9cb7d3c474..b27a6f4ad1 100644 --- a/sp/src/game/server/point_camera.h +++ b/sp/src/game/server/point_camera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/point_devshot_camera.cpp b/sp/src/game/server/point_devshot_camera.cpp index 4d476664ce..f9a9ca0160 100644 --- a/sp/src/game/server/point_devshot_camera.cpp +++ b/sp/src/game/server/point_devshot_camera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A camera entity that's used by the -makedevshots system to take // dev screenshots everytime the map is checked into source control. diff --git a/sp/src/game/server/point_playermoveconstraint.cpp b/sp/src/game/server/point_playermoveconstraint.cpp index df78487e80..78d2b49225 100644 --- a/sp/src/game/server/point_playermoveconstraint.cpp +++ b/sp/src/game/server/point_playermoveconstraint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that can be used to constrain the player's movement around it // diff --git a/sp/src/game/server/point_spotlight.cpp b/sp/src/game/server/point_spotlight.cpp index 71aad0b11a..1914d3cc6e 100644 --- a/sp/src/game/server/point_spotlight.cpp +++ b/sp/src/game/server/point_spotlight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/point_template.cpp b/sp/src/game/server/point_template.cpp index 3cb654ca19..af0806d991 100644 --- a/sp/src/game/server/point_template.cpp +++ b/sp/src/game/server/point_template.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Point entity used to create templates out of other entities or groups of entities // diff --git a/sp/src/game/server/point_template.h b/sp/src/game/server/point_template.h index 283a4b62a0..41a84becdf 100644 --- a/sp/src/game/server/point_template.h +++ b/sp/src/game/server/point_template.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Point entity used to create templates out of other entities or groups of entities // diff --git a/sp/src/game/server/pointanglesensor.cpp b/sp/src/game/server/pointanglesensor.cpp index d625ca9cd6..b59709a1df 100644 --- a/sp/src/game/server/pointanglesensor.cpp +++ b/sp/src/game/server/pointanglesensor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to fire events based on the orientation of a given entity. // diff --git a/sp/src/game/server/pointhurt.cpp b/sp/src/game/server/pointhurt.cpp index ce103e86ab..dc7bb93e56 100644 --- a/sp/src/game/server/pointhurt.cpp +++ b/sp/src/game/server/pointhurt.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements hurting point entity // diff --git a/sp/src/game/server/pointteleport.cpp b/sp/src/game/server/pointteleport.cpp index e79f6fc3ae..9e41e250f0 100644 --- a/sp/src/game/server/pointteleport.cpp +++ b/sp/src/game/server/pointteleport.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Teleports a named entity to a given position and restores // it's physics state diff --git a/sp/src/game/server/props.cpp b/sp/src/game/server/props.cpp index 037a0226ef..ba7232fbf9 100644 --- a/sp/src/game/server/props.cpp +++ b/sp/src/game/server/props.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: static_prop - don't move, don't animate, don't do anything. // physics_prop - move, take damage, but don't animate diff --git a/sp/src/game/server/props.h b/sp/src/game/server/props.h index 5c57824daa..d19a2e58a6 100644 --- a/sp/src/game/server/props.h +++ b/sp/src/game/server/props.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/pushentity.h b/sp/src/game/server/pushentity.h index f1c02d39ac..a1f34f5a58 100644 --- a/sp/src/game/server/pushentity.h +++ b/sp/src/game/server/pushentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/ragdoll_manager.cpp b/sp/src/game/server/ragdoll_manager.cpp index 74ab8e9644..9581da4704 100644 --- a/sp/src/game/server/ragdoll_manager.cpp +++ b/sp/src/game/server/ragdoll_manager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/recipientfilter.cpp b/sp/src/game/server/recipientfilter.cpp index b7687fbef0..cc09814283 100644 --- a/sp/src/game/server/recipientfilter.cpp +++ b/sp/src/game/server/recipientfilter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/recipientfilter.h b/sp/src/game/server/recipientfilter.h index 3f48e4fad7..98642aced8 100644 --- a/sp/src/game/server/recipientfilter.h +++ b/sp/src/game/server/recipientfilter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/rope.cpp b/sp/src/game/server/rope.cpp index 23f44c3976..cae3d3a24f 100644 --- a/sp/src/game/server/rope.cpp +++ b/sp/src/game/server/rope.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/rope.h b/sp/src/game/server/rope.h index 44fc7102d5..9386ac88cc 100644 --- a/sp/src/game/server/rope.h +++ b/sp/src/game/server/rope.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/saverestore_gamedll.cpp b/sp/src/game/server/saverestore_gamedll.cpp index a1f9505d8f..46e622d8a7 100644 --- a/sp/src/game/server/saverestore_gamedll.cpp +++ b/sp/src/game/server/saverestore_gamedll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sceneentity.cpp b/sp/src/game/server/sceneentity.cpp index 06f8f8fdf6..b22d689425 100644 --- a/sp/src/game/server/sceneentity.cpp +++ b/sp/src/game/server/sceneentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sceneentity.h b/sp/src/game/server/sceneentity.h index ea286fe95f..4ae3eed829 100644 --- a/sp/src/game/server/sceneentity.h +++ b/sp/src/game/server/sceneentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/scratchpad_gamedll_helpers.cpp b/sp/src/game/server/scratchpad_gamedll_helpers.cpp index 153bdba809..6efe36490d 100644 --- a/sp/src/game/server/scratchpad_gamedll_helpers.cpp +++ b/sp/src/game/server/scratchpad_gamedll_helpers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/scratchpad_gamedll_helpers.h b/sp/src/game/server/scratchpad_gamedll_helpers.h index 6150319741..ceccd29836 100644 --- a/sp/src/game/server/scratchpad_gamedll_helpers.h +++ b/sp/src/game/server/scratchpad_gamedll_helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/scripted.cpp b/sp/src/game/server/scripted.cpp index 1cc14d77a9..25fd0134cb 100644 --- a/sp/src/game/server/scripted.cpp +++ b/sp/src/game/server/scripted.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implementation of entities that cause NPCs to participate in // scripted events. These entities find and temporarily possess NPCs diff --git a/sp/src/game/server/scripted.h b/sp/src/game/server/scripted.h index 82aae6b360..31d40f23bd 100644 --- a/sp/src/game/server/scripted.h +++ b/sp/src/game/server/scripted.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/scriptedtarget.cpp b/sp/src/game/server/scriptedtarget.cpp index b74217da55..fe9b60fee3 100644 --- a/sp/src/game/server/scriptedtarget.cpp +++ b/sp/src/game/server/scriptedtarget.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/scriptedtarget.h b/sp/src/game/server/scriptedtarget.h index 4f1c1e0dc2..9cb1a996c1 100644 --- a/sp/src/game/server/scriptedtarget.h +++ b/sp/src/game/server/scriptedtarget.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_bot_temp.cpp b/sp/src/game/server/sdk/sdk_bot_temp.cpp index cfc57644ea..2dc537bbd5 100644 --- a/sp/src/game/server/sdk/sdk_bot_temp.cpp +++ b/sp/src/game/server/sdk/sdk_bot_temp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Basic BOT handling. // diff --git a/sp/src/game/server/sdk/sdk_bot_temp.h b/sp/src/game/server/sdk/sdk_bot_temp.h index 2f3130ad4b..0622e69f7c 100644 --- a/sp/src/game/server/sdk/sdk_bot_temp.h +++ b/sp/src/game/server/sdk/sdk_bot_temp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_brushentity.cpp b/sp/src/game/server/sdk/sdk_brushentity.cpp index 1e90c99d18..b2e2333d8b 100644 --- a/sp/src/game/server/sdk/sdk_brushentity.cpp +++ b/sp/src/game/server/sdk/sdk_brushentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple brush entity that moves when touched // diff --git a/sp/src/game/server/sdk/sdk_client.cpp b/sp/src/game/server/sdk/sdk_client.cpp index 7b4e698695..79a6d4afe0 100644 --- a/sp/src/game/server/sdk/sdk_client.cpp +++ b/sp/src/game/server/sdk/sdk_client.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_env_message.cpp b/sp/src/game/server/sdk/sdk_env_message.cpp index b6be3a33ec..5b04f645fa 100644 --- a/sp/src/game/server/sdk/sdk_env_message.cpp +++ b/sp/src/game/server/sdk/sdk_env_message.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple entity to transmit message to the client // diff --git a/sp/src/game/server/sdk/sdk_env_sparkler.cpp b/sp/src/game/server/sdk/sdk_env_sparkler.cpp index 06b1950429..098e2800fb 100644 --- a/sp/src/game/server/sdk/sdk_env_sparkler.cpp +++ b/sp/src/game/server/sdk/sdk_env_sparkler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A simple test entity for creating special effects // diff --git a/sp/src/game/server/sdk/sdk_eventlog.cpp b/sp/src/game/server/sdk/sdk_eventlog.cpp index f5ce85f22a..6aa7392a38 100644 --- a/sp/src/game/server/sdk/sdk_eventlog.cpp +++ b/sp/src/game/server/sdk/sdk_eventlog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_gameinterface.cpp b/sp/src/game/server/sdk/sdk_gameinterface.cpp index 90ede628d7..50b66f5ce6 100644 --- a/sp/src/game/server/sdk/sdk_gameinterface.cpp +++ b/sp/src/game/server/sdk/sdk_gameinterface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_logicalentity.cpp b/sp/src/game/server/sdk/sdk_logicalentity.cpp index 4f55393c87..19e5944f4c 100644 --- a/sp/src/game/server/sdk/sdk_logicalentity.cpp +++ b/sp/src/game/server/sdk/sdk_logicalentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple logical entity that counts up to a threshold value, then // fires an output when reached. diff --git a/sp/src/game/server/sdk/sdk_modelentity.cpp b/sp/src/game/server/sdk/sdk_modelentity.cpp index aad6aeadd1..ff83a85c55 100644 --- a/sp/src/game/server/sdk/sdk_modelentity.cpp +++ b/sp/src/game/server/sdk/sdk_modelentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple model entity that randomly moves and changes direction // when activated. diff --git a/sp/src/game/server/sdk/sdk_player.cpp b/sp/src/game/server/sdk/sdk_player.cpp index b28a7ebae0..429f4f3949 100644 --- a/sp/src/game/server/sdk/sdk_player.cpp +++ b/sp/src/game/server/sdk/sdk_player.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL1. // diff --git a/sp/src/game/server/sdk/sdk_player.h b/sp/src/game/server/sdk/sdk_player.h index cb93a03790..14529f6144 100644 --- a/sp/src/game/server/sdk/sdk_player.h +++ b/sp/src/game/server/sdk/sdk_player.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for SDK Game // diff --git a/sp/src/game/server/sdk/sdk_playermove.cpp b/sp/src/game/server/sdk/sdk_playermove.cpp index c28733be0f..6ffead4f29 100644 --- a/sp/src/game/server/sdk/sdk_playermove.cpp +++ b/sp/src/game/server/sdk/sdk_playermove.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/sdk_team.cpp b/sp/src/game/server/sdk/sdk_team.cpp index 5fed11ab46..ca739c3c89 100644 --- a/sp/src/game/server/sdk/sdk_team.cpp +++ b/sp/src/game/server/sdk/sdk_team.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team management class. Contains all the details for a specific team // diff --git a/sp/src/game/server/sdk/sdk_team.h b/sp/src/game/server/sdk/sdk_team.h index 50f4c12a53..9b34fc2ffe 100644 --- a/sp/src/game/server/sdk/sdk_team.h +++ b/sp/src/game/server/sdk/sdk_team.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team management class. Contains all the details for a specific team // diff --git a/sp/src/game/server/sdk/sdk_vehicle_jeep.cpp b/sp/src/game/server/sdk/sdk_vehicle_jeep.cpp index e1617cfd81..91fd10dcad 100644 --- a/sp/src/game/server/sdk/sdk_vehicle_jeep.cpp +++ b/sp/src/game/server/sdk/sdk_vehicle_jeep.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/te_firebullets.cpp b/sp/src/game/server/sdk/te_firebullets.cpp index 274c05fa38..5e92a1d905 100644 --- a/sp/src/game/server/sdk/te_firebullets.cpp +++ b/sp/src/game/server/sdk/te_firebullets.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sdk/te_firebullets.h b/sp/src/game/server/sdk/te_firebullets.h index 907dfc1203..992b9a389b 100644 --- a/sp/src/game/server/sdk/te_firebullets.h +++ b/sp/src/game/server/sdk/te_firebullets.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/sendproxy.cpp b/sp/src/game/server/sendproxy.cpp index ad017c64c2..ec5435c0db 100644 --- a/sp/src/game/server/sendproxy.cpp +++ b/sp/src/game/server/sendproxy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implements various common send proxies // diff --git a/sp/src/game/server/sendproxy.h b/sp/src/game/server/sendproxy.h index 99527b1eee..8f303132bb 100644 --- a/sp/src/game/server/sendproxy.h +++ b/sp/src/game/server/sendproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: implements various common send proxies // diff --git a/sp/src/game/server/serverbenchmark_base.cpp b/sp/src/game/server/serverbenchmark_base.cpp index dbe7269a65..36a998745f 100644 --- a/sp/src/game/server/serverbenchmark_base.cpp +++ b/sp/src/game/server/serverbenchmark_base.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/serverbenchmark_base.h b/sp/src/game/server/serverbenchmark_base.h index c4cb005c31..e0b40b65e7 100644 --- a/sp/src/game/server/serverbenchmark_base.h +++ b/sp/src/game/server/serverbenchmark_base.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/shadowcontrol.cpp b/sp/src/game/server/shadowcontrol.cpp index 8db9665db4..e86c2583a7 100644 --- a/sp/src/game/server/shadowcontrol.cpp +++ b/sp/src/game/server/shadowcontrol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shadow control entity. // diff --git a/sp/src/game/server/slideshow_display.cpp b/sp/src/game/server/slideshow_display.cpp index 79e788411b..cdcd10bd32 100644 --- a/sp/src/game/server/slideshow_display.cpp +++ b/sp/src/game/server/slideshow_display.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the big scary boom-boom machine Antlions fear. // diff --git a/sp/src/game/server/smoke_trail.cpp b/sp/src/game/server/smoke_trail.cpp index f467e60b45..bfcd4f7b8b 100644 --- a/sp/src/game/server/smoke_trail.cpp +++ b/sp/src/game/server/smoke_trail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/smoke_trail.h b/sp/src/game/server/smoke_trail.h index 34398c1022..d3706185a4 100644 --- a/sp/src/game/server/smoke_trail.h +++ b/sp/src/game/server/smoke_trail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/smokestack.cpp b/sp/src/game/server/smokestack.cpp index 570971ab9f..9df2a7d244 100644 --- a/sp/src/game/server/smokestack.cpp +++ b/sp/src/game/server/smokestack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the server side of a steam jet particle system entity. // diff --git a/sp/src/game/server/smokestack.h b/sp/src/game/server/smokestack.h index e8d4986c69..776e94a266 100644 --- a/sp/src/game/server/smokestack.h +++ b/sp/src/game/server/smokestack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the server side of a steam jet particle system entity. // diff --git a/sp/src/game/server/sound.cpp b/sp/src/game/server/sound.cpp index 167644ab0a..12267698dc 100644 --- a/sp/src/game/server/sound.cpp +++ b/sp/src/game/server/sound.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entities relating to in-level sound effects. // diff --git a/sp/src/game/server/soundent.cpp b/sp/src/game/server/soundent.cpp index 59273206d3..1589936188 100644 --- a/sp/src/game/server/soundent.cpp +++ b/sp/src/game/server/soundent.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/soundent.h b/sp/src/game/server/soundent.h index 7ce3d4018b..7b24713a7a 100644 --- a/sp/src/game/server/soundent.h +++ b/sp/src/game/server/soundent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/soundscape.cpp b/sp/src/game/server/soundscape.cpp index 3c37cc59fc..7405128724 100644 --- a/sp/src/game/server/soundscape.cpp +++ b/sp/src/game/server/soundscape.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/soundscape.h b/sp/src/game/server/soundscape.h index 3e5e8267f8..36e2d79b74 100644 --- a/sp/src/game/server/soundscape.h +++ b/sp/src/game/server/soundscape.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/soundscape_system.cpp b/sp/src/game/server/soundscape_system.cpp index fc81579f8c..975fa6a835 100644 --- a/sp/src/game/server/soundscape_system.cpp +++ b/sp/src/game/server/soundscape_system.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/soundscape_system.h b/sp/src/game/server/soundscape_system.h index 8cdc356d9b..c04b4628b5 100644 --- a/sp/src/game/server/soundscape_system.h +++ b/sp/src/game/server/soundscape_system.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/spark.h b/sp/src/game/server/spark.h index c79fa341e6..933e6f4deb 100644 --- a/sp/src/game/server/spark.h +++ b/sp/src/game/server/spark.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/spotlightend.cpp b/sp/src/game/server/spotlightend.cpp index 57c085617e..3b295656ff 100644 --- a/sp/src/game/server/spotlightend.cpp +++ b/sp/src/game/server/spotlightend.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dynamic light at the end of a spotlight // diff --git a/sp/src/game/server/spotlightend.h b/sp/src/game/server/spotlightend.h index c6b8ae03f6..fc880730a8 100644 --- a/sp/src/game/server/spotlightend.h +++ b/sp/src/game/server/spotlightend.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Dynamic light at the end of a spotlight // diff --git a/sp/src/game/server/sprite_perfmonitor.cpp b/sp/src/game/server/sprite_perfmonitor.cpp index 0e42b04e52..3f425d72ac 100644 --- a/sp/src/game/server/sprite_perfmonitor.cpp +++ b/sp/src/game/server/sprite_perfmonitor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: an entity which turns on and off counting and display of the particle // performance metric diff --git a/sp/src/game/server/stdafx.cpp b/sp/src/game/server/stdafx.cpp index 1ec8dcd78a..ed968181c9 100644 --- a/sp/src/game/server/stdafx.cpp +++ b/sp/src/game/server/stdafx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Builds the precompiled header for the game DLL // diff --git a/sp/src/game/server/steamjet.cpp b/sp/src/game/server/steamjet.cpp index f8c3107b3d..541e05b268 100644 --- a/sp/src/game/server/steamjet.cpp +++ b/sp/src/game/server/steamjet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements the server side of a steam jet particle system entity. // diff --git a/sp/src/game/server/steamjet.h b/sp/src/game/server/steamjet.h index 2d784d53ea..ea796d340a 100644 --- a/sp/src/game/server/steamjet.h +++ b/sp/src/game/server/steamjet.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the server side of a steam jet particle system entity. // diff --git a/sp/src/game/server/subs.cpp b/sp/src/game/server/subs.cpp index 53ba8f06c6..442ef28294 100644 --- a/sp/src/game/server/subs.cpp +++ b/sp/src/game/server/subs.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Frequently used global functions. // diff --git a/sp/src/game/server/sun.cpp b/sp/src/game/server/sun.cpp index 90649d740c..72a4146fa7 100644 --- a/sp/src/game/server/sun.cpp +++ b/sp/src/game/server/sun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/tactical_mission.cpp b/sp/src/game/server/tactical_mission.cpp index 6cac72c7e4..20c7c48bd3 100644 --- a/sp/src/game/server/tactical_mission.cpp +++ b/sp/src/game/server/tactical_mission.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // tactical_mission.cpp // Interface for managing player "missions" // Michael Booth, June 2009 diff --git a/sp/src/game/server/tactical_mission.h b/sp/src/game/server/tactical_mission.h index 697d09ddbb..069d2d77eb 100644 --- a/sp/src/game/server/tactical_mission.h +++ b/sp/src/game/server/tactical_mission.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // tactical_mission.h // Interface for managing player "missions" // Michael Booth, June 2009 diff --git a/sp/src/game/server/tanktrain.cpp b/sp/src/game/server/tanktrain.cpp index 62a5acd62d..3d92e7da00 100644 --- a/sp/src/game/server/tanktrain.cpp +++ b/sp/src/game/server/tanktrain.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te.cpp b/sp/src/game/server/te.cpp index f5638b5c23..5a813bbd06 100644 --- a/sp/src/game/server/te.cpp +++ b/sp/src/game/server/te.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te.h b/sp/src/game/server/te.h index 6e97baab85..5564b1639a 100644 --- a/sp/src/game/server/te.h +++ b/sp/src/game/server/te.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_armorricochet.cpp b/sp/src/game/server/te_armorricochet.cpp index e3edc76eaf..0380510df4 100644 --- a/sp/src/game/server/te_armorricochet.cpp +++ b/sp/src/game/server/te_armorricochet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_basebeam.cpp b/sp/src/game/server/te_basebeam.cpp index 11b4c0db47..0e596e6dc7 100644 --- a/sp/src/game/server/te_basebeam.cpp +++ b/sp/src/game/server/te_basebeam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_basebeam.h b/sp/src/game/server/te_basebeam.h index b0be4c3006..a399759b89 100644 --- a/sp/src/game/server/te_basebeam.h +++ b/sp/src/game/server/te_basebeam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamentpoint.cpp b/sp/src/game/server/te_beamentpoint.cpp index 6d799045a8..c27ee9043f 100644 --- a/sp/src/game/server/te_beamentpoint.cpp +++ b/sp/src/game/server/te_beamentpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beaments.cpp b/sp/src/game/server/te_beaments.cpp index 2f06c3073f..ddcbfcb259 100644 --- a/sp/src/game/server/te_beaments.cpp +++ b/sp/src/game/server/te_beaments.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamfollow.cpp b/sp/src/game/server/te_beamfollow.cpp index 6a0cf7597e..5cc5020cc3 100644 --- a/sp/src/game/server/te_beamfollow.cpp +++ b/sp/src/game/server/te_beamfollow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamlaser.cpp b/sp/src/game/server/te_beamlaser.cpp index 3eb40c41a6..69da3edbbb 100644 --- a/sp/src/game/server/te_beamlaser.cpp +++ b/sp/src/game/server/te_beamlaser.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Beam used for Laser sights. Fades out when it's perpendicular to the viewpoint. // diff --git a/sp/src/game/server/te_beampoints.cpp b/sp/src/game/server/te_beampoints.cpp index 81e911fee8..891c9a49a5 100644 --- a/sp/src/game/server/te_beampoints.cpp +++ b/sp/src/game/server/te_beampoints.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamring.cpp b/sp/src/game/server/te_beamring.cpp index e6e14bb55c..a9f5c93a2a 100644 --- a/sp/src/game/server/te_beamring.cpp +++ b/sp/src/game/server/te_beamring.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamringpoint.cpp b/sp/src/game/server/te_beamringpoint.cpp index c277142a87..45d83ed7b0 100644 --- a/sp/src/game/server/te_beamringpoint.cpp +++ b/sp/src/game/server/te_beamringpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_beamspline.cpp b/sp/src/game/server/te_beamspline.cpp index 4253b479c8..9279666b70 100644 --- a/sp/src/game/server/te_beamspline.cpp +++ b/sp/src/game/server/te_beamspline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_bloodsprite.cpp b/sp/src/game/server/te_bloodsprite.cpp index 02be6c93a5..ac14504e1a 100644 --- a/sp/src/game/server/te_bloodsprite.cpp +++ b/sp/src/game/server/te_bloodsprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_bloodstream.cpp b/sp/src/game/server/te_bloodstream.cpp index 77ccccc798..31f2d3b411 100644 --- a/sp/src/game/server/te_bloodstream.cpp +++ b/sp/src/game/server/te_bloodstream.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_breakmodel.cpp b/sp/src/game/server/te_breakmodel.cpp index 8db7afcae9..4c4b279e27 100644 --- a/sp/src/game/server/te_breakmodel.cpp +++ b/sp/src/game/server/te_breakmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_bspdecal.cpp b/sp/src/game/server/te_bspdecal.cpp index 835ae5882f..d1f7b87d0a 100644 --- a/sp/src/game/server/te_bspdecal.cpp +++ b/sp/src/game/server/te_bspdecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_bubbles.cpp b/sp/src/game/server/te_bubbles.cpp index 44b0dc661e..29271ad0a3 100644 --- a/sp/src/game/server/te_bubbles.cpp +++ b/sp/src/game/server/te_bubbles.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_bubbletrail.cpp b/sp/src/game/server/te_bubbletrail.cpp index e0c730f16f..e46bbd59c1 100644 --- a/sp/src/game/server/te_bubbletrail.cpp +++ b/sp/src/game/server/te_bubbletrail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_clientprojectile.cpp b/sp/src/game/server/te_clientprojectile.cpp index 16e1b94145..2695665ca1 100644 --- a/sp/src/game/server/te_clientprojectile.cpp +++ b/sp/src/game/server/te_clientprojectile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_decal.cpp b/sp/src/game/server/te_decal.cpp index 3dab538207..02a9ba6ce8 100644 --- a/sp/src/game/server/te_decal.cpp +++ b/sp/src/game/server/te_decal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_dynamiclight.cpp b/sp/src/game/server/te_dynamiclight.cpp index 616d40ef75..0ec5d61065 100644 --- a/sp/src/game/server/te_dynamiclight.cpp +++ b/sp/src/game/server/te_dynamiclight.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_effect_dispatch.cpp b/sp/src/game/server/te_effect_dispatch.cpp index 140a76f560..fc187430c7 100644 --- a/sp/src/game/server/te_effect_dispatch.cpp +++ b/sp/src/game/server/te_effect_dispatch.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_effect_dispatch.h b/sp/src/game/server/te_effect_dispatch.h index b759ed5947..69384c5918 100644 --- a/sp/src/game/server/te_effect_dispatch.h +++ b/sp/src/game/server/te_effect_dispatch.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_energysplash.cpp b/sp/src/game/server/te_energysplash.cpp index b4af75ab11..65b4389072 100644 --- a/sp/src/game/server/te_energysplash.cpp +++ b/sp/src/game/server/te_energysplash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_explosion.cpp b/sp/src/game/server/te_explosion.cpp index 2c53b1b1b2..852cd96124 100644 --- a/sp/src/game/server/te_explosion.cpp +++ b/sp/src/game/server/te_explosion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_fizz.cpp b/sp/src/game/server/te_fizz.cpp index ce5701121f..8ab127ccc8 100644 --- a/sp/src/game/server/te_fizz.cpp +++ b/sp/src/game/server/te_fizz.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_footprintdecal.cpp b/sp/src/game/server/te_footprintdecal.cpp index a729525778..9c615ec207 100644 --- a/sp/src/game/server/te_footprintdecal.cpp +++ b/sp/src/game/server/te_footprintdecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_glassshatter.cpp b/sp/src/game/server/te_glassshatter.cpp index b9bc37d97c..161248dc91 100644 --- a/sp/src/game/server/te_glassshatter.cpp +++ b/sp/src/game/server/te_glassshatter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_glowsprite.cpp b/sp/src/game/server/te_glowsprite.cpp index d050f8a5f5..c86a1d0f0c 100644 --- a/sp/src/game/server/te_glowsprite.cpp +++ b/sp/src/game/server/te_glowsprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_impact.cpp b/sp/src/game/server/te_impact.cpp index 4f52ccc985..7eab2dfc2a 100644 --- a/sp/src/game/server/te_impact.cpp +++ b/sp/src/game/server/te_impact.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Send generic impact messages to the client for visualization // diff --git a/sp/src/game/server/te_killplayerattachments.cpp b/sp/src/game/server/te_killplayerattachments.cpp index 1d6ae167d6..06ecc6eeb4 100644 --- a/sp/src/game/server/te_killplayerattachments.cpp +++ b/sp/src/game/server/te_killplayerattachments.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_largefunnel.cpp b/sp/src/game/server/te_largefunnel.cpp index 11c1ac6a32..5374a4160f 100644 --- a/sp/src/game/server/te_largefunnel.cpp +++ b/sp/src/game/server/te_largefunnel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_muzzleflash.cpp b/sp/src/game/server/te_muzzleflash.cpp index 5d8afbb7c0..739d2f0cb0 100644 --- a/sp/src/game/server/te_muzzleflash.cpp +++ b/sp/src/game/server/te_muzzleflash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Create a muzzle flash temp ent // diff --git a/sp/src/game/server/te_particlesystem.cpp b/sp/src/game/server/te_particlesystem.cpp index adacb066e1..2cfcab9ee1 100644 --- a/sp/src/game/server/te_particlesystem.cpp +++ b/sp/src/game/server/te_particlesystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_particlesystem.h b/sp/src/game/server/te_particlesystem.h index c414920978..2b9018ceb4 100644 --- a/sp/src/game/server/te_particlesystem.h +++ b/sp/src/game/server/te_particlesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_physicsprop.cpp b/sp/src/game/server/te_physicsprop.cpp index df4d061ade..56b423fc64 100644 --- a/sp/src/game/server/te_physicsprop.cpp +++ b/sp/src/game/server/te_physicsprop.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_playerdecal.cpp b/sp/src/game/server/te_playerdecal.cpp index 8885e122d2..7f79ccc37c 100644 --- a/sp/src/game/server/te_playerdecal.cpp +++ b/sp/src/game/server/te_playerdecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_projecteddecal.cpp b/sp/src/game/server/te_projecteddecal.cpp index 83e40e1a4d..280a62bf9f 100644 --- a/sp/src/game/server/te_projecteddecal.cpp +++ b/sp/src/game/server/te_projecteddecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_showline.cpp b/sp/src/game/server/te_showline.cpp index 99d3918422..7fc0a4b4ca 100644 --- a/sp/src/game/server/te_showline.cpp +++ b/sp/src/game/server/te_showline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_smoke.cpp b/sp/src/game/server/te_smoke.cpp index b975770293..dd0ccafe2f 100644 --- a/sp/src/game/server/te_smoke.cpp +++ b/sp/src/game/server/te_smoke.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_sparks.cpp b/sp/src/game/server/te_sparks.cpp index af8f994739..393e48df51 100644 --- a/sp/src/game/server/te_sparks.cpp +++ b/sp/src/game/server/te_sparks.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_sprite.cpp b/sp/src/game/server/te_sprite.cpp index 63289a24c1..b149af0aed 100644 --- a/sp/src/game/server/te_sprite.cpp +++ b/sp/src/game/server/te_sprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_spritespray.cpp b/sp/src/game/server/te_spritespray.cpp index 6ff03af2eb..932669557c 100644 --- a/sp/src/game/server/te_spritespray.cpp +++ b/sp/src/game/server/te_spritespray.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/te_worlddecal.cpp b/sp/src/game/server/te_worlddecal.cpp index 028e0bb7e3..c6119daa96 100644 --- a/sp/src/game/server/te_worlddecal.cpp +++ b/sp/src/game/server/te_worlddecal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team.cpp b/sp/src/game/server/team.cpp index 354e08e90e..53a3166cb4 100644 --- a/sp/src/game/server/team.cpp +++ b/sp/src/game/server/team.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team management class. Contains all the details for a specific team // diff --git a/sp/src/game/server/team.h b/sp/src/game/server/team.h index cdbe16dac9..68528ba667 100644 --- a/sp/src/game/server/team.h +++ b/sp/src/game/server/team.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team management class. Contains all the details for a specific team // diff --git a/sp/src/game/server/team_control_point.cpp b/sp/src/game/server/team_control_point.cpp index 1bbec70a57..4ca4357206 100644 --- a/sp/src/game/server/team_control_point.cpp +++ b/sp/src/game/server/team_control_point.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_control_point.h b/sp/src/game/server/team_control_point.h index 816a3ac131..d9a42c1787 100644 --- a/sp/src/game/server/team_control_point.h +++ b/sp/src/game/server/team_control_point.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_control_point_master.cpp b/sp/src/game/server/team_control_point_master.cpp index 8ad9796d91..505f2847bb 100644 --- a/sp/src/game/server/team_control_point_master.cpp +++ b/sp/src/game/server/team_control_point_master.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_control_point_master.h b/sp/src/game/server/team_control_point_master.h index b6a7d35d8f..b94fc9cc7f 100644 --- a/sp/src/game/server/team_control_point_master.h +++ b/sp/src/game/server/team_control_point_master.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_control_point_round.cpp b/sp/src/game/server/team_control_point_round.cpp index 8a9a7e7cdb..1e5d968788 100644 --- a/sp/src/game/server/team_control_point_round.cpp +++ b/sp/src/game/server/team_control_point_round.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_control_point_round.h b/sp/src/game/server/team_control_point_round.h index 06cb33adda..9f76909c5d 100644 --- a/sp/src/game/server/team_control_point_round.h +++ b/sp/src/game/server/team_control_point_round.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_objectiveresource.cpp b/sp/src/game/server/team_objectiveresource.cpp index aaa9c5c9bb..7bfb87023d 100644 --- a/sp/src/game/server/team_objectiveresource.cpp +++ b/sp/src/game/server/team_objectiveresource.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An entity that networks the state of the game's objectives. // May contain data for objectives that aren't used by your mod, but diff --git a/sp/src/game/server/team_objectiveresource.h b/sp/src/game/server/team_objectiveresource.h index 8d07294f5d..e4ce14c8e0 100644 --- a/sp/src/game/server/team_objectiveresource.h +++ b/sp/src/game/server/team_objectiveresource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_spawnpoint.cpp b/sp/src/game/server/team_spawnpoint.cpp index ab3699e469..40af2705db 100644 --- a/sp/src/game/server/team_spawnpoint.cpp +++ b/sp/src/game/server/team_spawnpoint.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team spawnpoint handling // diff --git a/sp/src/game/server/team_spawnpoint.h b/sp/src/game/server/team_spawnpoint.h index 76187ff805..ce4d7eafa7 100644 --- a/sp/src/game/server/team_spawnpoint.h +++ b/sp/src/game/server/team_spawnpoint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team spawnpoint entity // diff --git a/sp/src/game/server/team_train_watcher.cpp b/sp/src/game/server/team_train_watcher.cpp index b8ef36c325..f6ac1a927b 100644 --- a/sp/src/game/server/team_train_watcher.cpp +++ b/sp/src/game/server/team_train_watcher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/team_train_watcher.h b/sp/src/game/server/team_train_watcher.h index 22b82c6f08..5ef9f1f59e 100644 --- a/sp/src/game/server/team_train_watcher.h +++ b/sp/src/game/server/team_train_watcher.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/tempmonster.cpp b/sp/src/game/server/tempmonster.cpp index 3100c55b9e..d28057a330 100644 --- a/sp/src/game/server/tempmonster.cpp +++ b/sp/src/game/server/tempmonster.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/tesla.cpp b/sp/src/game/server/tesla.cpp index 288fc8e245..5e9fa64880 100644 --- a/sp/src/game/server/tesla.cpp +++ b/sp/src/game/server/tesla.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/tesla.h b/sp/src/game/server/tesla.h index 5728e3b630..b7ff5ecba0 100644 --- a/sp/src/game/server/tesla.h +++ b/sp/src/game/server/tesla.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/test_proxytoggle.cpp b/sp/src/game/server/test_proxytoggle.cpp index 750d37b2cb..25abfed92a 100644 --- a/sp/src/game/server/test_proxytoggle.cpp +++ b/sp/src/game/server/test_proxytoggle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/test_stressentities.cpp b/sp/src/game/server/test_stressentities.cpp index b98e18df47..ac81a2af26 100644 --- a/sp/src/game/server/test_stressentities.cpp +++ b/sp/src/game/server/test_stressentities.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/test_stressentities.h b/sp/src/game/server/test_stressentities.h index 7583e4ec50..73fcde330c 100644 --- a/sp/src/game/server/test_stressentities.h +++ b/sp/src/game/server/test_stressentities.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/testfunctions.cpp b/sp/src/game/server/testfunctions.cpp index 00de09cd66..87fd83e3fa 100644 --- a/sp/src/game/server/testfunctions.cpp +++ b/sp/src/game/server/testfunctions.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/testtraceline.cpp b/sp/src/game/server/testtraceline.cpp index d017a1b211..cb0295e3e1 100644 --- a/sp/src/game/server/testtraceline.cpp +++ b/sp/src/game/server/testtraceline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/textstatsmgr.cpp b/sp/src/game/server/textstatsmgr.cpp index 602b61cdfa..2df2932f73 100644 --- a/sp/src/game/server/textstatsmgr.cpp +++ b/sp/src/game/server/textstatsmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/textstatsmgr.h b/sp/src/game/server/textstatsmgr.h index 473e1a0e59..561366abaf 100644 --- a/sp/src/game/server/textstatsmgr.h +++ b/sp/src/game/server/textstatsmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/timedeventmgr.cpp b/sp/src/game/server/timedeventmgr.cpp index 3f22158446..fbfc61514d 100644 --- a/sp/src/game/server/timedeventmgr.cpp +++ b/sp/src/game/server/timedeventmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/timedeventmgr.h b/sp/src/game/server/timedeventmgr.h index 66b1586152..795df93b8f 100644 --- a/sp/src/game/server/timedeventmgr.h +++ b/sp/src/game/server/timedeventmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/toolframework_server.cpp b/sp/src/game/server/toolframework_server.cpp index 7bbe2b56e3..83458f504a 100644 --- a/sp/src/game/server/toolframework_server.cpp +++ b/sp/src/game/server/toolframework_server.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/toolframework_server.h b/sp/src/game/server/toolframework_server.h index 941df13524..78101fc485 100644 --- a/sp/src/game/server/toolframework_server.h +++ b/sp/src/game/server/toolframework_server.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/trains.cpp b/sp/src/game/server/trains.cpp index bf01ae6f88..a122ad08a1 100644 --- a/sp/src/game/server/trains.cpp +++ b/sp/src/game/server/trains.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Spawn, think, and touch functions for trains, etc. // diff --git a/sp/src/game/server/trains.h b/sp/src/game/server/trains.h index ef7e8b7eb4..00d0cfddcf 100644 --- a/sp/src/game/server/trains.h +++ b/sp/src/game/server/trains.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/trigger_area_capture.cpp b/sp/src/game/server/trigger_area_capture.cpp index 2839200b73..b652c44ad0 100644 --- a/sp/src/game/server/trigger_area_capture.cpp +++ b/sp/src/game/server/trigger_area_capture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/trigger_area_capture.h b/sp/src/game/server/trigger_area_capture.h index 90e0ed0a8e..ae3ccfa1f2 100644 --- a/sp/src/game/server/trigger_area_capture.h +++ b/sp/src/game/server/trigger_area_capture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/trigger_portal.cpp b/sp/src/game/server/trigger_portal.cpp index 1750804737..1077f6a2ff 100644 --- a/sp/src/game/server/trigger_portal.cpp +++ b/sp/src/game/server/trigger_portal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity which teleports touched entities and reorients their physics // diff --git a/sp/src/game/server/triggers.cpp b/sp/src/game/server/triggers.cpp index 21b7b25648..ccd3971684 100644 --- a/sp/src/game/server/triggers.cpp +++ b/sp/src/game/server/triggers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Spawn and use functions for editor-placed triggers. // diff --git a/sp/src/game/server/triggers.h b/sp/src/game/server/triggers.h index b676067790..b6877fc34e 100644 --- a/sp/src/game/server/triggers.h +++ b/sp/src/game/server/triggers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/util.cpp b/sp/src/game/server/util.cpp index 6a44cec200..4825948ee2 100644 --- a/sp/src/game/server/util.cpp +++ b/sp/src/game/server/util.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility code. // diff --git a/sp/src/game/server/util.h b/sp/src/game/server/util.h index bed006e120..0fe4b1b569 100644 --- a/sp/src/game/server/util.h +++ b/sp/src/game/server/util.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Misc utility code. // diff --git a/sp/src/game/server/variant_t.cpp b/sp/src/game/server/variant_t.cpp index 3b45275b46..a150749d6b 100644 --- a/sp/src/game/server/variant_t.cpp +++ b/sp/src/game/server/variant_t.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/variant_t.h b/sp/src/game/server/variant_t.h index fc460bfec2..bdbf50b59b 100644 --- a/sp/src/game/server/variant_t.h +++ b/sp/src/game/server/variant_t.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vehicle_base.cpp b/sp/src/game/server/vehicle_base.cpp index 5e348ee9cf..c98a92bdb7 100644 --- a/sp/src/game/server/vehicle_base.cpp +++ b/sp/src/game/server/vehicle_base.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: UNDONE: Rename this to prop_vehicle.cpp !!! // diff --git a/sp/src/game/server/vehicle_base.h b/sp/src/game/server/vehicle_base.h index 831ea6b436..d76c0c6110 100644 --- a/sp/src/game/server/vehicle_base.h +++ b/sp/src/game/server/vehicle_base.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vehicle_baseserver.cpp b/sp/src/game/server/vehicle_baseserver.cpp index a2fe513ed0..485d0fc8b7 100644 --- a/sp/src/game/server/vehicle_baseserver.cpp +++ b/sp/src/game/server/vehicle_baseserver.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vehicle_baseserver.h b/sp/src/game/server/vehicle_baseserver.h index cdf1f75a8a..19a9bf903b 100644 --- a/sp/src/game/server/vehicle_baseserver.h +++ b/sp/src/game/server/vehicle_baseserver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vehicle_choreo_generic.cpp b/sp/src/game/server/vehicle_choreo_generic.cpp index 3b3a53f967..0b988a7df6 100644 --- a/sp/src/game/server/vehicle_choreo_generic.cpp +++ b/sp/src/game/server/vehicle_choreo_generic.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vehicle_sounds.h b/sp/src/game/server/vehicle_sounds.h index 82557b9109..c06f487e6f 100644 --- a/sp/src/game/server/vehicle_sounds.h +++ b/sp/src/game/server/vehicle_sounds.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/vguiscreen.cpp b/sp/src/game/server/vguiscreen.cpp index e46afbf585..d449d8cbd3 100644 --- a/sp/src/game/server/vguiscreen.cpp +++ b/sp/src/game/server/vguiscreen.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is an entity that represents a vgui screen // diff --git a/sp/src/game/server/vguiscreen.h b/sp/src/game/server/vguiscreen.h index 557cacd797..8762eaac9c 100644 --- a/sp/src/game/server/vguiscreen.h +++ b/sp/src/game/server/vguiscreen.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is an entity that represents a vgui screen // diff --git a/sp/src/game/server/vote_controller.cpp b/sp/src/game/server/vote_controller.cpp index 316974adb5..2aa99fa67a 100644 --- a/sp/src/game/server/vote_controller.cpp +++ b/sp/src/game/server/vote_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base VoteController. Handles holding and voting on issues. // diff --git a/sp/src/game/server/vote_controller.h b/sp/src/game/server/vote_controller.h index 0376d6a6ed..3ae5d42ff2 100644 --- a/sp/src/game/server/vote_controller.h +++ b/sp/src/game/server/vote_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player-driven Voting System for Multiplayer Source games (currently implemented for TF2) // diff --git a/sp/src/game/server/vscript_server.nut b/sp/src/game/server/vscript_server.nut index ad48da19ae..500c161cef 100644 --- a/sp/src/game/server/vscript_server.nut +++ b/sp/src/game/server/vscript_server.nut @@ -72,16 +72,16 @@ function ImpulseScale( flTargetMass, flDesiredSpeed ) } __Documentation.RegisterHelp( "ImpulseScale", "float ImpulseScale(float, float)", "Returns an impulse scale required to push an object." ); -local PrecacheModel = PrecacheModel +local PrecacheModel = DoPrecacheModel function PrecacheModel( a, b = true ) { return PrecacheModel( a, b ) } -local PrecacheOther = PrecacheOther +local PrecacheOther = DoPrecacheOther function PrecacheOther( a, b = "" ) { - PrecacheOther( a, b ) + return PrecacheOther( a, b ) } function __ReplaceClosures( script, scope ) @@ -106,10 +106,9 @@ function __ReplaceClosures( script, scope ) } } -local __OutputsPattern = regexp("^On.*Output$"); - function ConnectOutputs( table ) { + local __OutputsPattern = regexp("^On.*Output$"); local nCharsToStrip = 6; foreach( key, val in table ) { diff --git a/sp/src/game/server/waterbullet.cpp b/sp/src/game/server/waterbullet.cpp index d5e726f3e4..2861ee225b 100644 --- a/sp/src/game/server/waterbullet.cpp +++ b/sp/src/game/server/waterbullet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An effect for a single bullet passing through a body of water. // The slug quickly decelerates, leaving a trail of bubbles behind it. diff --git a/sp/src/game/server/waterbullet.h b/sp/src/game/server/waterbullet.h index 5fc8f9e1c1..a5135930a3 100644 --- a/sp/src/game/server/waterbullet.h +++ b/sp/src/game/server/waterbullet.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Entity that simulates bullets that are underwater. // diff --git a/sp/src/game/server/wcedit.cpp b/sp/src/game/server/wcedit.cpp index 5a454e6bb3..612b6a9f2d 100644 --- a/sp/src/game/server/wcedit.cpp +++ b/sp/src/game/server/wcedit.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Namespace for functions having to do with WC Edit mode // diff --git a/sp/src/game/server/wcedit.h b/sp/src/game/server/wcedit.h index a169f00c2a..657945e310 100644 --- a/sp/src/game/server/wcedit.h +++ b/sp/src/game/server/wcedit.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Namespace for functions having to do with WC Edit mode // diff --git a/sp/src/game/server/weapon_cubemap.cpp b/sp/src/game/server/weapon_cubemap.cpp index 212023e351..75e772da10 100644 --- a/sp/src/game/server/weapon_cubemap.cpp +++ b/sp/src/game/server/weapon_cubemap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/server/weight_button.cpp b/sp/src/game/server/weight_button.cpp index fc3f103ec1..5530bf84b9 100644 --- a/sp/src/game/server/weight_button.cpp +++ b/sp/src/game/server/weight_button.cpp @@ -1,5 +1,5 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: 'Button' which activates after a specified amount of weight is touching it. // diff --git a/sp/src/game/server/worker_scientist.h b/sp/src/game/server/worker_scientist.h index db4f9928b5..267db2716e 100644 --- a/sp/src/game/server/worker_scientist.h +++ b/sp/src/game/server/worker_scientist.h @@ -1 +1 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// diff --git a/sp/src/game/server/world.cpp b/sp/src/game/server/world.cpp index fc3d59ae69..0410e6635b 100644 --- a/sp/src/game/server/world.cpp +++ b/sp/src/game/server/world.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Precaches and defs for entities and other data that must always be available. // diff --git a/sp/src/game/server/world.h b/sp/src/game/server/world.h index 5d75a64bba..f7ac002e1c 100644 --- a/sp/src/game/server/world.h +++ b/sp/src/game/server/world.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The worldspawn entity. This spawns first when each level begins. // diff --git a/sp/src/game/shared/EntityParticleTrail_Shared.cpp b/sp/src/game/shared/EntityParticleTrail_Shared.cpp index b82b549d52..84e85eecf5 100644 --- a/sp/src/game/shared/EntityParticleTrail_Shared.cpp +++ b/sp/src/game/shared/EntityParticleTrail_Shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Drops particles where the entity was. // diff --git a/sp/src/game/shared/GameEventListener.h b/sp/src/game/shared/GameEventListener.h index 9378257d79..faab1e2af0 100644 --- a/sp/src/game/shared/GameEventListener.h +++ b/sp/src/game/shared/GameEventListener.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/GameStats.cpp b/sp/src/game/shared/GameStats.cpp index 695dc553d1..5f16f03f62 100644 --- a/sp/src/game/shared/GameStats.cpp +++ b/sp/src/game/shared/GameStats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/IEffects.h b/sp/src/game/shared/IEffects.h index e405154a8e..8b2cb861a8 100644 --- a/sp/src/game/shared/IEffects.h +++ b/sp/src/game/shared/IEffects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client-server neutral effects interface // diff --git a/sp/src/game/shared/IVehicle.h b/sp/src/game/shared/IVehicle.h index 14ba528b45..e063542ea1 100644 --- a/sp/src/game/shared/IVehicle.h +++ b/sp/src/game/shared/IVehicle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ModelSoundsCache.cpp b/sp/src/game/shared/ModelSoundsCache.cpp index e6ad628b64..bde084b5e3 100644 --- a/sp/src/game/shared/ModelSoundsCache.cpp +++ b/sp/src/game/shared/ModelSoundsCache.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ModelSoundsCache.h b/sp/src/game/shared/ModelSoundsCache.h index d2d5a6480b..9dd50b70a1 100644 --- a/sp/src/game/shared/ModelSoundsCache.h +++ b/sp/src/game/shared/ModelSoundsCache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/Multiplayer/multiplayer_animstate.cpp b/sp/src/game/shared/Multiplayer/multiplayer_animstate.cpp index 4d1ad4fed0..534a40cd53 100644 --- a/sp/src/game/shared/Multiplayer/multiplayer_animstate.cpp +++ b/sp/src/game/shared/Multiplayer/multiplayer_animstate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/Multiplayer/multiplayer_animstate.h b/sp/src/game/shared/Multiplayer/multiplayer_animstate.h index bbbc837dc7..b6a69877e7 100644 --- a/sp/src/game/shared/Multiplayer/multiplayer_animstate.h +++ b/sp/src/game/shared/Multiplayer/multiplayer_animstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/SceneCache.cpp b/sp/src/game/shared/SceneCache.cpp index 0728c27b53..2b75e358c2 100644 --- a/sp/src/game/shared/SceneCache.cpp +++ b/sp/src/game/shared/SceneCache.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/SceneCache.h b/sp/src/game/shared/SceneCache.h index 72dff6671d..6a91b37f6b 100644 --- a/sp/src/game/shared/SceneCache.h +++ b/sp/src/game/shared/SceneCache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/SharedFunctorUtils.cpp b/sp/src/game/shared/SharedFunctorUtils.cpp index 7dd3f8bc18..dc27bc299e 100644 --- a/sp/src/game/shared/SharedFunctorUtils.cpp +++ b/sp/src/game/shared/SharedFunctorUtils.cpp @@ -1,6 +1,6 @@ // SharedFunctorUtils.cpp // Useful functors -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "SharedFunctorUtils.h" diff --git a/sp/src/game/shared/SharedFunctorUtils.h b/sp/src/game/shared/SharedFunctorUtils.h index a4e4c67645..59a54f9bdb 100644 --- a/sp/src/game/shared/SharedFunctorUtils.h +++ b/sp/src/game/shared/SharedFunctorUtils.h @@ -1,6 +1,6 @@ // SharedFunctorUtils.h // Useful functors for client and server -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// //-------------------------------------------------------------------------------------------------------- /** diff --git a/sp/src/game/shared/SoundEmitterSystem.cpp b/sp/src/game/shared/SoundEmitterSystem.cpp index 131639bd84..30205552b8 100644 --- a/sp/src/game/shared/SoundEmitterSystem.cpp +++ b/sp/src/game/shared/SoundEmitterSystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/Sprite.cpp b/sp/src/game/shared/Sprite.cpp index 2393f14837..5fea2fade3 100644 --- a/sp/src/game/shared/Sprite.cpp +++ b/sp/src/game/shared/Sprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/shared/Sprite.h b/sp/src/game/shared/Sprite.h index 79d8c51a57..f2d2ba1078 100644 --- a/sp/src/game/shared/Sprite.h +++ b/sp/src/game/shared/Sprite.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/SpriteTrail.cpp b/sp/src/game/shared/SpriteTrail.cpp index 217d64cd91..f0885caf9a 100644 --- a/sp/src/game/shared/SpriteTrail.cpp +++ b/sp/src/game/shared/SpriteTrail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/SpriteTrail.h b/sp/src/game/shared/SpriteTrail.h index 3e4fb76315..892e42a36b 100644 --- a/sp/src/game/shared/SpriteTrail.h +++ b/sp/src/game/shared/SpriteTrail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievement_saverestore.cpp b/sp/src/game/shared/achievement_saverestore.cpp index b9de1e2d79..96b70fd8ad 100644 --- a/sp/src/game/shared/achievement_saverestore.cpp +++ b/sp/src/game/shared/achievement_saverestore.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievement_saverestore.h b/sp/src/game/shared/achievement_saverestore.h index c52e064208..f9aedf30ae 100644 --- a/sp/src/game/shared/achievement_saverestore.h +++ b/sp/src/game/shared/achievement_saverestore.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievementmgr.cpp b/sp/src/game/shared/achievementmgr.cpp index 7b4727efe6..fab05d2330 100644 --- a/sp/src/game/shared/achievementmgr.cpp +++ b/sp/src/game/shared/achievementmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievementmgr.h b/sp/src/game/shared/achievementmgr.h index c33261e2d1..b166206998 100644 --- a/sp/src/game/shared/achievementmgr.h +++ b/sp/src/game/shared/achievementmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievements_and_stats_interface.h b/sp/src/game/shared/achievements_and_stats_interface.h index a671902877..3ab257b9de 100644 --- a/sp/src/game/shared/achievements_and_stats_interface.h +++ b/sp/src/game/shared/achievements_and_stats_interface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/achievements_hlx.cpp b/sp/src/game/shared/achievements_hlx.cpp index 3bcdb271ea..56191e5c1c 100644 --- a/sp/src/game/shared/achievements_hlx.cpp +++ b/sp/src/game/shared/achievements_hlx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/activitylist.cpp b/sp/src/game/shared/activitylist.cpp index 0b415d75df..e70d8adc78 100644 --- a/sp/src/game/shared/activitylist.cpp +++ b/sp/src/game/shared/activitylist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/activitylist.h b/sp/src/game/shared/activitylist.h index 712c94ea3a..5318dc7609 100644 --- a/sp/src/game/shared/activitylist.h +++ b/sp/src/game/shared/activitylist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ai_activity.h b/sp/src/game/shared/ai_activity.h index c8bf150a5c..b8813de876 100644 --- a/sp/src/game/shared/ai_activity.h +++ b/sp/src/game/shared/ai_activity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ai_debug_shared.h b/sp/src/game/shared/ai_debug_shared.h index bde584480b..cbd97d78fd 100644 --- a/sp/src/game/shared/ai_debug_shared.h +++ b/sp/src/game/shared/ai_debug_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ammodef.cpp b/sp/src/game/shared/ammodef.cpp index cf3ad3e866..906a068c53 100644 --- a/sp/src/game/shared/ammodef.cpp +++ b/sp/src/game/shared/ammodef.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base combat character with no AI // diff --git a/sp/src/game/shared/ammodef.h b/sp/src/game/shared/ammodef.h index d5607e0220..d87dc9fa6b 100644 --- a/sp/src/game/shared/ammodef.h +++ b/sp/src/game/shared/ammodef.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Holds defintion for game ammo types // diff --git a/sp/src/game/shared/animation.cpp b/sp/src/game/shared/animation.cpp index 0f6dd75414..6b063c2a63 100644 --- a/sp/src/game/shared/animation.cpp +++ b/sp/src/game/shared/animation.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/animation.h b/sp/src/game/shared/animation.h index eb6ae87f7f..73d521d870 100644 --- a/sp/src/game/shared/animation.h +++ b/sp/src/game/shared/animation.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/apparent_velocity_helper.h b/sp/src/game/shared/apparent_velocity_helper.h index 765a419d97..b167e945a9 100644 --- a/sp/src/game/shared/apparent_velocity_helper.h +++ b/sp/src/game/shared/apparent_velocity_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/base_playeranimstate.cpp b/sp/src/game/shared/base_playeranimstate.cpp index 82cb75aae2..8808bdf3f5 100644 --- a/sp/src/game/shared/base_playeranimstate.cpp +++ b/sp/src/game/shared/base_playeranimstate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/base_playeranimstate.h b/sp/src/game/shared/base_playeranimstate.h index 0b1f6b3485..43c70ec781 100644 --- a/sp/src/game/shared/base_playeranimstate.h +++ b/sp/src/game/shared/base_playeranimstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseachievement.cpp b/sp/src/game/shared/baseachievement.cpp index ebc5876ec4..c46b39eae6 100644 --- a/sp/src/game/shared/baseachievement.cpp +++ b/sp/src/game/shared/baseachievement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseachievement.h b/sp/src/game/shared/baseachievement.h index 2074f81d7d..dfcac495d3 100644 --- a/sp/src/game/shared/baseachievement.h +++ b/sp/src/game/shared/baseachievement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/basecombatcharacter_shared.cpp b/sp/src/game/shared/basecombatcharacter_shared.cpp index d01c99a48b..faf1a5eb6e 100644 --- a/sp/src/game/shared/basecombatcharacter_shared.cpp +++ b/sp/src/game/shared/basecombatcharacter_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/basecombatweapon_shared.cpp b/sp/src/game/shared/basecombatweapon_shared.cpp index c67ab35acc..810359783f 100644 --- a/sp/src/game/shared/basecombatweapon_shared.cpp +++ b/sp/src/game/shared/basecombatweapon_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/basecombatweapon_shared.h b/sp/src/game/shared/basecombatweapon_shared.h index 1b4119998e..5ce0dc5420 100644 --- a/sp/src/game/shared/basecombatweapon_shared.h +++ b/sp/src/game/shared/basecombatweapon_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseentity_shared.cpp b/sp/src/game/shared/baseentity_shared.cpp index 5f95761216..2a7c8700b0 100644 --- a/sp/src/game/shared/baseentity_shared.cpp +++ b/sp/src/game/shared/baseentity_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseentity_shared.h b/sp/src/game/shared/baseentity_shared.h index 85a0ffd89a..ee51fb380d 100644 --- a/sp/src/game/shared/baseentity_shared.h +++ b/sp/src/game/shared/baseentity_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -255,7 +255,7 @@ inline HSCRIPT ToHScript(CBaseEntity* pEnt) return (pEnt) ? pEnt->GetScriptInstance() : NULL; } -template <> ScriptClassDesc_t* GetScriptDesc(CBaseEntity*); +template <> ScriptClassDesc_t* GetScriptDesc(CBaseEntity*, bool); inline CBaseEntity* ToEnt(HSCRIPT hScript) { return (hScript) ? (CBaseEntity*)g_pScriptVM->GetInstanceValue(hScript, GetScriptDescForClass(CBaseEntity)) : NULL; diff --git a/sp/src/game/shared/basegrenade_shared.cpp b/sp/src/game/shared/basegrenade_shared.cpp index 0d6160991c..02b90939fd 100644 --- a/sp/src/game/shared/basegrenade_shared.cpp +++ b/sp/src/game/shared/basegrenade_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/basegrenade_shared.h b/sp/src/game/shared/basegrenade_shared.h index 47840dc40a..34fbe36155 100644 --- a/sp/src/game/shared/basegrenade_shared.h +++ b/sp/src/game/shared/basegrenade_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseparticleentity.cpp b/sp/src/game/shared/baseparticleentity.cpp index 85c989b3b2..7faf0b5e04 100644 --- a/sp/src/game/shared/baseparticleentity.cpp +++ b/sp/src/game/shared/baseparticleentity.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseparticleentity.h b/sp/src/game/shared/baseparticleentity.h index 7de9f4a799..7a878bfe3d 100644 --- a/sp/src/game/shared/baseparticleentity.h +++ b/sp/src/game/shared/baseparticleentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseplayer_shared.cpp b/sp/src/game/shared/baseplayer_shared.cpp index 9296bfcfad..fed20e7b89 100644 --- a/sp/src/game/shared/baseplayer_shared.cpp +++ b/sp/src/game/shared/baseplayer_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements shared baseplayer class functionality // diff --git a/sp/src/game/shared/baseplayer_shared.h b/sp/src/game/shared/baseplayer_shared.h index fc5fdf0f89..7c3b4afb61 100644 --- a/sp/src/game/shared/baseplayer_shared.h +++ b/sp/src/game/shared/baseplayer_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseprojectile.cpp b/sp/src/game/shared/baseprojectile.cpp index c695db93c8..09a0e59519 100644 --- a/sp/src/game/shared/baseprojectile.cpp +++ b/sp/src/game/shared/baseprojectile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseprojectile.h b/sp/src/game/shared/baseprojectile.h index 2ff00fc5b7..2413b2b054 100644 --- a/sp/src/game/shared/baseprojectile.h +++ b/sp/src/game/shared/baseprojectile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseviewmodel_shared.cpp b/sp/src/game/shared/baseviewmodel_shared.cpp index 5f9c0f10c6..fe9d2aee26 100644 --- a/sp/src/game/shared/baseviewmodel_shared.cpp +++ b/sp/src/game/shared/baseviewmodel_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/baseviewmodel_shared.h b/sp/src/game/shared/baseviewmodel_shared.h index 7e9c79a6c3..a69518ff05 100644 --- a/sp/src/game/shared/baseviewmodel_shared.h +++ b/sp/src/game/shared/baseviewmodel_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/beam_flags.h b/sp/src/game/shared/beam_flags.h index d985aa139e..6ffe8189e6 100644 --- a/sp/src/game/shared/beam_flags.h +++ b/sp/src/game/shared/beam_flags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/beam_shared.cpp b/sp/src/game/shared/beam_shared.cpp index fcefa3f965..93b6640e77 100644 --- a/sp/src/game/shared/beam_shared.cpp +++ b/sp/src/game/shared/beam_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/shared/beam_shared.h b/sp/src/game/shared/beam_shared.h index b9e2b90545..43c916be12 100644 --- a/sp/src/game/shared/beam_shared.h +++ b/sp/src/game/shared/beam_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/cam_thirdperson.cpp b/sp/src/game/shared/cam_thirdperson.cpp index 81db62d4c7..5a556125d5 100644 --- a/sp/src/game/shared/cam_thirdperson.cpp +++ b/sp/src/game/shared/cam_thirdperson.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/cam_thirdperson.h b/sp/src/game/shared/cam_thirdperson.h index 8271a6428a..6d3e2d311d 100644 --- a/sp/src/game/shared/cam_thirdperson.h +++ b/sp/src/game/shared/cam_thirdperson.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoactor.cpp b/sp/src/game/shared/choreoactor.cpp index 150320f1c8..cd473a39fc 100644 --- a/sp/src/game/shared/choreoactor.cpp +++ b/sp/src/game/shared/choreoactor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoactor.h b/sp/src/game/shared/choreoactor.h index 874999768d..1c875fd520 100644 --- a/sp/src/game/shared/choreoactor.h +++ b/sp/src/game/shared/choreoactor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreochannel.cpp b/sp/src/game/shared/choreochannel.cpp index 7d70e44163..492333a1b5 100644 --- a/sp/src/game/shared/choreochannel.cpp +++ b/sp/src/game/shared/choreochannel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreochannel.h b/sp/src/game/shared/choreochannel.h index 95a828c7af..b3e3146008 100644 --- a/sp/src/game/shared/choreochannel.h +++ b/sp/src/game/shared/choreochannel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoevent.cpp b/sp/src/game/shared/choreoevent.cpp index 1623a37d42..659f31e761 100644 --- a/sp/src/game/shared/choreoevent.cpp +++ b/sp/src/game/shared/choreoevent.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoevent.h b/sp/src/game/shared/choreoevent.h index 64db52afd8..febf9ced1a 100644 --- a/sp/src/game/shared/choreoevent.h +++ b/sp/src/game/shared/choreoevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoscene.cpp b/sp/src/game/shared/choreoscene.cpp index 734e89be65..77a0e30ea9 100644 --- a/sp/src/game/shared/choreoscene.cpp +++ b/sp/src/game/shared/choreoscene.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/choreoscene.h b/sp/src/game/shared/choreoscene.h index 0cf281d64a..6616951851 100644 --- a/sp/src/game/shared/choreoscene.h +++ b/sp/src/game/shared/choreoscene.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/collisionproperty.cpp b/sp/src/game/shared/collisionproperty.cpp index 461deb14b7..b8d5a404d8 100644 --- a/sp/src/game/shared/collisionproperty.cpp +++ b/sp/src/game/shared/collisionproperty.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/collisionproperty.h b/sp/src/game/shared/collisionproperty.h index 346889a5e6..176fb823e1 100644 --- a/sp/src/game/shared/collisionproperty.h +++ b/sp/src/game/shared/collisionproperty.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/cs_achievements_and_stats_interface.cpp b/sp/src/game/shared/cs_achievements_and_stats_interface.cpp index 66665c16d2..3845268b1c 100644 --- a/sp/src/game/shared/cs_achievements_and_stats_interface.cpp +++ b/sp/src/game/shared/cs_achievements_and_stats_interface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/cs_achievements_and_stats_interface.h b/sp/src/game/shared/cs_achievements_and_stats_interface.h index ddeaf03945..7cf12c0d36 100644 --- a/sp/src/game/shared/cs_achievements_and_stats_interface.h +++ b/sp/src/game/shared/cs_achievements_and_stats_interface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/death_pose.cpp b/sp/src/game/shared/death_pose.cpp index 866717e87a..2b819d30cd 100644 --- a/sp/src/game/shared/death_pose.cpp +++ b/sp/src/game/shared/death_pose.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/death_pose.h b/sp/src/game/shared/death_pose.h index 787b601c15..4389a68069 100644 --- a/sp/src/game/shared/death_pose.h +++ b/sp/src/game/shared/death_pose.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/debugoverlay_null.cpp b/sp/src/game/shared/debugoverlay_null.cpp index 9aaa2018d1..e2a11f57b9 100644 --- a/sp/src/game/shared/debugoverlay_null.cpp +++ b/sp/src/game/shared/debugoverlay_null.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/debugoverlay_shared.cpp b/sp/src/game/shared/debugoverlay_shared.cpp index 8ed8e1c943..d8d14f4bdc 100644 --- a/sp/src/game/shared/debugoverlay_shared.cpp +++ b/sp/src/game/shared/debugoverlay_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility functions for using debug overlays to visualize information // in the world. Uses the IVDebugOverlay interface. diff --git a/sp/src/game/shared/debugoverlay_shared.h b/sp/src/game/shared/debugoverlay_shared.h index a37a1b9e62..06e523b31e 100644 --- a/sp/src/game/shared/debugoverlay_shared.h +++ b/sp/src/game/shared/debugoverlay_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/decals.cpp b/sp/src/game/shared/decals.cpp index a66acdb167..4d7e16289d 100644 --- a/sp/src/game/shared/decals.cpp +++ b/sp/src/game/shared/decals.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/decals.h b/sp/src/game/shared/decals.h index 83e70c6f8d..32d8326b7b 100644 --- a/sp/src/game/shared/decals.h +++ b/sp/src/game/shared/decals.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/econ/ihasowner.h b/sp/src/game/shared/econ/ihasowner.h index 77ac13908f..cf10a2f8f1 100644 --- a/sp/src/game/shared/econ/ihasowner.h +++ b/sp/src/game/shared/econ/ihasowner.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/effect_color_tables.h b/sp/src/game/shared/effect_color_tables.h index 322d0e0844..d522b498f6 100644 --- a/sp/src/game/shared/effect_color_tables.h +++ b/sp/src/game/shared/effect_color_tables.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/effect_dispatch_data.cpp b/sp/src/game/shared/effect_dispatch_data.cpp index e295991f10..c82e77ced0 100644 --- a/sp/src/game/shared/effect_dispatch_data.cpp +++ b/sp/src/game/shared/effect_dispatch_data.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/effect_dispatch_data.h b/sp/src/game/shared/effect_dispatch_data.h index 5f6e664a75..5cf141fcad 100644 --- a/sp/src/game/shared/effect_dispatch_data.h +++ b/sp/src/game/shared/effect_dispatch_data.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ehandle.cpp b/sp/src/game/shared/ehandle.cpp index a91aae1388..938435b4e8 100644 --- a/sp/src/game/shared/ehandle.cpp +++ b/sp/src/game/shared/ehandle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This module implements functions to support ehandles. // diff --git a/sp/src/game/shared/ehandle.h b/sp/src/game/shared/ehandle.h index 7e44cf663d..b2d00325db 100644 --- a/sp/src/game/shared/ehandle.h +++ b/sp/src/game/shared/ehandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/entitydatainstantiator.h b/sp/src/game/shared/entitydatainstantiator.h index 2882c58569..35a4ec91b4 100644 --- a/sp/src/game/shared/entitydatainstantiator.h +++ b/sp/src/game/shared/entitydatainstantiator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/entitylist_base.cpp b/sp/src/game/shared/entitylist_base.cpp index a846b0b23d..a9de1ae73b 100644 --- a/sp/src/game/shared/entitylist_base.cpp +++ b/sp/src/game/shared/entitylist_base.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/entitylist_base.h b/sp/src/game/shared/entitylist_base.h index 8e2db3ba6f..2c13eb2ca1 100644 --- a/sp/src/game/shared/entitylist_base.h +++ b/sp/src/game/shared/entitylist_base.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/entityparticletrail_shared.h b/sp/src/game/shared/entityparticletrail_shared.h index 5928d16bed..57aa7d4c00 100644 --- a/sp/src/game/shared/entityparticletrail_shared.h +++ b/sp/src/game/shared/entityparticletrail_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/env_detail_controller.cpp b/sp/src/game/shared/env_detail_controller.cpp index ed18616294..10173791cd 100644 --- a/sp/src/game/shared/env_detail_controller.cpp +++ b/sp/src/game/shared/env_detail_controller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/env_detail_controller.h b/sp/src/game/shared/env_detail_controller.h index d1e87bcea1..dd13d9b3ff 100644 --- a/sp/src/game/shared/env_detail_controller.h +++ b/sp/src/game/shared/env_detail_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/env_meteor_shared.cpp b/sp/src/game/shared/env_meteor_shared.cpp index 26bda0327c..aeb76370dd 100644 --- a/sp/src/game/shared/env_meteor_shared.cpp +++ b/sp/src/game/shared/env_meteor_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/env_meteor_shared.h b/sp/src/game/shared/env_meteor_shared.h index 36ecd8cc59..ce713570bc 100644 --- a/sp/src/game/shared/env_meteor_shared.h +++ b/sp/src/game/shared/env_meteor_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/env_wind_shared.cpp b/sp/src/game/shared/env_wind_shared.cpp index 02df324a0c..7ecc07b8ee 100644 --- a/sp/src/game/shared/env_wind_shared.cpp +++ b/sp/src/game/shared/env_wind_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // Information about algorithmic stuff that can occur on both client + server diff --git a/sp/src/game/shared/env_wind_shared.h b/sp/src/game/shared/env_wind_shared.h index bea9ea6246..ae39984c58 100644 --- a/sp/src/game/shared/env_wind_shared.h +++ b/sp/src/game/shared/env_wind_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements visual effects entities: sprites, beams, bubbles, etc. // diff --git a/sp/src/game/shared/episodic/achievements_ep1.cpp b/sp/src/game/shared/episodic/achievements_ep1.cpp index 4fb73997ef..f9e58aeba8 100644 --- a/sp/src/game/shared/episodic/achievements_ep1.cpp +++ b/sp/src/game/shared/episodic/achievements_ep1.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/episodic/achievements_ep2.cpp b/sp/src/game/shared/episodic/achievements_ep2.cpp index 6f47e5cfe6..1428851e23 100644 --- a/sp/src/game/shared/episodic/achievements_ep2.cpp +++ b/sp/src/game/shared/episodic/achievements_ep2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/episodic/achievements_epx.cpp b/sp/src/game/shared/episodic/achievements_epx.cpp index d17c51a438..908e20eff3 100644 --- a/sp/src/game/shared/episodic/achievements_epx.cpp +++ b/sp/src/game/shared/episodic/achievements_epx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/episodic/npc_advisor_shared.h b/sp/src/game/shared/episodic/npc_advisor_shared.h index f275fe8201..fb212df80b 100644 --- a/sp/src/game/shared/episodic/npc_advisor_shared.h +++ b/sp/src/game/shared/episodic/npc_advisor_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared data between client and server side npc_advisor classes. // diff --git a/sp/src/game/shared/eventlist.cpp b/sp/src/game/shared/eventlist.cpp index 2776aa8f39..6fd38a7a83 100644 --- a/sp/src/game/shared/eventlist.cpp +++ b/sp/src/game/shared/eventlist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/eventlist.h b/sp/src/game/shared/eventlist.h index 7d810bd4a9..a557bf40e2 100644 --- a/sp/src/game/shared/eventlist.h +++ b/sp/src/game/shared/eventlist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/expressionsample.h b/sp/src/game/shared/expressionsample.h index 663328dcb6..87bbfbef06 100644 --- a/sp/src/game/shared/expressionsample.h +++ b/sp/src/game/shared/expressionsample.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/forcefeedback.h b/sp/src/game/shared/forcefeedback.h index 353cfcf890..98064c023a 100644 --- a/sp/src/game/shared/forcefeedback.h +++ b/sp/src/game/shared/forcefeedback.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/func_dust_shared.h b/sp/src/game/shared/func_dust_shared.h index 5c0c2bac3d..084d0acb5e 100644 --- a/sp/src/game/shared/func_dust_shared.h +++ b/sp/src/game/shared/func_dust_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/func_ladder.cpp b/sp/src/game/shared/func_ladder.cpp index 306ae77dee..c14d700ffe 100644 --- a/sp/src/game/shared/func_ladder.cpp +++ b/sp/src/game/shared/func_ladder.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/func_ladder.h b/sp/src/game/shared/func_ladder.h index 50c76eac5f..70b663eacf 100644 --- a/sp/src/game/shared/func_ladder.h +++ b/sp/src/game/shared/func_ladder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gameeventdefs.h b/sp/src/game/shared/gameeventdefs.h index c0de1dd35f..ce278fbf31 100644 --- a/sp/src/game/shared/gameeventdefs.h +++ b/sp/src/game/shared/gameeventdefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamemovement.cpp b/sp/src/game/shared/gamemovement.cpp index 46afe4f238..95e1d5d3bf 100644 --- a/sp/src/game/shared/gamemovement.cpp +++ b/sp/src/game/shared/gamemovement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamemovement.h b/sp/src/game/shared/gamemovement.h index 1c7a3d0ff1..02c097bad1 100644 --- a/sp/src/game/shared/gamemovement.h +++ b/sp/src/game/shared/gamemovement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamerules.cpp b/sp/src/game/shared/gamerules.cpp index face9d54c8..41e53757c7 100644 --- a/sp/src/game/shared/gamerules.cpp +++ b/sp/src/game/shared/gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamerules.h b/sp/src/game/shared/gamerules.h index a60f277190..5950a9068b 100644 --- a/sp/src/game/shared/gamerules.h +++ b/sp/src/game/shared/gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamerules_register.cpp b/sp/src/game/shared/gamerules_register.cpp index 8f83ec9f40..dca0a68a5d 100644 --- a/sp/src/game/shared/gamerules_register.cpp +++ b/sp/src/game/shared/gamerules_register.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamerules_register.h b/sp/src/game/shared/gamerules_register.h index ab63e4db86..fbd1fb6493 100644 --- a/sp/src/game/shared/gamerules_register.h +++ b/sp/src/game/shared/gamerules_register.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamestats.h b/sp/src/game/shared/gamestats.h index fae1e417a1..812fd1fa85 100644 --- a/sp/src/game/shared/gamestats.h +++ b/sp/src/game/shared/gamestats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamestringpool.cpp b/sp/src/game/shared/gamestringpool.cpp index ee529bf190..85dd2e8e10 100644 --- a/sp/src/game/shared/gamestringpool.cpp +++ b/sp/src/game/shared/gamestringpool.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamestringpool.h b/sp/src/game/shared/gamestringpool.h index 2dc941f9c8..aff30a0840 100644 --- a/sp/src/game/shared/gamestringpool.h +++ b/sp/src/game/shared/gamestringpool.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Pool of all per-level strings. Allocates memory for strings, // consolodating duplicates. The memory is freed on behalf of clients diff --git a/sp/src/game/shared/gamevars_shared.cpp b/sp/src/game/shared/gamevars_shared.cpp index f3e0522d05..0bed48d20b 100644 --- a/sp/src/game/shared/gamevars_shared.cpp +++ b/sp/src/game/shared/gamevars_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/gamevars_shared.h b/sp/src/game/shared/gamevars_shared.h index 913a6944d3..718874bca4 100644 --- a/sp/src/game/shared/gamevars_shared.h +++ b/sp/src/game/shared/gamevars_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/groundlink.h b/sp/src/game/shared/groundlink.h index 9c04861699..c28147b671 100644 --- a/sp/src/game/shared/groundlink.h +++ b/sp/src/game/shared/groundlink.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hintmessage.cpp b/sp/src/game/shared/hintmessage.cpp index 687e4bc365..457a93ac06 100644 --- a/sp/src/game/shared/hintmessage.cpp +++ b/sp/src/game/shared/hintmessage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hintmessage.h b/sp/src/game/shared/hintmessage.h index 916d2ce7fe..3d38afbbb2 100644 --- a/sp/src/game/shared/hintmessage.h +++ b/sp/src/game/shared/hintmessage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hintsystem.cpp b/sp/src/game/shared/hintsystem.cpp index 1cc46955ee..8e82be48e8 100644 --- a/sp/src/game/shared/hintsystem.cpp +++ b/sp/src/game/shared/hintsystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hintsystem.h b/sp/src/game/shared/hintsystem.h index 813fc8ba7e..d0039db486 100644 --- a/sp/src/game/shared/hintsystem.h +++ b/sp/src/game/shared/hintsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A class embedded in players to provide hints to that player // diff --git a/sp/src/game/shared/hl2/achievements_hl2.cpp b/sp/src/game/shared/hl2/achievements_hl2.cpp index 0f58945763..157e0b91b2 100644 --- a/sp/src/game/shared/hl2/achievements_hl2.cpp +++ b/sp/src/game/shared/hl2/achievements_hl2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/basehlcombatweapon_shared.cpp b/sp/src/game/shared/hl2/basehlcombatweapon_shared.cpp index 06c69df7c8..bf13cb8b33 100644 --- a/sp/src/game/shared/hl2/basehlcombatweapon_shared.cpp +++ b/sp/src/game/shared/hl2/basehlcombatweapon_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/basehlcombatweapon_shared.h b/sp/src/game/shared/hl2/basehlcombatweapon_shared.h index eb11fa8070..32db4a2943 100644 --- a/sp/src/game/shared/hl2/basehlcombatweapon_shared.h +++ b/sp/src/game/shared/hl2/basehlcombatweapon_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/citadel_effects_shared.h b/sp/src/game/shared/hl2/citadel_effects_shared.h index 18304d3a5c..6c39c887e8 100644 --- a/sp/src/game/shared/hl2/citadel_effects_shared.h +++ b/sp/src/game/shared/hl2/citadel_effects_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/env_alyxemp_shared.h b/sp/src/game/shared/hl2/env_alyxemp_shared.h index b6de643bac..475b115952 100644 --- a/sp/src/game/shared/hl2/env_alyxemp_shared.h +++ b/sp/src/game/shared/hl2/env_alyxemp_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/env_headcrabcanister_shared.cpp b/sp/src/game/shared/hl2/env_headcrabcanister_shared.cpp index 036e39c2e9..422792796b 100644 --- a/sp/src/game/shared/hl2/env_headcrabcanister_shared.cpp +++ b/sp/src/game/shared/hl2/env_headcrabcanister_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/env_headcrabcanister_shared.h b/sp/src/game/shared/hl2/env_headcrabcanister_shared.h index d5f2f7c5ca..e84bafa419 100644 --- a/sp/src/game/shared/hl2/env_headcrabcanister_shared.h +++ b/sp/src/game/shared/hl2/env_headcrabcanister_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/hl2_gamerules.cpp b/sp/src/game/shared/hl2/hl2_gamerules.cpp index d805c8f8b5..daec6bb2ac 100644 --- a/sp/src/game/shared/hl2/hl2_gamerules.cpp +++ b/sp/src/game/shared/hl2/hl2_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The Half-Life 2 game rules, such as the relationship tables and ammo // damage cvars. diff --git a/sp/src/game/shared/hl2/hl2_gamerules.h b/sp/src/game/shared/hl2/hl2_gamerules.h index a8eace12d4..07979cec30 100644 --- a/sp/src/game/shared/hl2/hl2_gamerules.h +++ b/sp/src/game/shared/hl2/hl2_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game rules for Half-Life 2. // diff --git a/sp/src/game/shared/hl2/hl2_player_shared.h b/sp/src/game/shared/hl2/hl2_player_shared.h index bae88dacf2..6e74bb7463 100644 --- a/sp/src/game/shared/hl2/hl2_player_shared.h +++ b/sp/src/game/shared/hl2/hl2_player_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/hl2_shareddefs.h b/sp/src/game/shared/hl2/hl2_shareddefs.h index e84d90c517..48bcce0fdb 100644 --- a/sp/src/game/shared/hl2/hl2_shareddefs.h +++ b/sp/src/game/shared/hl2/hl2_shareddefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/hl2_usermessages.cpp b/sp/src/game/shared/hl2/hl2_usermessages.cpp index 93ca871e1e..dc94f13a73 100644 --- a/sp/src/game/shared/hl2/hl2_usermessages.cpp +++ b/sp/src/game/shared/hl2/hl2_usermessages.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/hl2_vehicle_radar.h b/sp/src/game/shared/hl2/hl2_vehicle_radar.h index 102cc8321d..8f6e87de08 100644 --- a/sp/src/game/shared/hl2/hl2_vehicle_radar.h +++ b/sp/src/game/shared/hl2/hl2_vehicle_radar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/hl_gamemovement.cpp b/sp/src/game/shared/hl2/hl_gamemovement.cpp index d4fc3aef08..d55097bf75 100644 --- a/sp/src/game/shared/hl2/hl_gamemovement.cpp +++ b/sp/src/game/shared/hl2/hl_gamemovement.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Special handling for hl2 usable ladders // diff --git a/sp/src/game/shared/hl2/hl_gamemovement.h b/sp/src/game/shared/hl2/hl_gamemovement.h index fba5c8c19e..9b25837633 100644 --- a/sp/src/game/shared/hl2/hl_gamemovement.h +++ b/sp/src/game/shared/hl2/hl_gamemovement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Special handling for hl2 usable ladders // diff --git a/sp/src/game/shared/hl2/hl_movedata.h b/sp/src/game/shared/hl2/hl_movedata.h index 5b7d4f8ccb..9e5f5203cc 100644 --- a/sp/src/game/shared/hl2/hl_movedata.h +++ b/sp/src/game/shared/hl2/hl_movedata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2/survival_gamerules.cpp b/sp/src/game/shared/hl2/survival_gamerules.cpp index 723eeeac43..1b082d5fbb 100644 --- a/sp/src/game/shared/hl2/survival_gamerules.cpp +++ b/sp/src/game/shared/hl2/survival_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #ifdef HL2_EPISODIC diff --git a/sp/src/game/shared/hl2mp/hl2mp_gamerules.cpp b/sp/src/game/shared/hl2mp/hl2mp_gamerules.cpp index 604e409c8f..d494649fa9 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_gamerules.cpp +++ b/sp/src/game/shared/hl2mp/hl2mp_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/hl2mp_gamerules.h b/sp/src/game/shared/hl2mp/hl2mp_gamerules.h index 8d91554c55..5d705beda3 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_gamerules.h +++ b/sp/src/game/shared/hl2mp/hl2mp_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/hl2mp_player_shared.cpp b/sp/src/game/shared/hl2mp/hl2mp_player_shared.cpp index 503d498c22..df0b033f25 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_player_shared.cpp +++ b/sp/src/game/shared/hl2mp/hl2mp_player_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/hl2mp_player_shared.h b/sp/src/game/shared/hl2mp/hl2mp_player_shared.h index 3aee9237cd..f423e5c1e0 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_player_shared.h +++ b/sp/src/game/shared/hl2mp/hl2mp_player_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.cpp b/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.cpp index 9b83dce770..bc0b11ee1d 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.cpp +++ b/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.h b/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.h index 2ec16dd628..7d72d0f44d 100644 --- a/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.h +++ b/sp/src/game/shared/hl2mp/hl2mp_weapon_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_357.cpp b/sp/src/game/shared/hl2mp/weapon_357.cpp index d943f27873..1ff8899f4f 100644 --- a/sp/src/game/shared/hl2mp/weapon_357.cpp +++ b/sp/src/game/shared/hl2mp/weapon_357.cpp @@ -1,5 +1,5 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_ar2.cpp b/sp/src/game/shared/hl2mp/weapon_ar2.cpp index faa5b14cf0..2f1d27f32d 100644 --- a/sp/src/game/shared/hl2mp/weapon_ar2.cpp +++ b/sp/src/game/shared/hl2mp/weapon_ar2.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_ar2.h b/sp/src/game/shared/hl2mp/weapon_ar2.h index 8aa8dde85b..fc79d29a3f 100644 --- a/sp/src/game/shared/hl2mp/weapon_ar2.h +++ b/sp/src/game/shared/hl2mp/weapon_ar2.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Projectile shot from the AR2 // diff --git a/sp/src/game/shared/hl2mp/weapon_crossbow.cpp b/sp/src/game/shared/hl2mp/weapon_crossbow.cpp index 5bada600f1..b6b230cff0 100644 --- a/sp/src/game/shared/hl2mp/weapon_crossbow.cpp +++ b/sp/src/game/shared/hl2mp/weapon_crossbow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_crowbar.cpp b/sp/src/game/shared/hl2mp/weapon_crowbar.cpp index 55a03d1d69..07612522d2 100644 --- a/sp/src/game/shared/hl2mp/weapon_crowbar.cpp +++ b/sp/src/game/shared/hl2mp/weapon_crowbar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Crowbar - an old favorite // diff --git a/sp/src/game/shared/hl2mp/weapon_crowbar.h b/sp/src/game/shared/hl2mp/weapon_crowbar.h index 2cd10fb9c0..7b885c57a2 100644 --- a/sp/src/game/shared/hl2mp/weapon_crowbar.h +++ b/sp/src/game/shared/hl2mp/weapon_crowbar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_frag.cpp b/sp/src/game/shared/hl2mp/weapon_frag.cpp index 9ddcb8133f..7f059bbf75 100644 --- a/sp/src/game/shared/hl2mp/weapon_frag.cpp +++ b/sp/src/game/shared/hl2mp/weapon_frag.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbase.cpp b/sp/src/game/shared/hl2mp/weapon_hl2mpbase.cpp index 15995a5be7..40679ac44a 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbase.cpp +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbase.h b/sp/src/game/shared/hl2mp/weapon_hl2mpbase.h index 0f21044b1c..b0db08fab5 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbase.h +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.cpp b/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.cpp index b5a0040ef6..1efd8ba0eb 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.cpp +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.h b/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.h index c7f9a56b03..8bd06415c0 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.h +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbase_machinegun.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.cpp b/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.cpp index 21373ca8d6..bd6ea7cbc4 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.cpp +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.h b/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.h index d268b321ef..d913ad9b15 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.h +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbasebasebludgeon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The class from which all bludgeon melee // weapons are derived. diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.cpp b/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.cpp index 361a53f142..dca390f192 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.cpp +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.h b/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.h index e846932631..eeb4cfd5e4 100644 --- a/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.h +++ b/sp/src/game/shared/hl2mp/weapon_hl2mpbasehlmpcombatweapon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef WEAPON_BASEHL2MPCOMBATWEAPON_SHARED_H #define WEAPON_BASEHL2MPCOMBATWEAPON_SHARED_H #ifdef _WIN32 diff --git a/sp/src/game/shared/hl2mp/weapon_physcannon.cpp b/sp/src/game/shared/hl2mp/weapon_physcannon.cpp index 4972a1ed62..50847372a5 100644 --- a/sp/src/game/shared/hl2mp/weapon_physcannon.cpp +++ b/sp/src/game/shared/hl2mp/weapon_physcannon.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Physics cannon // diff --git a/sp/src/game/shared/hl2mp/weapon_physcannon.h b/sp/src/game/shared/hl2mp/weapon_physcannon.h index 03f60f8068..d2b5731e9c 100644 --- a/sp/src/game/shared/hl2mp/weapon_physcannon.h +++ b/sp/src/game/shared/hl2mp/weapon_physcannon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_pistol.cpp b/sp/src/game/shared/hl2mp/weapon_pistol.cpp index 5a9533c431..6798f47f9f 100644 --- a/sp/src/game/shared/hl2mp/weapon_pistol.cpp +++ b/sp/src/game/shared/hl2mp/weapon_pistol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_rpg.cpp b/sp/src/game/shared/hl2mp/weapon_rpg.cpp index aa3cc8fd0b..78b526a4a1 100644 --- a/sp/src/game/shared/hl2mp/weapon_rpg.cpp +++ b/sp/src/game/shared/hl2mp/weapon_rpg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_rpg.h b/sp/src/game/shared/hl2mp/weapon_rpg.h index bbd6f2dd24..0e865a7651 100644 --- a/sp/src/game/shared/hl2mp/weapon_rpg.h +++ b/sp/src/game/shared/hl2mp/weapon_rpg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_shotgun.cpp b/sp/src/game/shared/hl2mp/weapon_shotgun.cpp index da370b5396..42e54c89f2 100644 --- a/sp/src/game/shared/hl2mp/weapon_shotgun.cpp +++ b/sp/src/game/shared/hl2mp/weapon_shotgun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_slam.cpp b/sp/src/game/shared/hl2mp/weapon_slam.cpp index c4eb714064..b1c3fddeb1 100644 --- a/sp/src/game/shared/hl2mp/weapon_slam.cpp +++ b/sp/src/game/shared/hl2mp/weapon_slam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_slam.h b/sp/src/game/shared/hl2mp/weapon_slam.h index 51a4815554..3843e75635 100644 --- a/sp/src/game/shared/hl2mp/weapon_slam.h +++ b/sp/src/game/shared/hl2mp/weapon_slam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: SLAM // diff --git a/sp/src/game/shared/hl2mp/weapon_smg1.cpp b/sp/src/game/shared/hl2mp/weapon_smg1.cpp index bd6e1d429c..f7633ef2ce 100644 --- a/sp/src/game/shared/hl2mp/weapon_smg1.cpp +++ b/sp/src/game/shared/hl2mp/weapon_smg1.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/hl2mp/weapon_stunstick.cpp b/sp/src/game/shared/hl2mp/weapon_stunstick.cpp index 1d6ae161a0..5888f28d73 100644 --- a/sp/src/game/shared/hl2mp/weapon_stunstick.cpp +++ b/sp/src/game/shared/hl2mp/weapon_stunstick.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Stun Stick- beating stick with a zappy end // diff --git a/sp/src/game/shared/hl2mp/weapon_stunstick.h b/sp/src/game/shared/hl2mp/weapon_stunstick.h index 93688915d9..7483f377b7 100644 --- a/sp/src/game/shared/hl2mp/weapon_stunstick.h +++ b/sp/src/game/shared/hl2mp/weapon_stunstick.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is technically a Mapbase addition, but it's just weapon_stunstick's class declaration. // All actual changes are still nested in #ifdef MAPBASE. diff --git a/sp/src/game/shared/ichoreoeventcallback.h b/sp/src/game/shared/ichoreoeventcallback.h index 69b98c6a1f..c96cd605b7 100644 --- a/sp/src/game/shared/ichoreoeventcallback.h +++ b/sp/src/game/shared/ichoreoeventcallback.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/igamemovement.h b/sp/src/game/shared/igamemovement.h index ae248397bf..f3bc9ac93b 100644 --- a/sp/src/game/shared/igamemovement.h +++ b/sp/src/game/shared/igamemovement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/igamesystem.cpp b/sp/src/game/shared/igamesystem.cpp index 19cbc78cbc..d58a13fc3f 100644 --- a/sp/src/game/shared/igamesystem.cpp +++ b/sp/src/game/shared/igamesystem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Deals with singleton // diff --git a/sp/src/game/shared/igamesystem.h b/sp/src/game/shared/igamesystem.h index 85621924c3..c31e87325c 100644 --- a/sp/src/game/shared/igamesystem.h +++ b/sp/src/game/shared/igamesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/imovehelper.h b/sp/src/game/shared/imovehelper.h index a02312dedf..4628733580 100644 --- a/sp/src/game/shared/imovehelper.h +++ b/sp/src/game/shared/imovehelper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/in_buttons.h b/sp/src/game/shared/in_buttons.h index 74e2ca5faa..c511681bc7 100644 --- a/sp/src/game/shared/in_buttons.h +++ b/sp/src/game/shared/in_buttons.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/iplayeranimstate.h b/sp/src/game/shared/iplayeranimstate.h index 5e7b188e45..40d6571fa6 100644 --- a/sp/src/game/shared/iplayeranimstate.h +++ b/sp/src/game/shared/iplayeranimstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ipredictionsystem.h b/sp/src/game/shared/ipredictionsystem.h index e9738bc90a..79d72f44b8 100644 --- a/sp/src/game/shared/ipredictionsystem.h +++ b/sp/src/game/shared/ipredictionsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/iscenetokenprocessor.h b/sp/src/game/shared/iscenetokenprocessor.h index 49733246b4..213a242d0d 100644 --- a/sp/src/game/shared/iscenetokenprocessor.h +++ b/sp/src/game/shared/iscenetokenprocessor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/itempents.h b/sp/src/game/shared/itempents.h index b5a5ca66ad..bdc963b079 100644 --- a/sp/src/game/shared/itempents.h +++ b/sp/src/game/shared/itempents.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/mapbase/vscript_funcs_shared.cpp b/sp/src/game/shared/mapbase/vscript_funcs_shared.cpp index 227103dff8..660dfef95c 100644 --- a/sp/src/game/shared/mapbase/vscript_funcs_shared.cpp +++ b/sp/src/game/shared/mapbase/vscript_funcs_shared.cpp @@ -376,8 +376,7 @@ END_SCRIPTDESC(); CPlaneTInstanceHelper g_PlaneTInstanceHelper; -BEGIN_SCRIPTDESC_ROOT( cplane_t, "" ) - DEFINE_SCRIPT_INSTANCE_HELPER( &g_PlaneTInstanceHelper ) +BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( cplane_t, "", &g_PlaneTInstanceHelper ) END_SCRIPTDESC(); static HSCRIPT ScriptTraceLineComplex( const Vector &vecStart, const Vector &vecEnd, HSCRIPT entIgnore, int iMask, int iCollisionGroup ) @@ -509,9 +508,7 @@ static void DestroyFireBulletsInfo( HSCRIPT hBulletsInfo ) //----------------------------------------------------------------------------- CAnimEventTInstanceHelper g_AnimEventTInstanceHelper; -BEGIN_SCRIPTDESC_ROOT( scriptanimevent_t, "" ) - DEFINE_SCRIPT_INSTANCE_HELPER( &g_AnimEventTInstanceHelper ) - +BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( scriptanimevent_t, "", &g_AnimEventTInstanceHelper ) DEFINE_SCRIPTFUNC( GetEvent, "" ) DEFINE_SCRIPTFUNC( SetEvent, "" ) @@ -1071,10 +1068,10 @@ void RegisterSharedScriptFunctions() // // Precaching // - ScriptRegisterFunctionNamed( g_pScriptVM, ScriptPrecacheModel, "PrecacheModel", "Precaches a model for later usage." ); + ScriptRegisterFunctionNamed( g_pScriptVM, ScriptPrecacheModel, "DoPrecacheModel", SCRIPT_ALIAS( "PrecacheModel", "Precaches a model for later usage." ) ); ScriptRegisterFunction( g_pScriptVM, PrecacheMaterial, "Precaches a material for later usage." ); ScriptRegisterFunction( g_pScriptVM, PrecacheParticleSystem, "Precaches a particle system for later usage." ); - ScriptRegisterFunctionNamed( g_pScriptVM, ScriptPrecacheOther, "PrecacheOther", "Precaches an entity class for later usage." ); + ScriptRegisterFunctionNamed( g_pScriptVM, ScriptPrecacheOther, "DoPrecacheOther", SCRIPT_ALIAS( "PrecacheOther", "Precaches an entity class for later usage." ) ); // // NPCs diff --git a/sp/src/game/shared/mapdata_shared.h b/sp/src/game/shared/mapdata_shared.h index 93eb290910..5acb516602 100644 --- a/sp/src/game/shared/mapdata_shared.h +++ b/sp/src/game/shared/mapdata_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/mapentities_shared.cpp b/sp/src/game/shared/mapentities_shared.cpp index 420c3e1da7..188df325ce 100644 --- a/sp/src/game/shared/mapentities_shared.cpp +++ b/sp/src/game/shared/mapentities_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Controls the loading, parsing and creation of the entities from the BSP. // diff --git a/sp/src/game/shared/mapentities_shared.h b/sp/src/game/shared/mapentities_shared.h index fee9f0d0ef..842e9a4a7f 100644 --- a/sp/src/game/shared/mapentities_shared.h +++ b/sp/src/game/shared/mapentities_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/movetype_push.h b/sp/src/game/shared/movetype_push.h index 538b23b329..b595a8fc7b 100644 --- a/sp/src/game/shared/movetype_push.h +++ b/sp/src/game/shared/movetype_push.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/movevars_shared.cpp b/sp/src/game/shared/movevars_shared.cpp index 563d96e36f..780839360f 100644 --- a/sp/src/game/shared/movevars_shared.cpp +++ b/sp/src/game/shared/movevars_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/movevars_shared.h b/sp/src/game/shared/movevars_shared.h index 58412eb59b..7f977f3c42 100644 --- a/sp/src/game/shared/movevars_shared.h +++ b/sp/src/game/shared/movevars_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/mp_shareddefs.cpp b/sp/src/game/shared/mp_shareddefs.cpp index b555a88f71..274ecc8902 100644 --- a/sp/src/game/shared/mp_shareddefs.cpp +++ b/sp/src/game/shared/mp_shareddefs.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/mp_shareddefs.h b/sp/src/game/shared/mp_shareddefs.h index 8ad6011b73..e8ea30794e 100644 --- a/sp/src/game/shared/mp_shareddefs.h +++ b/sp/src/game/shared/mp_shareddefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/multiplay_gamerules.cpp b/sp/src/game/shared/multiplay_gamerules.cpp index 49ed4efe37..8198c45486 100644 --- a/sp/src/game/shared/multiplay_gamerules.cpp +++ b/sp/src/game/shared/multiplay_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the implementation of game rules for multiplayer. // diff --git a/sp/src/game/shared/multiplay_gamerules.h b/sp/src/game/shared/multiplay_gamerules.h index 08e06e4af3..3c50b7c81c 100644 --- a/sp/src/game/shared/multiplay_gamerules.h +++ b/sp/src/game/shared/multiplay_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/npcevent.h b/sp/src/game/shared/npcevent.h index 8f681ab7a3..05326e241d 100644 --- a/sp/src/game/shared/npcevent.h +++ b/sp/src/game/shared/npcevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/obstacle_pushaway.cpp b/sp/src/game/shared/obstacle_pushaway.cpp index 35fef4addd..62d18290c2 100644 --- a/sp/src/game/shared/obstacle_pushaway.cpp +++ b/sp/src/game/shared/obstacle_pushaway.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/obstacle_pushaway.h b/sp/src/game/shared/obstacle_pushaway.h index 4a63fc5418..049dd7b357 100644 --- a/sp/src/game/shared/obstacle_pushaway.h +++ b/sp/src/game/shared/obstacle_pushaway.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/particle_parse.cpp b/sp/src/game/shared/particle_parse.cpp index db15685d03..cd7de5e0e5 100644 --- a/sp/src/game/shared/particle_parse.cpp +++ b/sp/src/game/shared/particle_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/particle_parse.h b/sp/src/game/shared/particle_parse.h index 66f0a6dff6..3ccc02a405 100644 --- a/sp/src/game/shared/particle_parse.h +++ b/sp/src/game/shared/particle_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/particle_property.cpp b/sp/src/game/shared/particle_property.cpp index c1c44a1a03..4e47e8dc7f 100644 --- a/sp/src/game/shared/particle_property.cpp +++ b/sp/src/game/shared/particle_property.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/particle_property.h b/sp/src/game/shared/particle_property.h index 30d62e9e95..e5b7d01971 100644 --- a/sp/src/game/shared/particle_property.h +++ b/sp/src/game/shared/particle_property.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/particle_property_inlines.h b/sp/src/game/shared/particle_property_inlines.h index a6232e33f7..c264a71d7b 100644 --- a/sp/src/game/shared/particle_property_inlines.h +++ b/sp/src/game/shared/particle_property_inlines.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Define inline functions for the CParticleProperty class. The // definitions exist in this include file to avoid cluttering up diff --git a/sp/src/game/shared/particlesystemquery.cpp b/sp/src/game/shared/particlesystemquery.cpp index b97a334bb7..55d1f81e00 100644 --- a/sp/src/game/shared/particlesystemquery.cpp +++ b/sp/src/game/shared/particlesystemquery.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: particle system definitions // diff --git a/sp/src/game/shared/physics_main_shared.cpp b/sp/src/game/shared/physics_main_shared.cpp index c3719d77bd..a71cc3c92e 100644 --- a/sp/src/game/shared/physics_main_shared.cpp +++ b/sp/src/game/shared/physics_main_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/physics_saverestore.cpp b/sp/src/game/shared/physics_saverestore.cpp index 434be1f420..0bac8523dd 100644 --- a/sp/src/game/shared/physics_saverestore.cpp +++ b/sp/src/game/shared/physics_saverestore.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/physics_saverestore.h b/sp/src/game/shared/physics_saverestore.h index 1c7c0a7eb1..f17054bdf0 100644 --- a/sp/src/game/shared/physics_saverestore.h +++ b/sp/src/game/shared/physics_saverestore.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/physics_shared.cpp b/sp/src/game/shared/physics_shared.cpp index 2ab9396aad..38051af52a 100644 --- a/sp/src/game/shared/physics_shared.cpp +++ b/sp/src/game/shared/physics_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Game & Client shared functions moved from physics.cpp // diff --git a/sp/src/game/shared/physics_shared.h b/sp/src/game/shared/physics_shared.h index 0f1178ae43..1c562daba4 100644 --- a/sp/src/game/shared/physics_shared.h +++ b/sp/src/game/shared/physics_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/playerclass_info_parse.cpp b/sp/src/game/shared/playerclass_info_parse.cpp index 4938fb7f22..a4cff6a01c 100644 --- a/sp/src/game/shared/playerclass_info_parse.cpp +++ b/sp/src/game/shared/playerclass_info_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon data file parsing, shared by game & client dlls. // diff --git a/sp/src/game/shared/playerclass_info_parse.h b/sp/src/game/shared/playerclass_info_parse.h index 1f008333fb..03c5f4b89a 100644 --- a/sp/src/game/shared/playerclass_info_parse.h +++ b/sp/src/game/shared/playerclass_info_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player class data file parsing, shared by game & client dlls. // diff --git a/sp/src/game/shared/playernet_vars.h b/sp/src/game/shared/playernet_vars.h index 961e079691..df87d931df 100644 --- a/sp/src/game/shared/playernet_vars.h +++ b/sp/src/game/shared/playernet_vars.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/point_bonusmaps_accessor.cpp b/sp/src/game/shared/point_bonusmaps_accessor.cpp index 56a650fd26..d196c300a2 100644 --- a/sp/src/game/shared/point_bonusmaps_accessor.cpp +++ b/sp/src/game/shared/point_bonusmaps_accessor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/point_bonusmaps_accessor.h b/sp/src/game/shared/point_bonusmaps_accessor.h index a78b2f5067..4633047d51 100644 --- a/sp/src/game/shared/point_bonusmaps_accessor.h +++ b/sp/src/game/shared/point_bonusmaps_accessor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/point_posecontroller.cpp b/sp/src/game/shared/point_posecontroller.cpp index 43404fc8a5..fa7e7e308f 100644 --- a/sp/src/game/shared/point_posecontroller.cpp +++ b/sp/src/game/shared/point_posecontroller.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Controls the pose parameters of a model // diff --git a/sp/src/game/shared/point_posecontroller.h b/sp/src/game/shared/point_posecontroller.h index ab8e2e83a6..249ceb651f 100644 --- a/sp/src/game/shared/point_posecontroller.h +++ b/sp/src/game/shared/point_posecontroller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Controls the pose parameters of a model // diff --git a/sp/src/game/shared/positionwatcher.h b/sp/src/game/shared/positionwatcher.h index 7e01c0f205..c5f601b7a8 100644 --- a/sp/src/game/shared/positionwatcher.h +++ b/sp/src/game/shared/positionwatcher.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/precache_register.cpp b/sp/src/game/shared/precache_register.cpp index a49b5fc431..57bb38ce1c 100644 --- a/sp/src/game/shared/precache_register.cpp +++ b/sp/src/game/shared/precache_register.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/precache_register.h b/sp/src/game/shared/precache_register.h index 379949f0da..225ee01207 100644 --- a/sp/src/game/shared/precache_register.h +++ b/sp/src/game/shared/precache_register.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/precipitation_shared.h b/sp/src/game/shared/precipitation_shared.h index cb5f819cf7..471ce18823 100644 --- a/sp/src/game/shared/precipitation_shared.h +++ b/sp/src/game/shared/precipitation_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predictable_entity.h b/sp/src/game/shared/predictable_entity.h index fa0bf3d7bd..b752e72c25 100644 --- a/sp/src/game/shared/predictable_entity.h +++ b/sp/src/game/shared/predictable_entity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predictableid.cpp b/sp/src/game/shared/predictableid.cpp index b1ca780acd..fa37c49e55 100644 --- a/sp/src/game/shared/predictableid.cpp +++ b/sp/src/game/shared/predictableid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predictableid.h b/sp/src/game/shared/predictableid.h index 703de9a812..d10ed6a081 100644 --- a/sp/src/game/shared/predictableid.h +++ b/sp/src/game/shared/predictableid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predicted_viewmodel.cpp b/sp/src/game/shared/predicted_viewmodel.cpp index 53c024c2ff..448e49c9e6 100644 --- a/sp/src/game/shared/predicted_viewmodel.cpp +++ b/sp/src/game/shared/predicted_viewmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predicted_viewmodel.h b/sp/src/game/shared/predicted_viewmodel.h index 5284d50840..e7840b26af 100644 --- a/sp/src/game/shared/predicted_viewmodel.h +++ b/sp/src/game/shared/predicted_viewmodel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predictioncopy.cpp b/sp/src/game/shared/predictioncopy.cpp index 72c3ae5269..0889fa3baf 100644 --- a/sp/src/game/shared/predictioncopy.cpp +++ b/sp/src/game/shared/predictioncopy.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/predictioncopy.h b/sp/src/game/shared/predictioncopy.h index 1fdea3be0c..2765f18481 100644 --- a/sp/src/game/shared/predictioncopy.h +++ b/sp/src/game/shared/predictioncopy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/props_shared.cpp b/sp/src/game/shared/props_shared.cpp index 6d0f920973..389d13ddcb 100644 --- a/sp/src/game/shared/props_shared.cpp +++ b/sp/src/game/shared/props_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: static_prop - don't move, don't animate, don't do anything. // physics_prop - move, take damage, but don't animate diff --git a/sp/src/game/shared/props_shared.h b/sp/src/game/shared/props_shared.h index 87ce823d22..97b82670b1 100644 --- a/sp/src/game/shared/props_shared.h +++ b/sp/src/game/shared/props_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/querycache.cpp b/sp/src/game/shared/querycache.cpp index 4450d0e3e8..5b637d776e 100644 --- a/sp/src/game/shared/querycache.cpp +++ b/sp/src/game/shared/querycache.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/querycache.h b/sp/src/game/shared/querycache.h index 774be51ed9..0309f78597 100644 --- a/sp/src/game/shared/querycache.h +++ b/sp/src/game/shared/querycache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ragdoll_shared.cpp b/sp/src/game/shared/ragdoll_shared.cpp index 494c9ebe44..e983790efc 100644 --- a/sp/src/game/shared/ragdoll_shared.cpp +++ b/sp/src/game/shared/ragdoll_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/ragdoll_shared.h b/sp/src/game/shared/ragdoll_shared.h index db2bd7b2dc..cd8bcdd81a 100644 --- a/sp/src/game/shared/ragdoll_shared.h +++ b/sp/src/game/shared/ragdoll_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/rope_helpers.cpp b/sp/src/game/shared/rope_helpers.cpp index 07a05f1cd7..7d6c0780fd 100644 --- a/sp/src/game/shared/rope_helpers.cpp +++ b/sp/src/game/shared/rope_helpers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/rope_helpers.h b/sp/src/game/shared/rope_helpers.h index 7a5ad781d7..3cbf1c691e 100644 --- a/sp/src/game/shared/rope_helpers.h +++ b/sp/src/game/shared/rope_helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/rumble_shared.h b/sp/src/game/shared/rumble_shared.h index 07707de653..a18bac5a23 100644 --- a/sp/src/game/shared/rumble_shared.h +++ b/sp/src/game/shared/rumble_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared code for XBox Rumble Effects // diff --git a/sp/src/game/shared/saverestore.cpp b/sp/src/game/shared/saverestore.cpp index 8e182ff4a7..b16fcbc9e1 100644 --- a/sp/src/game/shared/saverestore.cpp +++ b/sp/src/game/shared/saverestore.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper classes and functions for the save/restore system. // diff --git a/sp/src/game/shared/saverestore.h b/sp/src/game/shared/saverestore.h index ebadd0d06c..e20329f1a3 100644 --- a/sp/src/game/shared/saverestore.h +++ b/sp/src/game/shared/saverestore.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper classes and functions for the save/restore system. These // classes are internally structured to distinguish simple from diff --git a/sp/src/game/shared/saverestore_bitstring.h b/sp/src/game/shared/saverestore_bitstring.h index e7a6c802f2..e0fbdc6528 100644 --- a/sp/src/game/shared/saverestore_bitstring.h +++ b/sp/src/game/shared/saverestore_bitstring.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_stringtable.h b/sp/src/game/shared/saverestore_stringtable.h index 3e2ba82161..a3530f0102 100644 --- a/sp/src/game/shared/saverestore_stringtable.h +++ b/sp/src/game/shared/saverestore_stringtable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_utlclass.h b/sp/src/game/shared/saverestore_utlclass.h index ed38b68afb..338554ba4a 100644 --- a/sp/src/game/shared/saverestore_utlclass.h +++ b/sp/src/game/shared/saverestore_utlclass.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_utlmap.h b/sp/src/game/shared/saverestore_utlmap.h index 06b624abb9..27029f94f4 100644 --- a/sp/src/game/shared/saverestore_utlmap.h +++ b/sp/src/game/shared/saverestore_utlmap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_utlrbtree.h b/sp/src/game/shared/saverestore_utlrbtree.h index 33bd3ee08d..eacc3ef93c 100644 --- a/sp/src/game/shared/saverestore_utlrbtree.h +++ b/sp/src/game/shared/saverestore_utlrbtree.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_utlsymbol.h b/sp/src/game/shared/saverestore_utlsymbol.h index 176f36e627..454abf6085 100644 --- a/sp/src/game/shared/saverestore_utlsymbol.h +++ b/sp/src/game/shared/saverestore_utlsymbol.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/saverestore_utlvector.h b/sp/src/game/shared/saverestore_utlvector.h index a6b31ac829..052ec3ba0b 100644 --- a/sp/src/game/shared/saverestore_utlvector.h +++ b/sp/src/game/shared/saverestore_utlvector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sceneentity_shared.cpp b/sp/src/game/shared/sceneentity_shared.cpp index e8cb19059a..eeb10809dd 100644 --- a/sp/src/game/shared/sceneentity_shared.cpp +++ b/sp/src/game/shared/sceneentity_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sceneentity_shared.h b/sp/src/game/shared/sceneentity_shared.h index a190e53b4f..b942d88cbf 100644 --- a/sp/src/game/shared/sceneentity_shared.h +++ b/sp/src/game/shared/sceneentity_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sceneimage.cpp b/sp/src/game/shared/sceneimage.cpp index 55426008a8..d154f2d15f 100644 --- a/sp/src/game/shared/sceneimage.cpp +++ b/sp/src/game/shared/sceneimage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sceneimage.h b/sp/src/game/shared/sceneimage.h index 1d1c60861a..7f9b5da58a 100644 --- a/sp/src/game/shared/sceneimage.h +++ b/sp/src/game/shared/sceneimage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/script_intro_shared.cpp b/sp/src/game/shared/script_intro_shared.cpp index a96e9dd0d3..e862178c17 100644 --- a/sp/src/game/shared/script_intro_shared.cpp +++ b/sp/src/game/shared/script_intro_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" //----------------------------------------------------------------------------- diff --git a/sp/src/game/shared/scriptevent.h b/sp/src/game/shared/scriptevent.h index c8796136d6..604d3de66b 100644 --- a/sp/src/game/shared/scriptevent.h +++ b/sp/src/game/shared/scriptevent.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_basegrenade_projectile.cpp b/sp/src/game/shared/sdk/sdk_basegrenade_projectile.cpp index 567f7e7015..aff7599ccb 100644 --- a/sp/src/game/shared/sdk/sdk_basegrenade_projectile.cpp +++ b/sp/src/game/shared/sdk/sdk_basegrenade_projectile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_basegrenade_projectile.h b/sp/src/game/shared/sdk/sdk_basegrenade_projectile.h index 6838f2bb7d..2fd1450bf9 100644 --- a/sp/src/game/shared/sdk/sdk_basegrenade_projectile.h +++ b/sp/src/game/shared/sdk/sdk_basegrenade_projectile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_fx_shared.cpp b/sp/src/game/shared/sdk/sdk_fx_shared.cpp index e7ceb02fc1..2618264ef5 100644 --- a/sp/src/game/shared/sdk/sdk_fx_shared.cpp +++ b/sp/src/game/shared/sdk/sdk_fx_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_fx_shared.h b/sp/src/game/shared/sdk/sdk_fx_shared.h index 2437909934..74a158823f 100644 --- a/sp/src/game/shared/sdk/sdk_fx_shared.h +++ b/sp/src/game/shared/sdk/sdk_fx_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_gamemovement.cpp b/sp/src/game/shared/sdk/sdk_gamemovement.cpp index 7134e13950..f5f344cc16 100644 --- a/sp/src/game/shared/sdk/sdk_gamemovement.cpp +++ b/sp/src/game/shared/sdk/sdk_gamemovement.cpp @@ -1,11 +1,11 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // // $NoKeywords: $ //=============================================================================// -//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============ +//========= Copyright � 1996-2001, Valve LLC, All rights reserved. ============ // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_gamerules.cpp b/sp/src/game/shared/sdk/sdk_gamerules.cpp index 7aff0401be..52fb66d5bf 100644 --- a/sp/src/game/shared/sdk/sdk_gamerules.cpp +++ b/sp/src/game/shared/sdk/sdk_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The TF Game rules // diff --git a/sp/src/game/shared/sdk/sdk_gamerules.h b/sp/src/game/shared/sdk/sdk_gamerules.h index df1b79b1c1..4783f190b4 100644 --- a/sp/src/game/shared/sdk/sdk_gamerules.h +++ b/sp/src/game/shared/sdk/sdk_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The TF Game rules object // diff --git a/sp/src/game/shared/sdk/sdk_player_shared.cpp b/sp/src/game/shared/sdk/sdk_player_shared.cpp index f9b49118be..3e0c2f775e 100644 --- a/sp/src/game/shared/sdk/sdk_player_shared.cpp +++ b/sp/src/game/shared/sdk/sdk_player_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_player_shared.h b/sp/src/game/shared/sdk/sdk_player_shared.h index f745fc84f0..f895c3e384 100644 --- a/sp/src/game/shared/sdk/sdk_player_shared.h +++ b/sp/src/game/shared/sdk/sdk_player_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared Player Variables / Functions and variables that may or may not be networked // diff --git a/sp/src/game/shared/sdk/sdk_playeranimstate.cpp b/sp/src/game/shared/sdk/sdk_playeranimstate.cpp index 6effe3e483..4508efdd77 100644 --- a/sp/src/game/shared/sdk/sdk_playeranimstate.cpp +++ b/sp/src/game/shared/sdk/sdk_playeranimstate.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_playeranimstate.h b/sp/src/game/shared/sdk/sdk_playeranimstate.h index 46ca04c4f9..f514c6f974 100644 --- a/sp/src/game/shared/sdk/sdk_playeranimstate.h +++ b/sp/src/game/shared/sdk/sdk_playeranimstate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_playerclass_info_parse.cpp b/sp/src/game/shared/sdk/sdk_playerclass_info_parse.cpp index ec4276349f..e3de2c4b5f 100644 --- a/sp/src/game/shared/sdk/sdk_playerclass_info_parse.cpp +++ b/sp/src/game/shared/sdk/sdk_playerclass_info_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_playerclass_info_parse.h b/sp/src/game/shared/sdk/sdk_playerclass_info_parse.h index 2e15f34bd5..e63f0acaef 100644 --- a/sp/src/game/shared/sdk/sdk_playerclass_info_parse.h +++ b/sp/src/game/shared/sdk/sdk_playerclass_info_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_shareddefs.cpp b/sp/src/game/shared/sdk/sdk_shareddefs.cpp index 001f27309d..e452f799ca 100644 --- a/sp/src/game/shared/sdk/sdk_shareddefs.cpp +++ b/sp/src/game/shared/sdk/sdk_shareddefs.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_shareddefs.h b/sp/src/game/shared/sdk/sdk_shareddefs.h index ef3acfe729..c6556c5053 100644 --- a/sp/src/game/shared/sdk/sdk_shareddefs.h +++ b/sp/src/game/shared/sdk/sdk_shareddefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_usermessages.cpp b/sp/src/game/shared/sdk/sdk_usermessages.cpp index e42267a8ec..859d29db7d 100644 --- a/sp/src/game/shared/sdk/sdk_usermessages.cpp +++ b/sp/src/game/shared/sdk/sdk_usermessages.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_weapon_melee.cpp b/sp/src/game/shared/sdk/sdk_weapon_melee.cpp index 0a92f21b67..7620251e85 100644 --- a/sp/src/game/shared/sdk/sdk_weapon_melee.cpp +++ b/sp/src/game/shared/sdk/sdk_weapon_melee.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base code for any melee based weapon // diff --git a/sp/src/game/shared/sdk/sdk_weapon_melee.h b/sp/src/game/shared/sdk/sdk_weapon_melee.h index be9d75d680..b596ed0406 100644 --- a/sp/src/game/shared/sdk/sdk_weapon_melee.h +++ b/sp/src/game/shared/sdk/sdk_weapon_melee.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Base code for any melee based weapon // diff --git a/sp/src/game/shared/sdk/sdk_weapon_parse.cpp b/sp/src/game/shared/sdk/sdk_weapon_parse.cpp index 69303d3358..b08f777b55 100644 --- a/sp/src/game/shared/sdk/sdk_weapon_parse.cpp +++ b/sp/src/game/shared/sdk/sdk_weapon_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/sdk_weapon_parse.h b/sp/src/game/shared/sdk/sdk_weapon_parse.h index dfa0992595..1d23ffa6e3 100644 --- a/sp/src/game/shared/sdk/sdk_weapon_parse.h +++ b/sp/src/game/shared/sdk/sdk_weapon_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_basesdkgrenade.cpp b/sp/src/game/shared/sdk/weapon_basesdkgrenade.cpp index 441fd60ae4..60aecd0667 100644 --- a/sp/src/game/shared/sdk/weapon_basesdkgrenade.cpp +++ b/sp/src/game/shared/sdk/weapon_basesdkgrenade.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -88,7 +88,7 @@ bool CBaseSDKGrenade::Deploy() bool CBaseSDKGrenade::Holster( CBaseCombatWeapon *pSwitchingTo ) { m_bRedraw = false; - m_bPinPulled = false; // when this is holstered make sure the pin isn’t pulled. + m_bPinPulled = false; // when this is holstered make sure the pin isn�t pulled. m_fThrowTime = 0; #ifndef CLIENT_DLL diff --git a/sp/src/game/shared/sdk/weapon_basesdkgrenade.h b/sp/src/game/shared/sdk/weapon_basesdkgrenade.h index 3eaa26c373..a3adbfef46 100644 --- a/sp/src/game/shared/sdk/weapon_basesdkgrenade.h +++ b/sp/src/game/shared/sdk/weapon_basesdkgrenade.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_crowbar.cpp b/sp/src/game/shared/sdk/weapon_crowbar.cpp index 2443cdd410..f2e032869f 100644 --- a/sp/src/game/shared/sdk/weapon_crowbar.cpp +++ b/sp/src/game/shared/sdk/weapon_crowbar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_grenade.cpp b/sp/src/game/shared/sdk/weapon_grenade.cpp index 428acc026c..13e8b98769 100644 --- a/sp/src/game/shared/sdk/weapon_grenade.cpp +++ b/sp/src/game/shared/sdk/weapon_grenade.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_grenade.h b/sp/src/game/shared/sdk/weapon_grenade.h index 9d8434bbcd..22caf22c08 100644 --- a/sp/src/game/shared/sdk/weapon_grenade.h +++ b/sp/src/game/shared/sdk/weapon_grenade.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_mp5.cpp b/sp/src/game/shared/sdk/weapon_mp5.cpp index 691f1a9cc6..789ee1de3a 100644 --- a/sp/src/game/shared/sdk/weapon_mp5.cpp +++ b/sp/src/game/shared/sdk/weapon_mp5.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_pistol.cpp b/sp/src/game/shared/sdk/weapon_pistol.cpp index 1791d67147..f6b5e81957 100644 --- a/sp/src/game/shared/sdk/weapon_pistol.cpp +++ b/sp/src/game/shared/sdk/weapon_pistol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_sdkbase.cpp b/sp/src/game/shared/sdk/weapon_sdkbase.cpp index f6e5929130..b4c1c6f786 100644 --- a/sp/src/game/shared/sdk/weapon_sdkbase.cpp +++ b/sp/src/game/shared/sdk/weapon_sdkbase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_sdkbase.h b/sp/src/game/shared/sdk/weapon_sdkbase.h index b91ff881da..bc06b6fa11 100644 --- a/sp/src/game/shared/sdk/weapon_sdkbase.h +++ b/sp/src/game/shared/sdk/weapon_sdkbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sdk/weapon_shotgun.cpp b/sp/src/game/shared/sdk/weapon_shotgun.cpp index b4cd059a49..5875fc8571 100644 --- a/sp/src/game/shared/sdk/weapon_shotgun.cpp +++ b/sp/src/game/shared/sdk/weapon_shotgun.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sequence_Transitioner.cpp b/sp/src/game/shared/sequence_Transitioner.cpp index 62e9346fc7..7cd089be38 100644 --- a/sp/src/game/shared/sequence_Transitioner.cpp +++ b/sp/src/game/shared/sequence_Transitioner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sequence_Transitioner.h b/sp/src/game/shared/sequence_Transitioner.h index 8ad23ada27..230712e01d 100644 --- a/sp/src/game/shared/sequence_Transitioner.h +++ b/sp/src/game/shared/sequence_Transitioner.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sharedInterface.h b/sp/src/game/shared/sharedInterface.h index 4f668373b8..636a094ef5 100644 --- a/sp/src/game/shared/sharedInterface.h +++ b/sp/src/game/shared/sharedInterface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Exposes client-server neutral interfaces implemented in both places // diff --git a/sp/src/game/shared/shared_classnames.h b/sp/src/game/shared/shared_classnames.h index 48749cf756..7e68b0fb5d 100644 --- a/sp/src/game/shared/shared_classnames.h +++ b/sp/src/game/shared/shared_classnames.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/shareddefs.h b/sp/src/game/shared/shareddefs.h index 2f127c30e7..a4ccad424a 100644 --- a/sp/src/game/shared/shareddefs.h +++ b/sp/src/game/shared/shareddefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Definitions that are shared by the game DLL and the client DLL. // diff --git a/sp/src/game/shared/sheetsimulator.cpp b/sp/src/game/shared/sheetsimulator.cpp index 4c4de5748d..b78f51b694 100644 --- a/sp/src/game/shared/sheetsimulator.cpp +++ b/sp/src/game/shared/sheetsimulator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The Escort's Shield weapon effect // diff --git a/sp/src/game/shared/sheetsimulator.h b/sp/src/game/shared/sheetsimulator.h index aac523ef23..da4cd4891a 100644 --- a/sp/src/game/shared/sheetsimulator.h +++ b/sp/src/game/shared/sheetsimulator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/shot_manipulator.h b/sp/src/game/shared/shot_manipulator.h index 4056cb344c..d3d3089327 100644 --- a/sp/src/game/shared/shot_manipulator.h +++ b/sp/src/game/shared/shot_manipulator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/simtimer.cpp b/sp/src/game/shared/simtimer.cpp index 2b2520999d..df9b2b5e98 100644 --- a/sp/src/game/shared/simtimer.cpp +++ b/sp/src/game/shared/simtimer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/simtimer.h b/sp/src/game/shared/simtimer.h index 7f26c416c2..c9b9982fca 100644 --- a/sp/src/game/shared/simtimer.h +++ b/sp/src/game/shared/simtimer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/singleplay_gamerules.cpp b/sp/src/game/shared/singleplay_gamerules.cpp index 93bec0b1cd..feae76aa84 100644 --- a/sp/src/game/shared/singleplay_gamerules.cpp +++ b/sp/src/game/shared/singleplay_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/singleplay_gamerules.h b/sp/src/game/shared/singleplay_gamerules.h index 3b48b437a0..c1d4a70ec6 100644 --- a/sp/src/game/shared/singleplay_gamerules.h +++ b/sp/src/game/shared/singleplay_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sixense/sixense_convars.cpp b/sp/src/game/shared/sixense/sixense_convars.cpp index f998377fa0..269f6e97ec 100644 --- a/sp/src/game/shared/sixense/sixense_convars.cpp +++ b/sp/src/game/shared/sixense/sixense_convars.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "cbase.h" #include "convar.h" diff --git a/sp/src/game/shared/sixense/sixense_convars_extern.h b/sp/src/game/shared/sixense/sixense_convars_extern.h index 0fe4d88550..6bc25d60a8 100644 --- a/sp/src/game/shared/sixense/sixense_convars_extern.h +++ b/sp/src/game/shared/sixense/sixense_convars_extern.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// class ConVar; diff --git a/sp/src/game/shared/smoke_fog_overlay_shared.h b/sp/src/game/shared/smoke_fog_overlay_shared.h index 2674e5effe..775ba6b7ef 100644 --- a/sp/src/game/shared/smoke_fog_overlay_shared.h +++ b/sp/src/game/shared/smoke_fog_overlay_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef SMOKE_FOG_OVERLAY_SHARED_H #define SMOKE_FOG_OVERLAY_SHARED_H diff --git a/sp/src/game/shared/solidsetdefaults.h b/sp/src/game/shared/solidsetdefaults.h index 101779646d..672a2e39a7 100644 --- a/sp/src/game/shared/solidsetdefaults.h +++ b/sp/src/game/shared/solidsetdefaults.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/soundenvelope.cpp b/sp/src/game/shared/soundenvelope.cpp index e262aa2697..c6ee1b1f4f 100644 --- a/sp/src/game/shared/soundenvelope.cpp +++ b/sp/src/game/shared/soundenvelope.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/soundenvelope.h b/sp/src/game/shared/soundenvelope.h index 5a84b59975..20a691e7fa 100644 --- a/sp/src/game/shared/soundenvelope.h +++ b/sp/src/game/shared/soundenvelope.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/studio_shared.cpp b/sp/src/game/shared/studio_shared.cpp index aaf4e148b3..be5bcbbea9 100644 --- a/sp/src/game/shared/studio_shared.cpp +++ b/sp/src/game/shared/studio_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/sun_shared.h b/sp/src/game/shared/sun_shared.h index 7696908c32..177b354193 100644 --- a/sp/src/game/shared/sun_shared.h +++ b/sp/src/game/shared/sun_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/takedamageinfo.cpp b/sp/src/game/shared/takedamageinfo.cpp index 269f804348..c4de4a3a8a 100644 --- a/sp/src/game/shared/takedamageinfo.cpp +++ b/sp/src/game/shared/takedamageinfo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/takedamageinfo.h b/sp/src/game/shared/takedamageinfo.h index 046c8111b7..bf1db0e290 100644 --- a/sp/src/game/shared/takedamageinfo.h +++ b/sp/src/game/shared/takedamageinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/teamplay_gamerules.cpp b/sp/src/game/shared/teamplay_gamerules.cpp index 171313b3c4..b864d11c02 100644 --- a/sp/src/game/shared/teamplay_gamerules.cpp +++ b/sp/src/game/shared/teamplay_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/teamplay_gamerules.h b/sp/src/game/shared/teamplay_gamerules.h index 952895eb92..f29bfcabac 100644 --- a/sp/src/game/shared/teamplay_gamerules.h +++ b/sp/src/game/shared/teamplay_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/teamplay_round_timer.cpp b/sp/src/game/shared/teamplay_round_timer.cpp index 4394fe555b..54f402efb6 100644 --- a/sp/src/game/shared/teamplay_round_timer.cpp +++ b/sp/src/game/shared/teamplay_round_timer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Team gamerules round timer // diff --git a/sp/src/game/shared/teamplay_round_timer.h b/sp/src/game/shared/teamplay_round_timer.h index 103b2546de..9c8df18847 100644 --- a/sp/src/game/shared/teamplay_round_timer.h +++ b/sp/src/game/shared/teamplay_round_timer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Round timer for team gamerules // diff --git a/sp/src/game/shared/teamplayroundbased_gamerules.cpp b/sp/src/game/shared/teamplayroundbased_gamerules.cpp index 26a75b1872..5ae18660e8 100644 --- a/sp/src/game/shared/teamplayroundbased_gamerules.cpp +++ b/sp/src/game/shared/teamplayroundbased_gamerules.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/teamplayroundbased_gamerules.h b/sp/src/game/shared/teamplayroundbased_gamerules.h index cf58409210..b8c725a275 100644 --- a/sp/src/game/shared/teamplayroundbased_gamerules.h +++ b/sp/src/game/shared/teamplayroundbased_gamerules.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Teamplay game rules that manage a round based structure for you // diff --git a/sp/src/game/shared/tempentity.h b/sp/src/game/shared/tempentity.h index cc7e96a738..2b23794edc 100644 --- a/sp/src/game/shared/tempentity.h +++ b/sp/src/game/shared/tempentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/test_ehandle.cpp b/sp/src/game/shared/test_ehandle.cpp index 3e5a0d2bae..3a02e428cd 100644 --- a/sp/src/game/shared/test_ehandle.cpp +++ b/sp/src/game/shared/test_ehandle.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/touchlink.h b/sp/src/game/shared/touchlink.h index 5bb115de77..e2a34b84cc 100644 --- a/sp/src/game/shared/touchlink.h +++ b/sp/src/game/shared/touchlink.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared data definition file for touch links // diff --git a/sp/src/game/shared/usercmd.cpp b/sp/src/game/shared/usercmd.cpp index 1607eba3dc..4e25f5300e 100644 --- a/sp/src/game/shared/usercmd.cpp +++ b/sp/src/game/shared/usercmd.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/usercmd.h b/sp/src/game/shared/usercmd.h index 04ff44ed03..622aabf019 100644 --- a/sp/src/game/shared/usercmd.h +++ b/sp/src/game/shared/usercmd.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/usermessages.cpp b/sp/src/game/shared/usermessages.cpp index 6b3ad681fc..e2fead8823 100644 --- a/sp/src/game/shared/usermessages.cpp +++ b/sp/src/game/shared/usermessages.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/usermessages.h b/sp/src/game/shared/usermessages.h index 16a32797ff..582e9ec7b3 100644 --- a/sp/src/game/shared/usermessages.h +++ b/sp/src/game/shared/usermessages.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/util_shared.cpp b/sp/src/game/shared/util_shared.cpp index be44201d54..7fbb0685f8 100644 --- a/sp/src/game/shared/util_shared.cpp +++ b/sp/src/game/shared/util_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/util_shared.h b/sp/src/game/shared/util_shared.h index 98f6ba4ebb..20b0bfe01f 100644 --- a/sp/src/game/shared/util_shared.h +++ b/sp/src/game/shared/util_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared util code between client and server. // diff --git a/sp/src/game/shared/vehicle_choreo_generic_shared.h b/sp/src/game/shared/vehicle_choreo_generic_shared.h index 8d6c1e1cbd..89511a9d4c 100644 --- a/sp/src/game/shared/vehicle_choreo_generic_shared.h +++ b/sp/src/game/shared/vehicle_choreo_generic_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/vehicle_viewblend_shared.cpp b/sp/src/game/shared/vehicle_viewblend_shared.cpp index fab2d30960..067dc43ea5 100644 --- a/sp/src/game/shared/vehicle_viewblend_shared.cpp +++ b/sp/src/game/shared/vehicle_viewblend_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Used to calculate the player's view in the vehicle // diff --git a/sp/src/game/shared/vehicle_viewblend_shared.h b/sp/src/game/shared/vehicle_viewblend_shared.h index a741490669..f55cfbed0f 100644 --- a/sp/src/game/shared/vehicle_viewblend_shared.h +++ b/sp/src/game/shared/vehicle_viewblend_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/vgui_defaultinputsignal.h b/sp/src/game/shared/vgui_defaultinputsignal.h index 858a528403..f200c9492e 100644 --- a/sp/src/game/shared/vgui_defaultinputsignal.h +++ b/sp/src/game/shared/vgui_defaultinputsignal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/viewport_panel_names.h b/sp/src/game/shared/viewport_panel_names.h index b5794931b7..f148aadf7a 100644 --- a/sp/src/game/shared/viewport_panel_names.h +++ b/sp/src/game/shared/viewport_panel_names.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_banmgr.cpp b/sp/src/game/shared/voice_banmgr.cpp index d362d58f6f..46c920028b 100644 --- a/sp/src/game/shared/voice_banmgr.cpp +++ b/sp/src/game/shared/voice_banmgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_banmgr.h b/sp/src/game/shared/voice_banmgr.h index 6adfdc55eb..aa3a8197ec 100644 --- a/sp/src/game/shared/voice_banmgr.h +++ b/sp/src/game/shared/voice_banmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_common.h b/sp/src/game/shared/voice_common.h index 86511e9db2..d1a5a05ae8 100644 --- a/sp/src/game/shared/voice_common.h +++ b/sp/src/game/shared/voice_common.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_gamemgr.cpp b/sp/src/game/shared/voice_gamemgr.cpp index 2feb048db0..b280d2abe1 100644 --- a/sp/src/game/shared/voice_gamemgr.cpp +++ b/sp/src/game/shared/voice_gamemgr.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_gamemgr.h b/sp/src/game/shared/voice_gamemgr.h index a572469fc2..8d90080254 100644 --- a/sp/src/game/shared/voice_gamemgr.h +++ b/sp/src/game/shared/voice_gamemgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_status.cpp b/sp/src/game/shared/voice_status.cpp index 0272c55408..35cfb94cc9 100644 --- a/sp/src/game/shared/voice_status.cpp +++ b/sp/src/game/shared/voice_status.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/voice_status.h b/sp/src/game/shared/voice_status.h index f9bc4268e1..6ff85f5c08 100644 --- a/sp/src/game/shared/voice_status.h +++ b/sp/src/game/shared/voice_status.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/vphysics_sound.h b/sp/src/game/shared/vphysics_sound.h index 591a0dbf96..bd6499da90 100644 --- a/sp/src/game/shared/vphysics_sound.h +++ b/sp/src/game/shared/vphysics_sound.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/vphysicsupdateai.h b/sp/src/game/shared/vphysicsupdateai.h index 02ce7e1c13..fd986e8db4 100644 --- a/sp/src/game/shared/vphysicsupdateai.h +++ b/sp/src/game/shared/vphysicsupdateai.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/vscript_shared.cpp b/sp/src/game/shared/vscript_shared.cpp index c41ddea6fc..ad512a17d0 100644 --- a/sp/src/game/shared/vscript_shared.cpp +++ b/sp/src/game/shared/vscript_shared.cpp @@ -507,7 +507,7 @@ void RunAutorunScripts() //----------------------------------------------------------------------------- -static short VSCRIPT_SERVER_SAVE_RESTORE_VERSION = 2; +static short VSCRIPT_SERVER_SAVE_RESTORE_VERSION = 3; //----------------------------------------------------------------------------- diff --git a/sp/src/game/shared/vscript_shared.h b/sp/src/game/shared/vscript_shared.h index 508342208d..0447ab8bba 100644 --- a/sp/src/game/shared/vscript_shared.h +++ b/sp/src/game/shared/vscript_shared.h @@ -21,12 +21,16 @@ inline bool VScriptRunScript( const char *pszScriptName, bool bWarnMissing = fal #define DECLARE_ENT_SCRIPTDESC() ALLOW_SCRIPT_ACCESS(); virtual ScriptClassDesc_t *GetScriptDesc() -#define BEGIN_ENT_SCRIPTDESC( className, baseClass, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC( className, baseClass, description ) -#define BEGIN_ENT_SCRIPTDESC_ROOT( className, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT( className, description ) -#define BEGIN_ENT_SCRIPTDESC_NAMED( className, baseClass, scriptName, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_NAMED( className, baseClass, scriptName, description ) -#define BEGIN_ENT_SCRIPTDESC_ROOT_NAMED( className, scriptName, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT_NAMED( className, scriptName, description ) - -#define _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ) template <> ScriptClassDesc_t * GetScriptDesc( className * ); ScriptClassDesc_t *className::GetScriptDesc() { return ::GetScriptDesc( this ); } +#define BEGIN_ENT_SCRIPTDESC( className, baseClass, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC( className, baseClass, description ) +#define BEGIN_ENT_SCRIPTDESC_WITH_HELPER( className, baseClass, description, helper ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_WITH_HELPER( className, baseClass, description, helper ) +#define BEGIN_ENT_SCRIPTDESC_ROOT( className, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT( className, description ) +#define BEGIN_ENT_SCRIPTDESC_ROOT_WITH_HELPER( className, description, helper ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( className, description, helper ) +#define BEGIN_ENT_SCRIPTDESC_NAMED( className, baseClass, scriptName, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_NAMED( className, baseClass, scriptName, description ) +#define BEGIN_ENT_SCRIPTDESC_NAMED_WITH_HELPER( className, baseClass, scriptName, description, helper ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_NAMED_WITH_HELPER( className, baseClass, scriptName, description, helper ) +#define BEGIN_ENT_SCRIPTDESC_ROOT_NAMED( className, scriptName, description ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT_NAMED( className, scriptName, description ) +#define BEGIN_ENT_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( className, scriptName, description, helper ) _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ); BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( className, scriptName, description, helper ) + +#define _IMPLEMENT_ENT_SCRIPTDESC_ACCESSOR( className ) template <> ScriptClassDesc_t * GetScriptDesc( className *, bool ); ScriptClassDesc_t *className::GetScriptDesc() { return ::GetScriptDesc( this ); } // Only allow scripts to create entities during map initialization bool IsEntityCreationAllowedInScripts( void ); diff --git a/sp/src/game/shared/weapon_ifmbase.cpp b/sp/src/game/shared/weapon_ifmbase.cpp index 8051dc3712..fd9079bdc8 100644 --- a/sp/src/game/shared/weapon_ifmbase.cpp +++ b/sp/src/game/shared/weapon_ifmbase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_ifmbase.h b/sp/src/game/shared/weapon_ifmbase.h index cf0b93c3d6..dfb4ae5f06 100644 --- a/sp/src/game/shared/weapon_ifmbase.h +++ b/sp/src/game/shared/weapon_ifmbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_ifmbasecamera.cpp b/sp/src/game/shared/weapon_ifmbasecamera.cpp index 3c196e6ec3..e1174ab8e9 100644 --- a/sp/src/game/shared/weapon_ifmbasecamera.cpp +++ b/sp/src/game/shared/weapon_ifmbasecamera.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_ifmbasecamera.h b/sp/src/game/shared/weapon_ifmbasecamera.h index bd12c2f477..8b781385e7 100644 --- a/sp/src/game/shared/weapon_ifmbasecamera.h +++ b/sp/src/game/shared/weapon_ifmbasecamera.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_ifmsteadycam.cpp b/sp/src/game/shared/weapon_ifmsteadycam.cpp index dcdc8a6c7e..c8e0e6203f 100644 --- a/sp/src/game/shared/weapon_ifmsteadycam.cpp +++ b/sp/src/game/shared/weapon_ifmsteadycam.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_ifmsteadycam.h b/sp/src/game/shared/weapon_ifmsteadycam.h index 98f32bae09..03d58aa1ea 100644 --- a/sp/src/game/shared/weapon_ifmsteadycam.h +++ b/sp/src/game/shared/weapon_ifmsteadycam.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_parse.cpp b/sp/src/game/shared/weapon_parse.cpp index 872c6ad0e9..21ca8b5307 100644 --- a/sp/src/game/shared/weapon_parse.cpp +++ b/sp/src/game/shared/weapon_parse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon data file parsing, shared by game & client dlls. // diff --git a/sp/src/game/shared/weapon_parse.h b/sp/src/game/shared/weapon_parse.h index 4ba7b02cc6..e11803ca08 100644 --- a/sp/src/game/shared/weapon_parse.h +++ b/sp/src/game/shared/weapon_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Weapon data file parsing, shared by game & client dlls. // diff --git a/sp/src/game/shared/weapon_parse_default.cpp b/sp/src/game/shared/weapon_parse_default.cpp index 092f2e7ae0..935add0448 100644 --- a/sp/src/game/shared/weapon_parse_default.cpp +++ b/sp/src/game/shared/weapon_parse_default.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_proficiency.cpp b/sp/src/game/shared/weapon_proficiency.cpp index c51efc301e..ae0ec9a265 100644 --- a/sp/src/game/shared/weapon_proficiency.cpp +++ b/sp/src/game/shared/weapon_proficiency.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/game/shared/weapon_proficiency.h b/sp/src/game/shared/weapon_proficiency.h index e91f67cf77..3549576822 100644 --- a/sp/src/game/shared/weapon_proficiency.h +++ b/sp/src/game/shared/weapon_proficiency.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/lib/public/fgdlib.lib b/sp/src/lib/public/fgdlib.lib deleted file mode 100644 index df0540b1ad..0000000000 Binary files a/sp/src/lib/public/fgdlib.lib and /dev/null differ diff --git a/sp/src/lib/public/fgdlib.pdb b/sp/src/lib/public/fgdlib.pdb new file mode 100644 index 0000000000..0e81ded388 Binary files /dev/null and b/sp/src/lib/public/fgdlib.pdb differ diff --git a/sp/src/lib/public/mathlib.lib b/sp/src/lib/public/mathlib.lib deleted file mode 100644 index 309a511244..0000000000 Binary files a/sp/src/lib/public/mathlib.lib and /dev/null differ diff --git a/sp/src/lib/public/mathlib.pdb b/sp/src/lib/public/mathlib.pdb new file mode 100644 index 0000000000..e5ca5da5f9 Binary files /dev/null and b/sp/src/lib/public/mathlib.pdb differ diff --git a/sp/src/lib/public/raytrace.lib b/sp/src/lib/public/raytrace.lib deleted file mode 100644 index a9fbf646ef..0000000000 Binary files a/sp/src/lib/public/raytrace.lib and /dev/null differ diff --git a/sp/src/lib/public/tier1.lib b/sp/src/lib/public/tier1.lib deleted file mode 100644 index a679ced2e4..0000000000 Binary files a/sp/src/lib/public/tier1.lib and /dev/null differ diff --git a/sp/src/lib/public/tier1.pdb b/sp/src/lib/public/tier1.pdb new file mode 100644 index 0000000000..5ecdaf2e51 Binary files /dev/null and b/sp/src/lib/public/tier1.pdb differ diff --git a/sp/src/materialsystem/shaderapidx9/locald3dtypes.h b/sp/src/materialsystem/shaderapidx9/locald3dtypes.h index ad4535585e..ae49ccb5a7 100644 --- a/sp/src/materialsystem/shaderapidx9/locald3dtypes.h +++ b/sp/src/materialsystem/shaderapidx9/locald3dtypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BaseVSShader.cpp b/sp/src/materialsystem/stdshaders/BaseVSShader.cpp index 98e6d6c2ab..4be3ccaa9b 100644 --- a/sp/src/materialsystem/stdshaders/BaseVSShader.cpp +++ b/sp/src/materialsystem/stdshaders/BaseVSShader.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BaseVSShader.h b/sp/src/materialsystem/stdshaders/BaseVSShader.h index ef6b866077..ce691e70b8 100644 --- a/sp/src/materialsystem/stdshaders/BaseVSShader.h +++ b/sp/src/materialsystem/stdshaders/BaseVSShader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BlurFilterX.cpp b/sp/src/materialsystem/stdshaders/BlurFilterX.cpp index f462423a88..dc095746a8 100644 --- a/sp/src/materialsystem/stdshaders/BlurFilterX.cpp +++ b/sp/src/materialsystem/stdshaders/BlurFilterX.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BlurFilterX_dx80.cpp b/sp/src/materialsystem/stdshaders/BlurFilterX_dx80.cpp index 6eecfef2fb..ffa5144b9c 100644 --- a/sp/src/materialsystem/stdshaders/BlurFilterX_dx80.cpp +++ b/sp/src/materialsystem/stdshaders/BlurFilterX_dx80.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BlurFilterY.cpp b/sp/src/materialsystem/stdshaders/BlurFilterY.cpp index f252fea5eb..90769d5d84 100644 --- a/sp/src/materialsystem/stdshaders/BlurFilterY.cpp +++ b/sp/src/materialsystem/stdshaders/BlurFilterY.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/BlurFilterY_dx80.cpp b/sp/src/materialsystem/stdshaders/BlurFilterY_dx80.cpp index 5e01d60882..1260af072b 100644 --- a/sp/src/materialsystem/stdshaders/BlurFilterY_dx80.cpp +++ b/sp/src/materialsystem/stdshaders/BlurFilterY_dx80.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/DebugDrawEnvmapMask.cpp b/sp/src/materialsystem/stdshaders/DebugDrawEnvmapMask.cpp index 9f3c34bfb3..c893365de2 100644 --- a/sp/src/materialsystem/stdshaders/DebugDrawEnvmapMask.cpp +++ b/sp/src/materialsystem/stdshaders/DebugDrawEnvmapMask.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/DebugTextureView.cpp b/sp/src/materialsystem/stdshaders/DebugTextureView.cpp index 70d73d3483..7c4b57d40d 100644 --- a/sp/src/materialsystem/stdshaders/DebugTextureView.cpp +++ b/sp/src/materialsystem/stdshaders/DebugTextureView.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "BaseVSShader.h" #include "shaderlib/cshader.h" diff --git a/sp/src/materialsystem/stdshaders/WorldVertexTransition_dx8.cpp b/sp/src/materialsystem/stdshaders/WorldVertexTransition_dx8.cpp index 331f8f172e..c4f406dde1 100644 --- a/sp/src/materialsystem/stdshaders/WorldVertexTransition_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/WorldVertexTransition_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/cable_dx6.cpp b/sp/src/materialsystem/stdshaders/cable_dx6.cpp index 9b11551f00..f8a9eed61b 100644 --- a/sp/src/materialsystem/stdshaders/cable_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/cable_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/cable_dx8.cpp b/sp/src/materialsystem/stdshaders/cable_dx8.cpp index 9e3c98ddb1..a9475a3176 100644 --- a/sp/src/materialsystem/stdshaders/cable_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/cable_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A wet version of base * lightmap // diff --git a/sp/src/materialsystem/stdshaders/cable_dx9.cpp b/sp/src/materialsystem/stdshaders/cable_dx9.cpp index 49df334c2a..722ff7adfc 100644 --- a/sp/src/materialsystem/stdshaders/cable_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/cable_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A wet version of base * lightmap // diff --git a/sp/src/materialsystem/stdshaders/cloud.cpp b/sp/src/materialsystem/stdshaders/cloud.cpp index 810e6c4d29..df067aae40 100644 --- a/sp/src/materialsystem/stdshaders/cloud.cpp +++ b/sp/src/materialsystem/stdshaders/cloud.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/cloud_dx8.cpp b/sp/src/materialsystem/stdshaders/cloud_dx8.cpp index d3bc253033..49595adb78 100644 --- a/sp/src/materialsystem/stdshaders/cloud_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/cloud_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/cloud_dx9.cpp b/sp/src/materialsystem/stdshaders/cloud_dx9.cpp index 4b04b8b4de..87de444c66 100644 --- a/sp/src/materialsystem/stdshaders/cloud_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/cloud_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // DirectX 9 Cloud shader // diff --git a/sp/src/materialsystem/stdshaders/commandbuilder.h b/sp/src/materialsystem/stdshaders/commandbuilder.h index 278f2dcea2..d9d5298d5d 100644 --- a/sp/src/materialsystem/stdshaders/commandbuilder.h +++ b/sp/src/materialsystem/stdshaders/commandbuilder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/common_flashlight_fxc.h b/sp/src/materialsystem/stdshaders/common_flashlight_fxc.h index c14f6c03ac..84f0bc478a 100644 --- a/sp/src/materialsystem/stdshaders/common_flashlight_fxc.h +++ b/sp/src/materialsystem/stdshaders/common_flashlight_fxc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Common pixel shader code specific to flashlights // diff --git a/sp/src/materialsystem/stdshaders/common_fxc.h b/sp/src/materialsystem/stdshaders/common_fxc.h index 65f0802d25..44b9b7374a 100644 --- a/sp/src/materialsystem/stdshaders/common_fxc.h +++ b/sp/src/materialsystem/stdshaders/common_fxc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/common_fxc2.h b/sp/src/materialsystem/stdshaders/common_fxc2.h index 33a25aa04a..cb48597230 100644 --- a/sp/src/materialsystem/stdshaders/common_fxc2.h +++ b/sp/src/materialsystem/stdshaders/common_fxc2.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/common_hlsl_cpp_consts.h b/sp/src/materialsystem/stdshaders/common_hlsl_cpp_consts.h index 41bc715323..fde60d310d 100644 --- a/sp/src/materialsystem/stdshaders/common_hlsl_cpp_consts.h +++ b/sp/src/materialsystem/stdshaders/common_hlsl_cpp_consts.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/common_lightmappedgeneric_fxc.h b/sp/src/materialsystem/stdshaders/common_lightmappedgeneric_fxc.h index aa67074625..cc0c0494a5 100644 --- a/sp/src/materialsystem/stdshaders/common_lightmappedgeneric_fxc.h +++ b/sp/src/materialsystem/stdshaders/common_lightmappedgeneric_fxc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #if defined( _X360 ) diff --git a/sp/src/materialsystem/stdshaders/common_pragmas.h b/sp/src/materialsystem/stdshaders/common_pragmas.h index c22a76b140..c91bc2978d 100644 --- a/sp/src/materialsystem/stdshaders/common_pragmas.h +++ b/sp/src/materialsystem/stdshaders/common_pragmas.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Common shader compiler pragmas // diff --git a/sp/src/materialsystem/stdshaders/common_ps_fxc.h b/sp/src/materialsystem/stdshaders/common_ps_fxc.h index c7a1a0597e..e7a3a48366 100644 --- a/sp/src/materialsystem/stdshaders/common_ps_fxc.h +++ b/sp/src/materialsystem/stdshaders/common_ps_fxc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Common pixel shader code // diff --git a/sp/src/materialsystem/stdshaders/common_vertexlitgeneric_dx9.h b/sp/src/materialsystem/stdshaders/common_vertexlitgeneric_dx9.h index c12605916d..dfcd00aa75 100644 --- a/sp/src/materialsystem/stdshaders/common_vertexlitgeneric_dx9.h +++ b/sp/src/materialsystem/stdshaders/common_vertexlitgeneric_dx9.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef COMMON_VERTEXLITGENERIC_DX9_H_ #define COMMON_VERTEXLITGENERIC_DX9_H_ diff --git a/sp/src/materialsystem/stdshaders/common_vs_fxc.h b/sp/src/materialsystem/stdshaders/common_vs_fxc.h index 291118a471..de34639be4 100644 --- a/sp/src/materialsystem/stdshaders/common_vs_fxc.h +++ b/sp/src/materialsystem/stdshaders/common_vs_fxc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is where all common code for vertex shaders go. // diff --git a/sp/src/materialsystem/stdshaders/cpp_shader_constant_register_map.h b/sp/src/materialsystem/stdshaders/cpp_shader_constant_register_map.h index a89e8eae3b..bd3c28ae98 100644 --- a/sp/src/materialsystem/stdshaders/cpp_shader_constant_register_map.h +++ b/sp/src/materialsystem/stdshaders/cpp_shader_constant_register_map.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provide convenient mapping for shader constants // diff --git a/sp/src/materialsystem/stdshaders/debugdepth.cpp b/sp/src/materialsystem/stdshaders/debugdepth.cpp index 65e55e0cb5..758a6edbb7 100644 --- a/sp/src/materialsystem/stdshaders/debugdepth.cpp +++ b/sp/src/materialsystem/stdshaders/debugdepth.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugluxel.cpp b/sp/src/materialsystem/stdshaders/debugluxel.cpp index b3135fcb8d..ee54d09fbb 100644 --- a/sp/src/materialsystem/stdshaders/debugluxel.cpp +++ b/sp/src/materialsystem/stdshaders/debugluxel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugmodifyvertex.cpp b/sp/src/materialsystem/stdshaders/debugmodifyvertex.cpp index c497ca95c7..9a4e37d9df 100644 --- a/sp/src/materialsystem/stdshaders/debugmodifyvertex.cpp +++ b/sp/src/materialsystem/stdshaders/debugmodifyvertex.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This is an example of a material that modifies vertex data // in the shader. NOTE: Every pass is given a clean set of vertex data. diff --git a/sp/src/materialsystem/stdshaders/debugmorphaccumulator_dx9.cpp b/sp/src/materialsystem/stdshaders/debugmorphaccumulator_dx9.cpp index 2f5c6a8ede..8c412328c5 100644 --- a/sp/src/materialsystem/stdshaders/debugmorphaccumulator_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/debugmorphaccumulator_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugmrttexture.cpp b/sp/src/materialsystem/stdshaders/debugmrttexture.cpp index 04a1128ebb..01c3f2e24d 100644 --- a/sp/src/materialsystem/stdshaders/debugmrttexture.cpp +++ b/sp/src/materialsystem/stdshaders/debugmrttexture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugnormalmap.cpp b/sp/src/materialsystem/stdshaders/debugnormalmap.cpp index 0be5246afc..af7652767c 100644 --- a/sp/src/materialsystem/stdshaders/debugnormalmap.cpp +++ b/sp/src/materialsystem/stdshaders/debugnormalmap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugsoftwarevertexshader.cpp b/sp/src/materialsystem/stdshaders/debugsoftwarevertexshader.cpp index be7cedf3b3..d3f813e161 100644 --- a/sp/src/materialsystem/stdshaders/debugsoftwarevertexshader.cpp +++ b/sp/src/materialsystem/stdshaders/debugsoftwarevertexshader.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/debugtangentspace.cpp b/sp/src/materialsystem/stdshaders/debugtangentspace.cpp index 302790123a..9b901e4697 100644 --- a/sp/src/materialsystem/stdshaders/debugtangentspace.cpp +++ b/sp/src/materialsystem/stdshaders/debugtangentspace.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/depthwrite.cpp b/sp/src/materialsystem/stdshaders/depthwrite.cpp index ecac59d76d..43ecef40bc 100644 --- a/sp/src/materialsystem/stdshaders/depthwrite.cpp +++ b/sp/src/materialsystem/stdshaders/depthwrite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/detail.cpp b/sp/src/materialsystem/stdshaders/detail.cpp index 956bf518cf..de02be3890 100644 --- a/sp/src/materialsystem/stdshaders/detail.cpp +++ b/sp/src/materialsystem/stdshaders/detail.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/example_model_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/example_model_dx9_helper.cpp index 82b8d46676..11c793ef05 100644 --- a/sp/src/materialsystem/stdshaders/example_model_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/example_model_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/eye_refract.cpp b/sp/src/materialsystem/stdshaders/eye_refract.cpp index 9e1e870c42..ce229508f2 100644 --- a/sp/src/materialsystem/stdshaders/eye_refract.cpp +++ b/sp/src/materialsystem/stdshaders/eye_refract.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "BaseVSShader.h" #include "eye_refract_helper.h" diff --git a/sp/src/materialsystem/stdshaders/eye_refract_helper.cpp b/sp/src/materialsystem/stdshaders/eye_refract_helper.cpp index 2a54763db7..582fd0389d 100644 --- a/sp/src/materialsystem/stdshaders/eye_refract_helper.cpp +++ b/sp/src/materialsystem/stdshaders/eye_refract_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "BaseVSShader.h" #include "mathlib/vmatrix.h" diff --git a/sp/src/materialsystem/stdshaders/eye_refract_helper.h b/sp/src/materialsystem/stdshaders/eye_refract_helper.h index ce62a33b3b..973924392c 100644 --- a/sp/src/materialsystem/stdshaders/eye_refract_helper.h +++ b/sp/src/materialsystem/stdshaders/eye_refract_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef EYE_REFRACT_HELPER_H #define EYE_REFRACT_HELPER_H diff --git a/sp/src/materialsystem/stdshaders/eyeball.cpp b/sp/src/materialsystem/stdshaders/eyeball.cpp index f1ec211712..151e1f636a 100644 --- a/sp/src/materialsystem/stdshaders/eyeball.cpp +++ b/sp/src/materialsystem/stdshaders/eyeball.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Eyeball shader // diff --git a/sp/src/materialsystem/stdshaders/eyeglint_dx9.cpp b/sp/src/materialsystem/stdshaders/eyeglint_dx9.cpp index 33499ccd2a..445de15a8c 100644 --- a/sp/src/materialsystem/stdshaders/eyeglint_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/eyeglint_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Run procedural glint generation inner loop in pixel shader // diff --git a/sp/src/materialsystem/stdshaders/eyes.cpp b/sp/src/materialsystem/stdshaders/eyes.cpp index 2a0c59089b..567e7f481e 100644 --- a/sp/src/materialsystem/stdshaders/eyes.cpp +++ b/sp/src/materialsystem/stdshaders/eyes.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: eye renderer // diff --git a/sp/src/materialsystem/stdshaders/eyes_dx6.cpp b/sp/src/materialsystem/stdshaders/eyes_dx6.cpp index f5454595e5..aa6d19346d 100644 --- a/sp/src/materialsystem/stdshaders/eyes_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/eyes_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Teeth renderer // diff --git a/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.cpp index 5ddedf084a..f46edbb345 100644 --- a/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.h b/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.h index daf7c124d3..bf39962471 100644 --- a/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.h +++ b/sp/src/materialsystem/stdshaders/eyes_dx8_dx9_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/eyes_dx9.cpp b/sp/src/materialsystem/stdshaders/eyes_dx9.cpp index a032ef69a3..0aea0d6f70 100644 --- a/sp/src/materialsystem/stdshaders/eyes_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/eyes_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: eye renderer // diff --git a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_helper.cpp b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_helper.cpp index 9b02330abd..235d4cc8ab 100644 --- a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_helper.cpp +++ b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /* Example how to plug this into an existing shader: diff --git a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.cpp b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.cpp index a5ee66e3d7..50f33d6283 100644 --- a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.cpp +++ b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /* Example how to plug this into an existing shader: diff --git a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.h b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.h index 92b8d57a6a..404732c0b1 100644 --- a/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.h +++ b/sp/src/materialsystem/stdshaders/flesh_interior_blended_pass_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef FLESH_INTERIOR_BLENDED_PASS_HELPER_H #define FLESH_INTERIOR_BLENDED_PASS_HELPER_H diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_decal.cpp b/sp/src/materialsystem/stdshaders/lightmappedgeneric_decal.cpp index 9e74b5cfc4..a289493a22 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_decal.cpp +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_decal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Lightmap only shader // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx6.cpp b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx6.cpp index f55f888330..8cd3e15301 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Lightmap only shader // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx8.cpp b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx8.cpp index 8464f94f1e..8bff8d2168 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Lightmap only shader // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9.cpp b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9.cpp index e5d2916c47..79232528f9 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Lightmap only shader // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.cpp index 2273db4914..2e538aed4c 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Lightmap only shader // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.h b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.h index 1b79ca188d..c8b3119b37 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.h +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_dx9_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/lightmappedgeneric_ps2_3_x.h b/sp/src/materialsystem/stdshaders/lightmappedgeneric_ps2_3_x.h index ff4a296ec7..a99875da39 100644 --- a/sp/src/materialsystem/stdshaders/lightmappedgeneric_ps2_3_x.h +++ b/sp/src/materialsystem/stdshaders/lightmappedgeneric_ps2_3_x.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // SKIP: $BUMPMAP2 && $WARPLIGHTING // SKIP: $WARPLIGHTING && $DETAILTEXTURE // SKIP: $ENVMAPMASK && $BUMPMAP diff --git a/sp/src/materialsystem/stdshaders/refract.cpp b/sp/src/materialsystem/stdshaders/refract.cpp index 4ed22b1d14..45c00bcd59 100644 --- a/sp/src/materialsystem/stdshaders/refract.cpp +++ b/sp/src/materialsystem/stdshaders/refract.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/refract_dx60.cpp b/sp/src/materialsystem/stdshaders/refract_dx60.cpp index 2ca7a83c24..59302439ac 100644 --- a/sp/src/materialsystem/stdshaders/refract_dx60.cpp +++ b/sp/src/materialsystem/stdshaders/refract_dx60.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/refract_dx80.cpp b/sp/src/materialsystem/stdshaders/refract_dx80.cpp index b6e6e5a05b..9a3d5510c8 100644 --- a/sp/src/materialsystem/stdshaders/refract_dx80.cpp +++ b/sp/src/materialsystem/stdshaders/refract_dx80.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/refract_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/refract_dx9_helper.cpp index b40b44542f..06d92e7ed6 100644 --- a/sp/src/materialsystem/stdshaders/refract_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/refract_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/refract_dx9_helper.h b/sp/src/materialsystem/stdshaders/refract_dx9_helper.h index 69d6116f80..13acd92ced 100644 --- a/sp/src/materialsystem/stdshaders/refract_dx9_helper.h +++ b/sp/src/materialsystem/stdshaders/refract_dx9_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/shader_constant_register_map.h b/sp/src/materialsystem/stdshaders/shader_constant_register_map.h index ef1d9df7e8..ab8225ae91 100644 --- a/sp/src/materialsystem/stdshaders/shader_constant_register_map.h +++ b/sp/src/materialsystem/stdshaders/shader_constant_register_map.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provide convenient mapping for shader constants // diff --git a/sp/src/materialsystem/stdshaders/shadowmodel_dx8.cpp b/sp/src/materialsystem/stdshaders/shadowmodel_dx8.cpp index e7d7228a0f..bb5e56873a 100644 --- a/sp/src/materialsystem/stdshaders/shadowmodel_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/shadowmodel_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/shadowmodel_dx9.cpp b/sp/src/materialsystem/stdshaders/shadowmodel_dx9.cpp index 0198e86ffd..3021609fd1 100644 --- a/sp/src/materialsystem/stdshaders/shadowmodel_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/shadowmodel_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/skin_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/skin_dx9_helper.cpp index 93e2bebae2..56647ab969 100644 --- a/sp/src/materialsystem/stdshaders/skin_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/skin_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/skin_dx9_helper.h b/sp/src/materialsystem/stdshaders/skin_dx9_helper.h index 414e8dd207..710cac206c 100644 --- a/sp/src/materialsystem/stdshaders/skin_dx9_helper.h +++ b/sp/src/materialsystem/stdshaders/skin_dx9_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/sky_dx6.cpp b/sp/src/materialsystem/stdshaders/sky_dx6.cpp index 15bdc553b9..8d4a6974c5 100644 --- a/sp/src/materialsystem/stdshaders/sky_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/sky_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Teeth renderer // diff --git a/sp/src/materialsystem/stdshaders/sky_dx9.cpp b/sp/src/materialsystem/stdshaders/sky_dx9.cpp index 93eb611528..1af89e63d6 100644 --- a/sp/src/materialsystem/stdshaders/sky_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/sky_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/sky_hdr_dx9.cpp b/sp/src/materialsystem/stdshaders/sky_hdr_dx9.cpp index 285879c045..faaa731c0e 100644 --- a/sp/src/materialsystem/stdshaders/sky_hdr_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/sky_hdr_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/sprite.cpp b/sp/src/materialsystem/stdshaders/sprite.cpp index 77934f5760..ac7c4570d1 100644 --- a/sp/src/materialsystem/stdshaders/sprite.cpp +++ b/sp/src/materialsystem/stdshaders/sprite.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/sprite_dx6.cpp b/sp/src/materialsystem/stdshaders/sprite_dx6.cpp index 15ba22a6c3..9cf6158a7a 100644 --- a/sp/src/materialsystem/stdshaders/sprite_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/sprite_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/sprite_dx9.cpp b/sp/src/materialsystem/stdshaders/sprite_dx9.cpp index 7c8f3b99db..28aec0a381 100644 --- a/sp/src/materialsystem/stdshaders/sprite_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/sprite_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/spritecard.cpp b/sp/src/materialsystem/stdshaders/spritecard.cpp index 850c357a1c..afc4854676 100644 --- a/sp/src/materialsystem/stdshaders/spritecard.cpp +++ b/sp/src/materialsystem/stdshaders/spritecard.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: shader for drawing sprites as cards, with animation frame lerping // diff --git a/sp/src/materialsystem/stdshaders/teeth.cpp b/sp/src/materialsystem/stdshaders/teeth.cpp index e9b071ffcb..33a79f9059 100644 --- a/sp/src/materialsystem/stdshaders/teeth.cpp +++ b/sp/src/materialsystem/stdshaders/teeth.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/teeth_dx6.cpp b/sp/src/materialsystem/stdshaders/teeth_dx6.cpp index 8c097f6a80..47d38c2975 100644 --- a/sp/src/materialsystem/stdshaders/teeth_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/teeth_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/teeth_dx8.cpp b/sp/src/materialsystem/stdshaders/teeth_dx8.cpp index d91626d8b9..9b786f72b3 100644 --- a/sp/src/materialsystem/stdshaders/teeth_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/teeth_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/unlitgeneric_dx6.cpp b/sp/src/materialsystem/stdshaders/unlitgeneric_dx6.cpp index fc8bdf478f..39f22b28b2 100644 --- a/sp/src/materialsystem/stdshaders/unlitgeneric_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/unlitgeneric_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/unlitgeneric_dx8.cpp b/sp/src/materialsystem/stdshaders/unlitgeneric_dx8.cpp index 19d0e16934..eaa8c1417f 100644 --- a/sp/src/materialsystem/stdshaders/unlitgeneric_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/unlitgeneric_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/unlitgeneric_dx9.cpp b/sp/src/materialsystem/stdshaders/unlitgeneric_dx9.cpp index 2385467859..ec380c0f13 100644 --- a/sp/src/materialsystem/stdshaders/unlitgeneric_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/unlitgeneric_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx6.cpp b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx6.cpp index 8ecd111f0a..78c26a7b1c 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx7.cpp b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx7.cpp index 7a114a56cd..7442286338 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx7.cpp +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx7.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx8.cpp b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx8.cpp index 31addf4295..bef2690d33 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9.cpp b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9.cpp index 378c39be00..65367f6805 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9.cpp +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx95_helper.h b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx95_helper.h index 3736bfe82c..4df4fbaa6a 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx95_helper.h +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx95_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.cpp b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.cpp index 14890a22fc..ac0159e3eb 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.cpp +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.h b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.h index 5df1ab93ba..bf903d7055 100644 --- a/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.h +++ b/sp/src/materialsystem/stdshaders/vertexlitgeneric_dx9_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/volume_clouds.cpp b/sp/src/materialsystem/stdshaders/volume_clouds.cpp index 1421dbb48b..3e2c12e25d 100644 --- a/sp/src/materialsystem/stdshaders/volume_clouds.cpp +++ b/sp/src/materialsystem/stdshaders/volume_clouds.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "BaseVSShader.h" #include "volume_clouds_helper.h" diff --git a/sp/src/materialsystem/stdshaders/volume_clouds_helper.cpp b/sp/src/materialsystem/stdshaders/volume_clouds_helper.cpp index cd2e889ed3..f65dcd2672 100644 --- a/sp/src/materialsystem/stdshaders/volume_clouds_helper.cpp +++ b/sp/src/materialsystem/stdshaders/volume_clouds_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "BaseVSShader.h" #include "mathlib/vmatrix.h" diff --git a/sp/src/materialsystem/stdshaders/volume_clouds_helper.h b/sp/src/materialsystem/stdshaders/volume_clouds_helper.h index abbb63b767..e47db54ece 100644 --- a/sp/src/materialsystem/stdshaders/volume_clouds_helper.h +++ b/sp/src/materialsystem/stdshaders/volume_clouds_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef VOLUME_CLOUDS_HELPER_H #define VOLUME_CLOUDS_HELPER_H diff --git a/sp/src/materialsystem/stdshaders/vr_distort_hud.cpp b/sp/src/materialsystem/stdshaders/vr_distort_hud.cpp index b78a3e5186..3bd782c4bd 100644 --- a/sp/src/materialsystem/stdshaders/vr_distort_hud.cpp +++ b/sp/src/materialsystem/stdshaders/vr_distort_hud.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/vr_distort_texture.cpp b/sp/src/materialsystem/stdshaders/vr_distort_texture.cpp index 1e87d72ae3..5f36fea9a3 100644 --- a/sp/src/materialsystem/stdshaders/vr_distort_texture.cpp +++ b/sp/src/materialsystem/stdshaders/vr_distort_texture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water.cpp b/sp/src/materialsystem/stdshaders/water.cpp index 3681b9d1f0..8fe18bef61 100644 --- a/sp/src/materialsystem/stdshaders/water.cpp +++ b/sp/src/materialsystem/stdshaders/water.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water_dudv.cpp b/sp/src/materialsystem/stdshaders/water_dudv.cpp index cf29c18337..f31f83bae1 100644 --- a/sp/src/materialsystem/stdshaders/water_dudv.cpp +++ b/sp/src/materialsystem/stdshaders/water_dudv.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water_dx60.cpp b/sp/src/materialsystem/stdshaders/water_dx60.cpp index b6c952b3d0..7dca9d4153 100644 --- a/sp/src/materialsystem/stdshaders/water_dx60.cpp +++ b/sp/src/materialsystem/stdshaders/water_dx60.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water_dx80.cpp b/sp/src/materialsystem/stdshaders/water_dx80.cpp index 2f31bb5b11..5239502f6d 100644 --- a/sp/src/materialsystem/stdshaders/water_dx80.cpp +++ b/sp/src/materialsystem/stdshaders/water_dx80.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water_dx81.cpp b/sp/src/materialsystem/stdshaders/water_dx81.cpp index 764ffe9edc..c86dd1f5e0 100644 --- a/sp/src/materialsystem/stdshaders/water_dx81.cpp +++ b/sp/src/materialsystem/stdshaders/water_dx81.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/water_ps2x_helper.h b/sp/src/materialsystem/stdshaders/water_ps2x_helper.h index ba5f214bb3..a83ea3a642 100644 --- a/sp/src/materialsystem/stdshaders/water_ps2x_helper.h +++ b/sp/src/materialsystem/stdshaders/water_ps2x_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "common_ps_fxc.h" struct DrawWater_params_t diff --git a/sp/src/materialsystem/stdshaders/worldtwotextureblend.cpp b/sp/src/materialsystem/stdshaders/worldtwotextureblend.cpp index b7aaf6d80f..232c219cbf 100644 --- a/sp/src/materialsystem/stdshaders/worldtwotextureblend.cpp +++ b/sp/src/materialsystem/stdshaders/worldtwotextureblend.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx6.cpp b/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx6.cpp index 3ae6383ae9..b1d78ab8a5 100644 --- a/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx8.cpp b/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx8.cpp index a58d9dfbf7..2b5bfc06fa 100644 --- a/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/worldtwotextureblend_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertexalpha.cpp b/sp/src/materialsystem/stdshaders/worldvertexalpha.cpp index 85bad1c17d..5be6a0ef1c 100644 --- a/sp/src/materialsystem/stdshaders/worldvertexalpha.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertexalpha.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertexalpha_dx8.cpp b/sp/src/materialsystem/stdshaders/worldvertexalpha_dx8.cpp index 0ea139ee1b..57aa4a8dac 100644 --- a/sp/src/materialsystem/stdshaders/worldvertexalpha_dx8.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertexalpha_dx8.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition.cpp b/sp/src/materialsystem/stdshaders/worldvertextransition.cpp index d8671ddd4b..2ee94aac32 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertextransition.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6.cpp b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6.cpp index 163291e3da..28afd29c94 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.cpp b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.cpp index 7539ff2967..cd974c5014 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.h b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.h index 16e0bfd5de..bb580f71c1 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.h +++ b/sp/src/materialsystem/stdshaders/worldvertextransition_dx6_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.cpp b/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.cpp index cac439cce5..42a4f19155 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.cpp +++ b/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.h b/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.h index d17d532eff..77b78ae691 100644 --- a/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.h +++ b/sp/src/materialsystem/stdshaders/worldvertextransition_dx8_helper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/3dnow.cpp b/sp/src/mathlib/3dnow.cpp index db17c8c10f..64268926c7 100644 --- a/sp/src/mathlib/3dnow.cpp +++ b/sp/src/mathlib/3dnow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: 3DNow Math primitives. // @@ -16,6 +16,7 @@ // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" + #if !defined(COMPILER_MSVC64) && !defined(LINUX) // Implement for 64-bit Windows if needed. // Clang hits "fatal error: error in backend:" and other errors when trying @@ -25,6 +26,7 @@ #pragma warning(disable:4244) // "conversion from 'const int' to 'float', possible loss of data" #pragma warning(disable:4730) // "mixing _m64 and floating point expressions may result in incorrect code" + //----------------------------------------------------------------------------- // 3D Now Implementations of optimized routines: //----------------------------------------------------------------------------- @@ -61,6 +63,7 @@ float _3DNow_Sqrt(float x) return root; } + // NJS FIXME: Need to test Recripricol squareroot performance and accuraccy // on AMD's before using the specialized instruction. float _3DNow_RSqrt(float x) @@ -193,5 +196,4 @@ float _3DNow_InvRSquared(const float* v) return r2; } - #endif // COMPILER_MSVC64 diff --git a/sp/src/mathlib/3dnow.h b/sp/src/mathlib/3dnow.h index c39b2ec5c9..fe678026b8 100644 --- a/sp/src/mathlib/3dnow.h +++ b/sp/src/mathlib/3dnow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/IceKey.cpp b/sp/src/mathlib/IceKey.cpp index e739ce6f00..b6505332e6 100644 --- a/sp/src/mathlib/IceKey.cpp +++ b/sp/src/mathlib/IceKey.cpp @@ -28,6 +28,7 @@ static const int ice_smod[4][4] = { {361, 445, 451, 397}, {397, 425, 395, 505}}; + /* XOR values for the S-boxes */ static const int ice_sxor[4][4] = { {0x83, 0x85, 0x9b, 0xcd}, @@ -35,6 +36,7 @@ static const int ice_sxor[4][4] = { {0x4b, 0x2e, 0xd4, 0x33}, {0xea, 0xcb, 0x2e, 0x04}}; + /* Permutation values for the P-box */ static const unsigned long ice_pbox[32] = { 0x00000001, 0x00000080, 0x00000400, 0x00002000, @@ -46,6 +48,7 @@ static const unsigned long ice_pbox[32] = { 0x00000002, 0x00000040, 0x00000800, 0x00001000, 0x00040000, 0x00100000, 0x02000000, 0x80000000}; + /* The key rotation schedule */ static const int ice_keyrot[16] = { 0, 1, 2, 3, 2, 1, 3, 0, @@ -129,13 +132,12 @@ ice_perm32 ( * Initialise the ICE S-boxes. * This only has to be done once. */ - static void ice_sboxes_init (void) { register int i; - for (i=0; i<1024; i++) { + for (i = 0; i<1024; i++) { int col = (i >> 1) & 0xff; int row = (i & 0x1) | ((i & 0x200) >> 8); unsigned long x; @@ -158,7 +160,6 @@ ice_sboxes_init (void) /* * Create a new ICE key. */ - IceKey::IceKey (int n) { if (!ice_sboxes_initialised) { @@ -181,13 +182,12 @@ IceKey::IceKey (int n) /* * Destroy an ICE key. */ - IceKey::~IceKey () { int i, j; - for (i=0; i<_rounds; i++) - for (j=0; j<3; j++) + for (i = 0; i<_rounds; i++) + for (j = 0; j<3; j++) _keysched[i].val[j] = 0; _rounds = _size = 0; @@ -199,7 +199,6 @@ IceKey::~IceKey () /* * The single round ICE f function. */ - static unsigned long ice_f ( register unsigned long p, @@ -233,7 +232,6 @@ ice_f ( /* * Encrypt a block of 8 bytes of data with the given ICE key. */ - void IceKey::encrypt ( const unsigned char *ptext, @@ -268,7 +266,6 @@ IceKey::encrypt ( /* * Decrypt a block of 8 bytes of data with the given ICE key. */ - void IceKey::decrypt ( const unsigned char *ctext, @@ -303,7 +300,6 @@ IceKey::decrypt ( /* * Set 8 rounds [n, n+7] of the key schedule of an ICE key. */ - void IceKey::scheduleBuild ( unsigned short *kb, @@ -312,15 +308,15 @@ IceKey::scheduleBuild ( ) { int i; - for (i=0; i<8; i++) { + for (i = 0; i<8; i++) { register int j; register int kr = keyrot[i]; IceSubkey *isk = &_keysched[n + i]; - for (j=0; j<3; j++) + for (j = 0; j<3; j++) isk->val[j] = 0; - for (j=0; j<15; j++) { + for (j = 0; j<15; j++) { register int k; unsigned long *curr_sk = &isk->val[j % 3]; @@ -339,7 +335,6 @@ IceKey::scheduleBuild ( /* * Set the key schedule of an ICE key. */ - void IceKey::set ( const unsigned char *key @@ -349,18 +344,18 @@ IceKey::set ( if (_rounds == 8) { unsigned short kb[4]; - for (i=0; i<4; i++) + for (i = 0; i<4; i++) kb[3 - i] = (key[i*2] << 8) | key[i*2 + 1]; scheduleBuild (kb, 0, ice_keyrot); return; } - for (i=0; i<_size; i++) { + for (i = 0; i<_size; i++) { int j; unsigned short kb[4]; - for (j=0; j<4; j++) + for (j = 0; j<4; j++) kb[3 - j] = (key[i*8 + j*2] << 8) | key[i*8 + j*2 + 1]; scheduleBuild (kb, i*8, ice_keyrot); @@ -372,7 +367,6 @@ IceKey::set ( /* * Return the key size, in bytes. */ - int IceKey::keySize () const { @@ -383,11 +377,9 @@ IceKey::keySize () const /* * Return the block size, in bytes. */ - int IceKey::blockSize () const { return (8); } - #endif // !_STATIC_LINKED || _SHARED_LIB diff --git a/sp/src/mathlib/almostequal.cpp b/sp/src/mathlib/almostequal.cpp index 53b8a9e353..15ff02ee9f 100644 --- a/sp/src/mathlib/almostequal.cpp +++ b/sp/src/mathlib/almostequal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Fast ways to compare equality of two floats. Assumes // sizeof(float) == sizeof(int) and we are using IEEE format. @@ -11,6 +11,7 @@ #include "mathlib/mathlib.h" + static inline bool AE_IsInfinite(float a) { const int kInfAsInt = 0x7F800000; @@ -22,6 +23,7 @@ static inline bool AE_IsInfinite(float a) return false; } + static inline bool AE_IsNan(float a) { // a NAN has an exponent of 255 (shifted left 23 positions) and @@ -33,12 +35,14 @@ static inline bool AE_IsNan(float a) return false; } + static inline int AE_Sign(float a) { // The sign bit of a number is the high bit. return (*(int*)&a) & 0x80000000; } + // This is the 'final' version of the AlmostEqualUlps function. // The optional checks are included for completeness, but in many // cases they are not necessary, or even not desirable. diff --git a/sp/src/mathlib/anorms.cpp b/sp/src/mathlib/anorms.cpp index 5ce1c7e6de..fd33dc075f 100644 --- a/sp/src/mathlib/anorms.cpp +++ b/sp/src/mathlib/anorms.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/bumpvects.cpp b/sp/src/mathlib/bumpvects.cpp index 5edbe4d416..b4a6deb121 100644 --- a/sp/src/mathlib/bumpvects.cpp +++ b/sp/src/mathlib/bumpvects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -13,7 +13,6 @@ #if !defined(_STATIC_LINKED) || defined(_SHARED_LIB) - #ifdef QUIVER #include "r_local.h" #endif @@ -24,14 +23,13 @@ // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" -// z is coming out of the face. +// z is coming out of the face. void GetBumpNormals( const Vector& sVect, const Vector& tVect, const Vector& flatNormal, const Vector& phongNormal, Vector bumpNormals[NUM_BUMP_VECTS] ) { Vector tmpNormal; bool leftHanded; - int i; assert( NUM_BUMP_VECTS == 3 ); @@ -60,7 +58,7 @@ void GetBumpNormals( const Vector& sVect, const Vector& tVect, const Vector& fla } // move the g_localBumpBasis into world space to create bumpNormals - for( i = 0; i < 3; i++ ) + for(int i = 0; i < 3; i++ ) { VectorIRotate( g_localBumpBasis[i], smoothBasis, bumpNormals[i] ); } diff --git a/sp/src/mathlib/color_conversion.cpp b/sp/src/mathlib/color_conversion.cpp index c31252582c..9c817d8c1e 100644 --- a/sp/src/mathlib/color_conversion.cpp +++ b/sp/src/mathlib/color_conversion.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Color conversion routines. // @@ -15,11 +15,11 @@ // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" + //----------------------------------------------------------------------------- // Gamma conversion support //----------------------------------------------------------------------------- static byte texgammatable[256]; // palette is sent through this to convert to screen gamma - static float texturetolinear[256]; // texture (0..255) to linear (0..1) static int lineartotexture[1024]; // linear (0..1) to texture (0..255) static int lineartoscreen[1024]; // linear (0..1) to gamma corrected vertex light (0..255) @@ -31,6 +31,7 @@ unsigned char lineartolightmap[4096]; // linear (0..4) to screen corrected textu static float g_Mathlib_GammaToLinear[256]; // gamma (0..1) to linear (0..1) static float g_Mathlib_LinearToGamma[256]; // linear (0..1) to gamma (0..1) + // This is aligned to 16-byte boundaries so that we can load it // onto SIMD registers easily if needed (used by SSE version of lightmaps) // TODO: move this into the one DLL that actually uses it, instead of statically @@ -103,6 +104,7 @@ ALIGN128 float power2_n[256] = // 2**(index - 128) / 255 8.340254091199472000E+034, 1.668050818239894400E+035, 3.336101636479788800E+035, 6.672203272959577600E+035 }; + // You can use this to double check the exponent table and assert that // the precomputation is correct. #ifdef DBGFLAG_ASSERT @@ -123,6 +125,7 @@ static void CheckExponentTable() #pragma warning(pop) #endif + void BuildGammaTable( float gamma, float texGamma, float brightness, int overbright ) { int i, inf; @@ -261,16 +264,19 @@ void BuildGammaTable( float gamma, float texGamma, float brightness, int overbri } } + float GammaToLinearFullRange( float gamma ) { return pow( gamma, 2.2f ); } + float LinearToGammaFullRange( float linear ) { return pow( linear, 1.0f / 2.2f ); } + float GammaToLinear( float gamma ) { Assert( s_bMathlibInitialized ); @@ -292,6 +298,7 @@ float GammaToLinear( float gamma ) return g_Mathlib_GammaToLinear[index]; } + float LinearToGamma( float linear ) { Assert( s_bMathlibInitialized ); @@ -311,6 +318,7 @@ float LinearToGamma( float linear ) return g_Mathlib_LinearToGamma[index]; } + //----------------------------------------------------------------------------- // Helper functions to convert between sRGB and 360 gamma space //----------------------------------------------------------------------------- @@ -320,12 +328,14 @@ float SrgbGammaToLinear( float flSrgbGammaValue ) return ( x <= 0.04045f ) ? ( x / 12.92f ) : ( pow( ( x + 0.055f ) / 1.055f, 2.4f ) ); } + float SrgbLinearToGamma( float flLinearValue ) { float x = clamp( flLinearValue, 0.0f, 1.0f ); return ( x <= 0.0031308f ) ? ( x * 12.92f ) : ( 1.055f * pow( x, ( 1.0f / 2.4f ) ) ) - 0.055f; } + float X360GammaToLinear( float fl360GammaValue ) { float flLinearValue; @@ -363,6 +373,7 @@ float X360GammaToLinear( float fl360GammaValue ) return flLinearValue; } + float X360LinearToGamma( float flLinearValue ) { float fl360GammaValue; @@ -399,6 +410,7 @@ float X360LinearToGamma( float flLinearValue ) return fl360GammaValue; } + float SrgbGammaTo360Gamma( float flSrgbGammaValue ) { float flLinearValue = SrgbGammaToLinear( flSrgbGammaValue ); @@ -406,6 +418,7 @@ float SrgbGammaTo360Gamma( float flSrgbGammaValue ) return fl360GammaValue; } + // convert texture to linear 0..1 value float TextureToLinear( int c ) { @@ -418,6 +431,7 @@ float TextureToLinear( int c ) return texturetolinear[c]; } + // convert texture to linear 0..1 value int LinearToTexture( float f ) { @@ -447,6 +461,7 @@ int LinearToScreenGamma( float f ) return lineartoscreen[i]; } + void ColorRGBExp32ToVector( const ColorRGBExp32& in, Vector& out ) { Assert( s_bMathlibInitialized ); @@ -456,6 +471,7 @@ void ColorRGBExp32ToVector( const ColorRGBExp32& in, Vector& out ) out.z = 255.0f * TexLightToLinear( in.b, in.exponent ); } + #if 0 // assumes that the desired mantissa range is 128..255 static int VectorToColorRGBExp32_CalcExponent( float in ) @@ -526,9 +542,9 @@ void VectorToColorRGBExp32( const Vector& vin, ColorRGBExp32 &c ) c.b = ( unsigned char )v[2]; c.exponent = ( signed char )exponent; } - #else + // given a floating point number f, return an exponent e such that // for f' = f * 2^e, f is on [128..255]. // Uses IEEE 754 representation to directly extract this information @@ -555,7 +571,6 @@ inline static int VectorToColorRGBExp32_CalcExponent( const float *pin ) } - /// Slightly faster version of the function to turn a float-vector color into /// a compressed-exponent notation 32bit color. However, still not SIMD optimized. /// PS3 developer: note there is a movement of a float onto an int here, which is @@ -633,5 +648,4 @@ void VectorToColorRGBExp32( const Vector& vin, ColorRGBExp32 &c ) c.exponent = ( signed char )exponent; } - #endif \ No newline at end of file diff --git a/sp/src/mathlib/halton.cpp b/sp/src/mathlib/halton.cpp index f9daae719e..99e9b3cd2b 100644 --- a/sp/src/mathlib/halton.cpp +++ b/sp/src/mathlib/halton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -6,6 +6,7 @@ #include + HaltonSequenceGenerator_t::HaltonSequenceGenerator_t(int b) { base=b; @@ -14,6 +15,7 @@ HaltonSequenceGenerator_t::HaltonSequenceGenerator_t(int b) } + float HaltonSequenceGenerator_t::GetElement(int elem) { int tmpseed=seed; diff --git a/sp/src/mathlib/imagequant.cpp b/sp/src/mathlib/imagequant.cpp index 47ba4f4ce6..06aa7139be 100644 --- a/sp/src/mathlib/imagequant.cpp +++ b/sp/src/mathlib/imagequant.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -8,38 +8,35 @@ #include #include + #define N_EXTRAVALUES 1 #define N_DIMENSIONS (3+N_EXTRAVALUES) - #define PIXEL(x,y,c) Image[4*((x)+((Width*(y))))+c] + static uint8 Weights[]={5,7,4,8}; static int ExtraValueXForms[3*N_EXTRAVALUES]={ 76,151,28, }; - #define MAX_QUANTIZE_IMAGE_WIDTH 4096 -void ColorQuantize(uint8 const *Image, - int Width, - int Height, - int flags, int ncolors, - uint8 *out_pixels, - uint8 *out_palette, - int firstcolor) + +void ColorQuantize(uint8 const *Image, int Width, int Height, int flags, int ncolors, uint8 *out_pixels, uint8 *out_palette, int firstcolor) { int Error[MAX_QUANTIZE_IMAGE_WIDTH+1][3][2]; struct Sample *s=AllocSamples(Width*Height,N_DIMENSIONS); - int x,y,c; - for(y=0;yValue[c]=PIXEL(x,y,c); + // now, let's generate extra values to quantize on - for(int i=0;iMean[c]; } memset(Error,0,sizeof(Error)); - for(y=0;yvalue); if (! (flags & QUANTFLAGS_NODITHER)) - for(int i=0;i<3;i++) + for(int i = 0;i<3;i++) { int newerr=samp[i]-f->Mean[i]; int orthog_error=(newerr*3)/8; diff --git a/sp/src/mathlib/lightdesc.cpp b/sp/src/mathlib/lightdesc.cpp index 7d69282dac..b52c4e820e 100644 --- a/sp/src/mathlib/lightdesc.cpp +++ b/sp/src/mathlib/lightdesc.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -8,6 +8,7 @@ #include #include "mathlib.h" + void LightDesc_t::RecalculateDerivedValues(void) { m_Flags = LIGHTTYPE_OPTIMIZATIONFLAGS_DERIVED_VALUES_CALCED; @@ -46,6 +47,7 @@ void LightDesc_t::RecalculateDerivedValues(void) } + void LightDesc_t::ComputeLightAtPointsForDirectional( const FourVectors &pos, const FourVectors &normal, FourVectors &color, bool DoHalfLambert ) const @@ -164,7 +166,6 @@ void LightDesc_t::ComputeLightAtPoints( const FourVectors &pos, const FourVector } - void LightDesc_t::ComputeNonincidenceLightAtPoints( const FourVectors &pos, FourVectors &color ) const { FourVectors delta; @@ -256,7 +257,6 @@ void LightDesc_t::ComputeNonincidenceLightAtPoints( const FourVectors &pos, Four } - void LightDesc_t::SetupOldStyleAttenuation( float fQuadraticAttn, float fLinearAttn, float fConstantAttn ) { // old-style manually typed quadrtiac coefficients @@ -283,6 +283,7 @@ void LightDesc_t::SetupOldStyleAttenuation( float fQuadraticAttn, float fLinearA m_Color *= fScaleFactor; } + void LightDesc_t::SetupNewStyleAttenuation( float fFiftyPercentDistance, float fZeroPercentDistance ) { @@ -292,13 +293,13 @@ void LightDesc_t::SetupNewStyleAttenuation( float fFiftyPercentDistance, if (d0 #include "tier0/dbg.h" - #include "tier0/vprof.h" //#define _VPROF_MATHLIB @@ -35,6 +34,7 @@ // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" + bool s_bMathlibInitialized = false; #ifdef PARANOID @@ -42,11 +42,13 @@ bool s_bMathlibInitialized = false; void Sys_Error (char *error, ...); #endif + const Vector vec3_origin(0,0,0); const QAngle vec3_angle(0,0,0); const Vector vec3_invalid( FLT_MAX, FLT_MAX, FLT_MAX ); const int nanmask = 255<<23; + //----------------------------------------------------------------------------- // Standard C implementations of optimized routines: //----------------------------------------------------------------------------- @@ -56,6 +58,7 @@ float _sqrtf(float _X) return sqrtf(_X); } + float _rsqrtf(float x) { Assert( s_bMathlibInitialized ); @@ -63,6 +66,7 @@ float _rsqrtf(float x) return 1.f / _sqrtf( x ); } + float FASTCALL _VectorNormalize (Vector& vec) { #ifdef _VPROF_MATHLIB @@ -81,6 +85,7 @@ float FASTCALL _VectorNormalize (Vector& vec) return radius; } + // TODO: Add fast C VectorNormalizeFast. // Perhaps use approximate rsqrt trick, if the accuracy isn't too bad. void FASTCALL _VectorNormalizeFast (Vector& vec) @@ -96,6 +101,7 @@ void FASTCALL _VectorNormalizeFast (Vector& vec) } + float _InvRSquared(const float* v) { Assert( s_bMathlibInitialized ); @@ -103,6 +109,7 @@ float _InvRSquared(const float* v) return r2 < 1.f ? 1.f : 1/r2; } + //----------------------------------------------------------------------------- // Function pointers selecting the appropriate implementation //----------------------------------------------------------------------------- @@ -115,6 +122,7 @@ float (*pfInvRSquared)(const float* v) = _InvRSquared; void (*pfFastSinCos)(float x, float* s, float* c) = SinCos; float (*pfFastCos)(float x) = cosf; + float SinCosTable[SIN_TABLE_SIZE]; void InitSinCosTable() { @@ -124,6 +132,7 @@ void InitSinCosTable() } } + qboolean VectorsEqual( const float *v1, const float *v2 ) { Assert( s_bMathlibInitialized ); @@ -133,6 +142,7 @@ qboolean VectorsEqual( const float *v1, const float *v2 ) } + //----------------------------------------------------------------------------- // Purpose: Generates Euler angles given a left-handed orientation matrix. The // columns of the matrix contain the forward, left, and up vectors. @@ -140,13 +150,13 @@ qboolean VectorsEqual( const float *v1, const float *v2 ) // angles[PITCH, YAW, ROLL]. Receives right-handed counterclockwise // rotations in degrees around Y, Z, and X respectively. //----------------------------------------------------------------------------- - void MatrixAngles( const matrix3x4_t& matrix, RadianEuler &angles, Vector &position ) { MatrixGetColumn( matrix, 3, position ); MatrixAngles( matrix, angles ); } + void MatrixAngles( const matrix3x4_t &matrix, Quaternion &q, Vector &pos ) { #ifdef _VPROF_MATHLIB @@ -205,6 +215,7 @@ void MatrixAngles( const matrix3x4_t &matrix, Quaternion &q, Vector &pos ) MatrixGetColumn( matrix, 3, pos ); } + void MatrixAngles( const matrix3x4_t& matrix, float *angles ) { #ifdef _VPROF_MATHLIB @@ -319,6 +330,7 @@ void VectorIRotate( const float *in1, const matrix3x4_t& in2, float *out ) out[2] = in1[0]*in2[0][2] + in1[1]*in2[1][2] + in1[2]*in2[2][2]; } + #ifndef VECTOR_NO_SLOW_OPERATIONS // transform a set of angles in the output space of parentMatrix to the input space QAngle TransformAnglesToLocalSpace( const QAngle &angles, const matrix3x4_t &parentMatrix ) @@ -333,6 +345,7 @@ QAngle TransformAnglesToLocalSpace( const QAngle &angles, const matrix3x4_t &par return out; } + // transform a set of angles in the input space of parentMatrix to the output space QAngle TransformAnglesToWorldSpace( const QAngle &angles, const matrix3x4_t &parentMatrix ) { @@ -343,9 +356,9 @@ QAngle TransformAnglesToWorldSpace( const QAngle &angles, const matrix3x4_t &par MatrixAngles( angToWorld, out ); return out; } - #endif // VECTOR_NO_SLOW_OPERATIONS + void MatrixInitialize( matrix3x4_t &mat, const Vector &vecOrigin, const Vector &vecXAxis, const Vector &vecYAxis, const Vector &vecZAxis ) { MatrixSetColumn( vecXAxis, 0, mat ); @@ -354,12 +367,14 @@ void MatrixInitialize( matrix3x4_t &mat, const Vector &vecOrigin, const Vector & MatrixSetColumn( vecOrigin, 3, mat ); } + void MatrixCopy( const matrix3x4_t& in, matrix3x4_t& out ) { Assert( s_bMathlibInitialized ); memcpy( out.Base(), in.Base(), sizeof( float ) * 3 * 4 ); } + //----------------------------------------------------------------------------- // Matrix equality test //----------------------------------------------------------------------------- @@ -376,6 +391,7 @@ bool MatricesAreEqual( const matrix3x4_t &src1, const matrix3x4_t &src2, float f return true; } + // NOTE: This is just the transpose not a general inverse void MatrixInvert( const matrix3x4_t& in, matrix3x4_t& out ) { @@ -413,6 +429,7 @@ void MatrixInvert( const matrix3x4_t& in, matrix3x4_t& out ) out[2][3] = -DotProduct( tmp, out[2] ); } + void MatrixGetColumn( const matrix3x4_t& in, int column, Vector &out ) { out.x = in[0][column]; @@ -420,6 +437,7 @@ void MatrixGetColumn( const matrix3x4_t& in, int column, Vector &out ) out.z = in[2][column]; } + void MatrixSetColumn( const Vector &in, int column, matrix3x4_t& out ) { out[0][column] = in.x; @@ -427,6 +445,7 @@ void MatrixSetColumn( const Vector &in, int column, matrix3x4_t& out ) out[2][column] = in.z; } + void MatrixScaleBy ( const float flScale, matrix3x4_t &out ) { out[0][0] *= flScale; @@ -440,6 +459,7 @@ void MatrixScaleBy ( const float flScale, matrix3x4_t &out ) out[2][2] *= flScale; } + void MatrixScaleByZero ( matrix3x4_t &out ) { out[0][0] = 0.0f; @@ -454,7 +474,6 @@ void MatrixScaleByZero ( matrix3x4_t &out ) } - int VectorCompare (const float *v1, const float *v2) { Assert( s_bMathlibInitialized ); @@ -467,6 +486,7 @@ int VectorCompare (const float *v1, const float *v2) return 1; } + void CrossProduct (const float* v1, const float* v2, float* cross) { Assert( s_bMathlibInitialized ); @@ -477,6 +497,7 @@ void CrossProduct (const float* v1, const float* v2, float* cross) cross[2] = v1[0]*v2[1] - v1[1]*v2[0]; } + int Q_log2(int val) { int answer=0; @@ -485,6 +506,7 @@ int Q_log2(int val) return answer; } + // Matrix is right-handed x=forward, y=left, z=up. We a left-handed convention for vectors in the game code (forward, right, up) void MatrixVectors( const matrix3x4_t &matrix, Vector* pForward, Vector *pRight, Vector *pUp ) { @@ -520,6 +542,7 @@ void VectorVectors( const Vector &forward, Vector &right, Vector &up ) } } + void VectorMatrix( const Vector &forward, matrix3x4_t& matrix) { Assert( s_bMathlibInitialized ); @@ -563,6 +586,7 @@ void VectorAngles( const float *forward, float *angles ) } + /* ================ R_ConcatRotations @@ -593,6 +617,7 @@ void ConcatRotations (const float in1[3][3], const float in2[3][3], float out[3] in1[2][2] * in2[2][2]; } + void ConcatTransforms_Aligned( const matrix3x4_t &m0, const matrix3x4_t &m1, matrix3x4_t &out ) { Assert( (((size_t)&m0) % 16) == 0 ); @@ -649,12 +674,12 @@ void ConcatTransforms_Aligned( const matrix3x4_t &m0, const matrix3x4_t &m1, mat StoreAlignedSIMD( out.m_flMatVal[2], out2 ); } + /* ================ R_ConcatTransforms ================ */ - void ConcatTransforms (const matrix3x4_t& in1, const matrix3x4_t& in2, matrix3x4_t& out) { #if 0 @@ -727,7 +752,6 @@ numer and denom, both of which should contain no fractional part. The quotient must fit in 32 bits. ==================== */ - void FloorDivMod (double numer, double denom, int *quotient, int *rem) { @@ -737,10 +761,10 @@ void FloorDivMod (double numer, double denom, int *quotient, #ifdef PARANOID if (denom <= 0.0) - Sys_Error ("FloorDivMod: bad denominator %d\n", denom); + Sys_Error ("\tFloorDivMod: bad denominator %d\n", denom); // if ((floor(numer) != numer) || (floor(denom) != denom)) -// Sys_Error ("FloorDivMod: non-integer numer or denom %f %f\n", +// Sys_Error ("\tFloorDivMod: non-integer numer or denom %f %f\n", // numer, denom); #endif @@ -803,6 +827,7 @@ bool IsDenormal( const float &val ) return ( biased_exponent == 0 && abs_mantissa != 0 ); } + int SignbitsForPlane (cplane_t *out) { Assert( s_bMathlibInitialized ); @@ -819,6 +844,7 @@ int SignbitsForPlane (cplane_t *out) return bits; } + /* ================== BoxOnPlaneSide @@ -894,10 +920,10 @@ int __cdecl BoxOnPlaneSide (const float *emins, const float *emaxs, const cplane return sides; } + //----------------------------------------------------------------------------- // Euler QAngle -> Basis Vectors //----------------------------------------------------------------------------- - void AngleVectors (const QAngle &angles, Vector *forward) { Assert( s_bMathlibInitialized ); @@ -913,6 +939,7 @@ void AngleVectors (const QAngle &angles, Vector *forward) forward->z = -sp; } + //----------------------------------------------------------------------------- // Euler QAngle -> Basis Vectors. Each vector is optional //----------------------------------------------------------------------------- @@ -958,10 +985,10 @@ void AngleVectors( const QAngle &angles, Vector *forward, Vector *right, Vector } } + //----------------------------------------------------------------------------- // Euler QAngle -> Basis Vectors transposed //----------------------------------------------------------------------------- - void AngleVectorsTranspose (const QAngle &angles, Vector *forward, Vector *right, Vector *up) { Assert( s_bMathlibInitialized ); @@ -996,7 +1023,6 @@ void AngleVectorsTranspose (const QAngle &angles, Vector *forward, Vector *right //----------------------------------------------------------------------------- // Forward direction vector -> Euler angles //----------------------------------------------------------------------------- - void VectorAngles( const Vector& forward, QAngle &angles ) { Assert( s_bMathlibInitialized ); @@ -1027,10 +1053,10 @@ void VectorAngles( const Vector& forward, QAngle &angles ) angles[2] = 0; } + //----------------------------------------------------------------------------- // Forward direction vector with a reference up vector -> Euler angles //----------------------------------------------------------------------------- - void VectorAngles( const Vector &forward, const Vector &pseudoup, QAngle &angles ) { Assert( s_bMathlibInitialized ); @@ -1073,6 +1099,7 @@ void VectorAngles( const Vector &forward, const Vector &pseudoup, QAngle &angles } } + void SetIdentityMatrix( matrix3x4_t& matrix ) { memset( matrix.Base(), 0, sizeof(float)*3*4 ); @@ -1154,6 +1181,7 @@ void MatrixTranspose( matrix3x4_t& mat ) tmp = mat[1][2]; mat[1][2] = mat[2][1]; mat[2][1] = tmp; } + void MatrixTranspose( const matrix3x4_t& src, matrix3x4_t& dst ) { dst[0][0] = src[0][0]; dst[0][1] = src[1][0]; dst[0][2] = src[2][0]; dst[0][3] = 0.0f; @@ -1177,6 +1205,7 @@ void AngleMatrix( RadianEuler const &angles, const Vector &position, matrix3x4_t MatrixSetColumn( position, 3, matrix ); } + void AngleMatrix( const RadianEuler& angles, matrix3x4_t& matrix ) { QAngle quakeEuler( RAD2DEG( angles.y ), RAD2DEG( angles.z ), RAD2DEG( angles.x ) ); @@ -1191,6 +1220,7 @@ void AngleMatrix( const QAngle &angles, const Vector &position, matrix3x4_t& mat MatrixSetColumn( position, 3, matrix ); } + void AngleMatrix( const QAngle &angles, matrix3x4_t& matrix ) { #ifdef _VPROF_MATHLIB @@ -1237,6 +1267,7 @@ void AngleMatrix( const QAngle &angles, matrix3x4_t& matrix ) matrix[2][3] = 0.0f; } + void AngleIMatrix( const RadianEuler& angles, matrix3x4_t& matrix ) { QAngle quakeEuler( RAD2DEG( angles.y ), RAD2DEG( angles.z ), RAD2DEG( angles.x ) ); @@ -1244,6 +1275,7 @@ void AngleIMatrix( const RadianEuler& angles, matrix3x4_t& matrix ) AngleIMatrix( quakeEuler, matrix ); } + void AngleIMatrix (const QAngle& angles, matrix3x4_t& matrix ) { Assert( s_bMathlibInitialized ); @@ -1268,6 +1300,7 @@ void AngleIMatrix (const QAngle& angles, matrix3x4_t& matrix ) matrix[2][3] = 0.f; } + void AngleIMatrix (const QAngle &angles, const Vector &position, matrix3x4_t &mat ) { AngleIMatrix( angles, mat ); @@ -1290,6 +1323,7 @@ void ClearBounds (Vector& mins, Vector& maxs) maxs[0] = maxs[1] = maxs[2] = -99999; } + void AddPointToBounds (const Vector& v, Vector& mins, Vector& maxs) { Assert( s_bMathlibInitialized ); @@ -1306,6 +1340,7 @@ void AddPointToBounds (const Vector& v, Vector& mins, Vector& maxs) } } + // solve a x^2 + b x + c = 0 bool SolveQuadratic( float a, float b, float c, float &root1, float &root2 ) { @@ -1341,6 +1376,7 @@ bool SolveQuadratic( float a, float b, float c, float &root1, float &root2 ) return true; } + // solves for "a, b, c" where "a x^2 + b x + c = y", return true if solution exists bool SolveInverseQuadratic( float x1, float y1, float x2, float y2, float x3, float y3, float &a, float &b, float &c ) { @@ -1359,6 +1395,7 @@ bool SolveInverseQuadratic( float x1, float y1, float x2, float y2, float x3, fl return true; } + bool SolveInverseQuadraticMonotonic( float x1, float y1, float x2, float y2, float x3, float y3, float &a, float &b, float &c ) { @@ -1498,10 +1535,10 @@ float SmoothCurve_Tweak( float x, float flPeakPos, float flPeakSharpness ) return SmoothCurve( flSharpened ); } + //----------------------------------------------------------------------------- // make sure quaternions are within 180 degrees of one another, if not, reverse q //----------------------------------------------------------------------------- - void QuaternionAlign( const Quaternion &p, const Quaternion &q, Quaternion &qt ) { Assert( s_bMathlibInitialized ); @@ -1572,7 +1609,6 @@ void QuaternionBlendNoAlign( const Quaternion &p, const Quaternion &q, float t, } - void QuaternionIdentityBlend( const Quaternion &p, float t, Quaternion &qt ) { Assert( s_bMathlibInitialized ); @@ -1695,6 +1731,7 @@ float QuaternionAngleDiff( const Quaternion &p, const Quaternion &q ) #endif } + void QuaternionConjugate( const Quaternion &p, Quaternion &q ) { Assert( s_bMathlibInitialized ); @@ -1706,6 +1743,7 @@ void QuaternionConjugate( const Quaternion &p, Quaternion &q ) q.w = p.w; } + void QuaternionInvert( const Quaternion &p, Quaternion &q ) { Assert( s_bMathlibInitialized ); @@ -1725,6 +1763,7 @@ void QuaternionInvert( const Quaternion &p, Quaternion &q ) } } + //----------------------------------------------------------------------------- // Make sure the quaternion is of unit length //----------------------------------------------------------------------------- @@ -1965,6 +2004,7 @@ void QuaternionAngles( const Quaternion &q, QAngle &angles ) Assert( angles.IsValid() ); } + //----------------------------------------------------------------------------- // Purpose: Converts a quaternion to an axis / angle in degrees // (exponential map) @@ -1982,6 +2022,7 @@ void QuaternionAxisAngle( const Quaternion &q, Vector &axis, float &angle ) VectorNormalize( axis ); } + //----------------------------------------------------------------------------- // Purpose: Converts an exponential map (ang/axis) to a quaternion //----------------------------------------------------------------------------- @@ -2226,11 +2267,11 @@ void Spline_Normalize( } } + //----------------------------------------------------------------------------- // Purpose: // Input : //----------------------------------------------------------------------------- - void Catmull_Rom_Spline( const Vector &p1, const Vector &p2, @@ -2286,6 +2327,7 @@ void Catmull_Rom_Spline( VectorAdd( p2, output, output ); // p2 } + void Catmull_Rom_Spline_Tangent( const Vector &p1, const Vector &p2, @@ -2338,6 +2380,7 @@ void Catmull_Rom_Spline_Tangent( VectorAdd( b, output, output ); } + // area under the curve [0..t] void Catmull_Rom_Spline_Integral( const Vector &p1, @@ -2435,7 +2478,6 @@ void Catmull_Rom_Spline_NormalizeX( // d1 and d2 are used to entry and exit slope of curve // Input : //----------------------------------------------------------------------------- - void Hermite_Spline( const Vector &p1, const Vector &p2, @@ -2501,6 +2543,7 @@ void Hermite_SplineBasis( float t, float basis[4] ) basis[3] = tCube-tSqr; } + //----------------------------------------------------------------------------- // Purpose: simple three data point hermite spline. // t = 0 returns p1, t = 1 returns p2, @@ -2512,6 +2555,7 @@ void Hermite_SplineBasis( float t, float basis[4] ) // BUG: the VectorSubtract()'s calls go away if the global optimizer is enabled #pragma optimize( "g", off ) + void Hermite_Spline( const Vector &p0, const Vector &p1, const Vector &p2, float t, Vector& output ) { Vector e10, e21; @@ -2520,8 +2564,10 @@ void Hermite_Spline( const Vector &p0, const Vector &p1, const Vector &p2, float Hermite_Spline( p1, p2, e10, e21, t, output ); } + #pragma optimize( "", on ) + float Hermite_Spline( float p0, float p1, float p2, float t ) { return Hermite_Spline( p1, p2, p1 - p0, p2 - p1, t ); @@ -2545,6 +2591,7 @@ void Hermite_Spline( const Quaternion &q0, const Quaternion &q1, const Quaternio QuaternionNormalize( output ); } + // See http://en.wikipedia.org/wiki/Kochanek-Bartels_curves // // Tension: -1 = Round -> 1 = Tight @@ -2630,6 +2677,7 @@ void Kochanek_Bartels_Spline( VectorAdd( p2, output, output ); } + void Kochanek_Bartels_Spline_NormalizeX( float tension, float bias, @@ -2646,6 +2694,7 @@ void Kochanek_Bartels_Spline_NormalizeX( Kochanek_Bartels_Spline( tension, bias, continuity, p1n, p2, p3, p4n, t, output ); } + void Cubic_Spline( const Vector &p1, const Vector &p2, @@ -2691,6 +2740,7 @@ void Cubic_Spline( VectorAdd( p2, output, output ); } + void Cubic_Spline_NormalizeX( const Vector &p1, const Vector &p2, @@ -2704,6 +2754,7 @@ void Cubic_Spline_NormalizeX( Cubic_Spline( p1n, p2, p3, p4n, t, output ); } + void BSpline( const Vector &p1, const Vector &p2, @@ -2768,6 +2819,7 @@ void BSpline( VectorAdd( c, output, output ); } + void BSpline_NormalizeX( const Vector &p1, const Vector &p2, diff --git a/sp/src/mathlib/noisedata.h b/sp/src/mathlib/noisedata.h index 6d5cd3d076..36b6ed74f2 100644 --- a/sp/src/mathlib/noisedata.h +++ b/sp/src/mathlib/noisedata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: static data for noise() primitives. // diff --git a/sp/src/mathlib/polyhedron.cpp b/sp/src/mathlib/polyhedron.cpp index 5c57671a49..c43ad173f3 100644 --- a/sp/src/mathlib/polyhedron.cpp +++ b/sp/src/mathlib/polyhedron.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/powsse.cpp b/sp/src/mathlib/powsse.cpp index b026c64233..80b405ffee 100644 --- a/sp/src/mathlib/powsse.cpp +++ b/sp/src/mathlib/powsse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/quantize.cpp b/sp/src/mathlib/quantize.cpp index e829d2d2a1..4753a67077 100644 --- a/sp/src/mathlib/quantize.cpp +++ b/sp/src/mathlib/quantize.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -155,25 +155,25 @@ void PrintQTree(struct QuantizedValue const *p,int idlevel) if (p) { - for(i=0;iNSamples,p->value); - for(i=0;iMean[i]); printf("}\n"); - for(i=0;iErrorMeasure[i]); printf("}\n"); - for(i=0;iMins[i]); printf("} Maxs={"); - for(i=0;iMaxs[i]); printf("}\n"); PrintQTree(p->Children[0],idlevel+2); @@ -191,26 +191,26 @@ static void UpdateStats(struct QuantizedValue *v) memset(Means,0,sizeof(Means)); int N=0; - for(i=0;iNSamples;i++) + for(i = 0;iNSamples;i++) { struct Sample *s=SAMPLE(v->Samples,i); N+=s->Count; - for(j=0;jValue[j]; Means[j]+=v*s->Count; } } - for(j=0;jMean[j]=(uint8) (Means[j]/N); Errors[j]=WorstError[j]=0.; } - for(i=0;iNSamples;i++) + for(i = 0;iNSamples;i++) { struct Sample *s=SAMPLE(v->Samples,i); double c=s->Count; - for(j=0;jValue[j]-v->Mean[j]); Errors[j]+=c*diff; // charles uses abs not sq() @@ -220,7 +220,7 @@ static void UpdateStats(struct QuantizedValue *v) } v->TotalError=0.; double ErrorScale=1.; // /sqrt((double) (N)); - for(j=0;jErrorMeasure[j]=(ErrorScale*Errors[j]*current_weights[j]); v->TotalError+=v->ErrorMeasure[j]; @@ -278,13 +278,13 @@ static void SubdivideNode(struct QuantizedValue *n, int whichdim) // which of the n-dimensional means the sample is closest to. double LocalMean[MAXDIMS][2]; int totsamps[2]; - for(i=0;iNSamples;i++) + for(i = 0;iNSamples;i++) { uint8 v; int whichside=1; @@ -302,7 +302,7 @@ static void SubdivideNode(struct QuantizedValue *n, int whichdim) } if (totsamps[0] && totsamps[1]) - for(i=0;iValue[i]; LocalMean[i][1]=maxS->Value[i]; @@ -324,7 +324,7 @@ static void SubdivideNode(struct QuantizedValue *n, int whichdim) // now, we have 2 n-dimensional means. We will label each sample // for which one it is nearer to by using the QNum field. - for(i=0;iNSamples;i++) + for(i = 0;iNSamples;i++) { double dist[2]; dist[0]=dist[1]=0.; @@ -340,7 +340,7 @@ static void SubdivideNode(struct QuantizedValue *n, int whichdim) // sort the array by moving the 0-labelled ones to the head of the array. n->sortdim=-1; qsort(n->Samples,n->NSamples,current_ssize,QNumSort); - for(i=0;iNSamples;i++,NAdded++) + for(i = 0;iNSamples;i++,NAdded++) if (SAMPLE(n->Samples,i)->QNum) break; @@ -396,20 +396,20 @@ static void Label(struct QuantizedValue *q, int updatecolor) if (updatecolor) { q->value=colorid++; - for(int j=0;jNSamples;j++) + for(int j = 0;jNSamples;j++) { SAMPLE(q->Samples,j)->QNum=q->value; SAMPLE(q->Samples,j)->qptr=q; } } - for(int i=0;iMins[i]=q->Mean[i]; q->Maxs[i]=q->Mean[i]; } } else - for(int i=0;iMins[i]=min(q->Children[0]->Mins[i],q->Children[1]->Mins[i]); q->Maxs[i]=max(q->Children[0]->Maxs[i],q->Children[1]->Maxs[i]); @@ -443,7 +443,7 @@ void CheckInRange(struct QuantizedValue *q, uint8 *max, uint8 *min) CheckInRange(q->Children[0],max, min); CheckInRange(q->Children[1],max, min); } - for (int i=0;iMaxs[i]>max[i]) printf("error1\n"); if (q->Mins[i]Mins[i])>abs(val2-q->Maxs[i]))? @@ -621,7 +621,7 @@ struct QuantizedValue *FindMatch(uint8 const *sample, int ndims, { SquaredError+=besterror; bestmatch->NQuant++; - for(int i=0;iSums[i]+=sample[i]; } return bestmatch; @@ -642,7 +642,7 @@ static void RecalcMeans(struct QuantizedValue *q) // it's a leaf. Set the means if (q->NQuant) { - for(int i=0;iMean[i]=(uint8) (q->Sums[i]/q->NQuant); q->Sums[i]=0; diff --git a/sp/src/mathlib/randsse.cpp b/sp/src/mathlib/randsse.cpp index b718d39988..d3d657b059 100644 --- a/sp/src/mathlib/randsse.cpp +++ b/sp/src/mathlib/randsse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: generates 4 randum numbers in the range 0..1 quickly, using SIMD // @@ -29,9 +29,9 @@ class SIMDRandStreamContext void Seed( uint32 seed ) { m_pRand_J=m_RandY+23; m_pRand_K=m_RandY+54; - for(int i=0;i<55;i++) + for(int i = 0;i<55;i++) { - for(int j=0;j<4;j++) + for(int j = 0;j<4;j++) { SubFloat( m_RandY[i], j) = (seed>>16)/65536.0; seed=(seed+1)*3141592621u; @@ -81,7 +81,7 @@ int GetSIMDRandContext( void ) { for(;;) { - for(int i=0; i < NELEMS( s_SIMDRandContexts ); i++) + for(int i = 0; i < NELEMS( s_SIMDRandContexts ); i++) { if ( ! s_nRandContextsInUse[i] ) // available? { diff --git a/sp/src/mathlib/simdvectormatrix.cpp b/sp/src/mathlib/simdvectormatrix.cpp index 9cac37c4e3..1039779ace 100644 --- a/sp/src/mathlib/simdvectormatrix.cpp +++ b/sp/src/mathlib/simdvectormatrix.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provide a class (SSE/SIMD only) holding a 2d matrix of class FourVectors, // for high speed processing in tools. diff --git a/sp/src/mathlib/sparse_convolution_noise.cpp b/sp/src/mathlib/sparse_convolution_noise.cpp index dbf19b605a..2011ba7ad5 100644 --- a/sp/src/mathlib/sparse_convolution_noise.cpp +++ b/sp/src/mathlib/sparse_convolution_noise.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: noise() primitives. // diff --git a/sp/src/mathlib/spherical.cpp b/sp/src/mathlib/spherical.cpp index b4cb825817..72537ace23 100644 --- a/sp/src/mathlib/spherical.cpp +++ b/sp/src/mathlib/spherical.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: spherical math routines // diff --git a/sp/src/mathlib/sse.cpp b/sp/src/mathlib/sse.cpp index 2260550b5d..0a85150351 100644 --- a/sp/src/mathlib/sse.cpp +++ b/sp/src/mathlib/sse.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: SSE Math primitives. // diff --git a/sp/src/mathlib/sse.h b/sp/src/mathlib/sse.h index 72de1d3bc9..8d4276dd62 100644 --- a/sp/src/mathlib/sse.h +++ b/sp/src/mathlib/sse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/sseconst.cpp b/sp/src/mathlib/sseconst.cpp index 2f92319373..572c664443 100644 --- a/sp/src/mathlib/sseconst.cpp +++ b/sp/src/mathlib/sseconst.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/ssenoise.cpp b/sp/src/mathlib/ssenoise.cpp index 244a1e5915..21b0533ce6 100644 --- a/sp/src/mathlib/ssenoise.cpp +++ b/sp/src/mathlib/ssenoise.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Fast low quality noise suitable for real time use // diff --git a/sp/src/mathlib/vector.cpp b/sp/src/mathlib/vector.cpp index 5cb72d49ff..bf63409106 100644 --- a/sp/src/mathlib/vector.cpp +++ b/sp/src/mathlib/vector.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/mathlib/vmatrix.cpp b/sp/src/mathlib/vmatrix.cpp index e99fae2ae1..334a2c8bc7 100644 --- a/sp/src/mathlib/vmatrix.cpp +++ b/sp/src/mathlib/vmatrix.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -277,12 +277,12 @@ bool MatrixInverseGeneral(const VMatrix& src, VMatrix& dst) // I = identity // Setup AI - for(i=0; i < 4; i++) + for(i = 0; i < 4; i++) { const vec_t *pIn = src[i]; pOut = mat[i]; - for(j=0; j < 4; j++) + for(j = 0; j < 4; j++) { pOut[j] = pIn[j]; } @@ -331,13 +331,13 @@ bool MatrixInverseGeneral(const VMatrix& src, VMatrix& dst) // Divide this row by the element. mul = 1.0f / pRow[iRow]; - for(j=0; j < 8; j++) + for(j = 0; j < 8; j++) pRow[j] *= mul; pRow[iRow] = 1.0f; // Preserve accuracy... // Eliminate this element from the other rows using operation 2. - for(i=0; i < 4; i++) + for(i = 0; i < 4; i++) { if(i == iRow) continue; @@ -346,7 +346,7 @@ bool MatrixInverseGeneral(const VMatrix& src, VMatrix& dst) // Multiply this row by -(iRow*the element). mul = -pScaleRow[iRow]; - for(j=0; j < 8; j++) + for(j = 0; j < 8; j++) { pScaleRow[j] += pRow[j] * mul; } @@ -356,12 +356,12 @@ bool MatrixInverseGeneral(const VMatrix& src, VMatrix& dst) } // The inverse is on the right side of AX now (the identity is on the left). - for(i=0; i < 4; i++) + for(i = 0; i < 4; i++) { const vec_t *pIn = mat[rowMap[i]] + 4; pOut = dst.m[i]; - for(j=0; j < 4; j++) + for(j = 0; j < 4; j++) { pOut[j] = pIn[j]; } diff --git a/sp/src/public/BitmapFontFile.h b/sp/src/public/BitmapFontFile.h index 9628c3da0d..3b6201b0c9 100644 --- a/sp/src/public/BitmapFontFile.h +++ b/sp/src/public/BitmapFontFile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Baked Bitmap fonts // diff --git a/sp/src/public/Color.h b/sp/src/public/Color.h index e800a37281..2719ecdf32 100644 --- a/sp/src/public/Color.h +++ b/sp/src/public/Color.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/Friends/AddOns/AddOnMessages.h b/sp/src/public/Friends/AddOns/AddOnMessages.h index ca778f9cd4..8127ebe86c 100644 --- a/sp/src/public/Friends/AddOns/AddOnMessages.h +++ b/sp/src/public/Friends/AddOns/AddOnMessages.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/Friends/AddOns/AddOnTypes.h b/sp/src/public/Friends/AddOns/AddOnTypes.h index b6cf75fe47..f8f8c1d7e6 100644 --- a/sp/src/public/Friends/AddOns/AddOnTypes.h +++ b/sp/src/public/Friends/AddOns/AddOnTypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/Friends/AddOns/ISteamAddOn.h b/sp/src/public/Friends/AddOns/ISteamAddOn.h index ff395c36b2..749677bf07 100644 --- a/sp/src/public/Friends/AddOns/ISteamAddOn.h +++ b/sp/src/public/Friends/AddOns/ISteamAddOn.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface to a Steam Add On // diff --git a/sp/src/public/Friends/IFriendsNET.h b/sp/src/public/Friends/IFriendsNET.h index b0b6c893df..ed30976aee 100644 --- a/sp/src/public/Friends/IFriendsNET.h +++ b/sp/src/public/Friends/IFriendsNET.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/Friends/IFriendsUser.h b/sp/src/public/Friends/IFriendsUser.h index 4c9375a4ae..40172a3db9 100644 --- a/sp/src/public/Friends/IFriendsUser.h +++ b/sp/src/public/Friends/IFriendsUser.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/IGameUIFuncs.h b/sp/src/public/IGameUIFuncs.h index 21f01e6023..91c60a80ac 100644 --- a/sp/src/public/IGameUIFuncs.h +++ b/sp/src/public/IGameUIFuncs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/IHammer.h b/sp/src/public/IHammer.h index 7e85f2d701..6343665741 100644 --- a/sp/src/public/IHammer.h +++ b/sp/src/public/IHammer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: The application object. // diff --git a/sp/src/public/OfflineMode.h b/sp/src/public/OfflineMode.h index d4c1f2cdcf..cf5b6ee84e 100644 --- a/sp/src/public/OfflineMode.h +++ b/sp/src/public/OfflineMode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/PlayerState.h b/sp/src/public/PlayerState.h index 9097ca7149..046ba8951a 100644 --- a/sp/src/public/PlayerState.h +++ b/sp/src/public/PlayerState.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ScratchPadUtils.cpp b/sp/src/public/ScratchPadUtils.cpp index 6e020aaf75..9995abea0f 100644 --- a/sp/src/public/ScratchPadUtils.cpp +++ b/sp/src/public/ScratchPadUtils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -139,7 +139,7 @@ void CScratchPadGraph::UpdateTicksAndStuff( float flTime, float flValue ) ); // Extend the lines attached to the time labels. - for ( int i=0; i < m_nTimeLabelsDrawn; i++ ) + for ( int i = 0; i < m_nTimeLabelsDrawn; i++ ) { float flTimeLocl = m_flTimeOrigin + m_nTimeLabelsDrawn * m_flTimeLabelEveryNSeconds; @@ -228,7 +228,7 @@ void ScratchPad_DrawLitCone( // Draw each quad. Vector vPrevBottom = vBaseCenter + vRight; - for ( int i=0; i < nSegments; i++ ) + for ( int i = 0; i < nSegments; i++ ) { float flAngle = (float)(i+1) * M_PI * 2.0 / nSegments; Vector vOffset = vRight * cos( flAngle ) + vUp * sin( flAngle ); @@ -295,7 +295,7 @@ void ScratchPad_DrawLitCylinder( Vector vPrevTop = v1 + vRight; Vector vPrevBottom = v2 + vRight; - for ( int i=0; i < nSegments; i++ ) + for ( int i = 0; i < nSegments; i++ ) { float flAngle = (float)(i+1) * M_PI * 2.0 / nSegments; Vector vOffset = vRight * cos( flAngle ) + vUp * sin( flAngle ); @@ -423,7 +423,7 @@ void ScratchPad_DrawSphere( if ( iSlice != (nSubDivs - 1) ) { - for ( int i=0; i < nSubDivs; i++ ) + for ( int i = 0; i < nSubDivs; i++ ) pPad->DrawLine( CSPVert( prevPoints[i], vColor ), CSPVert( prevPoints[(i+1)%nSubDivs], vColor ) ); } } @@ -447,7 +447,7 @@ void ScratchPad_DrawAABB( vPrevTop.x = vPrevBottom.x = vecs[vertOrder[3][0]]->x; vPrevTop.y = vPrevBottom.y = vecs[vertOrder[3][1]]->y; - for ( int i=0; i < 4; i++ ) + for ( int i = 0; i < 4; i++ ) { vTop.x = vBottom.x = vecs[vertOrder[i][0]]->x; vTop.y = vBottom.y = vecs[vertOrder[i][1]]->y; diff --git a/sp/src/public/ScratchPadUtils.h b/sp/src/public/ScratchPadUtils.h index 9ff47fe2d7..c9e772095d 100644 --- a/sp/src/public/ScratchPadUtils.h +++ b/sp/src/public/ScratchPadUtils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This module contains helper functions for use with scratch pads. // diff --git a/sp/src/public/SoundEmitterSystem/isoundemittersystembase.h b/sp/src/public/SoundEmitterSystem/isoundemittersystembase.h index 9cb6ee6ae4..8dca2cfb91 100644 --- a/sp/src/public/SoundEmitterSystem/isoundemittersystembase.h +++ b/sp/src/public/SoundEmitterSystem/isoundemittersystembase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/SoundParametersInternal.cpp b/sp/src/public/SoundParametersInternal.cpp index b408c93825..4feabf2591 100644 --- a/sp/src/public/SoundParametersInternal.cpp +++ b/sp/src/public/SoundParametersInternal.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/UnicodeFileHelpers.cpp b/sp/src/public/UnicodeFileHelpers.cpp index 64518274a1..fac48e092e 100644 --- a/sp/src/public/UnicodeFileHelpers.cpp +++ b/sp/src/public/UnicodeFileHelpers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/UnicodeFileHelpers.h b/sp/src/public/UnicodeFileHelpers.h index df35f7189a..eb1260e8f5 100644 --- a/sp/src/public/UnicodeFileHelpers.h +++ b/sp/src/public/UnicodeFileHelpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/UtlCachedFileData.h b/sp/src/public/UtlCachedFileData.h index d7b0bc4692..d5ae19449a 100644 --- a/sp/src/public/UtlCachedFileData.h +++ b/sp/src/public/UtlCachedFileData.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/VGuiMatSurface/IMatSystemSurface.h b/sp/src/public/VGuiMatSurface/IMatSystemSurface.h index 7e9d90febc..f9cab2d3a0 100644 --- a/sp/src/public/VGuiMatSurface/IMatSystemSurface.h +++ b/sp/src/public/VGuiMatSurface/IMatSystemSurface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An extra interface implemented by the material system // implementation of vgui::ISurface diff --git a/sp/src/public/VGuiMatSurface/IMatSystemSurfaceV5.h b/sp/src/public/VGuiMatSurface/IMatSystemSurfaceV5.h index 3c4aa68cbc..eca5428a35 100644 --- a/sp/src/public/VGuiMatSurface/IMatSystemSurfaceV5.h +++ b/sp/src/public/VGuiMatSurface/IMatSystemSurfaceV5.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/XUnzip.cpp b/sp/src/public/XUnzip.cpp index fbeb595ee9..8fc87b424a 100644 --- a/sp/src/public/XUnzip.cpp +++ b/sp/src/public/XUnzip.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/XZip.cpp b/sp/src/public/XZip.cpp index 2b187a8535..a6e37b38b6 100644 --- a/sp/src/public/XZip.cpp +++ b/sp/src/public/XZip.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/appframework/AppFramework.h b/sp/src/public/appframework/AppFramework.h index 185d2f3358..3fff763e8b 100644 --- a/sp/src/public/appframework/AppFramework.h +++ b/sp/src/public/appframework/AppFramework.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An application framework // diff --git a/sp/src/public/appframework/IAppSystem.h b/sp/src/public/appframework/IAppSystem.h index 33bcbb2ee7..7312b89fd9 100644 --- a/sp/src/public/appframework/IAppSystem.h +++ b/sp/src/public/appframework/IAppSystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An application framework // diff --git a/sp/src/public/appframework/IAppSystemGroup.h b/sp/src/public/appframework/IAppSystemGroup.h index 5cc32aa8a0..16407e1f20 100644 --- a/sp/src/public/appframework/IAppSystemGroup.h +++ b/sp/src/public/appframework/IAppSystemGroup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/appframework/VguiMatSysApp.h b/sp/src/public/appframework/VguiMatSysApp.h index e40793ea2c..c89c5aebd5 100644 --- a/sp/src/public/appframework/VguiMatSysApp.h +++ b/sp/src/public/appframework/VguiMatSysApp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/appframework/ilaunchermgr.h b/sp/src/public/appframework/ilaunchermgr.h index 2498ab3614..a09f4743d0 100644 --- a/sp/src/public/appframework/ilaunchermgr.h +++ b/sp/src/public/appframework/ilaunchermgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // ilaunchermgr.h // diff --git a/sp/src/public/appframework/tier2app.h b/sp/src/public/appframework/tier2app.h index 266fc10484..33183754a8 100644 --- a/sp/src/public/appframework/tier2app.h +++ b/sp/src/public/appframework/tier2app.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/appframework/tier3app.h b/sp/src/public/appframework/tier3app.h index d18064725b..25fa3894d5 100644 --- a/sp/src/public/appframework/tier3app.h +++ b/sp/src/public/appframework/tier3app.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/arraystack.h b/sp/src/public/arraystack.h index 907fb61453..412964baea 100644 --- a/sp/src/public/arraystack.h +++ b/sp/src/public/arraystack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/avi/iavi.h b/sp/src/public/avi/iavi.h index 11433104b2..8c46f5c326 100644 --- a/sp/src/public/avi/iavi.h +++ b/sp/src/public/avi/iavi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/avi/iquicktime.h b/sp/src/public/avi/iquicktime.h index 83867e74d4..d32caf22d3 100644 --- a/sp/src/public/avi/iquicktime.h +++ b/sp/src/public/avi/iquicktime.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/basehandle.h b/sp/src/public/basehandle.h index 91eb02d0f4..076751f00b 100644 --- a/sp/src/public/basehandle.h +++ b/sp/src/public/basehandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitmap/bitmap.h b/sp/src/public/bitmap/bitmap.h index bc56ed2146..7045561db8 100644 --- a/sp/src/public/bitmap/bitmap.h +++ b/sp/src/public/bitmap/bitmap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitmap/cubemap.h b/sp/src/public/bitmap/cubemap.h index 1bda06f365..b034cf2aae 100644 --- a/sp/src/public/bitmap/cubemap.h +++ b/sp/src/public/bitmap/cubemap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: a class for performing cube-mapped spherical sample lookups. // diff --git a/sp/src/public/bitmap/float_bm.h b/sp/src/public/bitmap/float_bm.h index b4dfb1600e..604071129a 100644 --- a/sp/src/public/bitmap/float_bm.h +++ b/sp/src/public/bitmap/float_bm.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitmap/imageformat.h b/sp/src/public/bitmap/imageformat.h index 4a6a8ce007..561ce3d0b6 100644 --- a/sp/src/public/bitmap/imageformat.h +++ b/sp/src/public/bitmap/imageformat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitmap/psd.h b/sp/src/public/bitmap/psd.h index aae3cbfac5..e5b4068597 100644 --- a/sp/src/public/bitmap/psd.h +++ b/sp/src/public/bitmap/psd.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Methods relating to saving + loading PSD files (photoshop) // diff --git a/sp/src/public/bitmap/tgaloader.h b/sp/src/public/bitmap/tgaloader.h index 413eb1787a..1b58a827de 100644 --- a/sp/src/public/bitmap/tgaloader.h +++ b/sp/src/public/bitmap/tgaloader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitmap/tgawriter.h b/sp/src/public/bitmap/tgawriter.h index 51854bae90..f33f38b06b 100644 --- a/sp/src/public/bitmap/tgawriter.h +++ b/sp/src/public/bitmap/tgawriter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bitvec.h b/sp/src/public/bitvec.h index 5095b09c82..338e000ff0 100644 --- a/sp/src/public/bitvec.h +++ b/sp/src/public/bitvec.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/blockingudpsocket.cpp b/sp/src/public/blockingudpsocket.cpp index aefd54f7cd..0b04fb7f9f 100644 --- a/sp/src/public/blockingudpsocket.cpp +++ b/sp/src/public/blockingudpsocket.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/blockingudpsocket.h b/sp/src/public/blockingudpsocket.h index 2f605550b0..defb3304a0 100644 --- a/sp/src/public/blockingudpsocket.h +++ b/sp/src/public/blockingudpsocket.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bone_accessor.cpp b/sp/src/public/bone_accessor.cpp index f8edd10437..2f394feaca 100644 --- a/sp/src/public/bone_accessor.cpp +++ b/sp/src/public/bone_accessor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bone_accessor.h b/sp/src/public/bone_accessor.h index 99e07f9f1c..128b8156b1 100644 --- a/sp/src/public/bone_accessor.h +++ b/sp/src/public/bone_accessor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bone_setup.cpp b/sp/src/public/bone_setup.cpp index 0f1f5c47ff..57564c918f 100644 --- a/sp/src/public/bone_setup.cpp +++ b/sp/src/public/bone_setup.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -2623,14 +2623,14 @@ class CIKSolver X[i] = P[i]; normalize(X); -// Its y axis is perpendicular to P, so Y = unit( E - X(E·X) ). +// Its y axis is perpendicular to P, so Y = unit( E - X(E�X) ). float dDOTx = dot(D,X); for (i = 0 ; i < 3 ; i++) Y[i] = D[i] - dDOTx * X[i]; normalize(Y); -// Its z axis is perpendicular to both X and Y, so Z = X×Y. +// Its z axis is perpendicular to both X and Y, so Z = X�Y. cross(X,Y,Z); diff --git a/sp/src/public/bone_setup.h b/sp/src/public/bone_setup.h index 76f00a667d..1ff3be978b 100644 --- a/sp/src/public/bone_setup.h +++ b/sp/src/public/bone_setup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bspfile.h b/sp/src/public/bspfile.h index bff7b20ad3..624435248d 100644 --- a/sp/src/public/bspfile.h +++ b/sp/src/public/bspfile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines and structures for the BSP file format. // @@ -112,9 +112,13 @@ #define MAX_MAP_PRIMITIVES 32768 #define MAX_MAP_PRIMVERTS 65536 #define MAX_MAP_PRIMINDICES 65536 - +#ifdef MAPBASE +#define MAX_MAP_DETAIL_PROPS 65535 // This is a soft limit that can be raised up without any issues. #else +#define MAX_MAP_DETAIL_PROPS 65535 +#endif +#else // Xbox 360 - Force static arrays to be very small #define MAX_MAP_MODELS 2 #define MAX_MAP_BRUSHES 2 diff --git a/sp/src/public/bspflags.h b/sp/src/public/bspflags.h index 01070abe1c..86a7a081c2 100644 --- a/sp/src/public/bspflags.h +++ b/sp/src/public/bspflags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bsptreedata.cpp b/sp/src/public/bsptreedata.cpp index e03dd2c58c..c19f9ddb7a 100644 --- a/sp/src/public/bsptreedata.cpp +++ b/sp/src/public/bsptreedata.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/bsptreedata.h b/sp/src/public/bsptreedata.h index 2132dfbf93..a65ecdd6f8 100644 --- a/sp/src/public/bsptreedata.h +++ b/sp/src/public/bsptreedata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/builddisp.cpp b/sp/src/public/builddisp.cpp index 9f821829f0..2bdfa11964 100644 --- a/sp/src/public/builddisp.cpp +++ b/sp/src/public/builddisp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -226,7 +226,7 @@ void CCoreDispSurface::Init( void ) void CCoreDispSurface::SetNeighborData( const CDispNeighbor edgeNeighbors[4], const CDispCornerNeighbors cornerNeighbors[4] ) { - for ( int i=0; i < 4; i++ ) + for ( int i = 0; i < 4; i++ ) { m_EdgeNeighbors[i] = edgeNeighbors[i]; m_CornerNeighbors[i] = cornerNeighbors[i]; @@ -846,7 +846,7 @@ void CCoreDispInfo::InitDispInfo( int power, int minTess, float smoothingAngle, float alphas[MAX_DISPVERTS]; int nVerts = NUM_DISP_POWER_VERTS( power ); - for ( int i=0; i < nVerts; i++ ) + for ( int i = 0; i < nVerts; i++ ) { vectors[i] = pVerts[i].m_vVector; dists[i] = pVerts[i].m_flDist; diff --git a/sp/src/public/builddisp.h b/sp/src/public/builddisp.h index c6ef149efb..35de7c8339 100644 --- a/sp/src/public/builddisp.h +++ b/sp/src/public/builddisp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -300,7 +300,7 @@ inline void CCoreDispSurface::SetLuxelCoords( int bumpIndex, Vector2D const luxe { Assert( bumpIndex >= 0 ); Assert( bumpIndex < NUM_BUMP_VECTS + 1 ); - for( int i=0; i < 4; i++ ) + for( int i = 0; i < 4; i++ ) Vector2DCopy( luxelCoords[i], m_LuxelCoords[bumpIndex][i] ); } @@ -311,7 +311,7 @@ inline void CCoreDispSurface::GetLuxelCoords( int bumpIndex, Vector2D luxelCoord { Assert( bumpIndex >= 0 ); Assert( bumpIndex < NUM_BUMP_VECTS + 1 ); - for( int i=0; i < 4; i++ ) + for( int i = 0; i < 4; i++ ) Vector2DCopy( m_LuxelCoords[bumpIndex][i], luxelCoords[i] ); } diff --git a/sp/src/public/captioncompiler.h b/sp/src/public/captioncompiler.h index 1b723dc69b..0fe46524fc 100644 --- a/sp/src/public/captioncompiler.h +++ b/sp/src/public/captioncompiler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/cdll_int.h b/sp/src/public/cdll_int.h index dd3e1e90ea..80de5a7a0c 100644 --- a/sp/src/public/cdll_int.h +++ b/sp/src/public/cdll_int.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interfaces between the client.dll and engine // diff --git a/sp/src/public/chunkfile.cpp b/sp/src/public/chunkfile.cpp index 81a77dd3b1..cdaed386cb 100644 --- a/sp/src/public/chunkfile.cpp +++ b/sp/src/public/chunkfile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements an interface for reading and writing heirarchical // text files of key value pairs. The format of the file is as follows: @@ -620,7 +620,7 @@ ChunkFileResult_t CChunkFile::ReadChunk(KeyHandler_t pfnKeyHandler, void *pData) // if ((eResult != ChunkFile_Ok) && (eResult != ChunkFile_EOF)) { - //HandleError("chunkname", eResult); + //HandleError("\tchunkname", eResult); } return(eResult); diff --git a/sp/src/public/chunkfile.h b/sp/src/public/chunkfile.h index 6359ace9b1..2451f9a5a9 100644 --- a/sp/src/public/chunkfile.h +++ b/sp/src/public/chunkfile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/client_class.cpp b/sp/src/public/client_class.cpp index bbb5bc0923..47027300a7 100644 --- a/sp/src/public/client_class.cpp +++ b/sp/src/public/client_class.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/client_class.h b/sp/src/public/client_class.h index 77827d8dad..36fc2e2f21 100644 --- a/sp/src/public/client_class.h +++ b/sp/src/public/client_class.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/client_render_handle.h b/sp/src/public/client_render_handle.h index 8162540634..6b3bfadda7 100644 --- a/sp/src/public/client_render_handle.h +++ b/sp/src/public/client_render_handle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/client_textmessage.h b/sp/src/public/client_textmessage.h index a48490bac2..62d7444c0f 100644 --- a/sp/src/public/client_textmessage.h +++ b/sp/src/public/client_textmessage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/clientstats.h b/sp/src/public/clientstats.h index c3340696c4..d7915c12e2 100644 --- a/sp/src/public/clientstats.h +++ b/sp/src/public/clientstats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/cmodel.h b/sp/src/public/cmodel.h index 3e13cb5677..8906242a43 100644 --- a/sp/src/public/cmodel.h +++ b/sp/src/public/cmodel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/collisionutils.cpp b/sp/src/public/collisionutils.cpp index d26db4ab05..0589156d53 100644 --- a/sp/src/public/collisionutils.cpp +++ b/sp/src/public/collisionutils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Common collision utility methods // diff --git a/sp/src/public/collisionutils.h b/sp/src/public/collisionutils.h index 50f87046bd..562a57094c 100644 --- a/sp/src/public/collisionutils.h +++ b/sp/src/public/collisionutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Common collision utility methods // diff --git a/sp/src/public/con_nprint.h b/sp/src/public/con_nprint.h index 8e866528e9..12d1458ef6 100644 --- a/sp/src/public/con_nprint.h +++ b/sp/src/public/con_nprint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Debug overlay / notfication printing // diff --git a/sp/src/public/const.h b/sp/src/public/const.h index 105c0ef995..17c26bea7c 100644 --- a/sp/src/public/const.h +++ b/sp/src/public/const.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/coordsize.h b/sp/src/public/coordsize.h index 7875219202..6bbe63313b 100644 --- a/sp/src/public/coordsize.h +++ b/sp/src/public/coordsize.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/crtmemdebug.cpp b/sp/src/public/crtmemdebug.cpp index ebcf58c882..dd50343dea 100644 --- a/sp/src/public/crtmemdebug.cpp +++ b/sp/src/public/crtmemdebug.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/crtmemdebug.h b/sp/src/public/crtmemdebug.h index 15ed5ff74b..6a190f0618 100644 --- a/sp/src/public/crtmemdebug.h +++ b/sp/src/public/crtmemdebug.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datacache/idatacache.h b/sp/src/public/datacache/idatacache.h index c21937fd2f..5842289f7a 100644 --- a/sp/src/public/datacache/idatacache.h +++ b/sp/src/public/datacache/idatacache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datacache/imdlcache.h b/sp/src/public/datacache/imdlcache.h index 0f7093abee..4f4c16b7f9 100644 --- a/sp/src/public/datacache/imdlcache.h +++ b/sp/src/public/datacache/imdlcache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/datamap.h b/sp/src/public/datamap.h index b25bb1724a..e7883322a3 100644 --- a/sp/src/public/datamap.h +++ b/sp/src/public/datamap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/attributeflags.h b/sp/src/public/datamodel/attributeflags.h index 8cacdb4eb5..73053d9b30 100644 --- a/sp/src/public/datamodel/attributeflags.h +++ b/sp/src/public/datamodel/attributeflags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmattribute.h b/sp/src/public/datamodel/dmattribute.h index e4441ff95f..1b2d70c53c 100644 --- a/sp/src/public/datamodel/dmattribute.h +++ b/sp/src/public/datamodel/dmattribute.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmattributetypes.h b/sp/src/public/datamodel/dmattributetypes.h index fbff3ef72f..07c19abcec 100644 --- a/sp/src/public/datamodel/dmattributetypes.h +++ b/sp/src/public/datamodel/dmattributetypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmattributevar.h b/sp/src/public/datamodel/dmattributevar.h index 4bf2a23aa2..9e6178e920 100644 --- a/sp/src/public/datamodel/dmattributevar.h +++ b/sp/src/public/datamodel/dmattributevar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmehandle.h b/sp/src/public/datamodel/dmehandle.h index f2b7898774..49576a92da 100644 --- a/sp/src/public/datamodel/dmehandle.h +++ b/sp/src/public/datamodel/dmehandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/datamodel/dmelement.h b/sp/src/public/datamodel/dmelement.h index 13a8becd1a..6da65fa748 100644 --- a/sp/src/public/datamodel/dmelement.h +++ b/sp/src/public/datamodel/dmelement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmelementfactoryhelper.h b/sp/src/public/datamodel/dmelementfactoryhelper.h index c4847ccfc9..603c4b6b74 100644 --- a/sp/src/public/datamodel/dmelementfactoryhelper.h +++ b/sp/src/public/datamodel/dmelementfactoryhelper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmelementhandle.h b/sp/src/public/datamodel/dmelementhandle.h index 319f308c08..1fea5c9937 100644 --- a/sp/src/public/datamodel/dmelementhandle.h +++ b/sp/src/public/datamodel/dmelementhandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/dmvar.h b/sp/src/public/datamodel/dmvar.h index 940e138bc3..069d54bd83 100644 --- a/sp/src/public/datamodel/dmvar.h +++ b/sp/src/public/datamodel/dmvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/datamodel/idatamodel.h b/sp/src/public/datamodel/idatamodel.h index 16f2c73c32..97a3a955c0 100644 --- a/sp/src/public/datamodel/idatamodel.h +++ b/sp/src/public/datamodel/idatamodel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/demofile/demoformat.h b/sp/src/public/demofile/demoformat.h index 6ddbe56e1f..f273bd49be 100644 --- a/sp/src/public/demofile/demoformat.h +++ b/sp/src/public/demofile/demoformat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/disp_common.cpp b/sp/src/public/disp_common.cpp index 0c2ac51bcb..3bc3d6c760 100644 --- a/sp/src/public/disp_common.cpp +++ b/sp/src/public/disp_common.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -454,7 +454,7 @@ bool DoesPointHaveAnyNeighbors( // Since points on corners touch two edges, we actually want to test two edges to see // if the point has a neighbor on either edge. - for ( int i=0; i < 2; i++ ) + for ( int i = 0; i < 2; i++ ) { if ( TransformIntoNeighbor( pDisp, g_CornerEdges[iCorner][i], index, dummy ) ) return true; @@ -604,7 +604,7 @@ bool CDispCircumferenceIterator::Next() // of the box defined by [bottomleft,topRight]. static inline void SetupCoordXY( CNodeVert &out, CNodeVert const &bottomLeft, CNodeVert const &topRight, CNodeVert const &info ) { - for( int i=0; i < 2; i++ ) + for( int i = 0; i < 2; i++ ) { if( info[i] == 0 ) out[i] = bottomLeft[i]; @@ -634,7 +634,7 @@ static unsigned short* DispCommon_GenerateTriIndices_R( SetupCoordXY( verts[0], bottomLeft, topRight, CNodeVert(1,1) ); int iCurVert = 1; - for( int i=0; i < 9; i++ ) + for( int i = 0; i < 9; i++ ) { SetupCoordXY( verts[iCurVert], bottomLeft, topRight, g_NodeTriWinding[i] ); ++iCurVert; @@ -658,7 +658,7 @@ static unsigned short* DispCommon_GenerateTriIndices_R( else { // Recurse into the children. - for( int i=0; i < 4; i++ ) + for( int i = 0; i < 4; i++ ) { CNodeVert childBottomLeft, childTopRight; SetupCoordXY( childBottomLeft, bottomLeft, topRight, g_NodeChildLookup[i][0] ); @@ -758,7 +758,7 @@ static int g_CoreDispNeighborOrientationMap[4][4] = //----------------------------------------------------------------------------- void ClearNeighborData( CCoreDispInfo *pDisp ) { - for ( int i=0; i < 4; i++ ) + for ( int i = 0; i < 4; i++ ) { pDisp->GetEdgeNeighbor( i )->SetInvalid(); pDisp->GetCornerNeighbors( i )->SetInvalid(); @@ -805,7 +805,7 @@ void SetupDispBoxes( CCoreDispInfo **ppListBase, int nListSize, CUtlVectorIsValid() || pNeighborSub->IsValid() ) { - ExecuteOnce( Warning( "Found a displacement edge abutting multiple other edges.\n" ) ); + ExecuteOnce( Warning("\tFound a displacement edge abutting multiple other edges.\n" ) ); return; } @@ -957,7 +957,7 @@ void SetupEdgeNeighbors( CCoreDispInfo *pMain, CCoreDispInfo *pOther ) //----------------------------------------------------------------------------- bool HasEdgeNeighbor( const CCoreDispInfo *pMain, int iNeighbor ) { - for ( int i=0; i < 4; i++ ) + for ( int i = 0; i < 4; i++ ) { const CDispCornerNeighbors *pCorner = pMain->GetCornerNeighbors( i ); for ( int iNB=0; iNB < pCorner->m_nNeighbors; iNB++ ) @@ -1074,7 +1074,7 @@ void VerifyNeighborConnections( CCoreDispInfo **ppListBase, int nDisps ) if ( !VerifyNeighborVertConnection( pHelper, it.GetVertIndex(), it.GetCurrentNeighbor(), it.GetNBVertIndex(), iEdge ) ) { pDisp->GetEdgeNeighbor( iEdge )->SetInvalid(); - Warning( "Warning: invalid neighbor connection on displacement near (%.2f %.2f %.2f)\n", VectorExpand( pDisp->GetCornerPoint(0) ) ); + Warning("\tWarning: invalid neighbor connection on displacement near (%.2f %.2f %.2f)\n", VectorExpand( pDisp->GetCornerPoint(0) ) ); bHappy = false; } } @@ -1125,7 +1125,7 @@ void FindNeighboringDispSurfs( CCoreDispInfo **ppListBase, int nListSize ) if ( nCornerOverflows ) { - Warning( "Warning: overflowed %d displacement corner-neighbor lists.", nCornerOverflows ); + Warning("\tWarning: overflowed %d displacement corner-neighbor lists.", nCornerOverflows ); } // Debug check.. make sure the neighbor connections are intact (make sure that any diff --git a/sp/src/public/disp_common.h b/sp/src/public/disp_common.h index 6dd5561bfe..68c99633d6 100644 --- a/sp/src/public/disp_common.h +++ b/sp/src/public/disp_common.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/disp_powerinfo.cpp b/sp/src/public/disp_powerinfo.cpp index 47119a916a..ea69ab7ff5 100644 --- a/sp/src/public/disp_powerinfo.cpp +++ b/sp/src/public/disp_powerinfo.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -137,7 +137,7 @@ static CVertIndex WrapVertIndex( CVertIndex const &in, int sideLength ) { int out[2]; - for( int i=0; i < 2; i++ ) + for( int i = 0; i < 2; i++ ) { if( in[i] < 0 ) out[i] = sideLength - 1 - (-in[i] % sideLength); @@ -153,7 +153,7 @@ static CVertIndex WrapVertIndex( CVertIndex const &in, int sideLength ) static int GetFreeDependency( CVertDependency *pDep, int nElements ) { - for( int i=0; i < nElements; i++ ) + for( int i = 0; i < nElements; i++ ) { if( !pDep[i].IsValid() ) return i; @@ -222,13 +222,13 @@ CTesselateVert::CTesselateVert( CVertIndex const &index, int iNode ) CVertInfo::CVertInfo() { int i; - for( i=0; i < sizeof(m_Dependencies)/sizeof(m_Dependencies[0]); i++ ) + for( i = 0; i < sizeof(m_Dependencies)/sizeof(m_Dependencies[0]); i++ ) { m_Dependencies[i].m_iVert = CVertIndex( -1, -1 ); m_Dependencies[i].m_iNeighbor = -1; } - for( i=0; i < sizeof(m_ReverseDependencies)/sizeof(m_ReverseDependencies[0]); i++ ) + for( i = 0; i < sizeof(m_ReverseDependencies)/sizeof(m_ReverseDependencies[0]); i++ ) { m_ReverseDependencies[i].m_iVert = CVertIndex( -1, -1 ); m_ReverseDependencies[i].m_iNeighbor = -1; @@ -525,7 +525,7 @@ void InitPowerInfo( CPowerInfo *pInfo, int iMaxPower ) // Init the node index increments. int curPowerOf4 = 1; int curTotal = 0; - for( int i=0; i < iMaxPower-1; i++ ) + for( int i = 0; i < iMaxPower-1; i++ ) { curTotal += curPowerOf4; @@ -547,7 +547,7 @@ class CPowerInfoInitializer { Assert( MAX_MAP_DISP_POWER+1 == NUM_POWERINFOS ); - for( int i=0; i <= MAX_MAP_DISP_POWER; i++ ) + for( int i = 0; i <= MAX_MAP_DISP_POWER; i++ ) { if( g_PowerInfos[i] ) { diff --git a/sp/src/public/disp_powerinfo.h b/sp/src/public/disp_powerinfo.h index 0abd035736..4a519832f8 100644 --- a/sp/src/public/disp_powerinfo.h +++ b/sp/src/public/disp_powerinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This module defines the CPowerInfo class, which contains a // whole bunch of precalculated data for each displacement power. diff --git a/sp/src/public/disp_tesselate.h b/sp/src/public/disp_tesselate.h index d2d3caf205..40b0cca3f1 100644 --- a/sp/src/public/disp_tesselate.h +++ b/sp/src/public/disp_tesselate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/disp_vertindex.h b/sp/src/public/disp_vertindex.h index 4d82cf255d..059c797952 100644 --- a/sp/src/public/disp_vertindex.h +++ b/sp/src/public/disp_vertindex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dispcoll.cpp b/sp/src/public/dispcoll.cpp index 3583d4a2d4..eabcc6f662 100644 --- a/sp/src/public/dispcoll.cpp +++ b/sp/src/public/dispcoll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dispcoll.h b/sp/src/public/dispcoll.h index 55b6d0b34f..dc4be8e29b 100644 --- a/sp/src/public/dispcoll.h +++ b/sp/src/public/dispcoll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dispcoll_common.cpp b/sp/src/public/dispcoll_common.cpp index 9131d4c13f..e2df2d45ec 100644 --- a/sp/src/public/dispcoll_common.cpp +++ b/sp/src/public/dispcoll_common.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dispcoll_common.h b/sp/src/public/dispcoll_common.h index 2e54d8839b..f6f9a299d0 100644 --- a/sp/src/public/dispcoll_common.h +++ b/sp/src/public/dispcoll_common.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dlight.h b/sp/src/public/dlight.h index 032cae64a9..e05900f31f 100644 --- a/sp/src/public/dlight.h +++ b/sp/src/public/dlight.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dmserializers/idmserializers.h b/sp/src/public/dmserializers/idmserializers.h index f50f8dee19..a96c6429da 100644 --- a/sp/src/public/dmserializers/idmserializers.h +++ b/sp/src/public/dmserializers/idmserializers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/dmxloader/dmxattribute.h b/sp/src/public/dmxloader/dmxattribute.h index 17523660e4..22f077e1c8 100644 --- a/sp/src/public/dmxloader/dmxattribute.h +++ b/sp/src/public/dmxloader/dmxattribute.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dmxloader/dmxelement.h b/sp/src/public/dmxloader/dmxelement.h index 666a117195..dad87b5263 100644 --- a/sp/src/public/dmxloader/dmxelement.h +++ b/sp/src/public/dmxloader/dmxelement.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dmxloader/dmxloader.h b/sp/src/public/dmxloader/dmxloader.h index 54815ae50b..151bf90697 100644 --- a/sp/src/public/dmxloader/dmxloader.h +++ b/sp/src/public/dmxloader/dmxloader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_common.h b/sp/src/public/dt_common.h index cee401331c..52ece5412a 100644 --- a/sp/src/public/dt_common.h +++ b/sp/src/public/dt_common.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_recv.cpp b/sp/src/public/dt_recv.cpp index 8411b1d135..8a9e38f149 100644 --- a/sp/src/public/dt_recv.cpp +++ b/sp/src/public/dt_recv.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_recv.h b/sp/src/public/dt_recv.h index 883b8f7537..c0c945d7d6 100644 --- a/sp/src/public/dt_recv.h +++ b/sp/src/public/dt_recv.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_send.cpp b/sp/src/public/dt_send.cpp index caad419148..cb5fe73859 100644 --- a/sp/src/public/dt_send.cpp +++ b/sp/src/public/dt_send.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_send.h b/sp/src/public/dt_send.h index d84b00ae58..a88724a8df 100644 --- a/sp/src/public/dt_send.h +++ b/sp/src/public/dt_send.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_shared.cpp b/sp/src/public/dt_shared.cpp index 3508d21434..ea508935fa 100644 --- a/sp/src/public/dt_shared.cpp +++ b/sp/src/public/dt_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_shared.h b/sp/src/public/dt_shared.h index d065b3ffdb..c8977b5bde 100644 --- a/sp/src/public/dt_shared.h +++ b/sp/src/public/dt_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_utlvector_common.cpp b/sp/src/public/dt_utlvector_common.cpp index 08df842f5a..d85b6a8a7a 100644 --- a/sp/src/public/dt_utlvector_common.cpp +++ b/sp/src/public/dt_utlvector_common.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_utlvector_common.h b/sp/src/public/dt_utlvector_common.h index 681ce04617..6c8f0f22dd 100644 --- a/sp/src/public/dt_utlvector_common.h +++ b/sp/src/public/dt_utlvector_common.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_utlvector_recv.cpp b/sp/src/public/dt_utlvector_recv.cpp index 7fa86fdc08..b2d175152d 100644 --- a/sp/src/public/dt_utlvector_recv.cpp +++ b/sp/src/public/dt_utlvector_recv.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_utlvector_recv.h b/sp/src/public/dt_utlvector_recv.h index 6b27057afd..a6649b58c2 100644 --- a/sp/src/public/dt_utlvector_recv.h +++ b/sp/src/public/dt_utlvector_recv.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL1. // diff --git a/sp/src/public/dt_utlvector_send.cpp b/sp/src/public/dt_utlvector_send.cpp index 06f78c64cc..1ead83c428 100644 --- a/sp/src/public/dt_utlvector_send.cpp +++ b/sp/src/public/dt_utlvector_send.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/dt_utlvector_send.h b/sp/src/public/dt_utlvector_send.h index 3684d5b500..cabc23c30e 100644 --- a/sp/src/public/dt_utlvector_send.h +++ b/sp/src/public/dt_utlvector_send.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Player for HL1. // diff --git a/sp/src/public/edict.h b/sp/src/public/edict.h index 67c558cd63..8037491af8 100644 --- a/sp/src/public/edict.h +++ b/sp/src/public/edict.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/editor_sendcommand.cpp b/sp/src/public/editor_sendcommand.cpp index c08b5f5b8d..f7cf6d51be 100644 --- a/sp/src/public/editor_sendcommand.cpp +++ b/sp/src/public/editor_sendcommand.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements an interface to the map editor for the execution of // editor shell commands from another application. Commands allow the diff --git a/sp/src/public/editor_sendcommand.h b/sp/src/public/editor_sendcommand.h index 3c944eb9b3..386997181b 100644 --- a/sp/src/public/editor_sendcommand.h +++ b/sp/src/public/editor_sendcommand.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines an interface to the map editor for the execution of // editor shell commands from another application. Commands allow the diff --git a/sp/src/public/eiface.h b/sp/src/public/eiface.h index 2dc83a2292..6a3debe0ad 100644 --- a/sp/src/public/eiface.h +++ b/sp/src/public/eiface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/eifacev21.h b/sp/src/public/eifacev21.h index 7bb36cc562..f21cb77e87 100644 --- a/sp/src/public/eifacev21.h +++ b/sp/src/public/eifacev21.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Defines entity interface between engine and DLLs. // This header file included by engine files and DLL files. diff --git a/sp/src/public/engine/IClientLeafSystem.h b/sp/src/public/engine/IClientLeafSystem.h index 6efab6a52b..60cf53e543 100644 --- a/sp/src/public/engine/IClientLeafSystem.h +++ b/sp/src/public/engine/IClientLeafSystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/ICollideable.h b/sp/src/public/engine/ICollideable.h index 8906e5a488..6efedbf3b7 100644 --- a/sp/src/public/engine/ICollideable.h +++ b/sp/src/public/engine/ICollideable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/IEngineSound.h b/sp/src/public/engine/IEngineSound.h index f4f83a9c47..587aac5ffc 100644 --- a/sp/src/public/engine/IEngineSound.h +++ b/sp/src/public/engine/IEngineSound.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Client-server neutral sound interface // diff --git a/sp/src/public/engine/IEngineTrace.h b/sp/src/public/engine/IEngineTrace.h index 6e4977190d..bff7b5314c 100644 --- a/sp/src/public/engine/IEngineTrace.h +++ b/sp/src/public/engine/IEngineTrace.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/IStaticPropMgr.h b/sp/src/public/engine/IStaticPropMgr.h index ed6cc3cd01..4fc6000ae5 100644 --- a/sp/src/public/engine/IStaticPropMgr.h +++ b/sp/src/public/engine/IStaticPropMgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/SndInfo.h b/sp/src/public/engine/SndInfo.h index a3628f2fec..93b1024711 100644 --- a/sp/src/public/engine/SndInfo.h +++ b/sp/src/public/engine/SndInfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/http.h b/sp/src/public/engine/http.h index 79fd1dcd6c..0c9dcb840d 100644 --- a/sp/src/public/engine/http.h +++ b/sp/src/public/engine/http.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/public/engine/ienginevoice.h b/sp/src/public/engine/ienginevoice.h index aab5f99ace..91e42290bf 100644 --- a/sp/src/public/engine/ienginevoice.h +++ b/sp/src/public/engine/ienginevoice.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Engine voice interface // diff --git a/sp/src/public/engine/imatchmaking.h b/sp/src/public/engine/imatchmaking.h index 4c9aa81fbe..02722bc4cd 100644 --- a/sp/src/public/engine/imatchmaking.h +++ b/sp/src/public/engine/imatchmaking.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/iserverplugin.h b/sp/src/public/engine/iserverplugin.h index 608583ba2c..d6fdcf6cad 100644 --- a/sp/src/public/engine/iserverplugin.h +++ b/sp/src/public/engine/iserverplugin.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/ishadowmgr.h b/sp/src/public/engine/ishadowmgr.h index 5165a8ab2a..da121b720e 100644 --- a/sp/src/public/engine/ishadowmgr.h +++ b/sp/src/public/engine/ishadowmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/ivdebugoverlay.h b/sp/src/public/engine/ivdebugoverlay.h index c23e225dcb..5b5b16293b 100644 --- a/sp/src/public/engine/ivdebugoverlay.h +++ b/sp/src/public/engine/ivdebugoverlay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/ivmodelinfo.h b/sp/src/public/engine/ivmodelinfo.h index 6d534604fa..4226162a65 100644 --- a/sp/src/public/engine/ivmodelinfo.h +++ b/sp/src/public/engine/ivmodelinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/ivmodelrender.h b/sp/src/public/engine/ivmodelrender.h index fabaa770ee..2385e63682 100644 --- a/sp/src/public/engine/ivmodelrender.h +++ b/sp/src/public/engine/ivmodelrender.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine/view_sharedv1.h b/sp/src/public/engine/view_sharedv1.h index cd5fd48c77..f5a3c03bb6 100644 --- a/sp/src/public/engine/view_sharedv1.h +++ b/sp/src/public/engine/view_sharedv1.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/engine_hlds_api.h b/sp/src/public/engine_hlds_api.h index 8053595836..6d5fa9985a 100644 --- a/sp/src/public/engine_hlds_api.h +++ b/sp/src/public/engine_hlds_api.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/event_flags.h b/sp/src/public/event_flags.h index 868abb569d..4671ac7f42 100644 --- a/sp/src/public/event_flags.h +++ b/sp/src/public/event_flags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/fgdlib/entitydefs.h b/sp/src/public/fgdlib/entitydefs.h index f2fcd8d46a..5fa7ba9fb6 100644 --- a/sp/src/public/fgdlib/entitydefs.h +++ b/sp/src/public/fgdlib/entitydefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/fgdlib/fgdlib.h b/sp/src/public/fgdlib/fgdlib.h index 76051cfb56..722b3980ee 100644 --- a/sp/src/public/fgdlib/fgdlib.h +++ b/sp/src/public/fgdlib/fgdlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/fgdlib/gamedata.h b/sp/src/public/fgdlib/gamedata.h index 5d55db2f70..f5a9b44e32 100644 --- a/sp/src/public/fgdlib/gamedata.h +++ b/sp/src/public/fgdlib/gamedata.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/fgdlib/gdclass.h b/sp/src/public/fgdlib/gdclass.h index fe81bb3759..6e18461f68 100644 --- a/sp/src/public/fgdlib/gdclass.h +++ b/sp/src/public/fgdlib/gdclass.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the interface to a game class as defined by the game data // file (FGD). Each class is type of entity that can be placed in diff --git a/sp/src/public/fgdlib/gdvar.h b/sp/src/public/fgdlib/gdvar.h index e6eb37feb3..572f73e359 100644 --- a/sp/src/public/fgdlib/gdvar.h +++ b/sp/src/public/fgdlib/gdvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/fgdlib/helperinfo.h b/sp/src/public/fgdlib/helperinfo.h index affd5666ae..216e7e8e4a 100644 --- a/sp/src/public/fgdlib/helperinfo.h +++ b/sp/src/public/fgdlib/helperinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= diff --git a/sp/src/public/fgdlib/ieditortexture.h b/sp/src/public/fgdlib/ieditortexture.h index 076839efcc..ff3fbb04ac 100644 --- a/sp/src/public/fgdlib/ieditortexture.h +++ b/sp/src/public/fgdlib/ieditortexture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the interface a given texture for the 3D renderer. Current // implementations are for world textures (WADTexture.cpp) and sprite diff --git a/sp/src/public/fgdlib/inputoutput.h b/sp/src/public/fgdlib/inputoutput.h index 7438f08f48..76123da506 100644 --- a/sp/src/public/fgdlib/inputoutput.h +++ b/sp/src/public/fgdlib/inputoutput.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //============================================================================= diff --git a/sp/src/public/fgdlib/wckeyvalues.h b/sp/src/public/fgdlib/wckeyvalues.h index 730d92d195..4a5107633d 100644 --- a/sp/src/public/fgdlib/wckeyvalues.h +++ b/sp/src/public/fgdlib/wckeyvalues.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem.h b/sp/src/public/filesystem.h index 9ae55bcb52..ca035720cc 100644 --- a/sp/src/public/filesystem.h +++ b/sp/src/public/filesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem/IQueuedLoader.h b/sp/src/public/filesystem/IQueuedLoader.h index 2d5580a5aa..8a1af39dee 100644 --- a/sp/src/public/filesystem/IQueuedLoader.h +++ b/sp/src/public/filesystem/IQueuedLoader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem_helpers.cpp b/sp/src/public/filesystem_helpers.cpp index 5e4ac997c9..158cdd0c5e 100644 --- a/sp/src/public/filesystem_helpers.cpp +++ b/sp/src/public/filesystem_helpers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem_helpers.h b/sp/src/public/filesystem_helpers.h index 070e779ad9..81095e8090 100644 --- a/sp/src/public/filesystem_helpers.h +++ b/sp/src/public/filesystem_helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem_init.cpp b/sp/src/public/filesystem_init.cpp index 36b484f56a..90fb66ee2d 100644 --- a/sp/src/public/filesystem_init.cpp +++ b/sp/src/public/filesystem_init.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -399,7 +399,7 @@ FSReturnCode_t SetupFileSystemError( bool bRunVConfig, FSReturnCode_t retVal, co Q_vsnprintf( g_FileSystemError, sizeof( g_FileSystemError ), pMsg, marker ); va_end( marker ); - Warning( "%s\n", g_FileSystemError ); + Warning("\t%s\n", g_FileSystemError ); // Run vconfig? // Don't do it if they specifically asked for it not to, or if they manually specified a vconfig with -game or -vproject. @@ -410,7 +410,7 @@ FSReturnCode_t SetupFileSystemError( bool bRunVConfig, FSReturnCode_t retVal, co if ( g_FileSystemErrorMode == FS_ERRORMODE_AUTO || g_FileSystemErrorMode == FS_ERRORMODE_VCONFIG ) { - Error( "%s\n", g_FileSystemError ); + Error("\t%s\n", g_FileSystemError ); } return retVal; @@ -561,7 +561,7 @@ FSReturnCode_t FileSystem_LoadSearchPaths( CFSSearchPathsInit &initInfo ) V_MakeAbsolutePath( szAbsSearchPath, sizeof( szAbsSearchPath ), vecPaths[ idxExtraPath ], baseDir ); V_FixSlashes( szAbsSearchPath ); if ( !V_RemoveDotSlashes( szAbsSearchPath ) ) - Error( "Bad -insert_search_path - Can't resolve pathname for '%s'", szAbsSearchPath ); + Error("\tBad -insert_search_path - Can't resolve pathname for '%s'", szAbsSearchPath ); V_StripTrailingSlash( szAbsSearchPath ); FileSystem_AddLoadedSearchPath( initInfo, "GAME", szAbsSearchPath, false ); FileSystem_AddLoadedSearchPath( initInfo, "MOD", szAbsSearchPath, false ); @@ -599,7 +599,7 @@ FSReturnCode_t FileSystem_LoadSearchPaths( CFSSearchPathsInit &initInfo ) // Now resolve any ./'s. V_FixSlashes( szAbsSearchPath ); if ( !V_RemoveDotSlashes( szAbsSearchPath ) ) - Error( "FileSystem_AddLoadedSearchPath - Can't resolve pathname for '%s'", szAbsSearchPath ); + Error("\tFileSystem_AddLoadedSearchPath - Can't resolve pathname for '%s'", szAbsSearchPath ); V_StripTrailingSlash( szAbsSearchPath ); // Don't bother doing any wildcard expansion unless it has wildcards. This avoids the weird @@ -924,7 +924,7 @@ FSReturnCode_t LocateGameInfoFile( const CFSSteamSetupInfo &fsInfo, char *pOutDi if ( IsPC() ) { - Warning( "Warning: falling back to auto detection of vproject directory.\n" ); + Warning("\tWarning: falling back to auto detection of vproject directory.\n" ); // Now look for it in the directory they passed in. if ( fsInfo.m_pDirectoryName ) @@ -999,7 +999,7 @@ FSReturnCode_t SetSteamInstallPath( char *steamInstallPath, int steamInstallPath { if ( bErrorsAsWarnings ) { - Warning( "SetSteamInstallPath: FileSystem_GetExecutableDir failed.\n" ); + Warning("\tSetSteamInstallPath: FileSystem_GetExecutableDir failed.\n" ); return FS_INVALID_PARAMETERS; } else @@ -1029,7 +1029,7 @@ FSReturnCode_t SetSteamInstallPath( char *steamInstallPath, int steamInstallPath { if ( bErrorsAsWarnings ) { - Warning( "Can't find %s relative to executable path: %s.\n", pchSteamDLL, executablePath ); + Warning("\tCan't find %s relative to executable path: %s.\n", pchSteamDLL, executablePath ); return FS_MISSING_STEAM_DLL; } else @@ -1105,7 +1105,7 @@ void SetSteamAppUser( KeyValues *pSteamInfo, const char *steamInstallPath, CStea KeyValues *pSteamAppData = ReadKeyValuesFile( fullFilename ); if ( !pSteamAppData || (pTempAppUser = pSteamAppData->GetString( "AutoLoginUser", NULL )) == NULL ) { - Error( "Can't find steam app user info." ); + Error("\tCan't find steam app user info." ); } Q_strncpy( appUser, pTempAppUser, sizeof( appUser ) ); diff --git a/sp/src/public/filesystem_init.h b/sp/src/public/filesystem_init.h index d95e7c3a7f..ab62c6fce8 100644 --- a/sp/src/public/filesystem_init.h +++ b/sp/src/public/filesystem_init.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/filesystem_passthru.h b/sp/src/public/filesystem_passthru.h index b6f1d2c790..a8dfccd6fd 100644 --- a/sp/src/public/filesystem_passthru.h +++ b/sp/src/public/filesystem_passthru.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/game/client/IGameClientExports.h b/sp/src/public/game/client/IGameClientExports.h index 2679b6efc0..9c3e2980cd 100644 --- a/sp/src/public/game/client/IGameClientExports.h +++ b/sp/src/public/game/client/IGameClientExports.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/game/client/iclientrendertargets.h b/sp/src/public/game/client/iclientrendertargets.h index 60a144748e..086288382e 100644 --- a/sp/src/public/game/client/iclientrendertargets.h +++ b/sp/src/public/game/client/iclientrendertargets.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Exposes interfaces to the engine which allow the client to setup their own render targets // during the proper period of material system's init. diff --git a/sp/src/public/game/client/iviewport.h b/sp/src/public/game/client/iviewport.h index 5e26f3a560..06927f660c 100644 --- a/sp/src/public/game/client/iviewport.h +++ b/sp/src/public/game/client/iviewport.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/game/server/ientityinfo.h b/sp/src/public/game/server/ientityinfo.h index 04ab6b399d..7b0f9ddd98 100644 --- a/sp/src/public/game/server/ientityinfo.h +++ b/sp/src/public/game/server/ientityinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: provides an interface for plugins to query information about entities from the game dll // diff --git a/sp/src/public/game/server/igameinfo.h b/sp/src/public/game/server/igameinfo.h index 8218a1f93e..1e99d4a831 100644 --- a/sp/src/public/game/server/igameinfo.h +++ b/sp/src/public/game/server/igameinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: provides an interface for plugins to query information about the gamerules in a simple // and organized mannor. diff --git a/sp/src/public/game/server/iplayerinfo.h b/sp/src/public/game/server/iplayerinfo.h index 630abe9ef4..895077265a 100644 --- a/sp/src/public/game/server/iplayerinfo.h +++ b/sp/src/public/game/server/iplayerinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: provides an interface for dlls to query information about players from the game dll // diff --git a/sp/src/public/game/server/pluginvariant.h b/sp/src/public/game/server/pluginvariant.h index b4a798c7cd..5166911c35 100644 --- a/sp/src/public/game/server/pluginvariant.h +++ b/sp/src/public/game/server/pluginvariant.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/gamebspfile.h b/sp/src/public/gamebspfile.h index f8029baebc..4c212a71fc 100644 --- a/sp/src/public/gamebspfile.h +++ b/sp/src/public/gamebspfile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines game-specific data // diff --git a/sp/src/public/gametrace.h b/sp/src/public/gametrace.h index 7fe4000579..8214e67a7b 100644 --- a/sp/src/public/gametrace.h +++ b/sp/src/public/gametrace.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/globalvars_base.h b/sp/src/public/globalvars_base.h index 7ba96cb2e8..0a61de6f38 100644 --- a/sp/src/public/globalvars_base.h +++ b/sp/src/public/globalvars_base.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/html/htmlmessages.h b/sp/src/public/html/htmlmessages.h index bfdc34758c..16bd9205f7 100644 --- a/sp/src/public/html/htmlmessages.h +++ b/sp/src/public/html/htmlmessages.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/public/html/htmlprotobuf.cpp b/sp/src/public/html/htmlprotobuf.cpp index 19822273c5..8c7bd3c1f5 100644 --- a/sp/src/public/html/htmlprotobuf.cpp +++ b/sp/src/public/html/htmlprotobuf.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/public/html/htmlprotobuf.h b/sp/src/public/html/htmlprotobuf.h index 35d1d1d9a8..721231a1d5 100644 --- a/sp/src/public/html/htmlprotobuf.h +++ b/sp/src/public/html/htmlprotobuf.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/public/html/ichromehtmlwrapper.h b/sp/src/public/html/ichromehtmlwrapper.h index d606ba0511..a4f8774496 100644 --- a/sp/src/public/html/ichromehtmlwrapper.h +++ b/sp/src/public/html/ichromehtmlwrapper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/html/ihtmlchrome.h b/sp/src/public/html/ihtmlchrome.h index b4b74355c0..a67f07bace 100644 --- a/sp/src/public/html/ihtmlchrome.h +++ b/sp/src/public/html/ihtmlchrome.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/public/html/ipainthtml.h b/sp/src/public/html/ipainthtml.h index 9e47e23f79..a98de8dc3f 100644 --- a/sp/src/public/html/ipainthtml.h +++ b/sp/src/public/html/ipainthtml.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iachievementmgr.h b/sp/src/public/iachievementmgr.h index 303eea4486..c90915a818 100644 --- a/sp/src/public/iachievementmgr.h +++ b/sp/src/public/iachievementmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ibsppack.h b/sp/src/public/ibsppack.h index 7ecaa780b3..ab4037d353 100644 --- a/sp/src/public/ibsppack.h +++ b/sp/src/public/ibsppack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclient.h b/sp/src/public/iclient.h index 2ba39e2adc..1d0826d94f 100644 --- a/sp/src/public/iclient.h +++ b/sp/src/public/iclient.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/icliententity.h b/sp/src/public/icliententity.h index 213381f064..55a7f1184f 100644 --- a/sp/src/public/icliententity.h +++ b/sp/src/public/icliententity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/icliententitylist.h b/sp/src/public/icliententitylist.h index 1e0e2586c8..2ad2809373 100644 --- a/sp/src/public/icliententitylist.h +++ b/sp/src/public/icliententitylist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclientnetworkable.h b/sp/src/public/iclientnetworkable.h index 434a276bb0..06f02d8922 100644 --- a/sp/src/public/iclientnetworkable.h +++ b/sp/src/public/iclientnetworkable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclientrenderable.h b/sp/src/public/iclientrenderable.h index 77ce8f220f..0cb9751007 100644 --- a/sp/src/public/iclientrenderable.h +++ b/sp/src/public/iclientrenderable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclientthinkable.h b/sp/src/public/iclientthinkable.h index 4adc8bb546..3d4d669000 100644 --- a/sp/src/public/iclientthinkable.h +++ b/sp/src/public/iclientthinkable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclientunknown.h b/sp/src/public/iclientunknown.h index ac7e1e8f12..74fc77b642 100644 --- a/sp/src/public/iclientunknown.h +++ b/sp/src/public/iclientunknown.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iclientvirtualreality.h b/sp/src/public/iclientvirtualreality.h index b24cd26d26..1f1af2fbca 100644 --- a/sp/src/public/iclientvirtualreality.h +++ b/sp/src/public/iclientvirtualreality.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the IClientVirtualReality interface, which is implemented in // client.dll and called by engine.dll diff --git a/sp/src/public/icvar.h b/sp/src/public/icvar.h index 369adc58e3..cf1fb91335 100644 --- a/sp/src/public/icvar.h +++ b/sp/src/public/icvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/idedicatedexports.h b/sp/src/public/idedicatedexports.h index 817401f7e4..a3a4400c6c 100644 --- a/sp/src/public/idedicatedexports.h +++ b/sp/src/public/idedicatedexports.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iefx.h b/sp/src/public/iefx.h index 838353894c..7b6cafc1c3 100644 --- a/sp/src/public/iefx.h +++ b/sp/src/public/iefx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ienginevgui.h b/sp/src/public/ienginevgui.h index 601ba27c40..10fd04f6cf 100644 --- a/sp/src/public/ienginevgui.h +++ b/sp/src/public/ienginevgui.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iexternaltest.h b/sp/src/public/iexternaltest.h index 7417405607..3b28317c51 100644 --- a/sp/src/public/iexternaltest.h +++ b/sp/src/public/iexternaltest.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: interface to external test DLLs // diff --git a/sp/src/public/ifilelist.h b/sp/src/public/ifilelist.h index 00dd20f94e..1b483ffbaa 100644 --- a/sp/src/public/ifilelist.h +++ b/sp/src/public/ifilelist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/igameevents.h b/sp/src/public/igameevents.h index 4746361e42..b61824648d 100644 --- a/sp/src/public/igameevents.h +++ b/sp/src/public/igameevents.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/igameresources.h b/sp/src/public/igameresources.h index 8aeaae25a4..be8664910e 100644 --- a/sp/src/public/igameresources.h +++ b/sp/src/public/igameresources.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: IGameResources interface // diff --git a/sp/src/public/ihandleentity.h b/sp/src/public/ihandleentity.h index 56b3237abb..c750a91625 100644 --- a/sp/src/public/ihandleentity.h +++ b/sp/src/public/ihandleentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ihltv.h b/sp/src/public/ihltv.h index 4fd3a221f1..d60d2f7b15 100644 --- a/sp/src/public/ihltv.h +++ b/sp/src/public/ihltv.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ihltvdirector.h b/sp/src/public/ihltvdirector.h index 870511f138..4f129767a7 100644 --- a/sp/src/public/ihltvdirector.h +++ b/sp/src/public/ihltvdirector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ilaunchabledll.h b/sp/src/public/ilaunchabledll.h index 561cce96d7..5473a188e6 100644 --- a/sp/src/public/ilaunchabledll.h +++ b/sp/src/public/ilaunchabledll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/imapoverview.h b/sp/src/public/imapoverview.h index ec6c3c53ca..01e7215254 100644 --- a/sp/src/public/imapoverview.h +++ b/sp/src/public/imapoverview.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inetchannel.h b/sp/src/public/inetchannel.h index 88564b575b..99a42acfc5 100644 --- a/sp/src/public/inetchannel.h +++ b/sp/src/public/inetchannel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inetchannelinfo.h b/sp/src/public/inetchannelinfo.h index 41fe186ea2..143c05a59c 100644 --- a/sp/src/public/inetchannelinfo.h +++ b/sp/src/public/inetchannelinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inetmessage.h b/sp/src/public/inetmessage.h index 0a3e1858a3..e4fe3c919a 100644 --- a/sp/src/public/inetmessage.h +++ b/sp/src/public/inetmessage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: INetMessage interface // diff --git a/sp/src/public/inetmsghandler.h b/sp/src/public/inetmsghandler.h index 80181cc4fa..d18c94fffd 100644 --- a/sp/src/public/inetmsghandler.h +++ b/sp/src/public/inetmsghandler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inetwork.h b/sp/src/public/inetwork.h index 5014e15f70..9e2894b67f 100644 --- a/sp/src/public/inetwork.h +++ b/sp/src/public/inetwork.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inputsystem/AnalogCode.h b/sp/src/public/inputsystem/AnalogCode.h index 51a8441d41..509baecc69 100644 --- a/sp/src/public/inputsystem/AnalogCode.h +++ b/sp/src/public/inputsystem/AnalogCode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inputsystem/ButtonCode.h b/sp/src/public/inputsystem/ButtonCode.h index 39dc7e0a61..bc69f3fa9c 100644 --- a/sp/src/public/inputsystem/ButtonCode.h +++ b/sp/src/public/inputsystem/ButtonCode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inputsystem/InputEnums.h b/sp/src/public/inputsystem/InputEnums.h index 4da6866b37..dc62762ef5 100644 --- a/sp/src/public/inputsystem/InputEnums.h +++ b/sp/src/public/inputsystem/InputEnums.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/inputsystem/iinputsystem.h b/sp/src/public/inputsystem/iinputsystem.h index ab408e09a1..aeca41bd38 100644 --- a/sp/src/public/inputsystem/iinputsystem.h +++ b/sp/src/public/inputsystem/iinputsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/interpolatortypes.cpp b/sp/src/public/interpolatortypes.cpp index e8227ed1ca..df4e3c79d5 100644 --- a/sp/src/public/interpolatortypes.cpp +++ b/sp/src/public/interpolatortypes.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/interpolatortypes.h b/sp/src/public/interpolatortypes.h index 74c667a1f6..b65f58d3df 100644 --- a/sp/src/public/interpolatortypes.h +++ b/sp/src/public/interpolatortypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iprediction.h b/sp/src/public/iprediction.h index 858bff3b09..68b4ae834f 100644 --- a/sp/src/public/iprediction.h +++ b/sp/src/public/iprediction.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/irecipientfilter.h b/sp/src/public/irecipientfilter.h index 001e0ce549..872038c1c3 100644 --- a/sp/src/public/irecipientfilter.h +++ b/sp/src/public/irecipientfilter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iregistry.h b/sp/src/public/iregistry.h index 9280680a4f..adb34ab7c8 100644 --- a/sp/src/public/iregistry.h +++ b/sp/src/public/iregistry.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/isaverestore.h b/sp/src/public/isaverestore.h index bfb40a17f5..4415f1c784 100644 --- a/sp/src/public/isaverestore.h +++ b/sp/src/public/isaverestore.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iscratchpad3d.h b/sp/src/public/iscratchpad3d.h index 82e43654e3..90d727abd8 100644 --- a/sp/src/public/iscratchpad3d.h +++ b/sp/src/public/iscratchpad3d.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -284,7 +284,7 @@ inline CSPVertList::CSPVertList(CSPVert const *pVerts, int nVerts ) inline CSPVertList::CSPVertList(Vector const *pVerts, int nVerts, CSPColor vColor ) { m_Verts.AddMultipleToTail( nVerts ); - for( int i=0; i < nVerts; i++ ) + for( int i = 0; i < nVerts; i++ ) { m_Verts[i].m_vPos = pVerts[i]; m_Verts[i].m_vColor = vColor; @@ -294,7 +294,7 @@ inline CSPVertList::CSPVertList(Vector const *pVerts, int nVerts, CSPColor vColo inline CSPVertList::CSPVertList( Vector const *pVerts, Vector const *pColors, int nVerts ) { m_Verts.AddMultipleToTail( nVerts ); - for( int i=0; i < nVerts; i++ ) + for( int i = 0; i < nVerts; i++ ) { m_Verts[i].m_vPos = pVerts[i]; m_Verts[i].m_vColor = pColors[i]; @@ -304,7 +304,7 @@ inline CSPVertList::CSPVertList( Vector const *pVerts, Vector const *pColors, in inline CSPVertList::CSPVertList( Vector const *pVerts, CSPColor const *pColors, int nVerts ) { m_Verts.AddMultipleToTail( nVerts ); - for( int i=0; i < nVerts; i++ ) + for( int i = 0; i < nVerts; i++ ) { m_Verts[i].m_vPos = pVerts[i]; m_Verts[i].m_vColor = pColors[i]; diff --git a/sp/src/public/iserver.h b/sp/src/public/iserver.h index 9e59355a99..8f2d3676e0 100644 --- a/sp/src/public/iserver.h +++ b/sp/src/public/iserver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iserverentity.h b/sp/src/public/iserverentity.h index a53e9c34fc..eb2aa06ca2 100644 --- a/sp/src/public/iserverentity.h +++ b/sp/src/public/iserverentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iservernetworkable.h b/sp/src/public/iservernetworkable.h index cefa75346f..edd9229809 100644 --- a/sp/src/public/iservernetworkable.h +++ b/sp/src/public/iservernetworkable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/iserverunknown.h b/sp/src/public/iserverunknown.h index 97f3c998ac..dd0e750716 100644 --- a/sp/src/public/iserverunknown.h +++ b/sp/src/public/iserverunknown.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ishadercompiledll.h b/sp/src/public/ishadercompiledll.h index 03a1d1c943..c0ec3ab72a 100644 --- a/sp/src/public/ishadercompiledll.h +++ b/sp/src/public/ishadercompiledll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/isoundcombiner.h b/sp/src/public/isoundcombiner.h index 8c90a29eac..58b8e4bf61 100644 --- a/sp/src/public/isoundcombiner.h +++ b/sp/src/public/isoundcombiner.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ispatialpartition.h b/sp/src/public/ispatialpartition.h index 6b6678f747..b59f783804 100644 --- a/sp/src/public/ispatialpartition.h +++ b/sp/src/public/ispatialpartition.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/isqlwrapper.h b/sp/src/public/isqlwrapper.h index 5e6603b5b2..76ac73ae86 100644 --- a/sp/src/public/isqlwrapper.h +++ b/sp/src/public/isqlwrapper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Sql wrapper, encapsulates basic SQL functionality // diff --git a/sp/src/public/istudiorender.h b/sp/src/public/istudiorender.h index f0af611595..5843447a3a 100644 --- a/sp/src/public/istudiorender.h +++ b/sp/src/public/istudiorender.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ivguicenterprint.h b/sp/src/public/ivguicenterprint.h index f1d9746527..b88ff6b608 100644 --- a/sp/src/public/ivguicenterprint.h +++ b/sp/src/public/ivguicenterprint.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ivoiceserver.h b/sp/src/public/ivoiceserver.h index c0a48f70f5..5338bd0c33 100644 --- a/sp/src/public/ivoiceserver.h +++ b/sp/src/public/ivoiceserver.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This module defines the IVoiceServer interface, which is used by // game code to control which clients are listening to which other diff --git a/sp/src/public/ivoicetweak.h b/sp/src/public/ivoicetweak.h index 4a4d0eaffd..e9899da311 100644 --- a/sp/src/public/ivoicetweak.h +++ b/sp/src/public/ivoicetweak.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ivraddll.h b/sp/src/public/ivraddll.h index 4b91759152..860d7ddded 100644 --- a/sp/src/public/ivraddll.h +++ b/sp/src/public/ivraddll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ivrenderview.h b/sp/src/public/ivrenderview.h index 79dadc6fde..c0bca4c677 100644 --- a/sp/src/public/ivrenderview.h +++ b/sp/src/public/ivrenderview.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ivtex.h b/sp/src/public/ivtex.h index b85b6213bf..dc3166cd1b 100644 --- a/sp/src/public/ivtex.h +++ b/sp/src/public/ivtex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/ixboxsystem.h b/sp/src/public/ixboxsystem.h index 009da96e3b..52f85d1b73 100644 --- a/sp/src/public/ixboxsystem.h +++ b/sp/src/public/ixboxsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface to Xbox 360 system functions. Helps deal with the async system and Live // functions by either providing a handle for the caller to check results or handling diff --git a/sp/src/public/jigglebones.cpp b/sp/src/public/jigglebones.cpp index 10038e5802..1299fabf67 100644 --- a/sp/src/public/jigglebones.cpp +++ b/sp/src/public/jigglebones.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/jigglebones.h b/sp/src/public/jigglebones.h index 57afdaa77d..e52803d63e 100644 --- a/sp/src/public/jigglebones.h +++ b/sp/src/public/jigglebones.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/kevvaluescompiler.cpp b/sp/src/public/kevvaluescompiler.cpp index 5645906256..9d9ea67e4c 100644 --- a/sp/src/public/kevvaluescompiler.cpp +++ b/sp/src/public/kevvaluescompiler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/keyframe/keyframe.cpp b/sp/src/public/keyframe/keyframe.cpp index 425a172ece..12f803c5f0 100644 --- a/sp/src/public/keyframe/keyframe.cpp +++ b/sp/src/public/keyframe/keyframe.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/keyframe/keyframe.h b/sp/src/public/keyframe/keyframe.h index 4ee0482439..77dc7e1a69 100644 --- a/sp/src/public/keyframe/keyframe.h +++ b/sp/src/public/keyframe/keyframe.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Keyframed animation header // shared between game and tools diff --git a/sp/src/public/keyvaluescompiler.h b/sp/src/public/keyvaluescompiler.h index ff6cc40da2..8949de0ee7 100644 --- a/sp/src/public/keyvaluescompiler.h +++ b/sp/src/public/keyvaluescompiler.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/list.h b/sp/src/public/list.h index af25411fb9..c80be0a3ab 100644 --- a/sp/src/public/list.h +++ b/sp/src/public/list.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/loadcmdline.cpp b/sp/src/public/loadcmdline.cpp index 1df30efbb7..6f951dd55d 100644 --- a/sp/src/public/loadcmdline.cpp +++ b/sp/src/public/loadcmdline.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: loads additional command line options from a config file // diff --git a/sp/src/public/loadcmdline.h b/sp/src/public/loadcmdline.h index 084e090dc9..e2c4f4afd0 100644 --- a/sp/src/public/loadcmdline.h +++ b/sp/src/public/loadcmdline.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: loads additional command line options from a config file // diff --git a/sp/src/public/localflexcontroller.h b/sp/src/public/localflexcontroller.h index 7afb1c9d1d..3e4ff34029 100644 --- a/sp/src/public/localflexcontroller.h +++ b/sp/src/public/localflexcontroller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/lumpfiles.cpp b/sp/src/public/lumpfiles.cpp index eb11e788e2..c547547055 100644 --- a/sp/src/public/lumpfiles.cpp +++ b/sp/src/public/lumpfiles.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/lumpfiles.h b/sp/src/public/lumpfiles.h index a2512163a8..9c14f96011 100644 --- a/sp/src/public/lumpfiles.h +++ b/sp/src/public/lumpfiles.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/map_utils.cpp b/sp/src/public/map_utils.cpp index a0022b5d0e..24e79a8261 100644 --- a/sp/src/public/map_utils.cpp +++ b/sp/src/public/map_utils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/map_utils.h b/sp/src/public/map_utils.h index 555ca23533..bf530ca024 100644 --- a/sp/src/public/map_utils.h +++ b/sp/src/public/map_utils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/IColorCorrection.h b/sp/src/public/materialsystem/IColorCorrection.h index 1aa0c246ec..329a5955f5 100644 --- a/sp/src/public/materialsystem/IColorCorrection.h +++ b/sp/src/public/materialsystem/IColorCorrection.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/IShader.h b/sp/src/public/materialsystem/IShader.h index 27bf91e319..3ca9207e9f 100644 --- a/sp/src/public/materialsystem/IShader.h +++ b/sp/src/public/materialsystem/IShader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/MaterialSystemUtil.cpp b/sp/src/public/materialsystem/MaterialSystemUtil.cpp index ba63f007c8..ceee02b5b2 100644 --- a/sp/src/public/materialsystem/MaterialSystemUtil.cpp +++ b/sp/src/public/materialsystem/MaterialSystemUtil.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/MaterialSystemUtil.h b/sp/src/public/materialsystem/MaterialSystemUtil.h index ddabcd220b..320ff3f982 100644 --- a/sp/src/public/materialsystem/MaterialSystemUtil.h +++ b/sp/src/public/materialsystem/MaterialSystemUtil.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/deformations.h b/sp/src/public/materialsystem/deformations.h index 083ceeb522..9595c84487 100644 --- a/sp/src/public/materialsystem/deformations.h +++ b/sp/src/public/materialsystem/deformations.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/hardwareverts.h b/sp/src/public/materialsystem/hardwareverts.h index c7a08fe913..f3f10c40cf 100644 --- a/sp/src/public/materialsystem/hardwareverts.h +++ b/sp/src/public/materialsystem/hardwareverts.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Hardware Verts // diff --git a/sp/src/public/materialsystem/idebugtextureinfo.h b/sp/src/public/materialsystem/idebugtextureinfo.h index 426486da49..8ab4eb5a1f 100644 --- a/sp/src/public/materialsystem/idebugtextureinfo.h +++ b/sp/src/public/materialsystem/idebugtextureinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterial.h b/sp/src/public/materialsystem/imaterial.h index 7af7aa158e..21ca611cbf 100644 --- a/sp/src/public/materialsystem/imaterial.h +++ b/sp/src/public/materialsystem/imaterial.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialproxy.h b/sp/src/public/materialsystem/imaterialproxy.h index 52c49bef99..74c61082bb 100644 --- a/sp/src/public/materialsystem/imaterialproxy.h +++ b/sp/src/public/materialsystem/imaterialproxy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialproxyfactory.h b/sp/src/public/materialsystem/imaterialproxyfactory.h index 4045cb00f4..0e2e458954 100644 --- a/sp/src/public/materialsystem/imaterialproxyfactory.h +++ b/sp/src/public/materialsystem/imaterialproxyfactory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialsystem.h b/sp/src/public/materialsystem/imaterialsystem.h index bd62f627ce..b1587ec296 100644 --- a/sp/src/public/materialsystem/imaterialsystem.h +++ b/sp/src/public/materialsystem/imaterialsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialsystemhardwareconfig.h b/sp/src/public/materialsystem/imaterialsystemhardwareconfig.h index 699b9bdf46..70b02e6422 100644 --- a/sp/src/public/materialsystem/imaterialsystemhardwareconfig.h +++ b/sp/src/public/materialsystem/imaterialsystemhardwareconfig.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialsystemstub.h b/sp/src/public/materialsystem/imaterialsystemstub.h index b289e1b965..0f2f3a0c4a 100644 --- a/sp/src/public/materialsystem/imaterialsystemstub.h +++ b/sp/src/public/materialsystem/imaterialsystemstub.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imaterialvar.h b/sp/src/public/materialsystem/imaterialvar.h index 4918d2465a..0fb1e456ac 100644 --- a/sp/src/public/materialsystem/imaterialvar.h +++ b/sp/src/public/materialsystem/imaterialvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imesh.h b/sp/src/public/materialsystem/imesh.h index b71be4d99f..b5db48eb9d 100644 --- a/sp/src/public/materialsystem/imesh.h +++ b/sp/src/public/materialsystem/imesh.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/imorph.h b/sp/src/public/materialsystem/imorph.h index c3bff78bbf..5da8f2ab79 100644 --- a/sp/src/public/materialsystem/imorph.h +++ b/sp/src/public/materialsystem/imorph.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/materialsystem/ishaderapi.h b/sp/src/public/materialsystem/ishaderapi.h index e16ad8c786..0dd0f9291b 100644 --- a/sp/src/public/materialsystem/ishaderapi.h +++ b/sp/src/public/materialsystem/ishaderapi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: NOTE: This file is for backward compat! // We'll get rid of it soon. Most of the contents of this file were moved diff --git a/sp/src/public/materialsystem/itexture.h b/sp/src/public/materialsystem/itexture.h index a5aa20fd82..3cab5d4647 100644 --- a/sp/src/public/materialsystem/itexture.h +++ b/sp/src/public/materialsystem/itexture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/ivballoctracker.h b/sp/src/public/materialsystem/ivballoctracker.h index 7d07e25d70..461229911a 100644 --- a/sp/src/public/materialsystem/ivballoctracker.h +++ b/sp/src/public/materialsystem/ivballoctracker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: tracks VB allocations (and compressed/uncompressed vertex memory usage) // diff --git a/sp/src/public/materialsystem/materialsystem_config.h b/sp/src/public/materialsystem/materialsystem_config.h index 2908d2ce72..f501c7306b 100644 --- a/sp/src/public/materialsystem/materialsystem_config.h +++ b/sp/src/public/materialsystem/materialsystem_config.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/meshreader.h b/sp/src/public/materialsystem/meshreader.h index 15b68738e5..17ef3c2504 100644 --- a/sp/src/public/materialsystem/meshreader.h +++ b/sp/src/public/materialsystem/meshreader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/materialsystem/shader_vcs_version.h b/sp/src/public/materialsystem/shader_vcs_version.h index eebad901ea..616cf892e5 100644 --- a/sp/src/public/materialsystem/shader_vcs_version.h +++ b/sp/src/public/materialsystem/shader_vcs_version.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/amd3dx.h b/sp/src/public/mathlib/amd3dx.h index 9dab1bfd50..292ef4fc82 100644 --- a/sp/src/public/mathlib/amd3dx.h +++ b/sp/src/public/mathlib/amd3dx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /****************************************************************************** Copyright (c) 1999 Advanced Micro Devices, Inc. diff --git a/sp/src/public/mathlib/anorms.h b/sp/src/public/mathlib/anorms.h index 4f65383530..5f8dd5abb3 100644 --- a/sp/src/public/mathlib/anorms.h +++ b/sp/src/public/mathlib/anorms.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/bumpvects.h b/sp/src/public/mathlib/bumpvects.h index 6939ca05b0..4cc5516bf6 100644 --- a/sp/src/public/mathlib/bumpvects.h +++ b/sp/src/public/mathlib/bumpvects.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/compressed_3d_unitvec.h b/sp/src/public/mathlib/compressed_3d_unitvec.h index a92dba22e7..998f5db1a2 100644 --- a/sp/src/public/mathlib/compressed_3d_unitvec.h +++ b/sp/src/public/mathlib/compressed_3d_unitvec.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/compressed_light_cube.h b/sp/src/public/mathlib/compressed_light_cube.h index 207f92db51..1f0818f4e9 100644 --- a/sp/src/public/mathlib/compressed_light_cube.h +++ b/sp/src/public/mathlib/compressed_light_cube.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/compressed_vector.h b/sp/src/public/mathlib/compressed_vector.h index 6a4952294f..0894ad4caa 100644 --- a/sp/src/public/mathlib/compressed_vector.h +++ b/sp/src/public/mathlib/compressed_vector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/halton.h b/sp/src/public/mathlib/halton.h index 44df68ff2b..856b267885 100644 --- a/sp/src/public/mathlib/halton.h +++ b/sp/src/public/mathlib/halton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // $Id$ // halton.h - classes, etc for generating numbers using the Halton pseudo-random sequence. See diff --git a/sp/src/public/mathlib/lightdesc.h b/sp/src/public/mathlib/lightdesc.h index 1096d62345..57f5ea68b7 100644 --- a/sp/src/public/mathlib/lightdesc.h +++ b/sp/src/public/mathlib/lightdesc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/math_pfns.h b/sp/src/public/mathlib/math_pfns.h index d43411ce83..8bdf40f329 100644 --- a/sp/src/public/mathlib/math_pfns.h +++ b/sp/src/public/mathlib/math_pfns.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/mathlib.h b/sp/src/public/mathlib/mathlib.h index f734ae68ad..e9844a75a5 100644 --- a/sp/src/public/mathlib/mathlib.h +++ b/sp/src/public/mathlib/mathlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -2168,7 +2168,7 @@ inline bool CloseEnough( const Vector &a, const Vector &b, float epsilon = EQUAL // Fast compare // maxUlps is the maximum error in terms of Units in the Last Place. This // specifies how big an error we are willing to accept in terms of the value -// of the least significant digit of the floating point number’s +// of the least significant digit of the floating point number�s // representation. maxUlps can also be interpreted in terms of how many // representable floats we are willing to accept between A and B. // This function will allow maxUlps-1 floats between A and B. diff --git a/sp/src/public/mathlib/matrixmath.h b/sp/src/public/mathlib/matrixmath.h index 9c7f207b5d..cd136c44a9 100644 --- a/sp/src/public/mathlib/matrixmath.h +++ b/sp/src/public/mathlib/matrixmath.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/noise.h b/sp/src/public/mathlib/noise.h index 19d3f7298d..72a2291d1b 100644 --- a/sp/src/public/mathlib/noise.h +++ b/sp/src/public/mathlib/noise.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/polyhedron.h b/sp/src/public/mathlib/polyhedron.h index 38b465c719..f441ee5070 100644 --- a/sp/src/public/mathlib/polyhedron.h +++ b/sp/src/public/mathlib/polyhedron.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/quantize.h b/sp/src/public/mathlib/quantize.h index 5e5b74239d..1aed3cdc48 100644 --- a/sp/src/public/mathlib/quantize.h +++ b/sp/src/public/mathlib/quantize.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -80,7 +80,7 @@ inline struct Sample *AllocSamples(int ns, int nd) size_t size5=(sizeof(struct Sample)+(nd-1))*ns; void *ret=new uint8[size5]; memset(ret,0,size5); - for(int i=0;iCount=1; return (struct Sample *) ret; } diff --git a/sp/src/public/mathlib/simdvectormatrix.h b/sp/src/public/mathlib/simdvectormatrix.h index f88cd328ca..85d08db2e6 100644 --- a/sp/src/public/mathlib/simdvectormatrix.h +++ b/sp/src/public/mathlib/simdvectormatrix.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provide a class (SSE/SIMD only) holding a 2d matrix of class FourVectors, // for high speed processing in tools. diff --git a/sp/src/public/mathlib/spherical_geometry.h b/sp/src/public/mathlib/spherical_geometry.h index 04310f43f6..a9ccc6b5ab 100644 --- a/sp/src/public/mathlib/spherical_geometry.h +++ b/sp/src/public/mathlib/spherical_geometry.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Functions for spherical geometry. // diff --git a/sp/src/public/mathlib/ssemath.h b/sp/src/public/mathlib/ssemath.h index 6691df1239..b6417824e5 100644 --- a/sp/src/public/mathlib/ssemath.h +++ b/sp/src/public/mathlib/ssemath.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: - defines SIMD "structure of arrays" classes and functions. // diff --git a/sp/src/public/mathlib/ssequaternion.h b/sp/src/public/mathlib/ssequaternion.h index 825a9e45f1..1671d53450 100644 --- a/sp/src/public/mathlib/ssequaternion.h +++ b/sp/src/public/mathlib/ssequaternion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: - defines SIMD "structure of arrays" classes and functions. // diff --git a/sp/src/public/mathlib/vector.h b/sp/src/public/mathlib/vector.h index 64e14802c3..17b2977914 100644 --- a/sp/src/public/mathlib/vector.h +++ b/sp/src/public/mathlib/vector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/vector2d.h b/sp/src/public/mathlib/vector2d.h index 41385589cd..714c8e1490 100644 --- a/sp/src/public/mathlib/vector2d.h +++ b/sp/src/public/mathlib/vector2d.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/vector4d.h b/sp/src/public/mathlib/vector4d.h index c5d0699f08..f1429fb39f 100644 --- a/sp/src/public/mathlib/vector4d.h +++ b/sp/src/public/mathlib/vector4d.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mathlib/vmatrix.h b/sp/src/public/mathlib/vmatrix.h index c18e4822b1..523c87e251 100644 --- a/sp/src/public/mathlib/vmatrix.h +++ b/sp/src/public/mathlib/vmatrix.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -653,9 +653,9 @@ inline void VMatrix::Set3x4( matrix3x4_t& matrix3x4 ) const //----------------------------------------------------------------------------- inline const VMatrix& VMatrix::operator+=(const VMatrix &other) { - for(int i=0; i < 4; i++) + for(int i = 0; i < 4; i++) { - for(int j=0; j < 4; j++) + for(int j = 0; j < 4; j++) { m[i][j] += other.m[i][j]; } @@ -670,7 +670,7 @@ inline const VMatrix& VMatrix::operator+=(const VMatrix &other) inline VMatrix VMatrix::operator+(const VMatrix &other) const { VMatrix ret; - for(int i=0; i < 16; i++) + for(int i = 0; i < 16; i++) { ((float*)ret.m)[i] = ((float*)m)[i] + ((float*)other.m)[i]; } @@ -681,9 +681,9 @@ inline VMatrix VMatrix::operator-(const VMatrix &other) const { VMatrix ret; - for(int i=0; i < 4; i++) + for(int i = 0; i < 4; i++) { - for(int j=0; j < 4; j++) + for(int j = 0; j < 4; j++) { ret.m[i][j] = m[i][j] - other.m[i][j]; } @@ -695,7 +695,7 @@ inline VMatrix VMatrix::operator-(const VMatrix &other) const inline VMatrix VMatrix::operator-() const { VMatrix ret; - for( int i=0; i < 16; i++ ) + for( int i = 0; i < 16; i++ ) { ((float*)ret.m)[i] = ((float*)m)[i]; } diff --git a/sp/src/public/mathlib/vplane.h b/sp/src/public/mathlib/vplane.h index dd3d4a9ad7..14fd426579 100644 --- a/sp/src/public/mathlib/vplane.h +++ b/sp/src/public/mathlib/vplane.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/QCGenerator.h b/sp/src/public/matsys_controls/QCGenerator.h index d9978f8879..3a90d10d98 100644 --- a/sp/src/public/matsys_controls/QCGenerator.h +++ b/sp/src/public/matsys_controls/QCGenerator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/assetpicker.h b/sp/src/public/matsys_controls/assetpicker.h index 967fd2b0a1..f5c6d07880 100644 --- a/sp/src/public/matsys_controls/assetpicker.h +++ b/sp/src/public/matsys_controls/assetpicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/baseassetpicker.h b/sp/src/public/matsys_controls/baseassetpicker.h index 31cdcc91b5..1e718c54f9 100644 --- a/sp/src/public/matsys_controls/baseassetpicker.h +++ b/sp/src/public/matsys_controls/baseassetpicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/colorpickerpanel.h b/sp/src/public/matsys_controls/colorpickerpanel.h index 6b79b17b07..df05a34da9 100644 --- a/sp/src/public/matsys_controls/colorpickerpanel.h +++ b/sp/src/public/matsys_controls/colorpickerpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/curveeditorpanel.h b/sp/src/public/matsys_controls/curveeditorpanel.h index fb7636997c..4285411d13 100644 --- a/sp/src/public/matsys_controls/curveeditorpanel.h +++ b/sp/src/public/matsys_controls/curveeditorpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/gamefiletreeview.h b/sp/src/public/matsys_controls/gamefiletreeview.h index a9563cef43..684a532f38 100644 --- a/sp/src/public/matsys_controls/gamefiletreeview.h +++ b/sp/src/public/matsys_controls/gamefiletreeview.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/manipulator.h b/sp/src/public/matsys_controls/manipulator.h index a08426ef5e..47e71fa947 100644 --- a/sp/src/public/matsys_controls/manipulator.h +++ b/sp/src/public/matsys_controls/manipulator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/matsyscontrols.h b/sp/src/public/matsys_controls/matsyscontrols.h index 85fa580729..5b941dfb42 100644 --- a/sp/src/public/matsys_controls/matsyscontrols.h +++ b/sp/src/public/matsys_controls/matsyscontrols.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/mdlpanel.h b/sp/src/public/matsys_controls/mdlpanel.h index 070fb97359..1e0a1bd17c 100644 --- a/sp/src/public/matsys_controls/mdlpanel.h +++ b/sp/src/public/matsys_controls/mdlpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/mdlpicker.h b/sp/src/public/matsys_controls/mdlpicker.h index fcacfc9ccb..96825610ab 100644 --- a/sp/src/public/matsys_controls/mdlpicker.h +++ b/sp/src/public/matsys_controls/mdlpicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/mdlsequencepicker.h b/sp/src/public/matsys_controls/mdlsequencepicker.h index 3150f16212..97111b04f6 100644 --- a/sp/src/public/matsys_controls/mdlsequencepicker.h +++ b/sp/src/public/matsys_controls/mdlsequencepicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/picker.h b/sp/src/public/matsys_controls/picker.h index 380e3bfb53..648a320e09 100644 --- a/sp/src/public/matsys_controls/picker.h +++ b/sp/src/public/matsys_controls/picker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An arbitrary picker // diff --git a/sp/src/public/matsys_controls/potterywheelpanel.h b/sp/src/public/matsys_controls/potterywheelpanel.h index 47125a3f15..d5cf498703 100644 --- a/sp/src/public/matsys_controls/potterywheelpanel.h +++ b/sp/src/public/matsys_controls/potterywheelpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/proceduraltexturepanel.h b/sp/src/public/matsys_controls/proceduraltexturepanel.h index 3941be392a..0458a702a4 100644 --- a/sp/src/public/matsys_controls/proceduraltexturepanel.h +++ b/sp/src/public/matsys_controls/proceduraltexturepanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/sequencepicker.h b/sp/src/public/matsys_controls/sequencepicker.h index 68e47290f4..913c4b9e85 100644 --- a/sp/src/public/matsys_controls/sequencepicker.h +++ b/sp/src/public/matsys_controls/sequencepicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/tgapreviewpanel.h b/sp/src/public/matsys_controls/tgapreviewpanel.h index fc52adf909..4bbb5f144d 100644 --- a/sp/src/public/matsys_controls/tgapreviewpanel.h +++ b/sp/src/public/matsys_controls/tgapreviewpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/vmtpanel.h b/sp/src/public/matsys_controls/vmtpanel.h index ee2e6cc849..e068ecc553 100644 --- a/sp/src/public/matsys_controls/vmtpanel.h +++ b/sp/src/public/matsys_controls/vmtpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/vmtpicker.h b/sp/src/public/matsys_controls/vmtpicker.h index 51499bfe68..ed542023f5 100644 --- a/sp/src/public/matsys_controls/vmtpicker.h +++ b/sp/src/public/matsys_controls/vmtpicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/vmtpreviewpanel.h b/sp/src/public/matsys_controls/vmtpreviewpanel.h index f080d6ced4..30168ffdb7 100644 --- a/sp/src/public/matsys_controls/vmtpreviewpanel.h +++ b/sp/src/public/matsys_controls/vmtpreviewpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/vtfpicker.h b/sp/src/public/matsys_controls/vtfpicker.h index ce8478af69..03e986dee8 100644 --- a/sp/src/public/matsys_controls/vtfpicker.h +++ b/sp/src/public/matsys_controls/vtfpicker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/matsys_controls/vtfpreviewpanel.h b/sp/src/public/matsys_controls/vtfpreviewpanel.h index 7fdccbce46..64705df307 100644 --- a/sp/src/public/matsys_controls/vtfpreviewpanel.h +++ b/sp/src/public/matsys_controls/vtfpreviewpanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mdllib/mdllib.h b/sp/src/public/mdllib/mdllib.h index 7d86f232c4..7f85e1a95b 100644 --- a/sp/src/public/mdllib/mdllib.h +++ b/sp/src/public/mdllib/mdllib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/measure_section.cpp b/sp/src/public/measure_section.cpp index e43a16ac71..5b2c15a97a 100644 --- a/sp/src/public/measure_section.cpp +++ b/sp/src/public/measure_section.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/measure_section.h b/sp/src/public/measure_section.h index 4fb2362e18..47a7d5e64b 100644 --- a/sp/src/public/measure_section.h +++ b/sp/src/public/measure_section.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/minmax.h b/sp/src/public/minmax.h index 7597957c31..35541ce731 100644 --- a/sp/src/public/minmax.h +++ b/sp/src/public/minmax.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/model_types.h b/sp/src/public/model_types.h index 54f3891c86..2a31455dcc 100644 --- a/sp/src/public/model_types.h +++ b/sp/src/public/model_types.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/modes.h b/sp/src/public/modes.h index ba092007d8..c66ddb3b62 100644 --- a/sp/src/public/modes.h +++ b/sp/src/public/modes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/mouthinfo.h b/sp/src/public/mouthinfo.h index e474db7420..b124b996f8 100644 --- a/sp/src/public/mouthinfo.h +++ b/sp/src/public/mouthinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/networkstringtabledefs.h b/sp/src/public/networkstringtabledefs.h index d82df2efdc..25a0f349a7 100644 --- a/sp/src/public/networkstringtabledefs.h +++ b/sp/src/public/networkstringtabledefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/networkvar.cpp b/sp/src/public/networkvar.cpp index 65cb1d6a16..84be678a42 100644 --- a/sp/src/public/networkvar.cpp +++ b/sp/src/public/networkvar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/networkvar.h b/sp/src/public/networkvar.h index 46a92de081..e560081955 100644 --- a/sp/src/public/networkvar.h +++ b/sp/src/public/networkvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/nmatrix.h b/sp/src/public/nmatrix.h index 2b8d206ec8..c24e8bc366 100644 --- a/sp/src/public/nmatrix.h +++ b/sp/src/public/nmatrix.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -62,8 +62,8 @@ inline NMatrix OuterProduct( NVectorN const &a, NVectorN const &b ) { NMatrix ret; - for( int i=0; i < N; i++ ) - for( int j=0; j < N; j++ ) + for( int i = 0; i < N; i++ ) + for( int j = 0; j < N; j++ ) ret.m[i][j] = a.v[i] * b.v[j]; return ret; @@ -90,7 +90,7 @@ inline NMatrixMN NMatrixMN::SetupNMatrixIdentity() NMatrix ret; memset( ret.m, 0, sizeof(float)*M*N ); - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret.m[i][i] = 1; return ret; } @@ -108,8 +108,8 @@ template inline NMatrixMN NMatrixMN::operator+( NMatrixMN const &v ) const { NMatrixMN ret; - for( int i=0; i < M; i++ ) - for( int j=0; j < N; j++ ) + for( int i = 0; i < M; i++ ) + for( int j = 0; j < N; j++ ) ret.m[i][j] = m[i][j] + v.m[i][j]; return ret; @@ -119,8 +119,8 @@ inline NMatrixMN NMatrixMN::operator+( NMatrixMN const &v ) const template inline NMatrixMN const &NMatrixMN::operator+=( NMatrixMN const &v ) { - for( int i=0; i < M; i++ ) - for( int j=0; j < N; j++ ) + for( int i = 0; i < M; i++ ) + for( int j = 0; j < N; j++ ) m[i][j] += v.m[i][j]; return *this; @@ -132,7 +132,7 @@ inline NMatrixMN NMatrixMN::operator-() const { NMatrixMN ret; - for( int i=0; i < M*N; i++ ) + for( int i = 0; i < M*N; i++ ) ((float*)ret.m)[i] = -((float*)m)[i]; return ret; @@ -143,8 +143,8 @@ template inline NMatrixMN NMatrixMN::operator-( NMatrixMN const &v ) const { NMatrixMN ret; - for( int i=0; i < M; i++ ) - for( int j=0; j < N; j++ ) + for( int i = 0; i < M; i++ ) + for( int j = 0; j < N; j++ ) ret.m[i][j] = m[i][j] - v.m[i][j]; return ret; } @@ -155,11 +155,11 @@ inline NVector NMatrixMN::operator*( NVectorN const &v ) const { NVectorN ret; - for( int i=0; i < M; i++ ) + for( int i = 0; i < M; i++ ) { ret.v[i] = 0; - for( int j=0; j < N; j++ ) + for( int j = 0; j < N; j++ ) ret.v[i] += m[i][j] * v.v[j]; } @@ -177,7 +177,7 @@ inline NMatrix NMatrixMN::operator*( NMatrix const &b ) const for( int otherCol=0; otherCol < M; otherCol++ ) { ret[myRow][otherCol] = 0; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret[myRow][otherCol] += a.m[myRow][i] * b.m[i][otherCol]; } } @@ -191,7 +191,7 @@ inline NMatrixMN NMatrixMN::operator*( float val ) const { NMatrixMN ret; - for( int i=0; i < N*M; i++ ) + for( int i = 0; i < N*M; i++ ) ((float*)ret.m)[i] = ((float*)m)[i] * val; return ret; @@ -223,12 +223,12 @@ bool NMatrixMN::InverseGeneral( NMatrixMN &mInverse ) const // I = identity // Setup AI - for(i=0; i < N; i++) + for(i = 0; i < N; i++) { const float *pIn = m[i]; pOut = mat[i]; - for(j=0; j < N; j++) + for(j = 0; j < N; j++) { pOut[j] = pIn[j]; } @@ -276,13 +276,13 @@ bool NMatrixMN::InverseGeneral( NMatrixMN &mInverse ) const // Divide this row by the element. mul = 1.0f / pRow[iRow]; - for(j=0; j < 2*N; j++) + for(j = 0; j < 2*N; j++) pRow[j] *= mul; pRow[iRow] = 1.0f; // Preserve accuracy... // Eliminate this element from the other rows using operation 2. - for(i=0; i < N; i++) + for(i = 0; i < N; i++) { if(i == iRow) continue; @@ -291,7 +291,7 @@ bool NMatrixMN::InverseGeneral( NMatrixMN &mInverse ) const // Multiply this row by -(iRow*the element). mul = -pScaleRow[iRow]; - for(j=0; j < 2*N; j++) + for(j = 0; j < 2*N; j++) { pScaleRow[j] += pRow[j] * mul; } @@ -301,12 +301,12 @@ bool NMatrixMN::InverseGeneral( NMatrixMN &mInverse ) const } // The inverse is on the right side of AX now (the identity is on the left). - for(i=0; i < N; i++) + for(i = 0; i < N; i++) { const float *pIn = mat[rowMap[i]] + N; pOut = mInverse.m[i]; - for(j=0; j < N; j++) + for(j = 0; j < N; j++) { pOut[j] = pIn[j]; } @@ -321,8 +321,8 @@ inline NMatrix NMatrixMN::Transpose() const { NMatrix ret; - for( int i=0; i < M; i++ ) - for( int j=0; j < N; j++ ) + for( int i = 0; i < M; i++ ) + for( int j = 0; j < N; j++ ) ret.m[j][i] = m[i][j]; return ret; diff --git a/sp/src/public/ntree.h b/sp/src/public/ntree.h index 3fb448a450..7d6528161a 100644 --- a/sp/src/public/ntree.h +++ b/sp/src/public/ntree.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/nvector.h b/sp/src/public/nvector.h index e80b317fa1..27d8f9ba40 100644 --- a/sp/src/public/nvector.h +++ b/sp/src/public/nvector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -58,7 +58,7 @@ template inline float NDot( NVector const &a, NVector const &b ) { float ret = 0; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret += a.v[i] * b.v[i]; return ret; } @@ -107,7 +107,7 @@ float NVectorN::Dot( NVectorN const &b ) const { float ret = 0; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret += v[i]*b.v[i]; return ret; @@ -120,7 +120,7 @@ NVectorN NVectorN::Cross( NVectorN const &b ) const NVector ret; NMatrix mat; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) { for( y=0; y < N; y++ ) for( x=0; x < N; x++ ) @@ -151,7 +151,7 @@ template NVectorN NVectorN::operator-() const { NVectorN ret; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret.v[i] = -v[i]; return ret; } @@ -162,7 +162,7 @@ NVectorN NVectorN::operator+( NVectorN const &b ) const { NVectorN ret; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret.v[i] = v[i]+b.v[i]; return ret; @@ -172,7 +172,7 @@ NVectorN NVectorN::operator+( NVectorN const &b ) const template NVectorN const &NVectorN::operator+=( NVectorN const &b ) { - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) v[i] += b.v[i]; return *this; } @@ -183,7 +183,7 @@ NVectorN NVectorN::operator-( NVectorN const &b ) const { NVectorN ret; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret.v[i] = v[i]-b.v[i]; return ret; @@ -193,7 +193,7 @@ template NVectorN NVectorN::operator*( float val ) const { NVectorN ret; - for( int i=0; i < N; i++ ) + for( int i = 0; i < N; i++ ) ret.v[i] = v[i] * val; return ret; } diff --git a/sp/src/public/nvtc.h b/sp/src/public/nvtc.h index fd1c980644..9e39d25845 100644 --- a/sp/src/public/nvtc.h +++ b/sp/src/public/nvtc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /* * Copyright (c) 1997-8 S3 Inc. All Rights Reserved. * diff --git a/sp/src/public/optimize.h b/sp/src/public/optimize.h index 4a14bf31b2..5a096fa079 100644 --- a/sp/src/public/optimize.h +++ b/sp/src/public/optimize.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/overlaytext.h b/sp/src/public/overlaytext.h index d720652dbb..81276e0b35 100644 --- a/sp/src/public/overlaytext.h +++ b/sp/src/public/overlaytext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/p4lib/ip4.h b/sp/src/public/p4lib/ip4.h index 37a9bab73b..820385be1a 100644 --- a/sp/src/public/p4lib/ip4.h +++ b/sp/src/public/p4lib/ip4.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/particles/particles.h b/sp/src/public/particles/particles.h index 0572b848ed..5c1a514178 100644 --- a/sp/src/public/particles/particles.h +++ b/sp/src/public/particles/particles.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: particle system definitions // diff --git a/sp/src/public/phonemeconverter.cpp b/sp/src/public/phonemeconverter.cpp index 2253155ce6..726b513c5c 100644 --- a/sp/src/public/phonemeconverter.cpp +++ b/sp/src/public/phonemeconverter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/phonemeconverter.h b/sp/src/public/phonemeconverter.h index 5b71082888..c1508c7712 100644 --- a/sp/src/public/phonemeconverter.h +++ b/sp/src/public/phonemeconverter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/phonemeextractor/phonemeextractor.h b/sp/src/public/phonemeextractor/phonemeextractor.h index a82476a613..67a6d85ee5 100644 --- a/sp/src/public/phonemeextractor/phonemeextractor.h +++ b/sp/src/public/phonemeextractor/phonemeextractor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/phyfile.h b/sp/src/public/phyfile.h index c6b3772092..599f0d7193 100644 --- a/sp/src/public/phyfile.h +++ b/sp/src/public/phyfile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/pixelwriter.h b/sp/src/public/pixelwriter.h index c2d31d675b..22ed563a2b 100644 --- a/sp/src/public/pixelwriter.h +++ b/sp/src/public/pixelwriter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/posedebugger.cpp b/sp/src/public/posedebugger.cpp index b8a7d1ed94..ecb6b63429 100644 --- a/sp/src/public/posedebugger.cpp +++ b/sp/src/public/posedebugger.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/posedebugger.h b/sp/src/public/posedebugger.h index f8b8153773..b79aff8be4 100644 --- a/sp/src/public/posedebugger.h +++ b/sp/src/public/posedebugger.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/r_efx.h b/sp/src/public/r_efx.h index fea2384561..5c5d7175f6 100644 --- a/sp/src/public/r_efx.h +++ b/sp/src/public/r_efx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/raytrace.h b/sp/src/public/raytrace.h index 9692b8d6fd..14c1be5983 100644 --- a/sp/src/public/raytrace.h +++ b/sp/src/public/raytrace.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // $Id:$ #ifndef RAYTRACE_H diff --git a/sp/src/public/registry.cpp b/sp/src/public/registry.cpp index be4286cbda..bf74000433 100644 --- a/sp/src/public/registry.cpp +++ b/sp/src/public/registry.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/renamed_recvtable_compat.cpp b/sp/src/public/renamed_recvtable_compat.cpp index 6e5e08db0e..276c864269 100644 --- a/sp/src/public/renamed_recvtable_compat.cpp +++ b/sp/src/public/renamed_recvtable_compat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// diff --git a/sp/src/public/renamed_recvtable_compat.h b/sp/src/public/renamed_recvtable_compat.h index 63d2374990..942d45dda4 100644 --- a/sp/src/public/renamed_recvtable_compat.h +++ b/sp/src/public/renamed_recvtable_compat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //=======================================================================================// #if !defined( RENAMED_RECVTABLE_COMPAT_H ) diff --git a/sp/src/public/renderparm.h b/sp/src/public/renderparm.h index d56e258b7d..440e6e9a16 100644 --- a/sp/src/public/renderparm.h +++ b/sp/src/public/renderparm.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: defines constants to use for the materialsystem and shaderapi // SetxxxRenderingParameter functions diff --git a/sp/src/public/rope_physics.cpp b/sp/src/public/rope_physics.cpp index 9fe3ff524a..f3dd51581c 100644 --- a/sp/src/public/rope_physics.cpp +++ b/sp/src/public/rope_physics.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/rope_physics.h b/sp/src/public/rope_physics.h index 68f6a5d381..7a57aaf68b 100644 --- a/sp/src/public/rope_physics.h +++ b/sp/src/public/rope_physics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/rope_shared.h b/sp/src/public/rope_shared.h index fe79b6e687..9dddd633f4 100644 --- a/sp/src/public/rope_shared.h +++ b/sp/src/public/rope_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/savegame_version.h b/sp/src/public/savegame_version.h index 44253dc212..a1c0086392 100644 --- a/sp/src/public/savegame_version.h +++ b/sp/src/public/savegame_version.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/saverestoretypes.h b/sp/src/public/saverestoretypes.h index 96e5cf5d28..3bab6dcb43 100644 --- a/sp/src/public/saverestoretypes.h +++ b/sp/src/public/saverestoretypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/scenefilecache/ISceneFileCache.h b/sp/src/public/scenefilecache/ISceneFileCache.h index 973c6ef72a..f66e4220e3 100644 --- a/sp/src/public/scenefilecache/ISceneFileCache.h +++ b/sp/src/public/scenefilecache/ISceneFileCache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/scenefilecache/SceneImageFile.h b/sp/src/public/scenefilecache/SceneImageFile.h index 26cce4867e..c746cf1182 100644 --- a/sp/src/public/scenefilecache/SceneImageFile.h +++ b/sp/src/public/scenefilecache/SceneImageFile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A Scene Image file aggregates all the compiled binary VCD files into // a single file. diff --git a/sp/src/public/scratchpad3d.cpp b/sp/src/public/scratchpad3d.cpp index 96db217428..050d28b582 100644 --- a/sp/src/public/scratchpad3d.cpp +++ b/sp/src/public/scratchpad3d.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -201,7 +201,7 @@ void CScratchPad3D::DrawRectGeneric( int iPlane, int otherDim1, int otherDim2, f void CScratchPad3D::DeleteCommands() { - for( int i=0; i < m_Commands.Size(); i++ ) + for( int i = 0; i < m_Commands.Size(); i++ ) delete m_Commands[i]; m_Commands.RemoveAll(); @@ -239,7 +239,7 @@ bool CScratchPad3D::LoadCommandsFromFile( ) if( !pCmd ) { - Assert( !"LoadCommandsFromFile: invalid file" ); + Assert( !"\tLoadCommandsFromFile: invalid file" ); m_pFileSystem->Close( fp ); return false; } @@ -273,7 +273,7 @@ void CScratchPad3D::SetMapping( m_Commands.AddToTail( cmd ); Vector vDivisor(1,1,1); - for( int i=0; i < 3; i++ ) + for( int i = 0; i < 3; i++ ) vDivisor[i] = fabs(vInputMax[i] - vInputMin[i]) < 0.0001f ? 0.001f : (vInputMax[i] - vInputMin[i]); Vector vScale = (vOutputMax - vOutputMin) / vDivisor; @@ -457,7 +457,7 @@ void CScratchPad3D::Flush() } // Append the new commands to the file. - for( int i=0; i < m_Commands.Size(); i++ ) + for( int i = 0; i < m_Commands.Size(); i++ ) { m_pFileSystem->Write( &m_Commands[i]->m_iCommand, sizeof(m_Commands[i]->m_iCommand), fp ); m_Commands[i]->Write( m_pFileSystem, fp ); diff --git a/sp/src/public/scratchpad3d.h b/sp/src/public/scratchpad3d.h index 30b2455cf5..4865403411 100644 --- a/sp/src/public/scratchpad3d.h +++ b/sp/src/public/scratchpad3d.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/sentence.cpp b/sp/src/public/sentence.cpp index 1b8efd646a..3964cad359 100644 --- a/sp/src/public/sentence.cpp +++ b/sp/src/public/sentence.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/sentence.h b/sp/src/public/sentence.h index de0f8d9a92..dd81d55ec0 100644 --- a/sp/src/public/sentence.h +++ b/sp/src/public/sentence.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/server_class.cpp b/sp/src/public/server_class.cpp index 5932f5b9e7..c1d44030d4 100644 --- a/sp/src/public/server_class.cpp +++ b/sp/src/public/server_class.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/server_class.h b/sp/src/public/server_class.h index ac96136188..16b0269936 100644 --- a/sp/src/public/server_class.h +++ b/sp/src/public/server_class.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/IShaderDevice.h b/sp/src/public/shaderapi/IShaderDevice.h index 832e6ac740..905e5e7e7e 100644 --- a/sp/src/public/shaderapi/IShaderDevice.h +++ b/sp/src/public/shaderapi/IShaderDevice.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/commandbuffer.h b/sp/src/public/shaderapi/commandbuffer.h index de79915f5f..b7970e1499 100644 --- a/sp/src/public/shaderapi/commandbuffer.h +++ b/sp/src/public/shaderapi/commandbuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/ishaderapi.h b/sp/src/public/shaderapi/ishaderapi.h index 367cd0e9c7..5e3e584c59 100644 --- a/sp/src/public/shaderapi/ishaderapi.h +++ b/sp/src/public/shaderapi/ishaderapi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/ishaderdynamic.h b/sp/src/public/shaderapi/ishaderdynamic.h index 4d1d2d2dfd..40bbe24913 100644 --- a/sp/src/public/shaderapi/ishaderdynamic.h +++ b/sp/src/public/shaderapi/ishaderdynamic.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/ishadershadow.h b/sp/src/public/shaderapi/ishadershadow.h index 170988f727..b12cf08f3e 100644 --- a/sp/src/public/shaderapi/ishadershadow.h +++ b/sp/src/public/shaderapi/ishadershadow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/ishaderutil.h b/sp/src/public/shaderapi/ishaderutil.h index 5fe01995f3..d247395097 100644 --- a/sp/src/public/shaderapi/ishaderutil.h +++ b/sp/src/public/shaderapi/ishaderutil.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderapi/shareddefs.h b/sp/src/public/shaderapi/shareddefs.h index 663fbfadb3..18e8bae85e 100644 --- a/sp/src/public/shaderapi/shareddefs.h +++ b/sp/src/public/shaderapi/shareddefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: NOTE: This file is for backward compat! // We'll get rid of it soon. Most of the contents of this file were moved diff --git a/sp/src/public/shaderlib/BaseShader.h b/sp/src/public/shaderlib/BaseShader.h index 93a38c4f41..c444381d13 100644 --- a/sp/src/public/shaderlib/BaseShader.h +++ b/sp/src/public/shaderlib/BaseShader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderlib/ShaderDLL.h b/sp/src/public/shaderlib/ShaderDLL.h index 69520d946e..5a0cf50ca7 100644 --- a/sp/src/public/shaderlib/ShaderDLL.h +++ b/sp/src/public/shaderlib/ShaderDLL.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shaderlib/cshader.h b/sp/src/public/shaderlib/cshader.h index 868e34c268..3aab0e3868 100644 --- a/sp/src/public/shaderlib/cshader.h +++ b/sp/src/public/shaderlib/cshader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/shake.h b/sp/src/public/shake.h index 8283d8d10a..a4f9318241 100644 --- a/sp/src/public/shake.h +++ b/sp/src/public/shake.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Network data for screen shake and screen fade. // diff --git a/sp/src/public/shattersurfacetypes.h b/sp/src/public/shattersurfacetypes.h index eb5c55b34a..b60fc4956e 100644 --- a/sp/src/public/shattersurfacetypes.h +++ b/sp/src/public/shattersurfacetypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/simple_physics.cpp b/sp/src/public/simple_physics.cpp index 0d1eed39eb..a683a7c0a4 100644 --- a/sp/src/public/simple_physics.cpp +++ b/sp/src/public/simple_physics.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/simple_physics.h b/sp/src/public/simple_physics.h index fd40b18f9c..da09ae9545 100644 --- a/sp/src/public/simple_physics.h +++ b/sp/src/public/simple_physics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/smooth_average.h b/sp/src/public/smooth_average.h index 25f694b98f..ff7833deb5 100644 --- a/sp/src/public/smooth_average.h +++ b/sp/src/public/smooth_average.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundchars.h b/sp/src/public/soundchars.h index cca7779e71..848f181f59 100644 --- a/sp/src/public/soundchars.h +++ b/sp/src/public/soundchars.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundcombiner.cpp b/sp/src/public/soundcombiner.cpp index 3445b46a63..3921c40ca5 100644 --- a/sp/src/public/soundcombiner.cpp +++ b/sp/src/public/soundcombiner.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundflags.h b/sp/src/public/soundflags.h index 2c978c2bc6..0656db9e86 100644 --- a/sp/src/public/soundflags.h +++ b/sp/src/public/soundflags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundinfo.h b/sp/src/public/soundinfo.h index ba0583e884..be759d88a4 100644 --- a/sp/src/public/soundinfo.h +++ b/sp/src/public/soundinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundsystem/isoundsystem.h b/sp/src/public/soundsystem/isoundsystem.h index 8a370908a6..210f03d0c9 100644 --- a/sp/src/public/soundsystem/isoundsystem.h +++ b/sp/src/public/soundsystem/isoundsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundsystem/snd_audio_source.h b/sp/src/public/soundsystem/snd_audio_source.h index 11e4621c22..d3002752a7 100644 --- a/sp/src/public/soundsystem/snd_audio_source.h +++ b/sp/src/public/soundsystem/snd_audio_source.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/soundsystem/snd_device.h b/sp/src/public/soundsystem/snd_device.h index fa855897a2..57e0c35415 100644 --- a/sp/src/public/soundsystem/snd_device.h +++ b/sp/src/public/soundsystem/snd_device.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/sourcevr/isourcevirtualreality.h b/sp/src/public/sourcevr/isourcevirtualreality.h index e22c670465..5ac9d07b68 100644 --- a/sp/src/public/sourcevr/isourcevirtualreality.h +++ b/sp/src/public/sourcevr/isourcevirtualreality.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the IHeadTrack interface, which is implemented in headtrack.dll // diff --git a/sp/src/public/stdstring.h b/sp/src/public/stdstring.h index 50ed1c2924..09fcfd1a20 100644 --- a/sp/src/public/stdstring.h +++ b/sp/src/public/stdstring.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/steam/isteamgameserverstats.h b/sp/src/public/steam/isteamgameserverstats.h index 8d53186ec2..58f35b0a84 100644 --- a/sp/src/public/steam/isteamgameserverstats.h +++ b/sp/src/public/steam/isteamgameserverstats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: interface for game servers to steam stats and achievements // diff --git a/sp/src/public/steam/isteamhttp.h b/sp/src/public/steam/isteamhttp.h index d68335d027..9cac7f2f5b 100644 --- a/sp/src/public/steam/isteamhttp.h +++ b/sp/src/public/steam/isteamhttp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: interface to http client // diff --git a/sp/src/public/steam/isteamnetworking.h b/sp/src/public/steam/isteamnetworking.h index c77f7bf772..abe299d6f9 100644 --- a/sp/src/public/steam/isteamnetworking.h +++ b/sp/src/public/steam/isteamnetworking.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: interface to steam managing network connections between game clients & servers // diff --git a/sp/src/public/steam/isteamscreenshots.h b/sp/src/public/steam/isteamscreenshots.h index 1636c16037..57ac8af455 100644 --- a/sp/src/public/steam/isteamscreenshots.h +++ b/sp/src/public/steam/isteamscreenshots.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: public interface to user remote file storage in Steam // diff --git a/sp/src/public/steam/isteamunifiedmessages.h b/sp/src/public/steam/isteamunifiedmessages.h index edee4a4864..4ccce402e2 100644 --- a/sp/src/public/steam/isteamunifiedmessages.h +++ b/sp/src/public/steam/isteamunifiedmessages.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Interface to unified messages client // diff --git a/sp/src/public/steam/isteamuserstats.h b/sp/src/public/steam/isteamuserstats.h index c5847cf63c..369597d0f7 100644 --- a/sp/src/public/steam/isteamuserstats.h +++ b/sp/src/public/steam/isteamuserstats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: interface to stats, achievements, and leaderboards // diff --git a/sp/src/public/string_t.h b/sp/src/public/string_t.h index 9fa1de64d0..b2a43af13c 100644 --- a/sp/src/public/string_t.h +++ b/sp/src/public/string_t.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines the more complete set of operations on the string_t defined // These should be used instead of direct manipulation to allow more diff --git a/sp/src/public/stringregistry.cpp b/sp/src/public/stringregistry.cpp index 896430bfac..a1c9b43abb 100644 --- a/sp/src/public/stringregistry.cpp +++ b/sp/src/public/stringregistry.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A registry of strings and associated ints // diff --git a/sp/src/public/stringregistry.h b/sp/src/public/stringregistry.h index 9e4ff82ce9..edcb7b565e 100644 --- a/sp/src/public/stringregistry.h +++ b/sp/src/public/stringregistry.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A registry of strings and associated ints // diff --git a/sp/src/public/studio.cpp b/sp/src/public/studio.cpp index 127840dcbf..7047609140 100644 --- a/sp/src/public/studio.cpp +++ b/sp/src/public/studio.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/studio.h b/sp/src/public/studio.h index 384f4732c3..d1163fb9c9 100644 --- a/sp/src/public/studio.h +++ b/sp/src/public/studio.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -3159,7 +3159,7 @@ inline int Studio_LoadVertexes( const vertexFileHeader_t *pTempVvdHdr, vertexFil // re-establish mesh ordered vertexes into cache memory, according to table target = 0; pFixupTable = (vertexFileFixup_t *)((byte *)pTempVvdHdr + pTempVvdHdr->fixupTableStart); - for (i=0; inumFixups; i++) + for (i = 0; inumFixups; i++) { if (pFixupTable[i].lod < rootLOD) { diff --git a/sp/src/public/studio_generic_io.cpp b/sp/src/public/studio_generic_io.cpp index 7345e9af50..9660a5de2a 100644 --- a/sp/src/public/studio_generic_io.cpp +++ b/sp/src/public/studio_generic_io.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/studio_virtualmodel.cpp b/sp/src/public/studio_virtualmodel.cpp index 0a658df623..f71f3f1947 100644 --- a/sp/src/public/studio_virtualmodel.cpp +++ b/sp/src/public/studio_virtualmodel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/surfinfo.h b/sp/src/public/surfinfo.h index a4d4dba9f5..30f5c47e77 100644 --- a/sp/src/public/surfinfo.h +++ b/sp/src/public/surfinfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/texture_group_names.h b/sp/src/public/texture_group_names.h index b30ed35ab9..effaeee31a 100644 --- a/sp/src/public/texture_group_names.h +++ b/sp/src/public/texture_group_names.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/EventMasks.h b/sp/src/public/tier0/EventMasks.h index 0185567b17..ee5cf3f706 100644 --- a/sp/src/public/tier0/EventMasks.h +++ b/sp/src/public/tier0/EventMasks.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/EventModes.h b/sp/src/public/tier0/EventModes.h index b6b9756550..c2dc39abe9 100644 --- a/sp/src/public/tier0/EventModes.h +++ b/sp/src/public/tier0/EventModes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/IOCTLCodes.h b/sp/src/public/tier0/IOCTLCodes.h index a8f50d0b6a..04cc64bd97 100644 --- a/sp/src/public/tier0/IOCTLCodes.h +++ b/sp/src/public/tier0/IOCTLCodes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/K8PerformanceCounters.h b/sp/src/public/tier0/K8PerformanceCounters.h index 4367dffbdb..cf9059e73b 100644 --- a/sp/src/public/tier0/K8PerformanceCounters.h +++ b/sp/src/public/tier0/K8PerformanceCounters.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/P4PerformanceCounters.h b/sp/src/public/tier0/P4PerformanceCounters.h index b52b691101..b6dda2d8b9 100644 --- a/sp/src/public/tier0/P4PerformanceCounters.h +++ b/sp/src/public/tier0/P4PerformanceCounters.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/P5P6PerformanceCounters.h b/sp/src/public/tier0/P5P6PerformanceCounters.h index a7657567b9..f9213e3a38 100644 --- a/sp/src/public/tier0/P5P6PerformanceCounters.h +++ b/sp/src/public/tier0/P5P6PerformanceCounters.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/PMELib.h b/sp/src/public/tier0/PMELib.h index 5eeb63cfc1..c7d32a77c2 100644 --- a/sp/src/public/tier0/PMELib.h +++ b/sp/src/public/tier0/PMELib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/afxmem_override.cpp b/sp/src/public/tier0/afxmem_override.cpp index f5794b27b4..3ee91d6844 100644 --- a/sp/src/public/tier0/afxmem_override.cpp +++ b/sp/src/public/tier0/afxmem_override.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/annotations.h b/sp/src/public/tier0/annotations.h index 25537821a3..390cc37ef2 100644 --- a/sp/src/public/tier0/annotations.h +++ b/sp/src/public/tier0/annotations.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef ANALYSIS_ANNOTATIONS_H #define ANALYSIS_ANNOTATIONS_H diff --git a/sp/src/public/tier0/basetypes.h b/sp/src/public/tier0/basetypes.h index 9bcaf90eca..25ef9a9abf 100644 --- a/sp/src/public/tier0/basetypes.h +++ b/sp/src/public/tier0/basetypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/commonmacros.h b/sp/src/public/tier0/commonmacros.h index ffa934ad8d..925b4126a9 100644 --- a/sp/src/public/tier0/commonmacros.h +++ b/sp/src/public/tier0/commonmacros.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/dbg.h b/sp/src/public/tier0/dbg.h index fab7165090..c270c76c68 100644 --- a/sp/src/public/tier0/dbg.h +++ b/sp/src/public/tier0/dbg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -83,7 +83,7 @@ class Color; // // To use a warning, use // -// Warning("Oh I feel so %s all over\n", "yummy"); +// Warning("\tOh I feel so %s all over\n", "yummy"); // // Warning will do its magic in only Debug builds. To perform spew in *all* // builds, use RelWarning. @@ -92,7 +92,7 @@ class Color; // These error types do *not* need two sets of parenthesis. // // Msg( "Isn't this exciting %d?", 5 ); -// Error( "I'm just thrilled" ); +// Error( "\tI'm just thrilled" ); // // Dynamic Spew messages // @@ -103,7 +103,7 @@ class Color; // level specified in the SpewActivate function to be printed. Use DSpew // to perform the spew: // -// DWarning( "group", level, "Oh I feel even yummier!\n" ); +// DWarning("\tgroup", level, "Oh I feel even yummier!\n" ); // // Priority level 0 means that the spew will *always* be printed, and group // '*' is the default spew group. If a DWarning is encountered using a group diff --git a/sp/src/public/tier0/dbgflag.h b/sp/src/public/tier0/dbgflag.h index 05f84c9d7b..bf66da5d76 100644 --- a/sp/src/public/tier0/dbgflag.h +++ b/sp/src/public/tier0/dbgflag.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This file sets all of our debugging flags. It should be // called before all other header files. diff --git a/sp/src/public/tier0/dynfunction.h b/sp/src/public/tier0/dynfunction.h index bd976b7353..48386bf921 100644 --- a/sp/src/public/tier0/dynfunction.h +++ b/sp/src/public/tier0/dynfunction.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/etwprof.h b/sp/src/public/tier0/etwprof.h index c1d4282204..92569106e1 100644 --- a/sp/src/public/tier0/etwprof.h +++ b/sp/src/public/tier0/etwprof.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // ETW (Event Tracing for Windows) profiling helpers. // This allows easy insertion of Generic Event markers into ETW/xperf tracing diff --git a/sp/src/public/tier0/fasttimer.h b/sp/src/public/tier0/fasttimer.h index 79496a9e71..32fe1ce788 100644 --- a/sp/src/public/tier0/fasttimer.h +++ b/sp/src/public/tier0/fasttimer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/ia32detect.h b/sp/src/public/tier0/ia32detect.h index dd603d1779..7dee7c00d4 100644 --- a/sp/src/public/tier0/ia32detect.h +++ b/sp/src/public/tier0/ia32detect.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/icommandline.h b/sp/src/public/tier0/icommandline.h index cbe9cb593c..94c8a03b0b 100644 --- a/sp/src/public/tier0/icommandline.h +++ b/sp/src/public/tier0/icommandline.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/l2cache.h b/sp/src/public/tier0/l2cache.h index 2ee883311a..9ac6c7b93f 100644 --- a/sp/src/public/tier0/l2cache.h +++ b/sp/src/public/tier0/l2cache.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/mem.h b/sp/src/public/tier0/mem.h index fc8807acd6..eadbf1f9b6 100644 --- a/sp/src/public/tier0/mem.h +++ b/sp/src/public/tier0/mem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Memory allocation! // diff --git a/sp/src/public/tier0/memalloc.h b/sp/src/public/tier0/memalloc.h index 34e1ccb91e..3d0339da53 100644 --- a/sp/src/public/tier0/memalloc.h +++ b/sp/src/public/tier0/memalloc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This header should never be used directly from leaf code!!! // Instead, just add the file memoverride.cpp into your project and all this diff --git a/sp/src/public/tier0/memdbgoff.h b/sp/src/public/tier0/memdbgoff.h index 1cd09dae68..5c2ef6f329 100644 --- a/sp/src/public/tier0/memdbgoff.h +++ b/sp/src/public/tier0/memdbgoff.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This header, which must be the final line of a .h file, // causes all crt methods to stop using debugging versions of the memory allocators. diff --git a/sp/src/public/tier0/memdbgon.h b/sp/src/public/tier0/memdbgon.h index 4e46839fc2..25447ee780 100644 --- a/sp/src/public/tier0/memdbgon.h +++ b/sp/src/public/tier0/memdbgon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This header, which must be the final include in a .cpp (or .h) file, // causes all crt methods to use debugging versions of the memory allocators. diff --git a/sp/src/public/tier0/memoverride.cpp b/sp/src/public/tier0/memoverride.cpp index 5ff4dbb425..9f94b97fe5 100644 --- a/sp/src/public/tier0/memoverride.cpp +++ b/sp/src/public/tier0/memoverride.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Insert this file into all projects using the memory system // It will cause that project to use the shader memory allocator @@ -602,7 +602,7 @@ ALLOC_CALL void *__cdecl _aligned_realloc_base( void *ptr, size_t size, size_t a ALLOC_CALL void *__cdecl _aligned_recalloc_base( void *ptr, size_t size, size_t align ) { - Error( "Unsupported function\n" ); + Error("\tUnsupported function\n" ); return NULL; } diff --git a/sp/src/public/tier0/minidump.h b/sp/src/public/tier0/minidump.h index fad2d07368..bb13e55271 100644 --- a/sp/src/public/tier0/minidump.h +++ b/sp/src/public/tier0/minidump.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/platform.h b/sp/src/public/tier0/platform.h index 25bf9bc164..fe39495db7 100644 --- a/sp/src/public/tier0/platform.h +++ b/sp/src/public/tier0/platform.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/pmc360.h b/sp/src/public/tier0/pmc360.h index ebae346fcc..b53deaabb8 100644 --- a/sp/src/public/tier0/pmc360.h +++ b/sp/src/public/tier0/pmc360.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Analogous to l2cache.h, this class represents information gleaned // from the 360's Performance Monitor Counters. In particular we diff --git a/sp/src/public/tier0/progressbar.h b/sp/src/public/tier0/progressbar.h index ce28afe14d..787cb6f6b8 100644 --- a/sp/src/public/tier0/progressbar.h +++ b/sp/src/public/tier0/progressbar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Provide a shared place for library fucntions to report progress % for display // diff --git a/sp/src/public/tier0/protected_things.h b/sp/src/public/tier0/protected_things.h index 8cbfa929c7..e22d658374 100644 --- a/sp/src/public/tier0/protected_things.h +++ b/sp/src/public/tier0/protected_things.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/systeminformation.h b/sp/src/public/tier0/systeminformation.h index f9ba59e1dc..256f67ca59 100644 --- a/sp/src/public/tier0/systeminformation.h +++ b/sp/src/public/tier0/systeminformation.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/testthread.h b/sp/src/public/tier0/testthread.h index 6ffda657cb..92794e92e1 100644 --- a/sp/src/public/tier0/testthread.h +++ b/sp/src/public/tier0/testthread.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: exposes testing thread functions // diff --git a/sp/src/public/tier0/threadtools.h b/sp/src/public/tier0/threadtools.h index 12ea369a53..201a743c35 100644 --- a/sp/src/public/tier0/threadtools.h +++ b/sp/src/public/tier0/threadtools.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A collection of utility classes to simplify thread handling, and // as much as possible contain portability problems. Here avoiding diff --git a/sp/src/public/tier0/tmapi_dummy.h b/sp/src/public/tier0/tmapi_dummy.h index f50a039a37..d98808fe9e 100644 --- a/sp/src/public/tier0/tmapi_dummy.h +++ b/sp/src/public/tier0/tmapi_dummy.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // This is the null header file used to remove Telemetry calls. #define TMERR_DISABLED 1 diff --git a/sp/src/public/tier0/tslist.h b/sp/src/public/tier0/tslist.h index d6610e0c5b..d3e141dbd3 100644 --- a/sp/src/public/tier0/tslist.h +++ b/sp/src/public/tier0/tslist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/validator.h b/sp/src/public/tier0/validator.h index 6af0f51a94..037b006da6 100644 --- a/sp/src/public/tier0/validator.h +++ b/sp/src/public/tier0/validator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/valobject.h b/sp/src/public/tier0/valobject.h index c139e9e304..aac554ecbb 100644 --- a/sp/src/public/tier0/valobject.h +++ b/sp/src/public/tier0/valobject.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: CValObject is used for tracking individual objects that report // in to CValidator. Whenever a new object reports in (via CValidator::Push), diff --git a/sp/src/public/tier0/valve_minmax_off.h b/sp/src/public/tier0/valve_minmax_off.h index 633a378094..f9b85fc94b 100644 --- a/sp/src/public/tier0/valve_minmax_off.h +++ b/sp/src/public/tier0/valve_minmax_off.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifdef min #undef min #endif diff --git a/sp/src/public/tier0/valve_minmax_on.h b/sp/src/public/tier0/valve_minmax_on.h index 738eabc162..11964a8a61 100644 --- a/sp/src/public/tier0/valve_minmax_on.h +++ b/sp/src/public/tier0/valve_minmax_on.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #if !defined(POSIX) #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) diff --git a/sp/src/public/tier0/valve_off.h b/sp/src/public/tier0/valve_off.h index 796408ee33..2298f6509a 100644 --- a/sp/src/public/tier0/valve_off.h +++ b/sp/src/public/tier0/valve_off.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This turns off all Valve-specific #defines. Because we sometimes // call external include files from inside .cpp files, we need to diff --git a/sp/src/public/tier0/valve_on.h b/sp/src/public/tier0/valve_on.h index ffc9b89d38..7dc2932252 100644 --- a/sp/src/public/tier0/valve_on.h +++ b/sp/src/public/tier0/valve_on.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This turns on all Valve-specific #defines. Because we sometimes // call external include files from inside .cpp files, we need to diff --git a/sp/src/public/tier0/vcr_shared.h b/sp/src/public/tier0/vcr_shared.h index d2d5ac759d..c6c192caf6 100644 --- a/sp/src/public/tier0/vcr_shared.h +++ b/sp/src/public/tier0/vcr_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier0/vcrmode.h b/sp/src/public/tier0/vcrmode.h index 2af8a608ca..d018023c90 100644 --- a/sp/src/public/tier0/vcrmode.h +++ b/sp/src/public/tier0/vcrmode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: VCR mode records a client's game and allows you to // play it back and reproduce it exactly. When playing it back, nothing diff --git a/sp/src/public/tier0/vprof.h b/sp/src/public/tier0/vprof.h index 2e60e17f91..9195a9f892 100644 --- a/sp/src/public/tier0/vprof.h +++ b/sp/src/public/tier0/vprof.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Real-Time Hierarchical Profiling // diff --git a/sp/src/public/tier0/vprof_telemetry.h b/sp/src/public/tier0/vprof_telemetry.h index f3df4f4b20..a9c9939eb5 100644 --- a/sp/src/public/tier0/vprof_telemetry.h +++ b/sp/src/public/tier0/vprof_telemetry.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Real-Time Hierarchical Telemetry Profiling // diff --git a/sp/src/public/tier0/wchartypes.h b/sp/src/public/tier0/wchartypes.h index 9803870cc6..f1d63841a8 100644 --- a/sp/src/public/tier0/wchartypes.h +++ b/sp/src/public/tier0/wchartypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: All of our code is completely Unicode. Instead of char, you should // use wchar, uint8, or char8, as explained below. diff --git a/sp/src/public/tier0/xbox_codeline_defines.h b/sp/src/public/tier0/xbox_codeline_defines.h index 2e3b2c52e4..4ba2f09c2d 100644 --- a/sp/src/public/tier0/xbox_codeline_defines.h +++ b/sp/src/public/tier0/xbox_codeline_defines.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/CommandBuffer.h b/sp/src/public/tier1/CommandBuffer.h index d9bfd7dea3..70b777df5e 100644 --- a/sp/src/public/tier1/CommandBuffer.h +++ b/sp/src/public/tier1/CommandBuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/KeyValues.h b/sp/src/public/tier1/KeyValues.h index 67b2f012a1..697f6397ea 100644 --- a/sp/src/public/tier1/KeyValues.h +++ b/sp/src/public/tier1/KeyValues.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/UtlStringMap.h b/sp/src/public/tier1/UtlStringMap.h index 59d5c23f54..81dd24b25b 100644 --- a/sp/src/public/tier1/UtlStringMap.h +++ b/sp/src/public/tier1/UtlStringMap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/bitbuf.h b/sp/src/public/tier1/bitbuf.h index b92e010c39..4bfc0ff2bb 100644 --- a/sp/src/public/tier1/bitbuf.h +++ b/sp/src/public/tier1/bitbuf.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/byteswap.h b/sp/src/public/tier1/byteswap.h index 9c866639cb..658f3b55f7 100644 --- a/sp/src/public/tier1/byteswap.h +++ b/sp/src/public/tier1/byteswap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Low level byte swapping routines. // diff --git a/sp/src/public/tier1/callqueue.h b/sp/src/public/tier1/callqueue.h index 5e0e9940dc..1b939adbb2 100644 --- a/sp/src/public/tier1/callqueue.h +++ b/sp/src/public/tier1/callqueue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/characterset.h b/sp/src/public/tier1/characterset.h index 0c639e1a9a..c386917f31 100644 --- a/sp/src/public/tier1/characterset.h +++ b/sp/src/public/tier1/characterset.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Shared code for parsing / searching for characters in a string // using lookup tables diff --git a/sp/src/public/tier1/checksum_crc.h b/sp/src/public/tier1/checksum_crc.h index dbbc50a4f4..02ecc25323 100644 --- a/sp/src/public/tier1/checksum_crc.h +++ b/sp/src/public/tier1/checksum_crc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Generic CRC functions // diff --git a/sp/src/public/tier1/checksum_md5.h b/sp/src/public/tier1/checksum_md5.h index e7cf7ec97c..473ad3de1b 100644 --- a/sp/src/public/tier1/checksum_md5.h +++ b/sp/src/public/tier1/checksum_md5.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Generic MD5 hashing algo // diff --git a/sp/src/public/tier1/checksum_sha1.h b/sp/src/public/tier1/checksum_sha1.h index 7c87aa5c76..6997f64044 100644 --- a/sp/src/public/tier1/checksum_sha1.h +++ b/sp/src/public/tier1/checksum_sha1.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implementation of SHA-1 // diff --git a/sp/src/public/tier1/convar.h b/sp/src/public/tier1/convar.h index 37268cc474..027153b0f3 100644 --- a/sp/src/public/tier1/convar.h +++ b/sp/src/public/tier1/convar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/convar_serverbounded.h b/sp/src/public/tier1/convar_serverbounded.h index 3bdd1ab359..7aadf8aaf1 100644 --- a/sp/src/public/tier1/convar_serverbounded.h +++ b/sp/src/public/tier1/convar_serverbounded.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper class for cvars that have restrictions on their value. // diff --git a/sp/src/public/tier1/datamanager.h b/sp/src/public/tier1/datamanager.h index 880305477c..cc768978a3 100644 --- a/sp/src/public/tier1/datamanager.h +++ b/sp/src/public/tier1/datamanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/delegates.h b/sp/src/public/tier1/delegates.h index 35a50cf7c5..588cf70519 100644 --- a/sp/src/public/tier1/delegates.h +++ b/sp/src/public/tier1/delegates.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple macros to generate delegation code // diff --git a/sp/src/public/tier1/diff.h b/sp/src/public/tier1/diff.h index fc2fb75283..f772067bef 100644 --- a/sp/src/public/tier1/diff.h +++ b/sp/src/public/tier1/diff.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/fileio.h b/sp/src/public/tier1/fileio.h index d85ca182e9..f6ad0ee664 100644 --- a/sp/src/public/tier1/fileio.h +++ b/sp/src/public/tier1/fileio.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A collection of utility classes to simplify file I/O, and // as much as possible contain portability problems. Here avoiding diff --git a/sp/src/public/tier1/fmtstr.h b/sp/src/public/tier1/fmtstr.h index 556fc1300c..55b732328a 100644 --- a/sp/src/public/tier1/fmtstr.h +++ b/sp/src/public/tier1/fmtstr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A simple class for performing safe and in-expression sprintf-style // string formatting @@ -40,7 +40,7 @@ (szBuf)[(nBufSize)-1] = 0; \ if ( bTruncated && !(bQuietTruncation) && scAsserted < 5 ) \ { \ - Warning( "FmtStrVSNPrintf truncated to %d without QUIET_TRUNCATION specified!\n", ( int )( nBufSize ) ); \ + Warning("\tFmtStrVSNPrintf truncated to %d without QUIET_TRUNCATION specified!\n", ( int )( nBufSize ) ); \ AssertMsg( 0, "FmtStrVSNPrintf truncated without QUIET_TRUNCATION specified!\n" ); \ scAsserted++; \ } \ @@ -64,7 +64,7 @@ (szBuf)[(nBufSize)-1] = 0; \ if ( bTruncated && !(bQuietTruncation) && scAsserted < 5 ) \ { \ - Warning( "FmtStrVSNPrintf truncated to %d without QUIET_TRUNCATION specified!\n", ( int )( nBufSize ) ); \ + Warning("\tFmtStrVSNPrintf truncated to %d without QUIET_TRUNCATION specified!\n", ( int )( nBufSize ) ); \ AssertMsg( 0, "FmtStrVSNPrintf truncated without QUIET_TRUNCATION specified!\n" ); \ scAsserted++; \ } \ @@ -121,7 +121,7 @@ class CFmtStrN m_szBuf[SIZE_BUF - 1] = 0; if ( bTruncated && !m_bQuietTruncation && ( s_nWarned < 5 ) ) { - Warning( "CFmtStr truncated to %d without QUIET_TRUNCATION specified!\n", SIZE_BUF ); + Warning("\tCFmtStr truncated to %d without QUIET_TRUNCATION specified!\n", SIZE_BUF ); AssertMsg( 0, "CFmtStr truncated without QUIET_TRUNCATION specified!\n" ); s_nWarned++; } diff --git a/sp/src/public/tier1/functors.h b/sp/src/public/tier1/functors.h index afc45d3a33..02eaf2d3a7 100644 --- a/sp/src/public/tier1/functors.h +++ b/sp/src/public/tier1/functors.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implements a generic infrastucture for functors combining // a number of techniques to provide transparent parameter type diff --git a/sp/src/public/tier1/generichash.h b/sp/src/public/tier1/generichash.h index 59b8b610f4..d3ac209737 100644 --- a/sp/src/public/tier1/generichash.h +++ b/sp/src/public/tier1/generichash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Variant Pearson Hash general purpose hashing algorithm described // by Cargill in C++ Report 1994. Generates a 16-bit result. diff --git a/sp/src/public/tier1/iconvar.h b/sp/src/public/tier1/iconvar.h index 1ea5f7af32..0aeacf38f1 100644 --- a/sp/src/public/tier1/iconvar.h +++ b/sp/src/public/tier1/iconvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/ilocalize.h b/sp/src/public/tier1/ilocalize.h index fed7af6df1..70c8a5305a 100644 --- a/sp/src/public/tier1/ilocalize.h +++ b/sp/src/public/tier1/ilocalize.h @@ -1,5 +1,5 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/interface.h b/sp/src/public/tier1/interface.h index 5453f67d15..8061c8a21c 100644 --- a/sp/src/public/tier1/interface.h +++ b/sp/src/public/tier1/interface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/interval.h b/sp/src/public/tier1/interval.h index 08f7261092..38457bdadc 100644 --- a/sp/src/public/tier1/interval.h +++ b/sp/src/public/tier1/interval.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/kvpacker.h b/sp/src/public/tier1/kvpacker.h index 7e47fa1a90..e4bf1a1fad 100644 --- a/sp/src/public/tier1/kvpacker.h +++ b/sp/src/public/tier1/kvpacker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/lzss.h b/sp/src/public/tier1/lzss.h index 8b3409a999..b427fa9b21 100644 --- a/sp/src/public/tier1/lzss.h +++ b/sp/src/public/tier1/lzss.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // LZSS Codec. Designed for fast cheap gametime encoding/decoding. Compression results // are not aggresive as other alogrithms, but gets 2:1 on most arbitrary uncompressed data. diff --git a/sp/src/public/tier1/mempool.h b/sp/src/public/tier1/mempool.h index 01d3a33f17..a54c60c509 100644 --- a/sp/src/public/tier1/mempool.h +++ b/sp/src/public/tier1/mempool.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/memstack.h b/sp/src/public/tier1/memstack.h index e5f08855b5..f72f9cfaaf 100644 --- a/sp/src/public/tier1/memstack.h +++ b/sp/src/public/tier1/memstack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A fast stack memory allocator that uses virtual memory if available // diff --git a/sp/src/public/tier1/netadr.h b/sp/src/public/tier1/netadr.h index 9249613ef8..748fe5773e 100644 --- a/sp/src/public/tier1/netadr.h +++ b/sp/src/public/tier1/netadr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/passwordhash.h b/sp/src/public/tier1/passwordhash.h index f557c7f785..b39f0adb84 100644 --- a/sp/src/public/tier1/passwordhash.h +++ b/sp/src/public/tier1/passwordhash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Cryptographic hash agility helper definitions // diff --git a/sp/src/public/tier1/processor_detect.h b/sp/src/public/tier1/processor_detect.h index cb4cc37efd..a9479a8560 100644 --- a/sp/src/public/tier1/processor_detect.h +++ b/sp/src/public/tier1/processor_detect.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: functions to expose CPU capabilities // diff --git a/sp/src/public/tier1/rangecheckedvar.h b/sp/src/public/tier1/rangecheckedvar.h index 52313f82d3..a12213f4aa 100644 --- a/sp/src/public/tier1/rangecheckedvar.h +++ b/sp/src/public/tier1/rangecheckedvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/refcount.h b/sp/src/public/tier1/refcount.h index 264da10009..d283caba0f 100644 --- a/sp/src/public/tier1/refcount.h +++ b/sp/src/public/tier1/refcount.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Tools for correctly implementing & handling reference counted // objects diff --git a/sp/src/public/tier1/reliabletimer.h b/sp/src/public/tier1/reliabletimer.h index c830fbe343..cf7a8df594 100644 --- a/sp/src/public/tier1/reliabletimer.h +++ b/sp/src/public/tier1/reliabletimer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/smartptr.h b/sp/src/public/tier1/smartptr.h index 466ca0bc79..e8c654218b 100644 --- a/sp/src/public/tier1/smartptr.h +++ b/sp/src/public/tier1/smartptr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/sparsematrix.h b/sp/src/public/tier1/sparsematrix.h index d882e5f994..427ced0075 100644 --- a/sp/src/public/tier1/sparsematrix.h +++ b/sp/src/public/tier1/sparsematrix.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/stringpool.h b/sp/src/public/tier1/stringpool.h index 6b1dfaeff6..e806c5928a 100644 --- a/sp/src/public/tier1/stringpool.h +++ b/sp/src/public/tier1/stringpool.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/strtools.h b/sp/src/public/tier1/strtools.h index 0872539dc3..a64f0156c1 100644 --- a/sp/src/public/tier1/strtools.h +++ b/sp/src/public/tier1/strtools.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/thash.h b/sp/src/public/tier1/thash.h index 51020749ec..b8e00a9c16 100644 --- a/sp/src/public/tier1/thash.h +++ b/sp/src/public/tier1/thash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/tier1.h b/sp/src/public/tier1/tier1.h index ac79067344..e2ddf7ab7d 100644 --- a/sp/src/public/tier1/tier1.h +++ b/sp/src/public/tier1/tier1.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier1/tokenreader.h b/sp/src/public/tier1/tokenreader.h index b174869ca0..a9bbec8e30 100644 --- a/sp/src/public/tier1/tokenreader.h +++ b/sp/src/public/tier1/tokenreader.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/uniqueid.h b/sp/src/public/tier1/uniqueid.h index fd3fe262b7..30d88d7440 100644 --- a/sp/src/public/tier1/uniqueid.h +++ b/sp/src/public/tier1/uniqueid.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlallocation.h b/sp/src/public/tier1/utlallocation.h index 65416bcfeb..fb511ff3d3 100644 --- a/sp/src/public/tier1/utlallocation.h +++ b/sp/src/public/tier1/utlallocation.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // The CUtlAllocation class: diff --git a/sp/src/public/tier1/utlarray.h b/sp/src/public/tier1/utlarray.h index 36850860d9..075a18d961 100644 --- a/sp/src/public/tier1/utlarray.h +++ b/sp/src/public/tier1/utlarray.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlbidirectionalset.h b/sp/src/public/tier1/utlbidirectionalset.h index 36aea62b15..5341f1db32 100644 --- a/sp/src/public/tier1/utlbidirectionalset.h +++ b/sp/src/public/tier1/utlbidirectionalset.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Bi-directional set. A Bucket knows about the elements that lie // in it, and the elements know about the buckets they lie in. diff --git a/sp/src/public/tier1/utlblockmemory.h b/sp/src/public/tier1/utlblockmemory.h index 8d86c59e83..cb7d77fbe9 100644 --- a/sp/src/public/tier1/utlblockmemory.h +++ b/sp/src/public/tier1/utlblockmemory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -270,7 +270,7 @@ void CUtlBlockMemory::ChangeSize( int nBlocks ) if ( !m_pMemory ) { - Error( "CUtlBlockMemory overflow!\n" ); + Error("\tCUtlBlockMemory overflow!\n" ); } // allocate new blocks if growing diff --git a/sp/src/public/tier1/utlbuffer.h b/sp/src/public/tier1/utlbuffer.h index 033407b4c4..df50314ea0 100644 --- a/sp/src/public/tier1/utlbuffer.h +++ b/sp/src/public/tier1/utlbuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlbufferutil.h b/sp/src/public/tier1/utlbufferutil.h index a52a528a24..98505c92f4 100644 --- a/sp/src/public/tier1/utlbufferutil.h +++ b/sp/src/public/tier1/utlbufferutil.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlcommon.h b/sp/src/public/tier1/utlcommon.h index d44dc2d562..1ad0b17786 100644 --- a/sp/src/public/tier1/utlcommon.h +++ b/sp/src/public/tier1/utlcommon.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: common helpers for reuse among various Utl containers // diff --git a/sp/src/public/tier1/utldelegate.h b/sp/src/public/tier1/utldelegate.h index 04c5dad256..ff0f4f7724 100644 --- a/sp/src/public/tier1/utldelegate.h +++ b/sp/src/public/tier1/utldelegate.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A header describing use of the delegate system. It's hiding // the highly complex implementation details of the delegate system diff --git a/sp/src/public/tier1/utldelegateimpl.h b/sp/src/public/tier1/utldelegateimpl.h index cf9809d8f1..8146498c97 100644 --- a/sp/src/public/tier1/utldelegateimpl.h +++ b/sp/src/public/tier1/utldelegateimpl.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // FastDelegate.h // Efficient delegates in C++ that generate only two lines of asm code! // Documentation is found at http://www.codeproject.com/cpp/FastDelegate.asp diff --git a/sp/src/public/tier1/utldict.h b/sp/src/public/tier1/utldict.h index cb0455a56f..43b6e4f229 100644 --- a/sp/src/public/tier1/utldict.h +++ b/sp/src/public/tier1/utldict.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A dictionary mapping from symbol to structure // diff --git a/sp/src/public/tier1/utlenvelope.h b/sp/src/public/tier1/utlenvelope.h index 3de254a31f..9eeebf9b31 100644 --- a/sp/src/public/tier1/utlenvelope.h +++ b/sp/src/public/tier1/utlenvelope.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A class to wrap data for transport over a boundary like a thread // or window. diff --git a/sp/src/public/tier1/utlfixedmemory.h b/sp/src/public/tier1/utlfixedmemory.h index 6ff8c19b85..c36fd23b4c 100644 --- a/sp/src/public/tier1/utlfixedmemory.h +++ b/sp/src/public/tier1/utlfixedmemory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -294,7 +294,7 @@ void CUtlFixedMemory::Grow( int num ) BlockHeader_t * RESTRICT pBlockHeader = ( BlockHeader_t* )malloc( sizeof( BlockHeader_t ) + nBlockSize * sizeof( T ) ); if ( !pBlockHeader ) { - Error( "CUtlFixedMemory overflow!\n" ); + Error("\tCUtlFixedMemory overflow!\n" ); } pBlockHeader->m_pNext = NULL; pBlockHeader->m_nBlockSize = nBlockSize; diff --git a/sp/src/public/tier1/utlflags.h b/sp/src/public/tier1/utlflags.h index e225b438a2..209cc40635 100644 --- a/sp/src/public/tier1/utlflags.h +++ b/sp/src/public/tier1/utlflags.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple class to make it easier to deal with flags // diff --git a/sp/src/public/tier1/utlhandletable.h b/sp/src/public/tier1/utlhandletable.h index 22f54357d1..23ab88918d 100644 --- a/sp/src/public/tier1/utlhandletable.h +++ b/sp/src/public/tier1/utlhandletable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlhash.h b/sp/src/public/tier1/utlhash.h index 7207b59783..9ce8bcbd82 100644 --- a/sp/src/public/tier1/utlhash.h +++ b/sp/src/public/tier1/utlhash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlhashdict.h b/sp/src/public/tier1/utlhashdict.h index 109bb75996..55496ecadb 100644 --- a/sp/src/public/tier1/utlhashdict.h +++ b/sp/src/public/tier1/utlhashdict.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlhashtable.h b/sp/src/public/tier1/utlhashtable.h index 2517111f60..2530a0e041 100644 --- a/sp/src/public/tier1/utlhashtable.h +++ b/sp/src/public/tier1/utlhashtable.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: a fast growable hashtable with stored hashes, L2-friendly behavior. // Useful as a string dictionary or a low-overhead set/map for small POD types. diff --git a/sp/src/public/tier1/utlintrusivelist.h b/sp/src/public/tier1/utlintrusivelist.h index 04a39bd9f8..bf821e7d98 100644 --- a/sp/src/public/tier1/utlintrusivelist.h +++ b/sp/src/public/tier1/utlintrusivelist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Intrusive linked list templates, both for singly and doubly linked lists // diff --git a/sp/src/public/tier1/utllinkedlist.h b/sp/src/public/tier1/utllinkedlist.h index 822f0b3646..7ee5f10dc1 100644 --- a/sp/src/public/tier1/utllinkedlist.h +++ b/sp/src/public/tier1/utllinkedlist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Linked list container class // @@ -679,7 +679,7 @@ I CUtlLinkedList::AllocInternal( bool multilist ) Assert( m_Memory.IsValidIterator( it ) ); if ( !m_Memory.IsValidIterator( it ) ) { - ExecuteNTimes( 10, Warning( "CUtlLinkedList overflow! (exhausted memory allocator)\n" ) ); + ExecuteNTimes( 10, Warning("\tCUtlLinkedList overflow! (exhausted memory allocator)\n" ) ); return InvalidIndex(); } } @@ -687,7 +687,7 @@ I CUtlLinkedList::AllocInternal( bool multilist ) // We can overflow before the utlmemory overflows, since S != I if ( !IndexInRange( m_Memory.GetIndex( it ) ) ) { - ExecuteNTimes( 10, Warning( "CUtlLinkedList overflow! (exhausted index range)\n" ) ); + ExecuteNTimes( 10, Warning("\tCUtlLinkedList overflow! (exhausted index range)\n" ) ); return InvalidIndex(); } diff --git a/sp/src/public/tier1/utlmap.h b/sp/src/public/tier1/utlmap.h index 9c08bc0492..580445f943 100644 --- a/sp/src/public/tier1/utlmap.h +++ b/sp/src/public/tier1/utlmap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlmemory.h b/sp/src/public/tier1/utlmemory.h index 2b817bb206..0be97acb6a 100644 --- a/sp/src/public/tier1/utlmemory.h +++ b/sp/src/public/tier1/utlmemory.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlmovingaverage.h b/sp/src/public/tier1/utlmovingaverage.h index b91ccb604b..c47050ec4d 100644 --- a/sp/src/public/tier1/utlmovingaverage.h +++ b/sp/src/public/tier1/utlmovingaverage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Simple moving average class // diff --git a/sp/src/public/tier1/utlmultilist.h b/sp/src/public/tier1/utlmultilist.h index c677746cc9..e35ca9155f 100644 --- a/sp/src/public/tier1/utlmultilist.h +++ b/sp/src/public/tier1/utlmultilist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Multiple linked list container class // @@ -399,7 +399,7 @@ I CUtlMultiList::Alloc( ) // We can overflow before the utlmemory overflows, since we have have I != int if ( !IndexInRange( m_MaxElementIndex ) ) { - ExecuteNTimes( 10, Warning( "CUtlMultiList overflow! (exhausted index range)\n" ) ); + ExecuteNTimes( 10, Warning("\tCUtlMultiList overflow! (exhausted index range)\n" ) ); return InvalidIndex(); } @@ -413,7 +413,7 @@ I CUtlMultiList::Alloc( ) if ( m_MaxElementIndex >= m_Memory.NumAllocated() ) { - ExecuteNTimes( 10, Warning( "CUtlMultiList overflow! (exhausted memory allocator)\n" ) ); + ExecuteNTimes( 10, Warning("\tCUtlMultiList overflow! (exhausted memory allocator)\n" ) ); return InvalidIndex(); } } diff --git a/sp/src/public/tier1/utlntree.h b/sp/src/public/tier1/utlntree.h index 463b5e168a..312ba95c3e 100644 --- a/sp/src/public/tier1/utlntree.h +++ b/sp/src/public/tier1/utlntree.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: N-way tree container class // diff --git a/sp/src/public/tier1/utlobjectreference.h b/sp/src/public/tier1/utlobjectreference.h index da9d30334e..508e8469d9 100644 --- a/sp/src/public/tier1/utlobjectreference.h +++ b/sp/src/public/tier1/utlobjectreference.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // $Revision: $ // $NoKeywords: $ diff --git a/sp/src/public/tier1/utlpriorityqueue.h b/sp/src/public/tier1/utlpriorityqueue.h index 8d3f4573c7..a3889d59f0 100644 --- a/sp/src/public/tier1/utlpriorityqueue.h +++ b/sp/src/public/tier1/utlpriorityqueue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlqueue.h b/sp/src/public/tier1/utlqueue.h index 8624a3db37..58e26f9183 100644 --- a/sp/src/public/tier1/utlqueue.h +++ b/sp/src/public/tier1/utlqueue.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlrbtree.h b/sp/src/public/tier1/utlrbtree.h index 70b0d72c06..eb5e3c5df0 100644 --- a/sp/src/public/tier1/utlrbtree.h +++ b/sp/src/public/tier1/utlrbtree.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -684,7 +684,7 @@ I CUtlRBTree::NewNode() Assert( m_Elements.IsValidIterator( it ) ); if ( !m_Elements.IsValidIterator( it ) ) { - Error( "CUtlRBTree overflow!\n" ); + Error("\tCUtlRBTree overflow!\n" ); } } m_LastAlloc = it; diff --git a/sp/src/public/tier1/utlsoacontainer.h b/sp/src/public/tier1/utlsoacontainer.h index 284358db03..891bfa91e4 100644 --- a/sp/src/public/tier1/utlsoacontainer.h +++ b/sp/src/public/tier1/utlsoacontainer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlstack.h b/sp/src/public/tier1/utlstack.h index a46beb266b..cec26b691b 100644 --- a/sp/src/public/tier1/utlstack.h +++ b/sp/src/public/tier1/utlstack.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlstring.h b/sp/src/public/tier1/utlstring.h index c50765fa8f..3fc9030c97 100644 --- a/sp/src/public/tier1/utlstring.h +++ b/sp/src/public/tier1/utlstring.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlsymbol.h b/sp/src/public/tier1/utlsymbol.h index 7b2d0282ea..1bdead7ce5 100644 --- a/sp/src/public/tier1/utlsymbol.h +++ b/sp/src/public/tier1/utlsymbol.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines a symbol table // diff --git a/sp/src/public/tier1/utlsymbollarge.h b/sp/src/public/tier1/utlsymbollarge.h index 438454049c..a12c35ec3c 100644 --- a/sp/src/public/tier1/utlsymbollarge.h +++ b/sp/src/public/tier1/utlsymbollarge.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines a large symbol table (intp sized handles, can store more than 64k strings) // @@ -328,7 +328,7 @@ class CUtlSymbolTableLargeBase { uint64 unBytesUsed = 0u; - for ( int i=0; i < m_StringPools.Count(); i++ ) + for ( int i = 0; i < m_StringPools.Count(); i++ ) { StringPool_t *pPool = m_StringPools[i]; @@ -399,7 +399,7 @@ inline CUtlSymbolLarge CUtlSymbolTableLargeBase inline int CUtlSymbolTableLargeBase::FindPoolWithSpace( int len ) const { - for ( int i=0; i < m_StringPools.Count(); i++ ) + for ( int i = 0; i < m_StringPools.Count(); i++ ) { StringPool_t *pPool = m_StringPools[i]; @@ -478,7 +478,7 @@ inline void CUtlSymbolTableLargeBase::Remo { m_Lookup.Purge(); - for ( int i=0; i < m_StringPools.Count(); i++ ) + for ( int i = 0; i < m_StringPools.Count(); i++ ) { StringPool_t * pString = m_StringPools[i]; free( pString ); diff --git a/sp/src/public/tier1/utltshash.h b/sp/src/public/tier1/utltshash.h index 9ff4e83fb8..c107a00adb 100644 --- a/sp/src/public/tier1/utltshash.h +++ b/sp/src/public/tier1/utltshash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier1/utlvector.h b/sp/src/public/tier1/utlvector.h index 180b51e4bb..d5d1695a38 100644 --- a/sp/src/public/tier1/utlvector.h +++ b/sp/src/public/tier1/utlvector.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -419,7 +419,7 @@ class CUtlVectorUltraConservative : private A { if ( m_pData != StaticData() ) { - for( int i=0; i < m_pData->m_Size; i++ ) + for( int i = 0; i < m_pData->m_Size; i++ ) { delete Element(i); } @@ -915,7 +915,7 @@ void CUtlVector::CopyArray( const T *pArray, int size ) Assert( (Base() == NULL) || !pArray || (Base() >= (pArray + size)) || (pArray >= (Base() + Count()) ) ); SetSize( size ); - for( int i=0; i < size; i++ ) + for( int i = 0; i < size; i++ ) { (*this)[i] = pArray[i]; } @@ -943,7 +943,7 @@ int CUtlVector::AddVectorToTail( CUtlVector const &src ) AddMultipleToTail( src.Count() ); // Copy the elements. - for ( int i=0; i < src.Count(); i++ ) + for ( int i = 0; i < src.Count(); i++ ) { (*this)[base + i] = src[i]; } @@ -970,7 +970,7 @@ inline int CUtlVector::InsertMultipleBefore( int elem, int num, const T *p // Copy stuff in? if ( pToInsert ) { - for ( int i=0; i < num; i++ ) + for ( int i = 0; i < num; i++ ) { Element( elem+i ) = pToInsert[i]; } @@ -1114,7 +1114,7 @@ inline void CUtlVector::Purge() template< typename T, class A > inline void CUtlVector::PurgeAndDeleteElements() { - for( int i=0; i < m_Size; i++ ) + for( int i = 0; i < m_Size; i++ ) { delete Element(i); } @@ -1180,7 +1180,7 @@ class CUtlStringList : public CUtlVectorAutoPurge< char *> inline void PurgeAndDeleteElements() { - for( int i=0; i < m_Size; i++ ) + for( int i = 0; i < m_Size; i++ ) { delete [] Element(i); } diff --git a/sp/src/public/tier2/beamsegdraw.h b/sp/src/public/tier2/beamsegdraw.h index 7a11f9cbe9..6ee861636f 100644 --- a/sp/src/public/tier2/beamsegdraw.h +++ b/sp/src/public/tier2/beamsegdraw.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier2/camerautils.h b/sp/src/public/tier2/camerautils.h index dcaf423d5a..b439c02433 100644 --- a/sp/src/public/tier2/camerautils.h +++ b/sp/src/public/tier2/camerautils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A set of utilities to deal with camera transforms // diff --git a/sp/src/public/tier2/fileutils.h b/sp/src/public/tier2/fileutils.h index d34983616a..e7b27b56eb 100644 --- a/sp/src/public/tier2/fileutils.h +++ b/sp/src/public/tier2/fileutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier2/keybindings.h b/sp/src/public/tier2/keybindings.h index 050219e679..cc33e852b5 100644 --- a/sp/src/public/tier2/keybindings.h +++ b/sp/src/public/tier2/keybindings.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier2/meshutils.h b/sp/src/public/tier2/meshutils.h index 1a995fc81a..a47a6d4000 100644 --- a/sp/src/public/tier2/meshutils.h +++ b/sp/src/public/tier2/meshutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A set of utilities to help with generating meshes // diff --git a/sp/src/public/tier2/p4helpers.h b/sp/src/public/tier2/p4helpers.h index f4441974fd..63f67d5175 100644 --- a/sp/src/public/tier2/p4helpers.h +++ b/sp/src/public/tier2/p4helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier2/renderutils.h b/sp/src/public/tier2/renderutils.h index fe3d87ce8e..ed43184e69 100644 --- a/sp/src/public/tier2/renderutils.h +++ b/sp/src/public/tier2/renderutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A set of utilities to render standard shapes // diff --git a/sp/src/public/tier2/riff.h b/sp/src/public/tier2/riff.h index e24b090a64..1b08ec51a5 100644 --- a/sp/src/public/tier2/riff.h +++ b/sp/src/public/tier2/riff.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier2/soundutils.h b/sp/src/public/tier2/soundutils.h index eca1337ec6..7a97c154ca 100644 --- a/sp/src/public/tier2/soundutils.h +++ b/sp/src/public/tier2/soundutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper methods + classes for sound // diff --git a/sp/src/public/tier2/tier2.h b/sp/src/public/tier2/tier2.h index 68bb6bb35c..9ee41619af 100644 --- a/sp/src/public/tier2/tier2.h +++ b/sp/src/public/tier2/tier2.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier2/tier2dm.h b/sp/src/public/tier2/tier2dm.h index 40ce58b4bf..88bd285be4 100644 --- a/sp/src/public/tier2/tier2dm.h +++ b/sp/src/public/tier2/tier2dm.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier2/utlstreambuffer.h b/sp/src/public/tier2/utlstreambuffer.h index d1d9c11494..0325d54fdc 100644 --- a/sp/src/public/tier2/utlstreambuffer.h +++ b/sp/src/public/tier2/utlstreambuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier2/vconfig.h b/sp/src/public/tier2/vconfig.h index 2ccf9d1620..a623f961d8 100644 --- a/sp/src/public/tier2/vconfig.h +++ b/sp/src/public/tier2/vconfig.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utilities for setting vproject settings // diff --git a/sp/src/public/tier3/choreoutils.h b/sp/src/public/tier3/choreoutils.h index b531737c99..31c36465a4 100644 --- a/sp/src/public/tier3/choreoutils.h +++ b/sp/src/public/tier3/choreoutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper methods + classes for choreo // diff --git a/sp/src/public/tier3/mdlutils.h b/sp/src/public/tier3/mdlutils.h index 1e04abd055..e2c52becfb 100644 --- a/sp/src/public/tier3/mdlutils.h +++ b/sp/src/public/tier3/mdlutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier3/scenetokenprocessor.h b/sp/src/public/tier3/scenetokenprocessor.h index d614b75de2..dad53b386b 100644 --- a/sp/src/public/tier3/scenetokenprocessor.h +++ b/sp/src/public/tier3/scenetokenprocessor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tier3/tier3.h b/sp/src/public/tier3/tier3.h index 7f5335317a..27ea215675 100644 --- a/sp/src/public/tier3/tier3.h +++ b/sp/src/public/tier3/tier3.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/tier3/tier3dm.h b/sp/src/public/tier3/tier3dm.h index 5ac602811f..c547600d67 100644 --- a/sp/src/public/tier3/tier3dm.h +++ b/sp/src/public/tier3/tier3dm.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/public/togl/linuxwin/cglmbuffer.h b/sp/src/public/togl/linuxwin/cglmbuffer.h index 45c998822d..7f684ec35d 100644 --- a/sp/src/public/togl/linuxwin/cglmbuffer.h +++ b/sp/src/public/togl/linuxwin/cglmbuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmprogram.h // GLMgr buffers (index / vertex) diff --git a/sp/src/public/togl/linuxwin/cglmfbo.h b/sp/src/public/togl/linuxwin/cglmfbo.h index 0cfd4226db..d6e8c5e7be 100644 --- a/sp/src/public/togl/linuxwin/cglmfbo.h +++ b/sp/src/public/togl/linuxwin/cglmfbo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmfbo.h // GLMgr FBO's (render targets) diff --git a/sp/src/public/togl/linuxwin/cglmprogram.h b/sp/src/public/togl/linuxwin/cglmprogram.h index ca9a47a8a2..a3ae994bfc 100644 --- a/sp/src/public/togl/linuxwin/cglmprogram.h +++ b/sp/src/public/togl/linuxwin/cglmprogram.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmprogram.h // GLMgr programs (ARBVP/ARBfp) diff --git a/sp/src/public/togl/linuxwin/cglmquery.h b/sp/src/public/togl/linuxwin/cglmquery.h index ff1ccfe9ee..04a2474aae 100644 --- a/sp/src/public/togl/linuxwin/cglmquery.h +++ b/sp/src/public/togl/linuxwin/cglmquery.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmquery.h // GLMgr queries diff --git a/sp/src/public/togl/linuxwin/cglmtex.h b/sp/src/public/togl/linuxwin/cglmtex.h index cafdd1c7fd..1284a2bb48 100644 --- a/sp/src/public/togl/linuxwin/cglmtex.h +++ b/sp/src/public/togl/linuxwin/cglmtex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmtex.h // GLMgr textures diff --git a/sp/src/public/togl/linuxwin/dxabstract.h b/sp/src/public/togl/linuxwin/dxabstract.h index 0e3673292a..1e79e61c39 100644 --- a/sp/src/public/togl/linuxwin/dxabstract.h +++ b/sp/src/public/togl/linuxwin/dxabstract.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // dxabstract.h // diff --git a/sp/src/public/togl/linuxwin/dxabstract_types.h b/sp/src/public/togl/linuxwin/dxabstract_types.h index 5f2ccba3fc..abcf08f221 100644 --- a/sp/src/public/togl/linuxwin/dxabstract_types.h +++ b/sp/src/public/togl/linuxwin/dxabstract_types.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // dxabstract_types.h // diff --git a/sp/src/public/togl/linuxwin/glbase.h b/sp/src/public/togl/linuxwin/glbase.h index d2d5a21961..c3aad377b7 100644 --- a/sp/src/public/togl/linuxwin/glbase.h +++ b/sp/src/public/togl/linuxwin/glbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glbase.h // diff --git a/sp/src/public/togl/linuxwin/glentrypoints.h b/sp/src/public/togl/linuxwin/glentrypoints.h index cff429288c..efb0380c9f 100644 --- a/sp/src/public/togl/linuxwin/glentrypoints.h +++ b/sp/src/public/togl/linuxwin/glentrypoints.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glentrypoints.h // diff --git a/sp/src/public/togl/linuxwin/glfuncs.h b/sp/src/public/togl/linuxwin/glfuncs.h index f5795139b5..3a285d3f18 100644 --- a/sp/src/public/togl/linuxwin/glfuncs.h +++ b/sp/src/public/togl/linuxwin/glfuncs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // !!! FIXME: Some of these aren't base OpenGL...pick out the extensions. // !!! FIXME: Also, look up these -1, -1 versions numbers. GL_FUNC(OpenGL,true,GLenum,glGetError,(void),()) diff --git a/sp/src/public/togl/linuxwin/glmdebug.h b/sp/src/public/togl/linuxwin/glmdebug.h index 8efba8b42c..e9ecbf26c0 100644 --- a/sp/src/public/togl/linuxwin/glmdebug.h +++ b/sp/src/public/togl/linuxwin/glmdebug.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef GLMDEBUG_H #define GLMDEBUG_H diff --git a/sp/src/public/togl/linuxwin/glmdisplay.h b/sp/src/public/togl/linuxwin/glmdisplay.h index 9a3183cc51..6340daf561 100644 --- a/sp/src/public/togl/linuxwin/glmdisplay.h +++ b/sp/src/public/togl/linuxwin/glmdisplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmdisplay.h // display related stuff - used by both GLMgr and the CocoaMgr diff --git a/sp/src/public/togl/linuxwin/glmdisplaydb.h b/sp/src/public/togl/linuxwin/glmdisplaydb.h index d9f64d80b5..f8cb7ae344 100644 --- a/sp/src/public/togl/linuxwin/glmdisplaydb.h +++ b/sp/src/public/togl/linuxwin/glmdisplaydb.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef GLMDISPLAYDB_H #define GLMDISPLAYDB_H diff --git a/sp/src/public/togl/linuxwin/glmgr.h b/sp/src/public/togl/linuxwin/glmgr.h index 2f555db9da..ed5045f7ad 100644 --- a/sp/src/public/togl/linuxwin/glmgr.h +++ b/sp/src/public/togl/linuxwin/glmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgr.h // singleton class, common basis for managing GL contexts diff --git a/sp/src/public/togl/linuxwin/glmgrbasics.h b/sp/src/public/togl/linuxwin/glmgrbasics.h index ed380de400..c8f03722e2 100644 --- a/sp/src/public/togl/linuxwin/glmgrbasics.h +++ b/sp/src/public/togl/linuxwin/glmgrbasics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgrbasics.h // types, common headers, forward declarations, utilities diff --git a/sp/src/public/togl/linuxwin/glmgrext.h b/sp/src/public/togl/linuxwin/glmgrext.h index 8f1aba9453..bfacd4f085 100644 --- a/sp/src/public/togl/linuxwin/glmgrext.h +++ b/sp/src/public/togl/linuxwin/glmgrext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgrext.h // helper file for extension testing and runtime importing of entry points diff --git a/sp/src/public/togl/osx/cglmbuffer.h b/sp/src/public/togl/osx/cglmbuffer.h index 0b161000a6..f76c85b336 100644 --- a/sp/src/public/togl/osx/cglmbuffer.h +++ b/sp/src/public/togl/osx/cglmbuffer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmprogram.h // GLMgr buffers (index / vertex) diff --git a/sp/src/public/togl/osx/cglmfbo.h b/sp/src/public/togl/osx/cglmfbo.h index ccf3e97070..1bda59b523 100644 --- a/sp/src/public/togl/osx/cglmfbo.h +++ b/sp/src/public/togl/osx/cglmfbo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmfbo.h // GLMgr FBO's (render targets) diff --git a/sp/src/public/togl/osx/cglmprogram.h b/sp/src/public/togl/osx/cglmprogram.h index ee7f4de2d9..fd397a4454 100644 --- a/sp/src/public/togl/osx/cglmprogram.h +++ b/sp/src/public/togl/osx/cglmprogram.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmprogram.h // GLMgr programs (ARBVP/ARBfp) diff --git a/sp/src/public/togl/osx/cglmquery.h b/sp/src/public/togl/osx/cglmquery.h index 1f5b16767a..b5a3e75e2d 100644 --- a/sp/src/public/togl/osx/cglmquery.h +++ b/sp/src/public/togl/osx/cglmquery.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmquery.h // GLMgr queries diff --git a/sp/src/public/togl/osx/cglmtex.h b/sp/src/public/togl/osx/cglmtex.h index 813395c765..f1742f458a 100644 --- a/sp/src/public/togl/osx/cglmtex.h +++ b/sp/src/public/togl/osx/cglmtex.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // cglmtex.h // GLMgr textures diff --git a/sp/src/public/togl/osx/dxabstract.h b/sp/src/public/togl/osx/dxabstract.h index 92f6bc32e9..2044295ebd 100644 --- a/sp/src/public/togl/osx/dxabstract.h +++ b/sp/src/public/togl/osx/dxabstract.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // // diff --git a/sp/src/public/togl/osx/dxabstract_types.h b/sp/src/public/togl/osx/dxabstract_types.h index 6ecc82f0eb..b580abbaac 100644 --- a/sp/src/public/togl/osx/dxabstract_types.h +++ b/sp/src/public/togl/osx/dxabstract_types.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // dxabstract_types.h // diff --git a/sp/src/public/togl/osx/glentrypoints.h b/sp/src/public/togl/osx/glentrypoints.h index be8d544665..0ae9edbe67 100644 --- a/sp/src/public/togl/osx/glentrypoints.h +++ b/sp/src/public/togl/osx/glentrypoints.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glentrypoints.h // diff --git a/sp/src/public/togl/osx/glfuncs.h b/sp/src/public/togl/osx/glfuncs.h index 78184bef99..e0a95c032d 100644 --- a/sp/src/public/togl/osx/glfuncs.h +++ b/sp/src/public/togl/osx/glfuncs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // !!! FIXME: Some of these aren't base OpenGL...pick out the extensions. // !!! FIXME: Also, look up these -1, -1 versions numbers. GL_FUNC(OpenGL,true,GLenum,glGetError,(void),()) diff --git a/sp/src/public/togl/osx/glmdebug.h b/sp/src/public/togl/osx/glmdebug.h index ee60a3a40c..25a7c6ed98 100644 --- a/sp/src/public/togl/osx/glmdebug.h +++ b/sp/src/public/togl/osx/glmdebug.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef GLMDEBUG_H #define GLMDEBUG_H diff --git a/sp/src/public/togl/osx/glmdisplay.h b/sp/src/public/togl/osx/glmdisplay.h index cf3a3b9091..248c0e5b91 100644 --- a/sp/src/public/togl/osx/glmdisplay.h +++ b/sp/src/public/togl/osx/glmdisplay.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmdisplay.h // display related stuff - used by both GLMgr and the CocoaMgr diff --git a/sp/src/public/togl/osx/glmdisplaydb.h b/sp/src/public/togl/osx/glmdisplaydb.h index 05c98dc802..dd030d7349 100644 --- a/sp/src/public/togl/osx/glmdisplaydb.h +++ b/sp/src/public/togl/osx/glmdisplaydb.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef GLMDISPLAYDB_H #define GLMDISPLAYDB_H diff --git a/sp/src/public/togl/osx/glmgr.h b/sp/src/public/togl/osx/glmgr.h index cdf642060c..8f40852bdc 100644 --- a/sp/src/public/togl/osx/glmgr.h +++ b/sp/src/public/togl/osx/glmgr.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgr.h // singleton class, common basis for managing GL contexts diff --git a/sp/src/public/togl/osx/glmgrbasics.h b/sp/src/public/togl/osx/glmgrbasics.h index d6476b3d3f..b5ee8eb8cc 100644 --- a/sp/src/public/togl/osx/glmgrbasics.h +++ b/sp/src/public/togl/osx/glmgrbasics.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgrbasics.h // types, common headers, forward declarations, utilities diff --git a/sp/src/public/togl/osx/glmgrext.h b/sp/src/public/togl/osx/glmgrext.h index 02939bb6f1..d61163c17e 100644 --- a/sp/src/public/togl/osx/glmgrext.h +++ b/sp/src/public/togl/osx/glmgrext.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // glmgrext.h // helper file for extension testing and runtime importing of entry points diff --git a/sp/src/public/togl/rendermechanism.h b/sp/src/public/togl/rendermechanism.h index 928021a541..b96abc99b9 100644 --- a/sp/src/public/togl/rendermechanism.h +++ b/sp/src/public/togl/rendermechanism.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef RENDERMECHANISM_H #define RENDERMECHANISM_H diff --git a/sp/src/public/toolframework/iclientenginetools.h b/sp/src/public/toolframework/iclientenginetools.h index 32c460a59a..7dea465c36 100644 --- a/sp/src/public/toolframework/iclientenginetools.h +++ b/sp/src/public/toolframework/iclientenginetools.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/ienginetool.h b/sp/src/public/toolframework/ienginetool.h index cf4bf89fe3..a699b71416 100644 --- a/sp/src/public/toolframework/ienginetool.h +++ b/sp/src/public/toolframework/ienginetool.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/iserverenginetools.h b/sp/src/public/toolframework/iserverenginetools.h index 437a97daf1..3c4c41c999 100644 --- a/sp/src/public/toolframework/iserverenginetools.h +++ b/sp/src/public/toolframework/iserverenginetools.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/itooldictionary.h b/sp/src/public/toolframework/itooldictionary.h index 96465f1618..9415b2c758 100644 --- a/sp/src/public/toolframework/itooldictionary.h +++ b/sp/src/public/toolframework/itooldictionary.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/itoolentity.h b/sp/src/public/toolframework/itoolentity.h index 7433c14ae5..e04a7b19e7 100644 --- a/sp/src/public/toolframework/itoolentity.h +++ b/sp/src/public/toolframework/itoolentity.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/itoolframework.h b/sp/src/public/toolframework/itoolframework.h index 5be2190e45..393477ded1 100644 --- a/sp/src/public/toolframework/itoolframework.h +++ b/sp/src/public/toolframework/itoolframework.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/itoolsystem.h b/sp/src/public/toolframework/itoolsystem.h index 84c91db7a2..93c4a97e87 100644 --- a/sp/src/public/toolframework/itoolsystem.h +++ b/sp/src/public/toolframework/itoolsystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/toolframework/toolframework.cpp b/sp/src/public/toolframework/toolframework.cpp index 8d0db6e9a0..1d5914d5ad 100644 --- a/sp/src/public/toolframework/toolframework.cpp +++ b/sp/src/public/toolframework/toolframework.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "toolframework/itooldictionary.h" #include "utlvector.h" diff --git a/sp/src/public/tools/bonelist.cpp b/sp/src/public/tools/bonelist.cpp index be772a95ef..05a54daed7 100644 --- a/sp/src/public/tools/bonelist.cpp +++ b/sp/src/public/tools/bonelist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/tools/bonelist.h b/sp/src/public/tools/bonelist.h index dbb3972131..031ca80aa1 100644 --- a/sp/src/public/tools/bonelist.h +++ b/sp/src/public/tools/bonelist.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/trace.h b/sp/src/public/trace.h index 765acd57c9..44798ac475 100644 --- a/sp/src/public/trace.h +++ b/sp/src/public/trace.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/unicode/unicode.h b/sp/src/public/unicode/unicode.h index 7c3522e2dc..4eb1935bfb 100644 --- a/sp/src/public/unicode/unicode.h +++ b/sp/src/public/unicode/unicode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/unitlib/unitlib.h b/sp/src/public/unitlib/unitlib.h index c27817d635..8ac41e0cd2 100644 --- a/sp/src/public/unitlib/unitlib.h +++ b/sp/src/public/unitlib/unitlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vallocator.cpp b/sp/src/public/vallocator.cpp index be7170339f..5988cda007 100644 --- a/sp/src/public/vallocator.cpp +++ b/sp/src/public/vallocator.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vallocator.h b/sp/src/public/vallocator.h index d9f2130a6c..3ccff24820 100644 --- a/sp/src/public/vallocator.h +++ b/sp/src/public/vallocator.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vaudio/ivaudio.h b/sp/src/public/vaudio/ivaudio.h index 8b23e1db31..20f4abc3e4 100644 --- a/sp/src/public/vaudio/ivaudio.h +++ b/sp/src/public/vaudio/ivaudio.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vcollide.h b/sp/src/public/vcollide.h index f4ebf62cac..5873116720 100644 --- a/sp/src/public/vcollide.h +++ b/sp/src/public/vcollide.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vcollide_parse.h b/sp/src/public/vcollide_parse.h index 675c4569d4..1bba37992a 100644 --- a/sp/src/public/vcollide_parse.h +++ b/sp/src/public/vcollide_parse.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/Cursor.h b/sp/src/public/vgui/Cursor.h index be9ca78b5b..b22ce910fe 100644 --- a/sp/src/public/vgui/Cursor.h +++ b/sp/src/public/vgui/Cursor.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Holds the enumerated list of default cursors // diff --git a/sp/src/public/vgui/Dar.h b/sp/src/public/vgui/Dar.h index ee72008577..4fbbbf2466 100644 --- a/sp/src/public/vgui/Dar.h +++ b/sp/src/public/vgui/Dar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Holds the enumerated list of default cursors // diff --git a/sp/src/public/vgui/IBorder.h b/sp/src/public/vgui/IBorder.h index e1237eb1de..4ee1d448c2 100644 --- a/sp/src/public/vgui/IBorder.h +++ b/sp/src/public/vgui/IBorder.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IClientPanel.h b/sp/src/public/vgui/IClientPanel.h index ff96497301..dc2e2ad21e 100644 --- a/sp/src/public/vgui/IClientPanel.h +++ b/sp/src/public/vgui/IClientPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IHTML.h b/sp/src/public/vgui/IHTML.h index e296a0ce6a..dfbc63b8a3 100644 --- a/sp/src/public/vgui/IHTML.h +++ b/sp/src/public/vgui/IHTML.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IImage.h b/sp/src/public/vgui/IImage.h index eadc964f5d..0d0ca6be92 100644 --- a/sp/src/public/vgui/IImage.h +++ b/sp/src/public/vgui/IImage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IInput.h b/sp/src/public/vgui/IInput.h index 26077e4ad4..92800ed56b 100644 --- a/sp/src/public/vgui/IInput.h +++ b/sp/src/public/vgui/IInput.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IInputInternal.h b/sp/src/public/vgui/IInputInternal.h index a72eaa8de0..7120410b98 100644 --- a/sp/src/public/vgui/IInputInternal.h +++ b/sp/src/public/vgui/IInputInternal.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/ILocalize.h b/sp/src/public/vgui/ILocalize.h index 808acb4592..e89c671abe 100644 --- a/sp/src/public/vgui/ILocalize.h +++ b/sp/src/public/vgui/ILocalize.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IPanel.h b/sp/src/public/vgui/IPanel.h index a0313e00da..db23c5bfac 100644 --- a/sp/src/public/vgui/IPanel.h +++ b/sp/src/public/vgui/IPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IScheme.h b/sp/src/public/vgui/IScheme.h index 25b221eae1..ee8bb75bb0 100644 --- a/sp/src/public/vgui/IScheme.h +++ b/sp/src/public/vgui/IScheme.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/ISurface.h b/sp/src/public/vgui/ISurface.h index 6289bd5931..f30769c315 100644 --- a/sp/src/public/vgui/ISurface.h +++ b/sp/src/public/vgui/ISurface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/ISurfaceV30.h b/sp/src/public/vgui/ISurfaceV30.h index 420fb1a8ad..0511f55b5b 100644 --- a/sp/src/public/vgui/ISurfaceV30.h +++ b/sp/src/public/vgui/ISurfaceV30.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/vgui/ISystem.h b/sp/src/public/vgui/ISystem.h index 1ae15ec6da..dc22d09f34 100644 --- a/sp/src/public/vgui/ISystem.h +++ b/sp/src/public/vgui/ISystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IVGui.h b/sp/src/public/vgui/IVGui.h index 6a4c4371a5..de927487e6 100644 --- a/sp/src/public/vgui/IVGui.h +++ b/sp/src/public/vgui/IVGui.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IVguiMatInfo.h b/sp/src/public/vgui/IVguiMatInfo.h index 2bfbe2d3e6..cfa5971f1b 100644 --- a/sp/src/public/vgui/IVguiMatInfo.h +++ b/sp/src/public/vgui/IVguiMatInfo.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/IVguiMatInfoVar.h b/sp/src/public/vgui/IVguiMatInfoVar.h index 319d39deab..ee5781d0d6 100644 --- a/sp/src/public/vgui/IVguiMatInfoVar.h +++ b/sp/src/public/vgui/IVguiMatInfoVar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/KeyCode.h b/sp/src/public/vgui/KeyCode.h index 0e58a5c460..9f649593f3 100644 --- a/sp/src/public/vgui/KeyCode.h +++ b/sp/src/public/vgui/KeyCode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: this is a map for virtual key codes // virtual key codes may exist outside this range for other languages diff --git a/sp/src/public/vgui/MouseCode.h b/sp/src/public/vgui/MouseCode.h index 9b13fc8142..4be1f111d2 100644 --- a/sp/src/public/vgui/MouseCode.h +++ b/sp/src/public/vgui/MouseCode.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: names mouse button inputs // NOTE: Button codes also contain key codes, but we won't worry about that diff --git a/sp/src/public/vgui/Point.h b/sp/src/public/vgui/Point.h index 96cd64d17b..16a488c996 100644 --- a/sp/src/public/vgui/Point.h +++ b/sp/src/public/vgui/Point.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/VGUI.h b/sp/src/public/vgui/VGUI.h index cd2e965035..3e505fc9bc 100644 --- a/sp/src/public/vgui/VGUI.h +++ b/sp/src/public/vgui/VGUI.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Basic header for using vgui // diff --git a/sp/src/public/vgui/ipainthtml.h b/sp/src/public/vgui/ipainthtml.h index f30892e3f6..36d2e8c8e7 100644 --- a/sp/src/public/vgui/ipainthtml.h +++ b/sp/src/public/vgui/ipainthtml.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui/keyrepeat.h b/sp/src/public/vgui/keyrepeat.h index 874cc03395..028d277c7c 100644 --- a/sp/src/public/vgui/keyrepeat.h +++ b/sp/src/public/vgui/keyrepeat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/AnalogBar.h b/sp/src/public/vgui_controls/AnalogBar.h index d6d696e08f..649ad9b244 100644 --- a/sp/src/public/vgui_controls/AnalogBar.h +++ b/sp/src/public/vgui_controls/AnalogBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/AnimatingImagePanel.h b/sp/src/public/vgui_controls/AnimatingImagePanel.h index a65a5dc349..66d6e16212 100644 --- a/sp/src/public/vgui_controls/AnimatingImagePanel.h +++ b/sp/src/public/vgui_controls/AnimatingImagePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/AnimationController.h b/sp/src/public/vgui_controls/AnimationController.h index e418f329e2..0e81e6eeb7 100644 --- a/sp/src/public/vgui_controls/AnimationController.h +++ b/sp/src/public/vgui_controls/AnimationController.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/BitmapImagePanel.h b/sp/src/public/vgui_controls/BitmapImagePanel.h index 639ffb67e0..e978c79852 100644 --- a/sp/src/public/vgui_controls/BitmapImagePanel.h +++ b/sp/src/public/vgui_controls/BitmapImagePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/BuildGroup.h b/sp/src/public/vgui_controls/BuildGroup.h index e95bca60c4..e4f7ec8113 100644 --- a/sp/src/public/vgui_controls/BuildGroup.h +++ b/sp/src/public/vgui_controls/BuildGroup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/BuildModeDialog.h b/sp/src/public/vgui_controls/BuildModeDialog.h index 25c6185329..16d0b13b99 100644 --- a/sp/src/public/vgui_controls/BuildModeDialog.h +++ b/sp/src/public/vgui_controls/BuildModeDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Button.h b/sp/src/public/vgui_controls/Button.h index 50b68daee1..94bde8e623 100644 --- a/sp/src/public/vgui_controls/Button.h +++ b/sp/src/public/vgui_controls/Button.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/CheckButton.h b/sp/src/public/vgui_controls/CheckButton.h index a7e25ac958..2de9cbe3a5 100644 --- a/sp/src/public/vgui_controls/CheckButton.h +++ b/sp/src/public/vgui_controls/CheckButton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/CheckButtonList.h b/sp/src/public/vgui_controls/CheckButtonList.h index 6bb95d94f2..1b7e78267e 100644 --- a/sp/src/public/vgui_controls/CheckButtonList.h +++ b/sp/src/public/vgui_controls/CheckButtonList.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/CircularProgressBar.h b/sp/src/public/vgui_controls/CircularProgressBar.h index 2a31f504d5..9dac32139a 100644 --- a/sp/src/public/vgui_controls/CircularProgressBar.h +++ b/sp/src/public/vgui_controls/CircularProgressBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ComboBox.h b/sp/src/public/vgui_controls/ComboBox.h index c5c3eba013..e281c3cf48 100644 --- a/sp/src/public/vgui_controls/ComboBox.h +++ b/sp/src/public/vgui_controls/ComboBox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ControllerMap.h b/sp/src/public/vgui_controls/ControllerMap.h index 7ccbdc6084..784320c75b 100644 --- a/sp/src/public/vgui_controls/ControllerMap.h +++ b/sp/src/public/vgui_controls/ControllerMap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Controls.h b/sp/src/public/vgui_controls/Controls.h index 0afb8ded27..37e50d2366 100644 --- a/sp/src/public/vgui_controls/Controls.h +++ b/sp/src/public/vgui_controls/Controls.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/DialogManager.h b/sp/src/public/vgui_controls/DialogManager.h index 5c3761621b..e11631ff7c 100644 --- a/sp/src/public/vgui_controls/DialogManager.h +++ b/sp/src/public/vgui_controls/DialogManager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/DirectorySelectDialog.h b/sp/src/public/vgui_controls/DirectorySelectDialog.h index f024d32624..5bad4c0aa2 100644 --- a/sp/src/public/vgui_controls/DirectorySelectDialog.h +++ b/sp/src/public/vgui_controls/DirectorySelectDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Divider.h b/sp/src/public/vgui_controls/Divider.h index 1c6e7b0938..c6a3c87f78 100644 --- a/sp/src/public/vgui_controls/Divider.h +++ b/sp/src/public/vgui_controls/Divider.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/EditablePanel.h b/sp/src/public/vgui_controls/EditablePanel.h index 11b8e7683e..33ceb3f56f 100644 --- a/sp/src/public/vgui_controls/EditablePanel.h +++ b/sp/src/public/vgui_controls/EditablePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ExpandButton.h b/sp/src/public/vgui_controls/ExpandButton.h index 2dbf8493dc..3709c273be 100644 --- a/sp/src/public/vgui_controls/ExpandButton.h +++ b/sp/src/public/vgui_controls/ExpandButton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A button with no borders that shows a left-pointing or down-pointing triangle // diff --git a/sp/src/public/vgui_controls/FileOpenDialog.h b/sp/src/public/vgui_controls/FileOpenDialog.h index bcaccf0f70..02654afa60 100644 --- a/sp/src/public/vgui_controls/FileOpenDialog.h +++ b/sp/src/public/vgui_controls/FileOpenDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Declaration of FileOpenDialog class, a generic open/save as file dialog // diff --git a/sp/src/public/vgui_controls/FileOpenStateMachine.h b/sp/src/public/vgui_controls/FileOpenStateMachine.h index 4fb327cb4f..5b5795e120 100644 --- a/sp/src/public/vgui_controls/FileOpenStateMachine.h +++ b/sp/src/public/vgui_controls/FileOpenStateMachine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // This is a helper class designed to help with the chains of modal dialogs // encountered when trying to open or save a particular file diff --git a/sp/src/public/vgui_controls/FocusNavGroup.h b/sp/src/public/vgui_controls/FocusNavGroup.h index 2d74351230..72b588c35e 100644 --- a/sp/src/public/vgui_controls/FocusNavGroup.h +++ b/sp/src/public/vgui_controls/FocusNavGroup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Frame.h b/sp/src/public/vgui_controls/Frame.h index 0485a374f1..91d9866959 100644 --- a/sp/src/public/vgui_controls/Frame.h +++ b/sp/src/public/vgui_controls/Frame.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/GraphPanel.h b/sp/src/public/vgui_controls/GraphPanel.h index e2c2bfe4a5..18fa69e7a9 100644 --- a/sp/src/public/vgui_controls/GraphPanel.h +++ b/sp/src/public/vgui_controls/GraphPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/HTML.h b/sp/src/public/vgui_controls/HTML.h index 59e76770e6..fd78a91aec 100644 --- a/sp/src/public/vgui_controls/HTML.h +++ b/sp/src/public/vgui_controls/HTML.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Creates a HTML control // diff --git a/sp/src/public/vgui_controls/Image.h b/sp/src/public/vgui_controls/Image.h index 9ed128e7ce..15e616b1c9 100644 --- a/sp/src/public/vgui_controls/Image.h +++ b/sp/src/public/vgui_controls/Image.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ImageList.h b/sp/src/public/vgui_controls/ImageList.h index db9ec638fd..5fa5f52dca 100644 --- a/sp/src/public/vgui_controls/ImageList.h +++ b/sp/src/public/vgui_controls/ImageList.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ImagePanel.h b/sp/src/public/vgui_controls/ImagePanel.h index f4f5ce8523..54b7b9c206 100644 --- a/sp/src/public/vgui_controls/ImagePanel.h +++ b/sp/src/public/vgui_controls/ImagePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/InputDialog.h b/sp/src/public/vgui_controls/InputDialog.h index 00b8d6f5de..79d2b8f985 100644 --- a/sp/src/public/vgui_controls/InputDialog.h +++ b/sp/src/public/vgui_controls/InputDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/KeyBindingHelpDialog.h b/sp/src/public/vgui_controls/KeyBindingHelpDialog.h index 3e4d0ede72..14cb265ff6 100644 --- a/sp/src/public/vgui_controls/KeyBindingHelpDialog.h +++ b/sp/src/public/vgui_controls/KeyBindingHelpDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/KeyBindingMap.h b/sp/src/public/vgui_controls/KeyBindingMap.h index 16641c7678..316fb8ad01 100644 --- a/sp/src/public/vgui_controls/KeyBindingMap.h +++ b/sp/src/public/vgui_controls/KeyBindingMap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/KeyBoardEditorDialog.h b/sp/src/public/vgui_controls/KeyBoardEditorDialog.h index 209c86f76e..ac3a353212 100644 --- a/sp/src/public/vgui_controls/KeyBoardEditorDialog.h +++ b/sp/src/public/vgui_controls/KeyBoardEditorDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/KeyRepeat.h b/sp/src/public/vgui_controls/KeyRepeat.h index 83d30a3301..78154c8591 100644 --- a/sp/src/public/vgui_controls/KeyRepeat.h +++ b/sp/src/public/vgui_controls/KeyRepeat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Label.h b/sp/src/public/vgui_controls/Label.h index 53422f764d..b54f994044 100644 --- a/sp/src/public/vgui_controls/Label.h +++ b/sp/src/public/vgui_controls/Label.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ListPanel.h b/sp/src/public/vgui_controls/ListPanel.h index 9248856e64..375c88f4c0 100644 --- a/sp/src/public/vgui_controls/ListPanel.h +++ b/sp/src/public/vgui_controls/ListPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ListViewPanel.h b/sp/src/public/vgui_controls/ListViewPanel.h index 39f1bec769..574e7a626f 100644 --- a/sp/src/public/vgui_controls/ListViewPanel.h +++ b/sp/src/public/vgui_controls/ListViewPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Menu.h b/sp/src/public/vgui_controls/Menu.h index 2b374373cf..b19ab2d9ba 100644 --- a/sp/src/public/vgui_controls/Menu.h +++ b/sp/src/public/vgui_controls/Menu.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/MenuBar.h b/sp/src/public/vgui_controls/MenuBar.h index 01ccc06a8c..a88aa4acd3 100644 --- a/sp/src/public/vgui_controls/MenuBar.h +++ b/sp/src/public/vgui_controls/MenuBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/MenuButton.h b/sp/src/public/vgui_controls/MenuButton.h index a90fb2363d..0bd3e695da 100644 --- a/sp/src/public/vgui_controls/MenuButton.h +++ b/sp/src/public/vgui_controls/MenuButton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/MenuItem.h b/sp/src/public/vgui_controls/MenuItem.h index 6baa512e80..a01db2b002 100644 --- a/sp/src/public/vgui_controls/MenuItem.h +++ b/sp/src/public/vgui_controls/MenuItem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/MessageBox.h b/sp/src/public/vgui_controls/MessageBox.h index 47918223c8..06213aedae 100644 --- a/sp/src/public/vgui_controls/MessageBox.h +++ b/sp/src/public/vgui_controls/MessageBox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/MessageDialog.h b/sp/src/public/vgui_controls/MessageDialog.h index 191bb2b6bc..411cee2491 100644 --- a/sp/src/public/vgui_controls/MessageDialog.h +++ b/sp/src/public/vgui_controls/MessageDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains the CMessageDialog declaration // diff --git a/sp/src/public/vgui_controls/MessageMap.h b/sp/src/public/vgui_controls/MessageMap.h index 226c0adc02..6387569589 100644 --- a/sp/src/public/vgui_controls/MessageMap.h +++ b/sp/src/public/vgui_controls/MessageMap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PHandle.h b/sp/src/public/vgui_controls/PHandle.h index 959ee4a9b3..f935458144 100644 --- a/sp/src/public/vgui_controls/PHandle.h +++ b/sp/src/public/vgui_controls/PHandle.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Panel.h b/sp/src/public/vgui_controls/Panel.h index 99f8e22390..fd3870d93d 100644 --- a/sp/src/public/vgui_controls/Panel.h +++ b/sp/src/public/vgui_controls/Panel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PanelAnimationVar.h b/sp/src/public/vgui_controls/PanelAnimationVar.h index 24c41c8cf7..525fbf5e75 100644 --- a/sp/src/public/vgui_controls/PanelAnimationVar.h +++ b/sp/src/public/vgui_controls/PanelAnimationVar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PanelListPanel.h b/sp/src/public/vgui_controls/PanelListPanel.h index c4a647e34b..61abd60ce0 100644 --- a/sp/src/public/vgui_controls/PanelListPanel.h +++ b/sp/src/public/vgui_controls/PanelListPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PerforceFileExplorer.h b/sp/src/public/vgui_controls/PerforceFileExplorer.h index 4d3dd8762d..25fd1275ee 100644 --- a/sp/src/public/vgui_controls/PerforceFileExplorer.h +++ b/sp/src/public/vgui_controls/PerforceFileExplorer.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Allows you to browse a directory structure, showing perforce files // diff --git a/sp/src/public/vgui_controls/PerforceFileList.h b/sp/src/public/vgui_controls/PerforceFileList.h index 148b005c1f..e91aedd103 100644 --- a/sp/src/public/vgui_controls/PerforceFileList.h +++ b/sp/src/public/vgui_controls/PerforceFileList.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains a list of files, determines their perforce status // diff --git a/sp/src/public/vgui_controls/ProgressBar.h b/sp/src/public/vgui_controls/ProgressBar.h index a91269b18d..f796f6196d 100644 --- a/sp/src/public/vgui_controls/ProgressBar.h +++ b/sp/src/public/vgui_controls/ProgressBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ProgressBox.h b/sp/src/public/vgui_controls/ProgressBox.h index d5c321a433..0b7a1525c6 100644 --- a/sp/src/public/vgui_controls/ProgressBox.h +++ b/sp/src/public/vgui_controls/ProgressBox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PropertyDialog.h b/sp/src/public/vgui_controls/PropertyDialog.h index 32747f0aae..542a9de353 100644 --- a/sp/src/public/vgui_controls/PropertyDialog.h +++ b/sp/src/public/vgui_controls/PropertyDialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PropertyPage.h b/sp/src/public/vgui_controls/PropertyPage.h index 8120ed062d..61dfed2d11 100644 --- a/sp/src/public/vgui_controls/PropertyPage.h +++ b/sp/src/public/vgui_controls/PropertyPage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/PropertySheet.h b/sp/src/public/vgui_controls/PropertySheet.h index d6fdf88dd2..d0af55ff13 100644 --- a/sp/src/public/vgui_controls/PropertySheet.h +++ b/sp/src/public/vgui_controls/PropertySheet.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/QueryBox.h b/sp/src/public/vgui_controls/QueryBox.h index 40e6e46f62..a9e00ed05b 100644 --- a/sp/src/public/vgui_controls/QueryBox.h +++ b/sp/src/public/vgui_controls/QueryBox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Creates a Message box with a question in it and yes/no buttons // diff --git a/sp/src/public/vgui_controls/RadioButton.h b/sp/src/public/vgui_controls/RadioButton.h index c21abbad99..8808405c53 100644 --- a/sp/src/public/vgui_controls/RadioButton.h +++ b/sp/src/public/vgui_controls/RadioButton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/RichText.h b/sp/src/public/vgui_controls/RichText.h index 704ef08b7a..8e2686cf57 100644 --- a/sp/src/public/vgui_controls/RichText.h +++ b/sp/src/public/vgui_controls/RichText.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/RotatingProgressBar.h b/sp/src/public/vgui_controls/RotatingProgressBar.h index 400838c3a5..0cd285b26a 100644 --- a/sp/src/public/vgui_controls/RotatingProgressBar.h +++ b/sp/src/public/vgui_controls/RotatingProgressBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ScalableImagePanel.h b/sp/src/public/vgui_controls/ScalableImagePanel.h index 7c4f1b7a86..ba4c245ce7 100644 --- a/sp/src/public/vgui_controls/ScalableImagePanel.h +++ b/sp/src/public/vgui_controls/ScalableImagePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ScrollBar.h b/sp/src/public/vgui_controls/ScrollBar.h index c22e3a5985..71747d9f51 100644 --- a/sp/src/public/vgui_controls/ScrollBar.h +++ b/sp/src/public/vgui_controls/ScrollBar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ScrollBarSlider.h b/sp/src/public/vgui_controls/ScrollBarSlider.h index 8769222ff8..11945f2211 100644 --- a/sp/src/public/vgui_controls/ScrollBarSlider.h +++ b/sp/src/public/vgui_controls/ScrollBarSlider.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ScrollableEditablePanel.h b/sp/src/public/vgui_controls/ScrollableEditablePanel.h index 6796405d27..ad85b9ca3f 100644 --- a/sp/src/public/vgui_controls/ScrollableEditablePanel.h +++ b/sp/src/public/vgui_controls/ScrollableEditablePanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/SectionedListPanel.h b/sp/src/public/vgui_controls/SectionedListPanel.h index c38f6c74f1..13849a1b16 100644 --- a/sp/src/public/vgui_controls/SectionedListPanel.h +++ b/sp/src/public/vgui_controls/SectionedListPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Slider.h b/sp/src/public/vgui_controls/Slider.h index ce75aef034..5f40474034 100644 --- a/sp/src/public/vgui_controls/Slider.h +++ b/sp/src/public/vgui_controls/Slider.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Splitter.h b/sp/src/public/vgui_controls/Splitter.h index f788ebcba9..8ad2a25418 100644 --- a/sp/src/public/vgui_controls/Splitter.h +++ b/sp/src/public/vgui_controls/Splitter.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/TextEntry.h b/sp/src/public/vgui_controls/TextEntry.h index 7231acc425..460ad55d37 100644 --- a/sp/src/public/vgui_controls/TextEntry.h +++ b/sp/src/public/vgui_controls/TextEntry.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A Class to create a window that you can type and edit text in. // Window can hold single line or multiline text. diff --git a/sp/src/public/vgui_controls/TextImage.h b/sp/src/public/vgui_controls/TextImage.h index a410cb9508..3f5caa3ba1 100644 --- a/sp/src/public/vgui_controls/TextImage.h +++ b/sp/src/public/vgui_controls/TextImage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ToggleButton.h b/sp/src/public/vgui_controls/ToggleButton.h index 355e51a7b1..88bf5a50d8 100644 --- a/sp/src/public/vgui_controls/ToggleButton.h +++ b/sp/src/public/vgui_controls/ToggleButton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/ToolWindow.h b/sp/src/public/vgui_controls/ToolWindow.h index 870f5339d1..953230b2d6 100644 --- a/sp/src/public/vgui_controls/ToolWindow.h +++ b/sp/src/public/vgui_controls/ToolWindow.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/Tooltip.h b/sp/src/public/vgui_controls/Tooltip.h index 2c7ec984ed..7cf0c86f17 100644 --- a/sp/src/public/vgui_controls/Tooltip.h +++ b/sp/src/public/vgui_controls/Tooltip.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Creates a Message box with a question in it and yes/no buttons // diff --git a/sp/src/public/vgui_controls/TreeView.h b/sp/src/public/vgui_controls/TreeView.h index 521d16917a..a00b443ac7 100644 --- a/sp/src/public/vgui_controls/TreeView.h +++ b/sp/src/public/vgui_controls/TreeView.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/TreeViewListControl.h b/sp/src/public/vgui_controls/TreeViewListControl.h index 8a03470960..ba926f915d 100644 --- a/sp/src/public/vgui_controls/TreeViewListControl.h +++ b/sp/src/public/vgui_controls/TreeViewListControl.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/URLLabel.h b/sp/src/public/vgui_controls/URLLabel.h index 661125138c..3eec56129e 100644 --- a/sp/src/public/vgui_controls/URLLabel.h +++ b/sp/src/public/vgui_controls/URLLabel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/WizardPanel.h b/sp/src/public/vgui_controls/WizardPanel.h index c6e014e884..439a3d909d 100644 --- a/sp/src/public/vgui_controls/WizardPanel.h +++ b/sp/src/public/vgui_controls/WizardPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/WizardSubPanel.h b/sp/src/public/vgui_controls/WizardSubPanel.h index a7d71fb4ae..e2604242e3 100644 --- a/sp/src/public/vgui_controls/WizardSubPanel.h +++ b/sp/src/public/vgui_controls/WizardSubPanel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/consoledialog.h b/sp/src/public/vgui_controls/consoledialog.h index 1a354a0b7c..102b52aa65 100644 --- a/sp/src/public/vgui_controls/consoledialog.h +++ b/sp/src/public/vgui_controls/consoledialog.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/cvartogglecheckbutton.h b/sp/src/public/vgui_controls/cvartogglecheckbutton.h index 5d9a9ba13f..9554ca4d07 100644 --- a/sp/src/public/vgui_controls/cvartogglecheckbutton.h +++ b/sp/src/public/vgui_controls/cvartogglecheckbutton.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/pch_vgui_controls.h b/sp/src/public/vgui_controls/pch_vgui_controls.h index 7b09eb5b60..2caaf4be63 100644 --- a/sp/src/public/vgui_controls/pch_vgui_controls.h +++ b/sp/src/public/vgui_controls/pch_vgui_controls.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/perforcefilelistframe.h b/sp/src/public/vgui_controls/perforcefilelistframe.h index 7744bf2305..eba9991ea6 100644 --- a/sp/src/public/vgui_controls/perforcefilelistframe.h +++ b/sp/src/public/vgui_controls/perforcefilelistframe.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // List of perforce files and operations // diff --git a/sp/src/public/vgui_controls/savedocumentquery.h b/sp/src/public/vgui_controls/savedocumentquery.h index fd738f46d2..354dee41ef 100644 --- a/sp/src/public/vgui_controls/savedocumentquery.h +++ b/sp/src/public/vgui_controls/savedocumentquery.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // This dialog asks if you want to save your work // diff --git a/sp/src/public/vgui_controls/subrectimage.h b/sp/src/public/vgui_controls/subrectimage.h index b7738c4b32..ad199c689f 100644 --- a/sp/src/public/vgui_controls/subrectimage.h +++ b/sp/src/public/vgui_controls/subrectimage.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vgui_controls/vgui_controls.cpp b/sp/src/public/vgui_controls/vgui_controls.cpp index 261ff983b7..a904ddd923 100644 --- a/sp/src/public/vgui_controls/vgui_controls.cpp +++ b/sp/src/public/vgui_controls/vgui_controls.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/video/ivideoservices.h b/sp/src/public/video/ivideoservices.h index 8a2d23182a..774e805052 100644 --- a/sp/src/public/video/ivideoservices.h +++ b/sp/src/public/video/ivideoservices.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/view_shared.h b/sp/src/public/view_shared.h index a5af4d3e41..681f1f47b2 100644 --- a/sp/src/public/view_shared.h +++ b/sp/src/public/view_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/collision_set.h b/sp/src/public/vphysics/collision_set.h index 66aaeb833a..a662128f16 100644 --- a/sp/src/public/vphysics/collision_set.h +++ b/sp/src/public/vphysics/collision_set.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/constraints.h b/sp/src/public/vphysics/constraints.h index afea760677..28cdba2d56 100644 --- a/sp/src/public/vphysics/constraints.h +++ b/sp/src/public/vphysics/constraints.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/friction.h b/sp/src/public/vphysics/friction.h index f8d6bd635d..83e5dc4ecc 100644 --- a/sp/src/public/vphysics/friction.h +++ b/sp/src/public/vphysics/friction.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/object_hash.h b/sp/src/public/vphysics/object_hash.h index bfdef84c69..d51d13426f 100644 --- a/sp/src/public/vphysics/object_hash.h +++ b/sp/src/public/vphysics/object_hash.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/performance.h b/sp/src/public/vphysics/performance.h index fa1cf47e4d..82edd45066 100644 --- a/sp/src/public/vphysics/performance.h +++ b/sp/src/public/vphysics/performance.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/player_controller.h b/sp/src/public/vphysics/player_controller.h index 6fbe1b074b..06ea0d6f91 100644 --- a/sp/src/public/vphysics/player_controller.h +++ b/sp/src/public/vphysics/player_controller.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/stats.h b/sp/src/public/vphysics/stats.h index 21d8119964..796de1901a 100644 --- a/sp/src/public/vphysics/stats.h +++ b/sp/src/public/vphysics/stats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/vehicles.h b/sp/src/public/vphysics/vehicles.h index 0125aa9305..02b8115e93 100644 --- a/sp/src/public/vphysics/vehicles.h +++ b/sp/src/public/vphysics/vehicles.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics/virtualmesh.h b/sp/src/public/vphysics/virtualmesh.h index 41da4ea673..16da29002c 100644 --- a/sp/src/public/vphysics/virtualmesh.h +++ b/sp/src/public/vphysics/virtualmesh.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vphysics_interface.h b/sp/src/public/vphysics_interface.h index 1852ab8ccc..ef6bcf0e65 100644 --- a/sp/src/public/vphysics_interface.h +++ b/sp/src/public/vphysics_interface.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Public interfaces to vphysics DLL // diff --git a/sp/src/public/vphysics_interfaceV30.h b/sp/src/public/vphysics_interfaceV30.h index a431aebbce..1f19e3d0e6 100644 --- a/sp/src/public/vphysics_interfaceV30.h +++ b/sp/src/public/vphysics_interfaceV30.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Public interfaces to vphysics DLL // diff --git a/sp/src/public/vscript/ivscript.h b/sp/src/public/vscript/ivscript.h index 58f981e037..ababb1ed6c 100644 --- a/sp/src/public/vscript/ivscript.h +++ b/sp/src/public/vscript/ivscript.h @@ -360,6 +360,7 @@ struct ScriptClassDesc_t IScriptInstanceHelper * pHelper; // optional helper #ifdef MAPBASE_VSCRIPT +public: static CUtlVector& AllClassesDesc() { static CUtlVector classes; @@ -697,37 +698,48 @@ static inline int ToConstantVariant(int value) // //----------------------------------------------------------------------------- -#define ALLOW_SCRIPT_ACCESS() template friend ScriptClassDesc_t *GetScriptDesc(T *); +#define ALLOW_SCRIPT_ACCESS() template friend ScriptClassDesc_t *GetScriptDesc(T *, bool); -#define BEGIN_SCRIPTDESC( className, baseClass, description ) BEGIN_SCRIPTDESC_NAMED( className, baseClass, #className, description ) -#define BEGIN_SCRIPTDESC_ROOT( className, description ) BEGIN_SCRIPTDESC_ROOT_NAMED( className, #className, description ) +#define BEGIN_SCRIPTDESC( className, baseClass, description ) BEGIN_SCRIPTDESC_WITH_HELPER( className, baseClass, description, NULL ) +#define BEGIN_SCRIPTDESC_WITH_HELPER( className, baseClass, description, helper ) BEGIN_SCRIPTDESC_NAMED_WITH_HELPER( className, baseClass, #className, description, helper ) +#define BEGIN_SCRIPTDESC_ROOT( className, description ) BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( className, description, NULL ) +#define BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( className, description, helper ) BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( className, #className, description, helper ) -#define BEGIN_SCRIPTDESC_NAMED( className, baseClass, scriptName, description ) \ - template <> ScriptClassDesc_t* GetScriptDesc(baseClass*); \ - template <> ScriptClassDesc_t* GetScriptDesc(className*); \ - ScriptClassDesc_t & g_##className##_ScriptDesc = *GetScriptDesc(nullptr); \ - template <> ScriptClassDesc_t* GetScriptDesc(className*) \ +#define BEGIN_SCRIPTDESC_NAMED_WITH_HELPER( className, baseClass, scriptName, description, helper ) \ + template <> ScriptClassDesc_t* GetScriptDesc(baseClass*, bool); \ + template <> ScriptClassDesc_t* GetScriptDesc(className*, bool); \ + ScriptClassDesc_t & g_##className##_ScriptDesc = *GetScriptDesc(nullptr, true); \ + template <> ScriptClassDesc_t* GetScriptDesc(className*, bool init) \ { \ static ScriptClassDesc_t g_##className##_ScriptDesc; \ typedef className _className; \ ScriptClassDesc_t *pDesc = &g_##className##_ScriptDesc; \ - if (pDesc->m_pszClassname) return pDesc; \ - pDesc->m_pszDescription = description; \ - ScriptInitClassDescNamed( pDesc, className, GetScriptDescForClass( baseClass ), scriptName ); \ - ScriptClassDesc_t *pInstanceHelperBase = pDesc->m_pBaseDesc; \ - while ( pInstanceHelperBase ) \ + if (!pDesc->m_pszClassname) \ { \ - if ( pInstanceHelperBase->pHelper ) \ + pDesc->m_pszDescription = description; \ + ScriptClassDesc_t *pBaseDesc = GetScriptDescForClass( baseClass ); \ + ScriptInitClassDescNamed( pDesc, className, pBaseDesc, scriptName ); \ + pDesc->pHelper = helper; \ + if ( !pDesc->pHelper ) \ { \ - pDesc->pHelper = pInstanceHelperBase->pHelper; \ - break; \ + while ( pBaseDesc ) \ + { \ + if ( pBaseDesc->pHelper ) \ + { \ + pDesc->pHelper = pBaseDesc->pHelper; \ + break; \ + } \ + pBaseDesc = pBaseDesc->m_pBaseDesc; \ + } \ } \ - pInstanceHelperBase = pInstanceHelperBase->m_pBaseDesc; \ - } + } \ + if (!init) return pDesc; #define BEGIN_SCRIPTDESC_ROOT_NAMED( className, scriptName, description ) \ - BEGIN_SCRIPTDESC_NAMED( className, ScriptNoBase_t, scriptName, description ) + BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( className, scriptName, description, NULL ) +#define BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( className, scriptName, description, helper ) \ + BEGIN_SCRIPTDESC_NAMED_WITH_HELPER( className, ScriptNoBase_t, scriptName, description, helper ) #define END_SCRIPTDESC() \ return pDesc; \ @@ -736,7 +748,7 @@ static inline int ToConstantVariant(int value) #define DEFINE_SCRIPTFUNC( func, description ) DEFINE_SCRIPTFUNC_NAMED( func, #func, description ) #define DEFINE_SCRIPTFUNC_NAMED( func, scriptName, description ) ScriptAddFunctionToClassDescNamed( pDesc, _className, func, scriptName, description ); #define DEFINE_SCRIPT_CONSTRUCTOR() ScriptAddConstructorToClassDesc( pDesc, _className ); -#define DEFINE_SCRIPT_INSTANCE_HELPER( p ) pDesc->pHelper = (p); +#define DEFINE_SCRIPT_INSTANCE_HELPER( p ) MUST_USE_BEGIN_SCRIPTDESC_WITH_HELPER_INSTEAD #ifdef MAPBASE_VSCRIPT // Use this for hooks which have no parameters @@ -781,10 +793,10 @@ static inline int ToConstantVariant(int value) do { ScriptMemberDesc_t *pBinding = &((pDesc)->m_Members[(pDesc)->m_Members.AddToTail()]); pBinding->m_pszScriptName = varName; pBinding->m_pszDescription = description; pBinding->m_ReturnType = returnType; } while (0); #endif -template ScriptClassDesc_t *GetScriptDesc(T *); +template ScriptClassDesc_t *GetScriptDesc(T *, bool = false); struct ScriptNoBase_t; -template <> inline ScriptClassDesc_t *GetScriptDesc( ScriptNoBase_t *) { return NULL; } +template <> inline ScriptClassDesc_t *GetScriptDesc( ScriptNoBase_t *, bool ) { return NULL; } #define GetScriptDescForClass( className ) GetScriptDesc( ( className *)NULL ) diff --git a/sp/src/public/vstdlib/IKeyValuesSystem.h b/sp/src/public/vstdlib/IKeyValuesSystem.h index 1bd5a8ab71..76123fdd4f 100644 --- a/sp/src/public/vstdlib/IKeyValuesSystem.h +++ b/sp/src/public/vstdlib/IKeyValuesSystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vstdlib/coroutine.h b/sp/src/public/vstdlib/coroutine.h index 797324df94..c34400b8e4 100644 --- a/sp/src/public/vstdlib/coroutine.h +++ b/sp/src/public/vstdlib/coroutine.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: setjmp/longjmp based cooperative multitasking system // diff --git a/sp/src/public/vstdlib/cvar.h b/sp/src/public/vstdlib/cvar.h index 6373441188..4ce86ba19f 100644 --- a/sp/src/public/vstdlib/cvar.h +++ b/sp/src/public/vstdlib/cvar.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vstdlib/iprocessutils.h b/sp/src/public/vstdlib/iprocessutils.h index 8e4d37f803..eb1fc89ab2 100644 --- a/sp/src/public/vstdlib/iprocessutils.h +++ b/sp/src/public/vstdlib/iprocessutils.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vstdlib/jobthread.h b/sp/src/public/vstdlib/jobthread.h index 559937b39e..7350064fc9 100644 --- a/sp/src/public/vstdlib/jobthread.h +++ b/sp/src/public/vstdlib/jobthread.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A utility for a discrete job-oriented worker thread. // diff --git a/sp/src/public/vstdlib/osversion.h b/sp/src/public/vstdlib/osversion.h index ecc68ae530..5f1af047c1 100644 --- a/sp/src/public/vstdlib/osversion.h +++ b/sp/src/public/vstdlib/osversion.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vstdlib/pch_vstdlib.h b/sp/src/public/vstdlib/pch_vstdlib.h index 57242c418a..8155920b35 100644 --- a/sp/src/public/vstdlib/pch_vstdlib.h +++ b/sp/src/public/vstdlib/pch_vstdlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/public/vstdlib/random.h b/sp/src/public/vstdlib/random.h index 88188031a9..a0bf9a8dd6 100644 --- a/sp/src/public/vstdlib/random.h +++ b/sp/src/public/vstdlib/random.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Random number generator // diff --git a/sp/src/public/vstdlib/vcover.h b/sp/src/public/vstdlib/vcover.h index 156534c00e..fe41446660 100644 --- a/sp/src/public/vstdlib/vcover.h +++ b/sp/src/public/vstdlib/vcover.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A simple tool for coverage tests // diff --git a/sp/src/public/vstdlib/vstdlib.h b/sp/src/public/vstdlib/vstdlib.h index 4e3a7f897b..d659ce0bb8 100644 --- a/sp/src/public/vstdlib/vstdlib.h +++ b/sp/src/public/vstdlib/vstdlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/vtf/swizzler.h b/sp/src/public/vtf/swizzler.h new file mode 100644 index 0000000000..b97b815a02 --- /dev/null +++ b/sp/src/public/vtf/swizzler.h @@ -0,0 +1,349 @@ +/***************************************************************************** + * + * Swizzler + * + * Purpose: To allow simple manipulations of a swizzled texture, without the + * hassle or overhead of unswizzling the whole thing in order to tweak a few + * points on the texture. This works with both 2D and 3D textures. + * + * Notes: + * Most of the time when messing with a texture, you will be incrementing + * by a constant value in each dimension. Those deltas can be converted + * to an intermediate value via the SwizzleXXX(num) methods which can be + * used to quickly increment a dimension. + * + * The type SWIZNUM is used to represent numbers returned by the SwizzleXXX() + * methods, also known as "intermediate values" in this documentation. + * + * Code in comments may be uncommented in order to provide some sort of + * parameter sanity. It assures that any number passed to num will only + * alter the dimension specified by dim. + * + * Elements: + * + * m_u = texture map (converted) u coordinate + * m_v = texture map (converted) v coordinate + * m_w = texture map (converted) w coordinate + * + * m_MaskU = internal mask for u coordinate + * m_MaskV = internal mask for v coordinate + * m_MaskW = internal mask for w coordinate + * + * m_Width = width of the texture this instance of the class has been initialized for + * m_Height = height of the texture this instance of the class has been initialized for + * m_Depth = depth of the texture this instance of the class has been initialized for + * + * Methods: + * SWIZNUM SwizzleU(DWORD num) -- converts num to an intermediate value that + * can be used to modify the u coordinate + * SWIZNUM SwizzleV(DWORD num) -- converts num to an intermediate value that + * can be used to modify the v coordinate + * SWIZNUM SwizzleW(DWORD num) -- converts num to an intermediate value that + * can be used to modify the w coordinate + * + * DWORD UnswizzleU(SWIZNUM index) -- takes an index to the swizzled texture, + * and extracts & returns the u coordinate + * DWORD UnswizzleV(SWIZNUM index) -- takes an index to the swizzled texture, + * and extracts & returns the v coordinate + * DWORD UnswizzleW(SWIZNUM index) -- takes an index to the swizzled texture, + * and extracts & returns the w coordinate + * + * SWIZNUM SetU(SWIZNUM num) -- sets the U coordinate to num, where num is an intermediate + * value returned by Convert; returns num. + * SWIZNUM SetV(SWIZNUM num) -- sets the V coordinate to num, where num is an intermediate + * value returned by Convert; returns num. + * SWIZNUM SetW(SWIZNUM num) -- sets the W coordinate to num, where num is an intermediate + * value returned by Convert; returns num. + * + * SWIZNUM AddU(SWIZNUM num) -- adds num to the U coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) U coordinate + * SWIZNUM AddV(SWIZNUM num) -- adds num to the V coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) V coordinate + * SWIZNUM AddW(SWIZNUM num) -- adds num to the W coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) W coordinate + * + * SWIZNUM SubU(SWIZNUM num) -- subtracts num from the U coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) U coordinate + * SWIZNUM SubV(SWIZNUM num) -- subtracts num from the V coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) V coordinate + * SWIZNUM SubW(SWIZNUM num) -- subtracts num from the W coordinate, where num is an intermediate value + * returned by Convert; returns the new (swizzled) W coordinate + * + * SWIZNUM IncU() -- increments the U coordinate by 1, returns the new (swizzled) U coordinate. + * SWIZNUM IncV() -- increments the V coordinate by 1, returns the new (swizzled) V coordinate. + * SWIZNUM IncW() -- increments the W coordinate by 1, returns the new (swizzled) W coordinate. + * + * SWIZNUM DecU() -- decrements the U coordinate by 1, returns the new (swizzled) U coordinate. + * SWIZNUM DecV() -- decrements the V coordinate by 1, returns the new (swizzled) V coordinate. + * SWIZNUM DecW() -- decrements the W coordinate by 1, returns the new (swizzled) W coordinate. + * + * SWIZNUM Get2() -- returns the index to the swizzled volume texture, based on + * the U, and V coordinates, as modified by the previous methods. + * + * SWIZNUM Get3() -- returns the index to the swizzled volume texture, based on + * the U, V, and W coordinates, as modified by the previous methods. + * + * Performance: + * The algorithm used in most methods of this class require only Subtraction and a binary And + * operation to complete the operation. In the AddXXX methods, a negation, a subtraction, and two + * binary And operations are required. For this reason, the SubXXX methods are actually faster than + * AddXXX. Inc and Dec are roughly the same speed however. + * + ****************************************************************************/ +#pragma once + +#ifndef DWORD +typedef unsigned long DWORD; +#endif + +typedef DWORD SWIZNUM; + +class Swizzler +{ +public: + + // Dimensions of the texture + DWORD m_Width; + DWORD m_Height; + DWORD m_Depth; + + // Internal mask for each coordinate + DWORD m_MaskU; + DWORD m_MaskV; + DWORD m_MaskW; + + // Swizzled texture coordinates + DWORD m_u; + DWORD m_v; + DWORD m_w; + + Swizzler(): m_Width(0), m_Height(0), m_Depth(0), + m_MaskU(0), m_MaskV(0), m_MaskW(0), + m_u(0), m_v(0), m_w(0) + { } + + // Initializes the swizzler + Swizzler( + DWORD width, + DWORD height, + DWORD depth + ) + { + Init(width, height, depth); + } + + void Init( + DWORD width, + DWORD height, + DWORD depth + ) + { + m_Width = width; + m_Height = height; + m_Depth = depth; + m_MaskU = 0; + m_MaskV = 0; + m_MaskW = 0; + m_u = 0; + m_v = 0; + m_w = 0; + + DWORD i = 1; + DWORD j = 1; + DWORD k; + + do + { + k = 0; + if (i < width) + { + m_MaskU |= j; + k = (j<<=1); + } + + if (i < height) + { + m_MaskV |= j; + k = (j<<=1); + } + + if (i < depth) + { + m_MaskW |= j; + k = (j<<=1); + } + + i <<= 1; + } + while (k); + } + + // Swizzles a texture coordinate + SWIZNUM SwizzleU( + DWORD num + ) + { + SWIZNUM r = 0; + + for (DWORD i = 1; i <= m_MaskU; i <<= 1) + { + if (m_MaskU & i) + { + r |= (num & i); + } + else + { + num <<= 1; + } + } + + return r; + } + + SWIZNUM SwizzleV( + DWORD num + ) + { + SWIZNUM r = 0; + + for (DWORD i = 1; i <= m_MaskV; i <<= 1) + { + if (m_MaskV & i) + { + r |= (num & i); + } + else + { + num <<= 1; + } + } + + return r; + } + + SWIZNUM SwizzleW( + DWORD num + ) + { + SWIZNUM r = 0; + + for (DWORD i = 1; i <= m_MaskW; i <<= 1) + { + if (m_MaskW & i) + { + r |= (num & i); + } + else + { + num <<= 1; + } + } + + return r; + } + + SWIZNUM Swizzle( + DWORD u, + DWORD v, + DWORD w + ) + { + return SwizzleU(u) | SwizzleV(v) | SwizzleW(w); + } + + // Unswizzles a texture coordinate + DWORD UnswizzleU( + SWIZNUM num + ) + { + DWORD r = 0; + + for (DWORD i = 1, j = 1; i; i <<= 1) + { + if (m_MaskU & i) + { + r |= (num & j); + j <<= 1; + } + else + { + num >>= 1; + } + } + + return r; + } + + DWORD UnswizzleV( + SWIZNUM num + ) + { + DWORD r = 0; + + for (DWORD i = 1, j = 1; i; i <<= 1) + { + if (m_MaskV & i) + { + r |= (num & j); + j <<= 1; + } + else + { + num >>= 1; + } + } + + return r; + } + + DWORD UnswizzleW( + SWIZNUM num + ) + { + DWORD r = 0; + + for (DWORD i = 1, j = 1; i; i <<= 1) + { + if (m_MaskW & i) + { + r |= (num & j); + j <<= 1; + } + else + { + num >>= 1; + } + } + + return r; + } + + // Sets a texture coordinate + __forceinline SWIZNUM SetU(SWIZNUM num) { return m_u = num /* & m_MaskU */; } + __forceinline SWIZNUM SetV(SWIZNUM num) { return m_v = num /* & m_MaskV */; } + __forceinline SWIZNUM SetW(SWIZNUM num) { return m_w = num /* & m_MaskW */; } + + // Adds a value to a texture coordinate + __forceinline SWIZNUM AddU(SWIZNUM num) { return m_u = ( m_u - ( (0-num) & m_MaskU ) ) & m_MaskU; } + __forceinline SWIZNUM AddV(SWIZNUM num) { return m_v = ( m_v - ( (0-num) & m_MaskV ) ) & m_MaskV; } + __forceinline SWIZNUM AddW(SWIZNUM num) { return m_w = ( m_w - ( (0-num) & m_MaskW ) ) & m_MaskW; } + + // Subtracts a value from a texture coordinate + __forceinline SWIZNUM SubU(SWIZNUM num) { return m_u = ( m_u - num /* & m_MaskU */ ) & m_MaskU; } + __forceinline SWIZNUM SubV(SWIZNUM num) { return m_v = ( m_v - num /* & m_MaskV */ ) & m_MaskV; } + __forceinline SWIZNUM SubW(SWIZNUM num) { return m_w = ( m_w - num /* & m_MaskW */ ) & m_MaskW; } + + // Increments a texture coordinate + __forceinline SWIZNUM IncU() { return m_u = ( m_u - m_MaskU ) & m_MaskU; } + __forceinline SWIZNUM IncV() { return m_v = ( m_v - m_MaskV ) & m_MaskV; } + __forceinline SWIZNUM IncW() { return m_w = ( m_w - m_MaskW ) & m_MaskW; } + + // Decrements a texture coordinate + __forceinline SWIZNUM DecU() { return m_u = ( m_u - 1 ) & m_MaskU; } + __forceinline SWIZNUM DecV() { return m_v = ( m_v - 1 ) & m_MaskV; } + __forceinline SWIZNUM DecW() { return m_w = ( m_w - 1 ) & m_MaskW; } + + // Gets the current swizzled address for a 2D or 3D texture + __forceinline SWIZNUM Get2D() { return m_u | m_v; } + __forceinline SWIZNUM Get3D() { return m_u | m_v | m_w; } +}; \ No newline at end of file diff --git a/sp/src/public/vtf/vtf.h b/sp/src/public/vtf/vtf.h index ecf10c88e4..41f3fefdd3 100644 --- a/sp/src/public/vtf/vtf.h +++ b/sp/src/public/vtf/vtf.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/wadtypes.h b/sp/src/public/wadtypes.h index cee496f79e..022e853604 100644 --- a/sp/src/public/wadtypes.h +++ b/sp/src/public/wadtypes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/winlite.h b/sp/src/public/winlite.h index c8fba07c0d..52ecfba023 100644 --- a/sp/src/public/winlite.h +++ b/sp/src/public/winlite.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/worldsize.h b/sp/src/public/worldsize.h index 957e17f1ce..9e0ab7ca6a 100644 --- a/sp/src/public/worldsize.h +++ b/sp/src/public/worldsize.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/xwvfile.h b/sp/src/public/xwvfile.h index c27bad0ed8..ebd742861a 100644 --- a/sp/src/public/xwvfile.h +++ b/sp/src/public/xwvfile.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/xzp.cpp b/sp/src/public/xzp.cpp index 8a8a0f0607..0557589338 100644 --- a/sp/src/public/xzp.cpp +++ b/sp/src/public/xzp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/zip_uncompressed.h b/sp/src/public/zip_uncompressed.h index 0c8a45e6d0..de12211cf2 100644 --- a/sp/src/public/zip_uncompressed.h +++ b/sp/src/public/zip_uncompressed.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/public/zip_utils.cpp b/sp/src/public/zip_utils.cpp index b205aa90bb..6cef175458 100644 --- a/sp/src/public/zip_utils.cpp +++ b/sp/src/public/zip_utils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -698,7 +698,7 @@ void CZipFile::ParseFromBuffer( void *buffer, int bufferlength ) } // Insert current data into rb tree - for ( i=0; i @@ -117,7 +117,7 @@ void RayTracingEnvironment::RenderScene( // set up colors FourVectors surf_colors; surf_colors.DuplicateVector(Vector(0,0,0)); - for(int i=0;i<4;i++) + for(int i = 0;i<4;i++) { if (rslt.HitIds[i]>=0) { diff --git a/sp/src/raytrace/trace3.cpp b/sp/src/raytrace/trace3.cpp index b582347ea3..83311a94b9 100644 --- a/sp/src/raytrace/trace3.cpp +++ b/sp/src/raytrace/trace3.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "raytrace.h" #include @@ -47,7 +47,7 @@ void RayTracingEnvironment::AddBSPFace(int id,dface_t const &face) } printf("\n"); int ntris=face.numedges-2; - for(int tri=0;tri= CCommand::MaxCommandLength() ) { - Warning( "WARNING: Command too long... ignoring!\n%s\n", pArgS ); + Warning("\tWARNING: Command too long... ignoring!\n%s\n", pArgS ); return false; } diff --git a/sp/src/tier1/convar.cpp b/sp/src/tier1/convar.cpp index 9d60652073..06f5af6da2 100644 --- a/sp/src/tier1/convar.cpp +++ b/sp/src/tier1/convar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -405,7 +405,7 @@ bool CCommand::Tokenize( const char *pCommand, characterset_t *pBreakSet ) int nLen = Q_strlen( pCommand ); if ( nLen >= COMMAND_MAX_LENGTH - 1 ) { - Warning( "CCommand::Tokenize: Encountered command which overflows the tokenizer buffer.. Skipping!\n" ); + Warning("\tCCommand::Tokenize: Encountered command which overflows the tokenizer buffer.. Skipping!\n" ); return false; } @@ -455,7 +455,7 @@ bool CCommand::Tokenize( const char *pCommand, characterset_t *pBreakSet ) m_ppArgv[ m_nArgc++ ] = pArgvBuf; if( m_nArgc >= COMMAND_MAX_ARGC ) { - Warning( "CCommand::Tokenize: Encountered command which overflows the argument buffer.. Clamped!\n" ); + Warning("\tCCommand::Tokenize: Encountered command which overflows the argument buffer.. Clamped!\n" ); } nArgvBufferSize += nSize + 1; @@ -1102,7 +1102,11 @@ void ConVarRef::Init( const char *pName, bool bIgnoreMissing ) { if ( !bIgnoreMissing ) { +#ifdef MAPBASE + Warning("\tConVarRef %s doesn't point to an existing ConVar\n", pName ); +#else Warning( "ConVarRef %s doesn't point to an existing ConVar\n", pName ); +#endif } bFirst = false; } diff --git a/sp/src/tier1/datamanager.cpp b/sp/src/tier1/datamanager.cpp index 0a8134f8ce..a33b0d63b9 100644 --- a/sp/src/tier1/datamanager.cpp +++ b/sp/src/tier1/datamanager.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -375,7 +375,7 @@ void *CDataManagerBase::GetForFreeByIndex( unsigned short memoryIndex ) unsigned size = GetRealSize( mem.pStore ); if ( size > m_memUsed ) { - ExecuteOnce( Warning( "Data manager 'used' memory incorrect\n" ) ); + ExecuteOnce( Warning("\tData manager 'used' memory incorrect\n" ) ); size = m_memUsed; } m_memUsed -= size; diff --git a/sp/src/tier1/diff.cpp b/sp/src/tier1/diff.cpp index 048a3e22ad..994bd09ae0 100644 --- a/sp/src/tier1/diff.cpp +++ b/sp/src/tier1/diff.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -159,7 +159,7 @@ static uint32 hasher(uint8 const *mdata) { // attempt to scramble the bits of h1 and h2 together uint32 ret=0; - for(int i=0;idataptr); max_mlength=min(max_mlength,NewBlock+NewSize-walk); int i; - for(i=0;idataptr[i]) break; if ((i>MIN_MATCH_LEN) && (i>longest)) @@ -358,7 +358,7 @@ int FindDiffs(uint8 const *NewBlock, uint8 const *OldBlock, int max_mlength=min(65535,OldBlock+OldSize-b->dataptr); max_mlength=min(max_mlength,NewBlock+NewSize-walk); int i; - for(i=0;idataptr[i]) break; if ((i>MIN_MATCH_LEN) && (i>longest)) diff --git a/sp/src/tier1/fileio.cpp b/sp/src/tier1/fileio.cpp index 3a909983da..d42c65d878 100644 --- a/sp/src/tier1/fileio.cpp +++ b/sp/src/tier1/fileio.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A collection of utility classes to simplify file I/O, and // as much as possible contain portability problems. Here avoiding diff --git a/sp/src/tier1/generichash.cpp b/sp/src/tier1/generichash.cpp index a3a4a8a5bb..4f21a33541 100644 --- a/sp/src/tier1/generichash.cpp +++ b/sp/src/tier1/generichash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Variant Pearson Hash general purpose hashing algorithm described // by Cargill in C++ Report 1994. Generates a 16-bit result. diff --git a/sp/src/tier1/ilocalize.cpp b/sp/src/tier1/ilocalize.cpp index d95bbf2929..8cbed809b5 100644 --- a/sp/src/tier1/ilocalize.cpp +++ b/sp/src/tier1/ilocalize.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #if defined( WIN32 ) && !defined( _X360 ) #include @@ -84,7 +84,7 @@ void ConstructStringVArgsInternal_Impl(T *unicodeOutput, int unicodeBufferSizeIn if ( argindex < 0 || argindex > k_cMaxFormatStringArguments ) { - Warning( "Bad format string in CLocalizeStringTable::ConstructString\n" ); + Warning("\tBad format string in CLocalizeStringTable::ConstructString\n" ); *outputPos = '\0'; return; } diff --git a/sp/src/tier1/interface.cpp b/sp/src/tier1/interface.cpp index c221ac8743..78e0b01502 100644 --- a/sp/src/tier1/interface.cpp +++ b/sp/src/tier1/interface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -346,10 +346,10 @@ CSysModule *Sys_LoadModule( const char *pModuleName, Sys_Flags flags /* = SYS_NO !CommandLine()->FindParm( "-allowdebug" ) && !Sys_IsDebuggerPresent() ) { - Error( "Module %s is a debug build\n", pModuleName ); + Error("\tModule %s is a debug build\n", pModuleName ); } - DevWarning( "Module %s is a debug build\n", pModuleName ); + DevWarning("\tModule %s is a debug build\n", pModuleName ); if ( !s_bRunningWithDebugModules ) { diff --git a/sp/src/tier1/interval.cpp b/sp/src/tier1/interval.cpp index 38c9035995..784ecb7062 100644 --- a/sp/src/tier1/interval.cpp +++ b/sp/src/tier1/interval.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/kvpacker.cpp b/sp/src/tier1/kvpacker.cpp index 3672a2d0c7..cc48faa3d7 100644 --- a/sp/src/tier1/kvpacker.cpp +++ b/sp/src/tier1/kvpacker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains a branch-neutral binary packer for KeyValues trees. // diff --git a/sp/src/tier1/mapbase_con_groups.cpp b/sp/src/tier1/mapbase_con_groups.cpp index 5f23b3f8b2..f61ae742ef 100644 --- a/sp/src/tier1/mapbase_con_groups.cpp +++ b/sp/src/tier1/mapbase_con_groups.cpp @@ -105,7 +105,7 @@ void LoadConsoleGroupsFromFile( IBaseFileSystem *filesystem, const char *pszFile } else { - Warning( "Invalid console group %s (new groups should be defined in the code)\n", pGroup->GetName() ); + Warning("\tInvalid console group %s (new groups should be defined in the code)\n", pGroup->GetName() ); } } diff --git a/sp/src/tier1/mempool.cpp b/sp/src/tier1/mempool.cpp index fa49edb55e..bf44e08b98 100644 --- a/sp/src/tier1/mempool.cpp +++ b/sp/src/tier1/mempool.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/memstack.cpp b/sp/src/tier1/memstack.cpp index 79eb10142f..a9034b7348 100644 --- a/sp/src/tier1/memstack.cpp +++ b/sp/src/tier1/memstack.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/newbitbuf.cpp b/sp/src/tier1/newbitbuf.cpp index ef90f4798f..cf11822ab9 100644 --- a/sp/src/tier1/newbitbuf.cpp +++ b/sp/src/tier1/newbitbuf.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -459,7 +459,7 @@ char* CBitRead::ReadAndAllocateString( bool *pOverflow ) // Now copy into the output and return it; char *pRet = new char[ nChars + 1 ]; - for ( int i=0; i <= nChars; i++ ) + for ( int i = 0; i <= nChars; i++ ) pRet[i] = str[i]; return pRet; diff --git a/sp/src/tier1/pathmatch.cpp b/sp/src/tier1/pathmatch.cpp index c29c6ed38d..6b24263f37 100644 --- a/sp/src/tier1/pathmatch.cpp +++ b/sp/src/tier1/pathmatch.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Utility to interrogate and modify the data in the OSX IPC Server // diff --git a/sp/src/tier1/pathmatch_casefolding.h b/sp/src/tier1/pathmatch_casefolding.h index 2b4381b77f..8fc59adce9 100644 --- a/sp/src/tier1/pathmatch_casefolding.h +++ b/sp/src/tier1/pathmatch_casefolding.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // This file was originally part of PhysicsFS (http://icculus.org/physfs/) // (zlib license, even if Ryan hadn't written it originally.) // diff --git a/sp/src/tier1/processor_detect.cpp b/sp/src/tier1/processor_detect.cpp index 0aabeb7a17..628fdf14de 100644 --- a/sp/src/tier1/processor_detect.cpp +++ b/sp/src/tier1/processor_detect.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: win32 dependant ASM code for CPU capability detection // diff --git a/sp/src/tier1/processor_detect_linux.cpp b/sp/src/tier1/processor_detect_linux.cpp index c7c95d0429..554a8aac29 100644 --- a/sp/src/tier1/processor_detect_linux.cpp +++ b/sp/src/tier1/processor_detect_linux.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: linux dependant ASM code for CPU capability detection // diff --git a/sp/src/tier1/qsort_s.cpp b/sp/src/tier1/qsort_s.cpp index 8222b32b2a..c4e6fb595f 100644 --- a/sp/src/tier1/qsort_s.cpp +++ b/sp/src/tier1/qsort_s.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// /******************************************************************/ /* qsort.c -- Non-Recursive ANSI Quicksort function */ /* */ diff --git a/sp/src/tier1/rangecheckedvar.cpp b/sp/src/tier1/rangecheckedvar.cpp index d37e34ab53..44933a7138 100644 --- a/sp/src/tier1/rangecheckedvar.cpp +++ b/sp/src/tier1/rangecheckedvar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/reliabletimer.cpp b/sp/src/tier1/reliabletimer.cpp index af8b8421ad..5d77f29ee0 100644 --- a/sp/src/tier1/reliabletimer.cpp +++ b/sp/src/tier1/reliabletimer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/sparsematrix.cpp b/sp/src/tier1/sparsematrix.cpp index 3a2df54eec..a123b5ba44 100644 --- a/sp/src/tier1/sparsematrix.cpp +++ b/sp/src/tier1/sparsematrix.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // //===========================================================================// diff --git a/sp/src/tier1/splitstring.cpp b/sp/src/tier1/splitstring.cpp index 461aa61d84..d435ba2f0e 100644 --- a/sp/src/tier1/splitstring.cpp +++ b/sp/src/tier1/splitstring.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // // @@ -39,7 +39,7 @@ void CSplitString::Construct( const char *pString, const char **pSeparators, int { int iFirstSeparator = -1; const char *pFirstSeparator = 0; - for ( int i=0; i < nSeparators; i++ ) + for ( int i = 0; i < nSeparators; i++ ) { const char *pTest = V_stristr( pCurPos, pSeparators[i] ); if ( pTest && (!pFirstSeparator || pTest < pFirstSeparator) ) diff --git a/sp/src/tier1/stringpool.cpp b/sp/src/tier1/stringpool.cpp index 6b6b0ff9fc..d5190a9d02 100644 --- a/sp/src/tier1/stringpool.cpp +++ b/sp/src/tier1/stringpool.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/strtools.cpp b/sp/src/tier1/strtools.cpp index 62d31c159e..a8f653464d 100644 --- a/sp/src/tier1/strtools.cpp +++ b/sp/src/tier1/strtools.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: String Tools // @@ -2162,7 +2162,7 @@ void V_AppendSlash( char *pStr, int strSize ) if ( len > 0 && !PATHSEPARATOR(pStr[len-1]) ) { if ( len+1 >= strSize ) - Error( "V_AppendSlash: ran out of space on %s.", pStr ); + Error("\tV_AppendSlash: ran out of space on %s.", pStr ); pStr[len] = CORRECT_PATH_SEPARATOR; pStr[len+1] = 0; @@ -2187,7 +2187,7 @@ void V_MakeAbsolutePath( char *pOut, int outLen, const char *pPath, const char * else { if ( !_getcwd( pOut, outLen ) ) - Error( "V_MakeAbsolutePath: _getcwd failed." ); + Error("\tV_MakeAbsolutePath: _getcwd failed." ); if ( pStartingDir ) { @@ -2202,7 +2202,7 @@ void V_MakeAbsolutePath( char *pOut, int outLen, const char *pPath, const char * } if ( !V_RemoveDotSlashes( pOut ) ) - Error( "V_MakeAbsolutePath: tried to \"..\" past the root." ); + Error("\tV_MakeAbsolutePath: tried to \"..\" past the root." ); //V_FixSlashes( pOut ); - handled by V_RemoveDotSlashes } @@ -2419,7 +2419,7 @@ void V_SplitString2( const char *pString, const char **pSeparators, int nSeparat { int iFirstSeparator = -1; const char *pFirstSeparator = 0; - for ( int i=0; i < nSeparators; i++ ) + for ( int i = 0; i < nSeparators; i++ ) { const char *pTest = V_stristr( pCurPos, pSeparators[i] ); if ( pTest && (!pFirstSeparator || pTest < pFirstSeparator) ) @@ -2715,7 +2715,7 @@ void Q_URLEncodeInternal( char *pchDest, int nDestLen, const char *pchSource, in } int iDestPos = 0; - for ( int i=0; i < nSourceLen; ++i ) + for ( int i = 0; i < nSourceLen; ++i ) { // We allow only a-z, A-Z, 0-9, period, underscore, and hyphen to pass through unescaped. // These are the characters allowed by both the original RFC 1738 and the latest RFC 3986. @@ -2773,7 +2773,7 @@ size_t Q_URLDecodeInternal( char *pchDecodeDest, int nDecodeDestLen, const char } int iDestPos = 0; - for( int i=0; i < nEncodedSourceLen; ++i ) + for( int i = 0; i < nEncodedSourceLen; ++i ) { if ( bUsePlusForSpace && pchEncodedSource[i] == '+' ) { diff --git a/sp/src/tier1/tier1.cpp b/sp/src/tier1/tier1.cpp index d683b871ca..c992204525 100644 --- a/sp/src/tier1/tier1.cpp +++ b/sp/src/tier1/tier1.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: A higher level link library for general use in the game and tools. // diff --git a/sp/src/tier1/tier1.vpc b/sp/src/tier1/tier1.vpc index 3d47526acf..45fd83d2bf 100644 --- a/sp/src/tier1/tier1.vpc +++ b/sp/src/tier1/tier1.vpc @@ -21,7 +21,7 @@ $Configuration } } -$Project "tier1" +$Project "Tier1" { $Folder "Source Files" { diff --git a/sp/src/tier1/tokenreader.cpp b/sp/src/tier1/tokenreader.cpp index 39d0108071..84294a18e7 100644 --- a/sp/src/tier1/tokenreader.cpp +++ b/sp/src/tier1/tokenreader.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/undiff.cpp b/sp/src/tier1/undiff.cpp index c39d8d483c..e0c7273c0d 100644 --- a/sp/src/tier1/undiff.cpp +++ b/sp/src/tier1/undiff.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // UnDiff - Apply difference block // diff --git a/sp/src/tier1/uniqueid.cpp b/sp/src/tier1/uniqueid.cpp index 0d51c4cfdd..f2ff5b6843 100644 --- a/sp/src/tier1/uniqueid.cpp +++ b/sp/src/tier1/uniqueid.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/tier1/utlbuffer.cpp b/sp/src/tier1/utlbuffer.cpp index 55dd8f6b8d..4747c8818a 100644 --- a/sp/src/tier1/utlbuffer.cpp +++ b/sp/src/tier1/utlbuffer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // $Header: $ // $NoKeywords: $ diff --git a/sp/src/tier1/utlbufferutil.cpp b/sp/src/tier1/utlbufferutil.cpp index b911206d8c..70e9956959 100644 --- a/sp/src/tier1/utlbufferutil.cpp +++ b/sp/src/tier1/utlbufferutil.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // $Header: $ // $NoKeywords: $ diff --git a/sp/src/tier1/utlstring.cpp b/sp/src/tier1/utlstring.cpp index 85c36a3b91..2002d4b2b0 100644 --- a/sp/src/tier1/utlstring.cpp +++ b/sp/src/tier1/utlstring.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -502,7 +502,7 @@ CUtlString CUtlString::Replace( char cFrom, char cTo ) { CUtlString ret = *this; int len = ret.Length(); - for ( int i=0; i < len; i++ ) + for ( int i = 0; i < len; i++ ) { if ( ret.m_Storage[i] == cFrom ) ret.m_Storage[i] = cTo; diff --git a/sp/src/tier1/utlsymbol.cpp b/sp/src/tier1/utlsymbol.cpp index d75eaa52f3..4e06b33ed9 100644 --- a/sp/src/tier1/utlsymbol.cpp +++ b/sp/src/tier1/utlsymbol.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Defines a symbol table // @@ -197,7 +197,7 @@ CUtlSymbol CUtlSymbolTable::Find( const char* pString ) const int CUtlSymbolTable::FindPoolWithSpace( int len ) const { - for ( int i=0; i < m_StringPools.Count(); i++ ) + for ( int i = 0; i < m_StringPools.Count(); i++ ) { StringPool_t *pPool = m_StringPools[i]; @@ -281,7 +281,7 @@ void CUtlSymbolTable::RemoveAll() { m_Lookup.Purge(); - for ( int i=0; i < m_StringPools.Count(); i++ ) + for ( int i = 0; i < m_StringPools.Count(); i++ ) free( m_StringPools[i] ); m_StringPools.RemoveAll(); diff --git a/sp/src/utils/captioncompiler/captioncompiler.cpp b/sp/src/utils/captioncompiler/captioncompiler.cpp index e7369c18bf..86d7289216 100644 --- a/sp/src/utils/captioncompiler/captioncompiler.cpp +++ b/sp/src/utils/captioncompiler/captioncompiler.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: vcd_sound_check.cpp : Defines the entry point for the console application. // @@ -448,9 +448,8 @@ void CCompileCaptionsApp::DescribeCaptions( char const *file ) directory.RedoSort( true ); buf.SeekGet( CUtlBuffer::SEEK_HEAD, header.dataoffset ); - int i; CUtlVector< CaptionBlock_t > blocks; - for ( i = 0; i < header.numblocks; ++i ) + for (int i = 0; i < header.numblocks; ++i ) { CaptionBlock_t& newBlock = blocks[ blocks.AddToTail() ]; Q_memset( newBlock.data, 0, sizeof( newBlock.data ) ); @@ -468,7 +467,7 @@ void CCompileCaptionsApp::DescribeCaptions( char const *file ) } // Now print everything out... - for ( i = 0; i < header.directorysize; ++i ) + for (int i = 0; i < header.directorysize; ++i ) { const CaptionLookup_t& entry = directory[ i ]; char const *name = g_pVGuiLocalize->GetNameByIndex( inverseMap.Element( inverseMap.Find( entry.hash ) ) ); @@ -489,8 +488,7 @@ int CCompileCaptionsApp::Main() { CUtlVector< CUtlSymbol > worklist; - int i = 1; - for ( i ; iParmCount() ; i++) + for (int i = 1; iParmCount() ; i++) { if ( CommandLine()->GetParm( i )[ 0 ] == '-' ) { diff --git a/sp/src/utils/captioncompiler/cbase.h b/sp/src/utils/captioncompiler/cbase.h index 42d73c9321..23f4fe18a8 100644 --- a/sp/src/utils/captioncompiler/cbase.h +++ b/sp/src/utils/captioncompiler/cbase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/ISQLDBReplyTarget.h b/sp/src/utils/common/ISQLDBReplyTarget.h index 9049a5c79b..086e3e95e1 100644 --- a/sp/src/utils/common/ISQLDBReplyTarget.h +++ b/sp/src/utils/common/ISQLDBReplyTarget.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/MySqlDatabase.cpp b/sp/src/utils/common/MySqlDatabase.cpp index 2558ba081e..364c7ae109 100644 --- a/sp/src/utils/common/MySqlDatabase.cpp +++ b/sp/src/utils/common/MySqlDatabase.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/MySqlDatabase.h b/sp/src/utils/common/MySqlDatabase.h index 52517f6dae..018daedfed 100644 --- a/sp/src/utils/common/MySqlDatabase.h +++ b/sp/src/utils/common/MySqlDatabase.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/StandartColorFormat.cpp b/sp/src/utils/common/StandartColorFormat.cpp new file mode 100644 index 0000000000..830040f99e --- /dev/null +++ b/sp/src/utils/common/StandartColorFormat.cpp @@ -0,0 +1,77 @@ +//========= Mapbase - https://github.com/mapbase-source/source-sdk-2013 ================= +// +// Purpose: Contains the standard color format for the tools. +// +// Author(s): Unusuario2 +// +// $NoKeywords: $ +//============================================================================= + +#pragma once + +#include "StandartColorFormat.h" + +// Insted of using ansi values, we the valve implementation of the color format. +// So we dont have issues with standard hammer compile window/log format & linux. + +// We will use the next color format in the tools. +// - Green: process done. +// - Blue: indicates a path. +// - Purple: indicates a number of a funtion. +// - Red: process failed. +// - Cyan: Only for header strings. + +// +--------------------+------------------+ +// | Color | ANSI Code | +// +--------------------+------------------+ +// | Black | \033[30m | +// | Red | \033[31m | +// | Green | \033[32m | +// | Yellow | \033[33m | +// | Blue | \033[34m | +// | Magenta | \033[35m | +// | Cyan | \033[36m | +// | White | \033[37m | +// +--------------------+------------------+ +// | Bright Black | \033[90m | +// | Bright Red | \033[91m | +// | Bright Green | \033[92m | +// | Bright Yellow | \033[93m | +// | Bright Blue | \033[94m | +// | Bright Magenta | \033[95m | +// | Bright Cyan | \033[96m | +// | Bright White | \033[97m | +// +--------------------+------------------+ +// | Reset | \033[0m | +// +--------------------+------------------+ + +// Ansi Color Codes in valve format. +// Format: Color (R, G, B, 255); +// Funtion: ColorSpewMessage( SPEW_MESSAGE, &, ""); + +// Basic Colors +Color black(0, 0, 0, 255); // Black +Color red(255, 0, 0, 255); // Red, Error +Color green(0, 255, 0, 255); // Green, Done +Color yellow(255, 255, 0, 255); // Yellow, Warning +Color blue(0, 0, 255, 255); // Blue, Path +Color magenta(255, 0, 255, 255); // Magenta, Number +Color cyan(0, 255, 255, 255); // Cyan, Header +Color white(255, 255, 255, 255); // White, Standard + +//These seen to dont work so will we use the standard colors. +// Bright Colors (High Intensity) +Color bright_black(85, 85, 85, 255); // Bright Black (Gray) +Color bright_red(255, 85, 85, 255); // Bright Red +Color bright_green(85, 255, 85, 255); // Bright Green +Color bright_yellow(255, 255, 85, 255); // Bright Yellow +Color bright_blue(85, 85, 255, 255); // Bright Blue +Color bright_magenta(255, 85, 255, 255);// Bright Magenta +Color bright_cyan(85, 255, 255, 255); // Bright Cyan +Color bright_white(255, 255, 255, 255); // Bright White} + +// Dark Colors (Low Intensity) +Color dark_yellow(100, 100, 0, 255); // Custom + +//Common funtions: +// ColorSpewMessage( SPEW_MESSAGE, &green, "done (%d)"); \ No newline at end of file diff --git a/sp/src/utils/common/StandartColorFormat.h b/sp/src/utils/common/StandartColorFormat.h new file mode 100644 index 0000000000..69168c2919 --- /dev/null +++ b/sp/src/utils/common/StandartColorFormat.h @@ -0,0 +1,68 @@ +//========= Mapbase - https://github.com/mapbase-source/source-sdk-2013 ================= +// +// Purpose: Contains the standard color format for the tools. +// +// Author(s): Unusuario2 +// +// $NoKeywords: $ +//============================================================================= +#pragma once + +#include "Color.h" + +// Insted of using ansi values, we the valve implementation of the color format. +// So we dont have issues with standard hammer compile window/log format & linux. + +// We will use the next color format in the tools. +// - Green: process done. +// - Blue: indicates a path. +// - Purple: indicates a number of a funtion. +// - Red: process failed. +// - Cyan: Only for header strings. + +// +--------------------+------------------+ +// | Color | ANSI Code | +// +--------------------+------------------+ +// | Black | \033[30m | +// | Red | \033[31m | +// | Green | \033[32m | +// | Yellow | \033[33m | +// | Blue | \033[34m | +// | Magenta | \033[35m | +// | Cyan | \033[36m | +// | White | \033[37m | +// +--------------------+------------------+ +// | Bright Black | \033[90m | +// | Bright Red | \033[91m | +// | Bright Green | \033[92m | +// | Bright Yellow | \033[93m | +// | Bright Blue | \033[94m | +// | Bright Magenta | \033[95m | +// | Bright Cyan | \033[96m | +// | Bright White | \033[97m | +// +--------------------+------------------+ +// | Reset | \033[0m | +// +--------------------+------------------+ + +// Colors +extern Color black; // Black +extern Color red; // Red +extern Color green; // Green +extern Color yellow; // Yellow +extern Color blue; // Blue +extern Color magenta; // Magenta +extern Color cyan; // Cyan +extern Color white; // White + +// Bright Colors (High Intensity) +extern Color bright_black; // Bright Black (Gray) +extern Color bright_red; // Bright Red +extern Color bright_green; // Bright Green +extern Color bright_yellow; // Bright Yellow +extern Color bright_blue; // Bright Blue +extern Color bright_magenta; // Bright Magenta +extern Color bright_cyan; // Bright Cyan +extern Color bright_white; // Bright White + +// Dark Colors (Low Intensity) +extern Color dark_yellow; // Custom \ No newline at end of file diff --git a/sp/src/utils/common/bsplib.cpp b/sp/src/utils/common/bsplib.cpp index c3ad433ee7..42d5690fdd 100644 --- a/sp/src/utils/common/bsplib.cpp +++ b/sp/src/utils/common/bsplib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -27,6 +27,11 @@ #include "lumpfiles.h" #include "vtf/vtf.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + + //============================================================================= // Boundary each lump should be aligned to @@ -694,6 +699,11 @@ int g_PhysDispSize = 0; CUtlVector g_OccluderData( 256, 256 ); CUtlVector g_OccluderPolyData( 1024, 1024 ); CUtlVector g_OccluderVertexIndices( 2048, 2048 ); + +#ifdef MAPBASE +CUtlVector g_dLightmapPages; +CUtlVector g_dLightmapPageInfos; +#endif template static void WriteData( T *pData, int count = 1 ); template static void WriteData( int fieldType, T *pData, int count = 1 ); @@ -1049,7 +1059,7 @@ void CGameLump::SwapGameLump( GameLumpId_t id, int version, byte *dest, byte *sr { if ( version != 6 ) { - Error( "Unknown Static Prop Lump version %d didn't get swapped!\n", version ); + Error( "\tUnknown Static Prop Lump version %d didn't get swapped!\n", version ); } StaticPropLump_t lump; @@ -1143,7 +1153,7 @@ void CGameLump::SwapGameLump( GameLumpId_t id, int version, byte *dest, byte *sr default: char idchars[5] = {0}; Q_memcpy( idchars, &id, 4 ); - Warning( "Unknown game lump '%s' didn't get swapped!\n", idchars ); + Warning("\tUnknown game lump '%s' didn't get swapped!\n", idchars ); memcpy ( dest, src, length); break; } @@ -1366,7 +1376,7 @@ static void LoadOcclusionLump() break; default: - Error("Unknown occlusion lump version!\n"); + Error("\tUnknown occlusion lump version!\n"); break; } } @@ -1434,12 +1444,12 @@ void DecompressVis (byte *in, byte *decompressed) c = in[1]; if (!c) - Error ("DecompressVis: 0 repeat"); + Error ("\tDecompressVis: 0 repeat"); in += 2; if ((out - decompressed) + c > row) { c = row - (out - decompressed); - Warning( "warning: Vis decompression overrun\n" ); + Warning("\twarning: Vis decompression overrun\n" ); } while (c) { @@ -1508,7 +1518,7 @@ static void SwapPhyscollideLump( byte *pDestBase, byte *pSrcBase, unsigned int & if ( !physcollision ) { - Warning("!!! WARNING: Can't swap the physcollide lump!\n" ); + Warning("\t!!! WARNING: Can't swap the physcollide lump!\n" ); return; } @@ -1777,12 +1787,12 @@ void ValidateLump( int lump, int length, int size, int forceVersion ) { if ( length % size ) { - Error( "ValidateLump: odd size for lump %d", lump ); + Error( "\tValidateLump: odd size for lump %d", lump ); } if ( forceVersion >= 0 && forceVersion != g_pBSPHeader->lumps[lump].version ) { - Error( "ValidateLump: old version for lump %d in map!", lump ); + Error( "\tValidateLump: old version for lump %d in map!", lump ); } } @@ -1980,7 +1990,7 @@ int LoadLeafs( void ) int size = sizeof( dleaf_version_0_t ); if ( length % size ) { - Error( "odd size for LUMP_LEAFS\n" ); + Error( "\todd size for LUMP_LEAFS\n" ); } int count = length / size; @@ -2018,7 +2028,7 @@ int LoadLeafs( void ) default: Assert( 0 ); - Error( "Unknown LUMP_LEAFS version\n" ); + Error( "\tUnknown LUMP_LEAFS version\n" ); return 0; } } @@ -2109,11 +2119,11 @@ void ValidateHeader( const char *filename, const dheader_t *pHeader ) { if ( pHeader->ident != IDBSPHEADER ) { - Error ("%s is not a IBSP file", filename); + Error ("\t%s is not a IBSP file", filename); } if ( pHeader->version < MINBSPVERSION || pHeader->version > BSPVERSION ) { - Error ("%s is version %i, not %i", filename, pHeader->version, BSPVERSION); + Error ("\t%s is version %i, not %i", filename, pHeader->version, BSPVERSION); } } @@ -2568,7 +2578,7 @@ void WriteBSPFile( const char *filename, char *pUnused ) { if ( texinfo.Count() > MAX_MAP_TEXINFO ) { - Error( "Map has too many texinfos (has %d, can have at most %d)\n", texinfo.Count(), MAX_MAP_TEXINFO ); + Error( "\tMap has too many texinfos (has %d, can have at most %d)\n", texinfo.Count(), MAX_MAP_TEXINFO ); return; } @@ -2702,7 +2712,7 @@ void WriteLumpToFile( char *filename, int lump ) char lumppre[MAX_PATH]; if ( !GenerateNextLumpFileName( filename, lumppre, MAX_PATH ) ) { - Warning( "Failed to find valid lump filename for bsp %s.\n", filename ); + Warning("\tFailed to find valid lump filename for bsp %s.\n", filename ); return; } @@ -2710,7 +2720,7 @@ void WriteLumpToFile( char *filename, int lump ) FileHandle_t lumpfile = g_pFileSystem->Open(lumppre, "wb"); if ( !lumpfile ) { - Error ("Error opening %s! (Check for write enable)\n",filename); + Error ("\tError opening %s! (Check for write enable)\n",filename); return; } @@ -2735,7 +2745,7 @@ void WriteLumpToFile( char *filename, int lump, int nLumpVersion, void *pBuffer, char lumppre[MAX_PATH]; if ( !GenerateNextLumpFileName( filename, lumppre, MAX_PATH ) ) { - Warning( "Failed to find valid lump filename for bsp %s.\n", filename ); + Warning("\tFailed to find valid lump filename for bsp %s.\n", filename ); return; } @@ -2743,7 +2753,7 @@ void WriteLumpToFile( char *filename, int lump, int nLumpVersion, void *pBuffer, FileHandle_t lumpfile = g_pFileSystem->Open(lumppre, "wb"); if ( !lumpfile ) { - Error ("Error opening %s! (Check for write enable)\n",filename); + Error ("\tError opening %s! (Check for write enable)\n",filename); return; } @@ -2894,7 +2904,14 @@ void PrintBSPFileSizes (void) // face tris = numedges - 2 triangleCount += dfaces[i].numedges - 2; } + +#ifdef MAPBASE + Msg("Total triangle count "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]\n", triangleCount); +#else Msg("Total triangle count: %d\n", triangleCount ); +#endif + // UNDONE: // areaportals, portals, texdata, clusters, worldlights, portalverts @@ -2943,12 +2960,12 @@ epair_t *ParseEpair (void) memset (e, 0, sizeof(epair_t)); if (strlen(token) >= MAX_KEY-1) - Error ("ParseEpar: token too long"); + Error ("\tParseEpar: token too long"); e->key = copystring(token); GetToken (false); if (strlen(token) >= MAX_VALUE-1) - Error ("ParseEpar: token too long"); + Error ("\tParseEpar: token too long"); e->value = copystring(token); // strip trailing spaces @@ -2973,10 +2990,10 @@ qboolean ParseEntity (void) return false; if (Q_stricmp (token, "{") ) - Error ("ParseEntity: { not found"); + Error ("\tParseEntity: { not found"); if (num_entities == MAX_MAP_ENTITIES) - Error ("num_entities == MAX_MAP_ENTITIES"); + Error ("\tnum_entities == MAX_MAP_ENTITIES"); mapent = &entities[num_entities]; num_entities++; @@ -2984,7 +3001,7 @@ qboolean ParseEntity (void) do { if (!GetToken (true)) - Error ("ParseEntity: EOF without closing brace"); + Error ("\tParseEntity: EOF without closing brace"); if (!Q_stricmp (token, "}") ) break; e = ParseEpair (); @@ -3193,7 +3210,7 @@ void TriStripToTriList( *pTriListIndices = new unsigned short[ nMaxTriListIndices ]; *pnTriListIndices = 0; - for( int i=0; i < nTriStripIndices - 2; i++ ) + for( int i = 0; i < nTriStripIndices - 2; i++ ) { if( pTriStripIndices[i] == pTriStripIndices[i+1] || pTriStripIndices[i] == pTriStripIndices[i+2] || @@ -3227,7 +3244,7 @@ void CalcTextureCoordsAtPoints( int const nPoints, Vector2D *pCoords ) { - for( int i=0; i < nPoints; i++ ) + for( int i = 0; i < nPoints; i++ ) { for( int iCoord=0; iCoord < 2; iCoord++ ) { @@ -3300,10 +3317,10 @@ void CalcFaceExtents(dface_t *s, int lightmapTextureMinsInLuxels[2], int lightma e = dsurfedges[s->firstedge+j]; v = (e<0)?dvertexes + dedges[-e].v[1] : dvertexes + dedges[e].v[0]; point += v->point; - Warning( "Bad surface extents point: %f %f %f\n", v->point.x, v->point.y, v->point.z ); + Warning("\tBad surface extents point: %f %f %f\n", v->point.x, v->point.y, v->point.z ); } point *= 1.0f/s->numedges; - Error( "Bad surface extents - surface is too big to have a lightmap\n\tmaterial %s around point (%.1f %.1f %.1f)\n\t(dimension: %d, %d>%d)\n", + Error( "\tBad surface extents - surface is too big to have a lightmap\n\tmaterial %s around point (%.1f %.1f %.1f)\n\t(dimension: %d, %d>%d)\n", TexDataStringTable_GetString( dtexdata[texinfo[s->texinfo].texdata].nameStringTableID ), point.x, point.y, point.z, ( int )i, @@ -3317,7 +3334,7 @@ void CalcFaceExtents(dface_t *s, int lightmapTextureMinsInLuxels[2], int lightma void UpdateAllFaceLightmapExtents() { - for( int i=0; i < numfaces; i++ ) + for( int i = 0; i < numfaces; i++ ) { dface_t *pFace = &dfaces[i]; @@ -3897,7 +3914,7 @@ void ConvertPakFileContents( const char *pInFilename ) bool bOK = ReadFileFromPak( GetPakFile(), relativeName, false, sourceBuf ); if ( !bOK ) { - Warning( "Failed to load '%s' from lump pak for conversion or copy in '%s'.\n", relativeName, pInFilename ); + Warning("\tFailed to load '%s' from lump pak for conversion or copy in '%s'.\n", relativeName, pInFilename ); continue; } @@ -3906,7 +3923,7 @@ void ConvertPakFileContents( const char *pInFilename ) bOK = g_pVTFConvertFunc( relativeName, sourceBuf, targetBuf, g_pCompressFunc ); if ( !bOK ) { - Warning( "Failed to convert '%s' in '%s'.\n", relativeName, pInFilename ); + Warning("\tFailed to convert '%s' in '%s'.\n", relativeName, pInFilename ); continue; } @@ -3922,7 +3939,7 @@ void ConvertPakFileContents( const char *pInFilename ) const char *pModelName = ResolveStaticPropToModel( relativeName ); if ( !pModelName ) { - Warning( "Static Prop '%s' failed to resolve actual model in '%s'.\n", relativeName, pInFilename ); + Warning("\tStatic Prop '%s' failed to resolve actual model in '%s'.\n", relativeName, pInFilename ); continue; } @@ -3930,7 +3947,7 @@ void ConvertPakFileContents( const char *pInFilename ) bOK = g_pVHVFixupFunc( relativeName, pModelName, sourceBuf, tempBuffer ); if ( !bOK ) { - Warning( "Failed to convert '%s' in '%s'.\n", relativeName, pInFilename ); + Warning("\tFailed to convert '%s' in '%s'.\n", relativeName, pInFilename ); continue; } } @@ -3946,7 +3963,7 @@ void ConvertPakFileContents( const char *pInFilename ) bOK = SwapVHV( targetBuf.Base(), tempBuffer.Base() ); if ( !bOK ) { - Warning( "Failed to swap '%s' in '%s'.\n", relativeName, pInFilename ); + Warning("\tFailed to swap '%s' in '%s'.\n", relativeName, pInFilename ); continue; } targetBuf.SeekPut( CUtlBuffer::SEEK_HEAD, tempBuffer.TellPut() ); @@ -3999,7 +4016,7 @@ void ConvertPakFileContents( const char *pInFilename ) } // strip ldr version of hdr files - for ( int i=0; iFileExists( pInFilename ) ) { - Warning( "Error! Couldn't open input file %s - BSP swap failed!\n", pInFilename ); + Warning("\tError! Couldn't open input file %s - BSP swap failed!\n", pInFilename ); return false; } g_hBSPFile = SafeOpenWrite( pOutFilename ); if ( !g_hBSPFile ) { - Warning( "Error! Couldn't open output file %s - BSP swap failed!\n", pOutFilename ); + Warning("\tError! Couldn't open output file %s - BSP swap failed!\n", pOutFilename ); return false; } if ( !pVTFConvertFunc ) { - Warning( "Error! Missing VTF Conversion function\n" ); + Warning("\tError! Missing VTF Conversion function\n" ); return false; } g_pVTFConvertFunc = pVTFConvertFunc; @@ -4615,7 +4632,7 @@ bool SwapBSPFile( const char *pInFilename, const char *pOutFilename, bool bSwapO CRC32_Init(&mapCRC); if ( !CRC_MapFile( &mapCRC, pInFilename ) ) { - Warning( "Failed to CRC the bsp\n" ); + Warning("\tFailed to CRC the bsp\n" ); return false; } @@ -4734,7 +4751,7 @@ bool SwapBSPFile( const char *pInFilename, const char *pOutFilename, bool bSwapO if ( HasLump( i ) && !g_Lumps.bLumpParsed[i] ) { // a new lump got added that needs to have a swap function - Warning( "BSP: '%s', %s has no swap or copy function. Discarding!\n", pInFilename, GetLumpName(i) ); + Warning("\tBSP: '%s', %s has no swap or copy function. Discarding!\n", pInFilename, GetLumpName(i) ); // the data didn't get copied, so don't reference garbage g_pBSPHeader->lumps[i].filelen = 0; @@ -4763,21 +4780,21 @@ bool SwapBSPFile( const char *pInFilename, const char *pOutFilename, bool bSwapO CUtlBuffer inputBuffer; if ( !g_pFileSystem->ReadFile( pOutFilename, NULL, inputBuffer ) ) { - Warning( "Error! Couldn't read file %s - final BSP compression failed!\n", pOutFilename ); + Warning("\tError! Couldn't read file %s - final BSP compression failed!\n", pOutFilename ); return false; } CUtlBuffer outputBuffer; if ( !CompressBSP( inputBuffer, outputBuffer, pCompressFunc ) ) { - Warning( "Error! Failed to compress BSP '%s'!\n", pOutFilename ); + Warning("\tError! Failed to compress BSP '%s'!\n", pOutFilename ); return false; } g_hBSPFile = SafeOpenWrite( pOutFilename ); if ( !g_hBSPFile ) { - Warning( "Error! Couldn't open output file %s - BSP swap failed!\n", pOutFilename ); + Warning("\tError! Couldn't open output file %s - BSP swap failed!\n", pOutFilename ); return false; } SafeWrite( g_hBSPFile, outputBuffer.Base(), outputBuffer.TellPut() ); @@ -4798,7 +4815,7 @@ bool GetPakFileLump( const char *pBSPFilename, void **pPakData, int *pPakSize ) if ( !g_pFileSystem->FileExists( pBSPFilename ) ) { - Warning( "Error! Couldn't open file %s!\n", pBSPFilename ); + Warning("\tError! Couldn't open file %s!\n", pBSPFilename ); return false; } @@ -4885,7 +4902,7 @@ bool SetPakFileLump( const char *pBSPFilename, const char *pNewFilename, void *p { if ( !g_pFileSystem->FileExists( pBSPFilename ) ) { - Warning( "Error! Couldn't open file %s!\n", pBSPFilename ); + Warning("\tError! Couldn't open file %s!\n", pBSPFilename ); return false; } @@ -4917,7 +4934,7 @@ bool SetPakFileLump( const char *pBSPFilename, const char *pNewFilename, void *p // lumps must be reserialized in same relative offset order // build sorted order table int readOrder[HEADER_LUMPS]; - for ( int i=0; i *pList { if ( !g_pFileSystem->FileExists( pBSPFilename ) ) { - Warning( "Error! Couldn't open file %s!\n", pBSPFilename ); + Warning("\tError! Couldn't open file %s!\n", pBSPFilename ); return false; } @@ -5001,7 +5018,7 @@ bool GetBSPDependants( const char *pBSPFilename, CUtlVector< CUtlString > *pList } // get all the world materials - for ( int i=0; i *pList pGameLumpData += sizeof( int ); StaticPropDictLump_t *pStaticPropDictLump = (StaticPropDictLump_t *)pGameLumpData; - for ( int i=0; iAddToTail( pStaticPropDictLump[i].m_Name ); } @@ -5038,7 +5055,7 @@ bool GetBSPDependants( const char *pBSPFilename, CUtlVector< CUtlString > *pList pGameLumpData += sizeof( int ); DetailObjectDictLump_t *pDetailObjectDictLump = (DetailObjectDictLump_t *)pGameLumpData; - for ( int i=0; iAddToTail( pDetailObjectDictLump[i].m_Name ); } diff --git a/sp/src/utils/common/bsplib.h b/sp/src/utils/common/bsplib.h index 80952ba9fc..b17143d448 100644 --- a/sp/src/utils/common/bsplib.h +++ b/sp/src/utils/common/bsplib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -183,6 +183,11 @@ extern CUtlVector g_OccluderData; extern CUtlVector g_OccluderPolyData; extern CUtlVector g_OccluderVertexIndices; +#ifdef MAPBASE +extern CUtlVector g_dLightmapPages; +extern CUtlVector g_dLightmapPageInfos; +#endif + // level flags - see LVLFLAGS_xxx in bspfile.h extern uint32 g_LevelFlags; diff --git a/sp/src/utils/common/cmdlib.cpp b/sp/src/utils/common/cmdlib.cpp index a5f9b74779..5c498ed5c8 100644 --- a/sp/src/utils/common/cmdlib.cpp +++ b/sp/src/utils/common/cmdlib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -87,7 +87,7 @@ void CmdLib_FPrintf( FileHandle_t hFile, const char *pFormat, ... ) buf.SetCount( newSize ); if ( buf.Count() != newSize ) { - Error( "CmdLib_FPrintf: can't allocate space for text." ); + Error("\tCmdLib_FPrintf: can't allocate space for text." ); } } } @@ -138,7 +138,7 @@ class CExitStopper { if ( g_bStopOnExit ) { - Warning( "\nPress any key to quit.\n" ); + Warning("\t\nPress any key to quit.\n" ); getch(); } } @@ -344,7 +344,7 @@ void InstallExtraSpewHook( SpewHookFn pFn ) #if 0 void CmdLib_AllocError( unsigned long size ) { - Error( "Error trying to allocate %d bytes.\n", size ); + Error("\tError trying to allocate %d bytes.\n", size ); } @@ -368,7 +368,11 @@ void SetSpewFunctionLogFile( char const *pFilename ) Assert( g_pLogFile ); if (!g_pLogFile) - Error("Can't create LogFile:\"%s\"\n", pFilename ); +#ifdef MAPBASE + Error("\tCan't create Log file: +- \"%s\"\n", pFilename ); +#else + Error("\tCan't create LogFile: \"%s\"\n", pFilename ); +#endif CmdLib_FPrintf( g_pLogFile, "\n\n\n" ); } @@ -481,7 +485,7 @@ void ExpandWildcards (int *argc, char ***argv) // only printf if in verbose mode -qboolean verbose = false; +bool verbose = false; void qprintf (const char *format, ...) { if (!verbose) @@ -587,14 +591,14 @@ void Q_mkdir (char *path) return; #endif // if (errno != EEXIST) - Error ("mkdir failed %s\n", path ); + Error ("\tmkdir failed %s\n", path ); } void CmdLib_InitFileSystem( const char *pFilename, int maxMemoryUsage ) { FileSystem_Init( pFilename, maxMemoryUsage ); if ( !g_pFileSystem ) - Error( "CmdLib_InitFileSystem failed." ); + Error("\tCmdLib_InitFileSystem failed." ); } void CmdLib_TermFileSystem() @@ -689,9 +693,9 @@ FileHandle_t SafeOpenWrite ( const char *filename ) if (!f) { - //Error ("Error opening %s: %s",filename,strerror(errno)); + //Error ("\tError opening %s: %s",filename,strerror(errno)); // BUGBUG: No way to get equivalent of errno from IFileSystem! - Error ("Error opening %s! (Check for write enable)\n",filename); + Error ("\tError opening %s! (Check for write enable)\n",filename); } return f; @@ -793,14 +797,14 @@ FileHandle_t SafeOpenRead( const char *filename ) return f; } } - Error ("Error opening %s\n",filename ); + Error ("\tError opening %s\n",filename ); return f; } else { f = g_pFileSystem->Open( filename, "rb" ); if ( !f ) - Error ("Error opening %s",filename ); + Error ("\tError opening %s",filename ); return f; } @@ -809,14 +813,14 @@ FileHandle_t SafeOpenRead( const char *filename ) void SafeRead( FileHandle_t f, void *buffer, int count) { if ( g_pFileSystem->Read (buffer, count, f) != (size_t)count) - Error ("File read failure"); + Error ("\tFile read failure"); } void SafeWrite ( FileHandle_t f, void *buffer, int count) { if (g_pFileSystem->Write (buffer, count, f) != (size_t)count) - Error ("File write failure"); + Error ("\tFile write failure"); } @@ -913,7 +917,7 @@ int ParseHex (char *hex) else if (*str >= 'A' && *str <= 'F') num += 10 + *str-'A'; else - Error ("Bad hex number: %s",hex); + Error ("\tBad hex number: %s",hex); str++; } diff --git a/sp/src/utils/common/cmdlib.h b/sp/src/utils/common/cmdlib.h index 5b5b2c7c99..f1fbb7e83e 100644 --- a/sp/src/utils/common/cmdlib.h +++ b/sp/src/utils/common/cmdlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -152,7 +152,7 @@ void SafeCreatePath( char *path ); extern qboolean archive; extern char archivedir[1024]; -extern qboolean verbose; +extern bool verbose; void qprintf( PRINTF_FORMAT_STRING const char *format, ... ); diff --git a/sp/src/utils/common/consolewnd.cpp b/sp/src/utils/common/consolewnd.cpp index 6201409a17..fe326b9521 100644 --- a/sp/src/utils/common/consolewnd.cpp +++ b/sp/src/utils/common/consolewnd.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/consolewnd.h b/sp/src/utils/common/consolewnd.h index 92649e2ff4..f4fde1b5a7 100644 --- a/sp/src/utils/common/consolewnd.h +++ b/sp/src/utils/common/consolewnd.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/filesystem_tools.cpp b/sp/src/utils/common/filesystem_tools.cpp index b1306c592d..f30879ad79 100644 --- a/sp/src/utils/common/filesystem_tools.cpp +++ b/sp/src/utils/common/filesystem_tools.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/filesystem_tools.h b/sp/src/utils/common/filesystem_tools.h index ada82ad501..a791e99222 100644 --- a/sp/src/utils/common/filesystem_tools.h +++ b/sp/src/utils/common/filesystem_tools.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/map_shared.cpp b/sp/src/utils/common/map_shared.cpp index e33e20cbf1..7777ac5f35 100644 --- a/sp/src/utils/common/map_shared.cpp +++ b/sp/src/utils/common/map_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -65,7 +65,7 @@ static ChunkFileResult_t LoadEntityCallback( CChunkFile *pFile, int nParam ) if (num_entities == MAX_MAP_ENTITIES) { // Exits. - g_MapError.ReportError ("num_entities == MAX_MAP_ENTITIES"); + g_MapError.ReportError ("\tnum_entities == MAX_MAP_ENTITIES"); } entity_t *mapent = &entities[num_entities]; @@ -128,7 +128,7 @@ bool LoadEntsFromMapFile( char const *pFilename ) } else { - Error("Error in LoadEntsFromMapFile (in-memory file): %s.\n", File.GetErrorText(eResult)); + Error("\tError in LoadEntsFromMapFile (in-memory file): %s.\n", File.GetErrorText(eResult)); return false; } } diff --git a/sp/src/utils/common/map_shared.h b/sp/src/utils/common/map_shared.h index 5f2b2b62d7..ee630b0fb6 100644 --- a/sp/src/utils/common/map_shared.h +++ b/sp/src/utils/common/map_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -57,7 +57,11 @@ class CMapError //----------------------------------------------------------------------------- void ReportError( const char *pErrorString ) { - Error( "Brush %i: %s\nSide %i\nTexture: %s\n", m_brushID, pErrorString, m_sideIndex, m_textureName ); +#ifdef MAPBASE + Error("\tBrush %i: %s\n\tSide %i\n\tTexture: %s\n", m_brushID, pErrorString, m_sideIndex, m_textureName ); + #else + Error("\tBrush %i: %s\nSide %i\nTexture: %s\n", m_brushID, pErrorString, m_sideIndex, m_textureName ); +#endif } //----------------------------------------------------------------------------- @@ -66,7 +70,11 @@ class CMapError //----------------------------------------------------------------------------- void ReportWarning( const char *pWarningString ) { +#ifdef MAPBASE + Warning( "\tBrush %i, Side %i: %s\n", m_brushID, m_sideIndex, pWarningString ); +#else printf( "Brush %i, Side %i: %s\n", m_brushID, m_sideIndex, pWarningString ); +#endif } private: diff --git a/sp/src/utils/common/movie.h b/sp/src/utils/common/movie.h index f9055296f4..1f64b4105f 100644 --- a/sp/src/utils/common/movie.h +++ b/sp/src/utils/common/movie.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/mpi_stats.cpp b/sp/src/utils/common/mpi_stats.cpp index f5840ceac6..989f0fbc2d 100644 --- a/sp/src/utils/common/mpi_stats.cpp +++ b/sp/src/utils/common/mpi_stats.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -217,7 +217,7 @@ char* FormatStringForSQL( const char *pText ) pCur = pText; char *pRetVal = new char[nChars+1]; - for ( int i=0; i < nChars; ) + for ( int i = 0; i < nChars; ) { if ( *pCur == '\"' || *pCur == '\\' ) pRetVal[i++] = '\\'; @@ -680,7 +680,7 @@ void VMPI_Stats_Term() static bool ReadStringFromFile( FILE *fp, char *pStr, int strSize ) { - int i=0; + int i = 0; for ( i; i < strSize-2; i++ ) { if ( fread( &pStr[i], 1, 1, fp ) != 1 || @@ -701,7 +701,7 @@ void GetDBInfo( const char *pDBInfoFilename, CDBInfo *pInfo ) { char baseExeFilename[512]; if ( !GetModuleFileName( GetModuleHandle( NULL ), baseExeFilename, sizeof( baseExeFilename ) ) ) - Error( "GetModuleFileName failed." ); + Error("\tGetModuleFileName failed." ); // Look for the info file in the same directory as the exe. char dbInfoFilename[512]; @@ -717,7 +717,7 @@ void GetDBInfo( const char *pDBInfoFilename, CDBInfo *pInfo ) FILE *fp = fopen( dbInfoFilename, "rt" ); if ( !fp ) { - Error( "Can't open %s for database info.\n", dbInfoFilename ); + Error("\tCan't open %s for database info.\n", dbInfoFilename ); } if ( !ReadStringFromFile( fp, pInfo->m_HostName, sizeof( pInfo->m_HostName ) ) || @@ -725,7 +725,7 @@ void GetDBInfo( const char *pDBInfoFilename, CDBInfo *pInfo ) !ReadStringFromFile( fp, pInfo->m_UserName, sizeof( pInfo->m_UserName ) ) ) { - Error( "%s is not a valid database info file.\n", dbInfoFilename ); + Error("\t%s is not a valid database info file.\n", dbInfoFilename ); } fclose( fp ); @@ -765,7 +765,7 @@ void RunJobWatchApp( char *pCmdLine ) &si, &pi ) ) { - Warning( "%s - error launching '%s'\n", VMPI_GetParamString( mpi_Job_Watch ), pCmdLine ); + Warning("\t%s - error launching '%s'\n", VMPI_GetParamString( mpi_Job_Watch ), pCmdLine ); } } } @@ -791,7 +791,7 @@ void StatsDB_InitStatsDatabase( if ( !VMPI_Stats_Init_Master( dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName, argv[argc-1], &jobPrimaryID ) ) { - Warning( "VMPI_Stats_Init_Master( %s, %s, %s ) failed.\n", dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName ); + Warning("\tVMPI_Stats_Init_Master( %s, %s, %s ) failed.\n", dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName ); // Tell the workers not to use stats. dbInfo.m_HostName[0] = 0; @@ -821,7 +821,7 @@ void StatsDB_InitStatsDatabase( if ( dbInfo.m_HostName[0] != 0 ) { if ( !VMPI_Stats_Init_Worker( dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName, jobPrimaryID ) ) - Error( "VMPI_Stats_Init_Worker( %s, %s, %s, %d ) failed.\n", dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName, jobPrimaryID ); + Error("\tVMPI_Stats_Init_Worker( %s, %s, %s, %d ) failed.\n", dbInfo.m_HostName, dbInfo.m_DBName, dbInfo.m_UserName, jobPrimaryID ); } } } diff --git a/sp/src/utils/common/mpi_stats.h b/sp/src/utils/common/mpi_stats.h index 841db3a2d3..0e4475d20f 100644 --- a/sp/src/utils/common/mpi_stats.h +++ b/sp/src/utils/common/mpi_stats.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/mstristrip.cpp b/sp/src/utils/common/mstristrip.cpp index ad6ebdc8e9..b1ba80bd46 100644 --- a/sp/src/utils/common/mstristrip.cpp +++ b/sp/src/utils/common/mstristrip.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/mstristrip.h b/sp/src/utils/common/mstristrip.h index 55c9319815..55e1768154 100644 --- a/sp/src/utils/common/mstristrip.h +++ b/sp/src/utils/common/mstristrip.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/pacifier.cpp b/sp/src/utils/common/pacifier.cpp index 41a1018431..e0a4a76870 100644 --- a/sp/src/utils/common/pacifier.cpp +++ b/sp/src/utils/common/pacifier.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -18,7 +18,12 @@ static bool g_bPacifierSuppressed = false; void StartPacifier( char const *pPrefix ) { - Msg( "%s", pPrefix ); +#ifdef MAPBASE + Msg("%s[", pPrefix); +#else + Msg("%s", pPrefix); +#endif // MAPBASE + g_LastPacifierDrawn = -1; UpdatePacifier( 0.001f ); } @@ -54,7 +59,11 @@ void EndPacifier( bool bCarriageReturn ) UpdatePacifier(1); if( bCarriageReturn && !g_bPacifierSuppressed ) +#ifdef MAPBASE + Msg("]\n"); +#else Msg("\n"); +#endif // MAPBASE } void SuppressPacifier( bool bSuppress ) diff --git a/sp/src/utils/common/pacifier.h b/sp/src/utils/common/pacifier.h index d64d6cda64..2398c8ed0c 100644 --- a/sp/src/utils/common/pacifier.h +++ b/sp/src/utils/common/pacifier.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/physdll.cpp b/sp/src/utils/common/physdll.cpp index 3df4b96460..d5609dc93c 100644 --- a/sp/src/utils/common/physdll.cpp +++ b/sp/src/utils/common/physdll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/physdll.h b/sp/src/utils/common/physdll.h index f6faf2d833..bfdf9f059d 100644 --- a/sp/src/utils/common/physdll.h +++ b/sp/src/utils/common/physdll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/polylib.cpp b/sp/src/utils/common/polylib.cpp index 63c91449c3..c4a7bbd5a5 100644 --- a/sp/src/utils/common/polylib.cpp +++ b/sp/src/utils/common/polylib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -71,7 +71,7 @@ winding_t *AllocWinding (int points) void FreeWinding (winding_t *w) { if (w->numpoints == 0xdeaddead) - Error ("FreeWinding: freed a freed winding"); + Error ("\tFreeWinding: freed a freed winding"); ThreadLock(); w->numpoints = 0xdeaddead; // flag as freed @@ -271,7 +271,7 @@ winding_t *BaseWindingForPlane (const Vector &normal, vec_t dist) } } if (x==-1) - Error ("BaseWindingForPlane: no axis found"); + Error ("\tBaseWindingForPlane: no axis found"); VectorCopy (vec3_origin, vup); switch (x) @@ -461,9 +461,9 @@ void ClipWindingEpsilon (winding_t *in, const Vector &normal, vec_t dist, } if (f->numpoints > maxpts || b->numpoints > maxpts) - Error ("ClipWinding: points exceeded estimate"); + Error ("\tClipWinding: points exceeded estimate"); if (f->numpoints > MAX_POINTS_ON_WINDING || b->numpoints > MAX_POINTS_ON_WINDING) - Error ("ClipWinding: MAX_POINTS_ON_WINDING"); + Error ("\tClipWinding: MAX_POINTS_ON_WINDING"); } #pragma optimize("", on) @@ -615,9 +615,9 @@ void ClassifyWindingEpsilon( winding_t *in, const Vector &normal, vec_t dist, } if (f->numpoints > maxpts || b->numpoints > maxpts) - Error ("ClipWinding: points exceeded estimate"); + Error ("\tClipWinding: points exceeded estimate"); if (f->numpoints > MAX_POINTS_ON_WINDING || b->numpoints > MAX_POINTS_ON_WINDING) - Error ("ClipWinding: MAX_POINTS_ON_WINDING"); + Error ("\tClipWinding: MAX_POINTS_ON_WINDING"); } /* @@ -715,9 +715,9 @@ void ChopWindingInPlace (winding_t **inout, const Vector &normal, vec_t dist, ve } if (f->numpoints > maxpts) - Error ("ClipWinding: points exceeded estimate"); + Error ("\tClipWinding: points exceeded estimate"); if (f->numpoints > MAX_POINTS_ON_WINDING) - Error ("ClipWinding: MAX_POINTS_ON_WINDING"); + Error ("\tClipWinding: MAX_POINTS_ON_WINDING"); FreeWinding (in); *inout = f; @@ -759,11 +759,11 @@ void CheckWinding (winding_t *w) vec_t facedist; if (w->numpoints < 3) - Error ("CheckWinding: %i points",w->numpoints); + Error ("\tCheckWinding: %i points",w->numpoints); area = WindingArea(w); if (area < 1) - Error ("CheckWinding: %f area", area); + Error ("\tCheckWinding: %f area", area); WindingPlane (w, facenormal, &facedist); @@ -774,7 +774,7 @@ void CheckWinding (winding_t *w) for (j=0 ; j<3 ; j++) { if (p1[j] > MAX_COORD_INTEGER || p1[j] < MIN_COORD_INTEGER) - Error ("CheckFace: out of range: %f",p1[j]); + Error ("\tCheckFace: out of range: %f",p1[j]); } j = i+1 == w->numpoints ? 0 : i+1; @@ -782,14 +782,14 @@ void CheckWinding (winding_t *w) // check the point is on the face plane d = DotProduct (p1, facenormal) - facedist; if (d < -ON_EPSILON || d > ON_EPSILON) - Error ("CheckWinding: point off plane"); + Error ("\tCheckWinding: point off plane"); // check the edge isnt degenerate Vector& p2 = w->p[j]; VectorSubtract (p2, p1, dir); if (VectorLength (dir) < ON_EPSILON) - Error ("CheckWinding: degenerate edge"); + Error ("\tCheckWinding: degenerate edge"); CrossProduct (facenormal, dir, edgenormal); VectorNormalize (edgenormal); @@ -803,7 +803,7 @@ void CheckWinding (winding_t *w) continue; d = DotProduct (w->p[j], edgenormal); if (d > edgedist) - Error ("CheckWinding: non-convex"); + Error ("\tCheckWinding: non-convex"); } } } diff --git a/sp/src/utils/common/polylib.h b/sp/src/utils/common/polylib.h index 8753dccc06..ca04069d4d 100644 --- a/sp/src/utils/common/polylib.h +++ b/sp/src/utils/common/polylib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/qfiles.h b/sp/src/utils/common/qfiles.h index fc122c33c4..1307f89ff8 100644 --- a/sp/src/utils/common/qfiles.h +++ b/sp/src/utils/common/qfiles.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/scratchpad_helpers.cpp b/sp/src/utils/common/scratchpad_helpers.cpp index ecab731bd3..75fbedcc34 100644 --- a/sp/src/utils/common/scratchpad_helpers.cpp +++ b/sp/src/utils/common/scratchpad_helpers.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -16,7 +16,7 @@ void ScratchPad_DrawWinding( Vector vColor, Vector vOffset ) { - for ( int i=0; i < nPoints; i++ ) + for ( int i = 0; i < nPoints; i++ ) { pPad->DrawLine( CSPVert( pPoints[i]+vOffset, vColor ), CSPVert( pPoints[(i+1)%nPoints]+vOffset, vColor ) ); } @@ -78,7 +78,7 @@ void ScratchPad_DrawWorld( IScratchPad3D *pPad, bool bDrawFaceNumbers, const CSP bool bAutoFlush = pPad->GetAutoFlush(); pPad->SetAutoFlush( false ); - for ( int i=0; i < numleafs; i++ ) + for ( int i = 0; i < numleafs; i++ ) { dleaf_t *l = &dleafs[i]; if ( l->contents & CONTENTS_DETAIL ) diff --git a/sp/src/utils/common/scratchpad_helpers.h b/sp/src/utils/common/scratchpad_helpers.h index 29e5a1226c..f583ef3f2c 100644 --- a/sp/src/utils/common/scratchpad_helpers.h +++ b/sp/src/utils/common/scratchpad_helpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/scriplib.cpp b/sp/src/utils/common/scriplib.cpp index 1c8b47f833..031d24aa6c 100644 --- a/sp/src/utils/common/scriplib.cpp +++ b/sp/src/utils/common/scriplib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -86,7 +86,7 @@ void AddScriptToStack (char *filename, ScriptPathMode_t pathMode = SCRIPT_USE_AB script++; if (script == &scriptstack[MAX_INCLUDES]) - Error ("script file exceeded MAX_INCLUDES"); + Error ("\tscript file exceeded MAX_INCLUDES"); if ( pathMode == SCRIPT_USE_RELATIVE_PATH ) Q_strncpy( script->filename, filename, sizeof( script->filename ) ); @@ -161,7 +161,7 @@ void DefineMacro( char *macroname ) mp += strlen( token ) + 1; if (mp >= pmacro->macrobuffer + sizeof( pmacro->macrobuffer )) - Error("Macro buffer overflow\n"); + Error("\tMacro buffer overflow\n"); } // roll back script_p to previous valid location script->script_p = cp; @@ -246,7 +246,7 @@ bool AddMacroToStack( char *macroname ) pnext++; if (pnext == &scriptstack[MAX_INCLUDES]) - Error ("script file exceeded MAX_INCLUDES"); + Error ("\tscript file exceeded MAX_INCLUDES"); // get tokens char *cp = pnext->macrobuffer; @@ -264,7 +264,7 @@ bool AddMacroToStack( char *macroname ) cp += strlen( token ) + 1; if (cp >= pnext->macrobuffer + sizeof( pnext->macrobuffer )) - Error("Macro buffer overflow\n"); + Error("\tMacro buffer overflow\n"); } script = pnext; @@ -312,7 +312,7 @@ bool ExpandMacroToken( char *&token_p ) } if (index >= script->nummacroparams) { - Error("unknown macro token \"%s\" in %s\n", tp, script->filename ); + Error("\tUnknown macro token \"%s\" in %s\n", tp, script->filename ); } // paste token into @@ -323,10 +323,10 @@ bool ExpandMacroToken( char *&token_p ) script->script_p = cp + 1; if (script->script_p >= script->end_p) - Error ("Macro expand overflow\n"); + Error ("\tMacro expand overflow\n"); if (token_p >= &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); return true; } @@ -371,7 +371,7 @@ bool ExpandVariableToken( char *&token_p ) if (index >= g_definevariable.Count() ) { - Error("unknown variable token \"%s\" in %s\n", tp, script->filename ); + Error("\tUnknown variable token \"%s\" in %s\n", tp, script->filename ); } // paste token into @@ -382,10 +382,10 @@ bool ExpandVariableToken( char *&token_p ) script->script_p = cp + 1; if (script->script_p >= script->end_p) - Error ("Macro expand overflow\n"); + Error ("\tMacro expand overflow\n"); if (token_p >= &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); return true; } @@ -404,7 +404,7 @@ void ParseFromMemory (char *buffer, int size) script = scriptstack; script++; if (script == &scriptstack[MAX_INCLUDES]) - Error ("script file exceeded MAX_INCLUDES"); + Error ("\tScript file exceeded MAX_INCLUDES"); strcpy (script->filename, "memory buffer" ); script->buffer = buffer; @@ -430,7 +430,7 @@ void PushMemoryScript( char *pszBuffer, const int nSize ) script++; if ( script == &scriptstack[MAX_INCLUDES] ) { - Error ( "script file exceeded MAX_INCLUDES" ); + Error ("\tScript file exceeded MAX_INCLUDES" ); } strcpy (script->filename, "memory buffer" ); @@ -492,7 +492,7 @@ void UnGetToken (void) qboolean EndOfScript (qboolean crossline) { if (!crossline) - Error ("Line %i is incomplete\n",scriptline); + Error ("\tLine %i is incomplete\n",scriptline); if (!strcmp (script->filename, "memory buffer")) { @@ -612,7 +612,7 @@ qboolean GetToken (qboolean crossline) { if (!crossline) { - Error ("Line %i is incomplete\n",scriptline); + Error ("\tLine %i is incomplete\n",scriptline); } scriptline = ++script->line; } @@ -628,7 +628,7 @@ qboolean GetToken (qboolean crossline) (*script->script_p == '/' && *((script->script_p)+1) == '/')) // also make // a comment field { if (!crossline) - Error ("Line %i is incomplete\n",scriptline); + Error ("\tLine %i is incomplete\n",scriptline); while (*script->script_p++ != '\n') { if (script->script_p >= script->end_p) @@ -673,7 +673,7 @@ qboolean GetToken (qboolean crossline) if (script->script_p == script->end_p) break; if (token_p == &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); } script->script_p++; } @@ -692,7 +692,7 @@ qboolean GetToken (qboolean crossline) if (script->script_p == script->end_p) break; if (token_p == &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); } } @@ -791,7 +791,7 @@ qboolean GetExprToken (qboolean crossline) if (*script->script_p++ == '\n') { if (!crossline) - Error ("Line %i is incomplete\n",scriptline); + Error ("\tLine %i is incomplete\n",scriptline); scriptline = ++script->line; } } @@ -803,7 +803,7 @@ qboolean GetExprToken (qboolean crossline) (*script->script_p == '/' && *((script->script_p)+1) == '/')) // also make // a comment field { if (!crossline) - Error ("Line %i is incomplete\n",scriptline); + Error ("\tLine %i is incomplete\n",scriptline); while (*script->script_p++ != '\n') if (script->script_p >= script->end_p) return EndOfScript (crossline); @@ -825,7 +825,7 @@ qboolean GetExprToken (qboolean crossline) if (script->script_p == script->end_p) break; if (token_p == &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); } script->script_p++; } @@ -840,7 +840,7 @@ qboolean GetExprToken (qboolean crossline) if (script->script_p == script->end_p) break; if (token_p == &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); } } else if ( V_isdigit( *script->script_p ) || *script->script_p == '.' ) @@ -852,7 +852,7 @@ qboolean GetExprToken (qboolean crossline) if (script->script_p == script->end_p) break; if (token_p == &token[MAXTOKEN]) - Error ("Token too large on line %i\n",scriptline); + Error ("\tToken too large on line %i\n",scriptline); } } else @@ -987,7 +987,7 @@ bool CScriptLib::ReadFileToBuffer( const char *pSourceName, CUtlBuffer &buffer, { if ( !bNoOpenFailureWarning ) { - Msg( "ReadFileToBuffer(): Error opening %s: %s\n", pSourceName, strerror( errno ) ); + Warning("\tReadFileToBuffer(): Error opening %s: %s\n", pSourceName, strerror( errno ) ); } return false; } @@ -1124,7 +1124,7 @@ void CScriptLib::DeleteTemporaryFiles( const char *pFileMask ) CUtlVector fileList; FindFiles( tempPath, false, fileList ); - for ( int i=0; i tempList; CUtlVector< CUtlString > dirList; RecurseFileTree_r( dirPath, 0, dirList ); - for ( int i=0; i MAX_TOOL_THREADS ) numthreads = MAX_TOOL_THREADS; - for ( int i=0; i < numthreads ;i++ ) + for ( int i = 0; i < numthreads ;i++ ) { g_RunThreadsData[i].m_iThread = i; g_RunThreadsData[i].m_pUserData = pUserData; @@ -219,7 +227,7 @@ void RunThreads_Start( RunThreadsFn fn, void *pUserData, ERunThreadsPriority ePr void RunThreads_End() { WaitForMultipleObjects( numthreads, g_ThreadHandles, TRUE, INFINITE ); - for ( int i=0; i < numthreads; i++ ) + for ( int i = 0; i < numthreads; i++ ) CloseHandle( g_ThreadHandles[i] ); threaded = false; @@ -246,17 +254,19 @@ void RunThreadsOn( int workcnt, qboolean showpacifier, RunThreadsFn fn, void *pU (*func)( 0 ); return; #endif - RunThreads_Start( fn, pUserData ); RunThreads_End(); - end = Plat_FloatTime(); if (pacifier) { EndPacifier(false); +#ifdef MAPBASE + printf("] (%i)\n", end - start); +#else printf (" (%i)\n", end-start); +#endif } } diff --git a/sp/src/utils/common/threads.h b/sp/src/utils/common/threads.h index 7d6beb9f04..f205ded392 100644 --- a/sp/src/utils/common/threads.h +++ b/sp/src/utils/common/threads.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -64,8 +64,18 @@ void ThreadUnlock (void); #ifndef NO_THREAD_NAMES +#ifdef MAPBASE +#define RunThreadsOn(n,p,f) { if (p) printf("%-20s ", #f " ->"); RunThreadsOn(n,p,f); } +#else #define RunThreadsOn(n,p,f) { if (p) printf("%-20s ", #f ":"); RunThreadsOn(n,p,f); } -#define RunThreadsOnIndividual(n,p,f) { if (p) printf("%-20s ", #f ":"); RunThreadsOnIndividual(n,p,f); } +#endif + + #ifdef MAPBASE + #define RunThreadsOnIndividual(n,p,f) { if (p) printf("%-20s ", #f " ->"); RunThreadsOnIndividual(n,p,f); } + #else + #define RunThreadsOnIndividual(n,p,f) { if (p) printf("%-20s ", #f ":"); RunThreadsOnIndividual(n,p,f); } + #endif + #endif #endif // THREADS_H diff --git a/sp/src/utils/common/tools_minidump.cpp b/sp/src/utils/common/tools_minidump.cpp index a7659200d5..524b3481d6 100644 --- a/sp/src/utils/common/tools_minidump.cpp +++ b/sp/src/utils/common/tools_minidump.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/tools_minidump.h b/sp/src/utils/common/tools_minidump.h index 2e5f12cb63..5a4e656b6a 100644 --- a/sp/src/utils/common/tools_minidump.h +++ b/sp/src/utils/common/tools_minidump.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/utilmatlib.cpp b/sp/src/utils/common/utilmatlib.cpp index 7e62e0006d..2da85cb70f 100644 --- a/sp/src/utils/common/utilmatlib.cpp +++ b/sp/src/utils/common/utilmatlib.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -31,7 +31,7 @@ void LoadMaterialSystemInterface( CreateInterfaceFn fileSystemFactory ) materialSystemDLLHInst = g_pFullFileSystem->LoadModule( pDllName ); if( !materialSystemDLLHInst ) { - Error( "Can't load MaterialSystem.dll\n" ); + Error("\tCan't load MaterialSystem.dll\n" ); } CreateInterfaceFn clientFactory = Sys_GetFactory( materialSystemDLLHInst ); @@ -40,17 +40,17 @@ void LoadMaterialSystemInterface( CreateInterfaceFn fileSystemFactory ) g_pMaterialSystem = (IMaterialSystem *)clientFactory( MATERIAL_SYSTEM_INTERFACE_VERSION, NULL ); if ( !g_pMaterialSystem ) { - Error( "Could not get the material system interface from materialsystem.dll (" __FILE__ ")" ); + Error("\tCould not get the material system interface from materialsystem.dll (" __FILE__ ")" ); } } else { - Error( "Could not find factory interface in library MaterialSystem.dll" ); + Error("\tCould not find factory interface in library MaterialSystem.dll" ); } if (!g_pMaterialSystem->Init( "shaderapiempty.dll", 0, fileSystemFactory )) { - Error( "Could not start the empty shader (shaderapiempty.dll)!" ); + Error("\tCould not start the empty shader (shaderapiempty.dll)!" ); } } @@ -98,7 +98,7 @@ void GetMaterialDimensions( MaterialSystemMaterial_t materialHandle, int *width, #if 0 if (retVal == MATERIAL_PREVIEW_IMAGE_BAD ) { - Error( "problem getting preview image for %s", + Error("\tproblem getting preview image for %s", g_pMaterialSystem->GetMaterialName( materialInfo[matID].materialHandle ) ); } #else diff --git a/sp/src/utils/common/utilmatlib.h b/sp/src/utils/common/utilmatlib.h index 9d2e0b57a3..5cfba0b341 100644 --- a/sp/src/utils/common/utilmatlib.h +++ b/sp/src/utils/common/utilmatlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/vmpi_tools_shared.cpp b/sp/src/utils/common/vmpi_tools_shared.cpp index 247569f4f1..29dc5121ee 100644 --- a/sp/src/utils/common/vmpi_tools_shared.cpp +++ b/sp/src/utils/common/vmpi_tools_shared.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -66,7 +66,7 @@ bool SharedDispatch( MessageBuffer *pBuf, int iSource, int iPacketID ) switch ( chCrashInfoType ) { case 't': - Warning( "\nWorker '%s' dead: %s\n", VMPI_GetMachineName( iSource ), pInPos ); + Warning("\t\nWorker '%s' dead: %s\n", VMPI_GetMachineName( iSource ), pInPos ); break; case 'f': { @@ -116,12 +116,12 @@ bool SharedDispatch( MessageBuffer *pBuf, int iSource, int iPacketID ) fwrite( pInPos, 1, iFileSize, fDump ); fclose( fDump ); - Warning( "\nSaved worker crash minidump '%s', size %d byte(s).\n", + Warning("\t\nSaved worker crash minidump '%s', size %d byte(s).\n", chSaveFileName, iFileSize ); } else { - Warning( "\nReceived worker crash minidump size %d byte(s), failed to save.\n", iFileSize ); + Warning("\t\nReceived worker crash minidump size %d byte(s), failed to save.\n", iFileSize ); } } break; @@ -318,7 +318,7 @@ void VMPI_ExceptionFilter( unsigned long uCode, void *pvExceptionInfo ) }; int nErrors = sizeof( errors ) / sizeof( errors[0] ); - int i=0; + int i = 0; char *pchReason = NULL; char chUnknownBuffer[32]; for ( i; ( i < nErrors ) && !pchReason; i++ ) @@ -348,24 +348,24 @@ void HandleMPIDisconnect( int procID, const char *pReason ) bool bOldSuppress = g_bSuppressPrintfOutput; g_bSuppressPrintfOutput = ( Q_stristr( pReason, "invalid packet size" ) == 0 ); - Warning( "\n\n--- WARNING: lost connection to '%s' (%s).\n", VMPI_GetMachineName( procID ), pReason ); + Warning("\t\n\n--- WARNING: lost connection to '%s' (%s).\n", VMPI_GetMachineName( procID ), pReason ); if ( g_bMPIMaster ) { - Warning( "%d workers remain.\n\n", nLiveWorkers ); + Warning("\t%d workers remain.\n\n", nLiveWorkers ); ++g_nDisconnects; /* if ( VMPI_GetCurrentNumberOfConnections() - g_nDisconnects <= 1 ) { - Error( "All machines disconnected!" ); + Error("\tAll machines disconnected!" ); } */ } else { VMPI_HandleAutoRestart(); - Error( "Worker quitting." ); + Error("\tWorker quitting." ); } g_bSuppressPrintfOutput = bOldSuppress; diff --git a/sp/src/utils/common/vmpi_tools_shared.h b/sp/src/utils/common/vmpi_tools_shared.h index 980552e8a8..98650b7950 100644 --- a/sp/src/utils/common/vmpi_tools_shared.h +++ b/sp/src/utils/common/vmpi_tools_shared.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/common/wadlib.h b/sp/src/utils/common/wadlib.h index 0fa12f50fe..9a54a19590 100644 --- a/sp/src/utils/common/wadlib.h +++ b/sp/src/utils/common/wadlib.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/glview/glos.h b/sp/src/utils/glview/glos.h index ebaee16ed1..d849cba380 100644 --- a/sp/src/utils/glview/glos.h +++ b/sp/src/utils/glview/glos.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/glview/glview.cpp b/sp/src/utils/glview/glview.cpp index 6d50de7fdc..ac3508ea6d 100644 --- a/sp/src/utils/glview/glview.cpp +++ b/sp/src/utils/glview/glview.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -259,7 +259,6 @@ void Cam_BuildMatrix (void) { float xa, ya; float matrix[4][4]; - int i; xa = angles[0]/180*M_PI; ya = angles[1]/180*M_PI; @@ -273,7 +272,7 @@ void Cam_BuildMatrix (void) glGetFloatv (GL_PROJECTION_MATRIX, &matrix[0][0]); - for (i=0 ; i<3 ; i++) + for (int i = 0; i<3 ; i++) { vright[i] = matrix[i][0]; vup[i] = matrix[i][1]; @@ -368,7 +367,7 @@ void Draw (void) void ReadPolyFileType(const char *name, int nList, BOOL drawLines) { FILE *f; - int i, j, numverts; + int numverts; float v[8]; int c; int r; @@ -386,7 +385,7 @@ void ReadPolyFileType(const char *name, int nList, BOOL drawLines) c = 0; glNewList (nList, GL_COMPILE); - for (i = 0; i < 3; i++) // Find the center point so we can put the viewer there by default + for (int i = 0; i < 3; i++) // Find the center point so we can put the viewer there by default g_Center[i] = 0.0f; if (drawLines) // Slight hilite @@ -406,7 +405,7 @@ void ReadPolyFileType(const char *name, int nList, BOOL drawLines) else glBegin (GL_POLYGON); - for (i=0 ; i 0) // Avoid division by zero { - for (i = 0; i < 3; i++) + for (int i = 0; i < 3; i++) { g_Center[i] = g_Center[i]/(float)g_nTotalPoints; // Calculate center... origin[i] = g_Center[i]; @@ -843,7 +842,7 @@ void ReadPolyFile (const char *name) void ReadPortalFile (char *name) { FILE *f; - int i, numverts; + int numverts; float v[8]; int c; int r; @@ -876,7 +875,7 @@ void ReadPortalFile (char *name) break; glBegin(GL_LINE_LOOP); - for (i=0 ; i #include #include @@ -157,8 +157,8 @@ int OpenGlobalFile( char *src ) if( CmdLib_HasBasePath( filename, pathLength ) ) { char tmp[1024]; - int i; - for( i = 0; i < numBasePaths; i++ ) + + for(int i = 0; i < numBasePaths; i++ ) { strcpy( tmp, CmdLib_GetBasePath( i ) ); strcat( tmp, filename + pathLength ); @@ -991,14 +991,13 @@ typedef CUtlVector CIntVector; void CalcModelTangentSpaces( s_source_t *pSrc ) { // Build a map from vertex to a list of triangles that share the vert. - int meshID; - for( meshID = 0; meshID < pSrc->nummeshes; meshID++ ) + for(int meshID = 0; meshID < pSrc->nummeshes; meshID++ ) { s_mesh_t *pMesh = &pSrc->mesh[pSrc->meshindex[meshID]]; CUtlVector vertToTriMap; vertToTriMap.AddMultipleToTail( pMesh->numvertices ); - int triID; - for( triID = 0; triID < pMesh->numfaces; triID++ ) + + for(int triID = 0; triID < pMesh->numfaces; triID++ ) { s_face_t *pFace = &pSrc->face[triID + pMesh->faceoffset]; vertToTriMap[pFace->a].AddToTail( triID ); @@ -1011,7 +1010,7 @@ void CalcModelTangentSpaces( s_source_t *pSrc ) CUtlVector triTVect; triSVect.AddMultipleToTail( pMesh->numfaces ); triTVect.AddMultipleToTail( pMesh->numfaces ); - for( triID = 0; triID < pMesh->numfaces; triID++ ) + for(int triID = 0; triID < pMesh->numfaces; triID++ ) { s_face_t *pFace = &pSrc->face[triID + pMesh->faceoffset]; CalcTriangleTangentSpace( pSrc, @@ -1022,8 +1021,7 @@ void CalcModelTangentSpaces( s_source_t *pSrc ) } // calculate an average tangent space for each vertex. - int vertID; - for( vertID = 0; vertID < pMesh->numvertices; vertID++ ) + for(int vertID = 0; vertID < pMesh->numvertices; vertID++ ) { const Vector &normal = pSrc->normal[vertID+pMesh->vertexoffset]; Vector4D &finalSVect = pSrc->tangentS[vertID+pMesh->vertexoffset]; @@ -1031,7 +1029,7 @@ void CalcModelTangentSpaces( s_source_t *pSrc ) sVect.Init( 0.0f, 0.0f, 0.0f ); tVect.Init( 0.0f, 0.0f, 0.0f ); - for( triID = 0; triID < vertToTriMap[vertID].Size(); triID++ ) + for(int triID = 0; triID < vertToTriMap[vertID].Size(); triID++ ) { sVect += triSVect[vertToTriMap[vertID][triID]]; tVect += triTVect[vertToTriMap[vertID][triID]]; @@ -1040,9 +1038,8 @@ void CalcModelTangentSpaces( s_source_t *pSrc ) // In the case of zbrush, everything needs to be treated as smooth. if( g_bZBrush ) { - int vertID2; Vector vertPos1( pSrc->vertex[vertID][0], pSrc->vertex[vertID][1], pSrc->vertex[vertID][2] ); - for( vertID2 = 0; vertID2 < pMesh->numvertices; vertID2++ ) + for(int vertID2 = 0; vertID2 < pMesh->numvertices; vertID2++ ) { if( vertID2 == vertID ) { @@ -1051,8 +1048,7 @@ void CalcModelTangentSpaces( s_source_t *pSrc ) Vector vertPos2( pSrc->vertex[vertID2][0], pSrc->vertex[vertID2][1], pSrc->vertex[vertID2][2] ); if( vertPos1 == vertPos2 ) { - int triID2; - for( triID2 = 0; triID2 < vertToTriMap[vertID2].Size(); triID2++ ) + for(int triID2 = 0; triID2 < vertToTriMap[vertID2].Size(); triID2++ ) { sVect += triSVect[vertToTriMap[vertID2][triID2]]; tVect += triTVect[vertToTriMap[vertID2][triID2]]; @@ -1131,8 +1127,7 @@ void BuildIndividualMeshes( s_source_t *psource ) Vector2Copy( g_texcoord[v_listdata[j].t], psource->texcoord[i] ); psource->localBoneweight[i].numbones = g_bone[v_listdata[j].v].numbones; - int k; - for( k = 0; k < MAXSTUDIOBONEWEIGHTS; k++ ) + for(int k = 0; k < MAXSTUDIOBONEWEIGHTS; k++ ) { psource->localBoneweight[i].bone[k] = g_bone[v_listdata[j].v].bone[k]; psource->localBoneweight[i].weight[k] = g_bone[v_listdata[j].v].weight[k]; @@ -1436,11 +1431,10 @@ static void FlipFacing( s_source_t *pSrc ) { unsigned short tmp; - int i, j; - for( i = 0; i < pSrc->nummeshes; i++ ) + for(int i = 0; i < pSrc->nummeshes; i++ ) { s_mesh_t *pMesh = &pSrc->mesh[i]; - for( j = 0; j < pMesh->numfaces; j++ ) + for(int j = 0; j < pMesh->numfaces; j++ ) { s_face_t &f = pSrc->face[pMesh->faceoffset + j]; tmp = f.b; f.b = f.c; f.c = tmp; diff --git a/sp/src/utils/motionmapper/motionmapper.h b/sp/src/utils/motionmapper/motionmapper.h index 6b487e3cee..449e402154 100644 --- a/sp/src/utils/motionmapper/motionmapper.h +++ b/sp/src/utils/motionmapper/motionmapper.h @@ -1,6 +1,6 @@ /*** * -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. diff --git a/sp/src/utils/phonemeextractor/extractor_utils.cpp b/sp/src/utils/phonemeextractor/extractor_utils.cpp index 8b8ff98b15..5a00fea17c 100644 --- a/sp/src/utils/phonemeextractor/extractor_utils.cpp +++ b/sp/src/utils/phonemeextractor/extractor_utils.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/phonemeextractor/phonemeextractor.cpp b/sp/src/utils/phonemeextractor/phonemeextractor.cpp index 271f18505c..3386a49b76 100644 --- a/sp/src/utils/phonemeextractor/phonemeextractor.cpp +++ b/sp/src/utils/phonemeextractor/phonemeextractor.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/phonemeextractor/phonemeextractor_ims.cpp b/sp/src/utils/phonemeextractor/phonemeextractor_ims.cpp index 29dabab416..79b0069530 100644 --- a/sp/src/utils/phonemeextractor/phonemeextractor_ims.cpp +++ b/sp/src/utils/phonemeextractor/phonemeextractor_ims.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/phonemeextractor/talkback.h b/sp/src/utils/phonemeextractor/talkback.h index bb6ee8087a..2d390ba044 100644 --- a/sp/src/utils/phonemeextractor/talkback.h +++ b/sp/src/utils/phonemeextractor/talkback.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -8,7 +8,7 @@ // ============================================================================= // Interface to the LIPSinc TalkBack 1.1 library (TalkBack_*.lib). // -// Copyright © 1998-2002 LIPSinc. All rights reserved. +// Copyright � 1998-2002 LIPSinc. All rights reserved. #if !defined(TalkBack_h) #define TalkBack_h diff --git a/sp/src/utils/qc_eyes/QC_Eyes.cpp b/sp/src/utils/qc_eyes/QC_Eyes.cpp index 179391df6c..dd491cfd1e 100644 --- a/sp/src/utils/qc_eyes/QC_Eyes.cpp +++ b/sp/src/utils/qc_eyes/QC_Eyes.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // QC_Eyes.cpp : Defines the class behaviors for the application. // diff --git a/sp/src/utils/qc_eyes/QC_Eyes.h b/sp/src/utils/qc_eyes/QC_Eyes.h index e1068d652d..885ffc3ca3 100644 --- a/sp/src/utils/qc_eyes/QC_Eyes.h +++ b/sp/src/utils/qc_eyes/QC_Eyes.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // QC_Eyes.h : main header file for the QC_EYES application // diff --git a/sp/src/utils/qc_eyes/QC_EyesDlg.cpp b/sp/src/utils/qc_eyes/QC_EyesDlg.cpp index d76d916a80..28ac4fe919 100644 --- a/sp/src/utils/qc_eyes/QC_EyesDlg.cpp +++ b/sp/src/utils/qc_eyes/QC_EyesDlg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // QC_EyesDlg.cpp : implementation file // diff --git a/sp/src/utils/qc_eyes/QC_EyesDlg.h b/sp/src/utils/qc_eyes/QC_EyesDlg.h index 754e9ec592..d85031f4a5 100644 --- a/sp/src/utils/qc_eyes/QC_EyesDlg.h +++ b/sp/src/utils/qc_eyes/QC_EyesDlg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // QC_EyesDlg.h : header file // diff --git a/sp/src/utils/qc_eyes/StdAfx.cpp b/sp/src/utils/qc_eyes/StdAfx.cpp index 8ffd641576..27fbbe963f 100644 --- a/sp/src/utils/qc_eyes/StdAfx.cpp +++ b/sp/src/utils/qc_eyes/StdAfx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // stdafx.cpp : source file that includes just the standard includes // QC_Eyes.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information diff --git a/sp/src/utils/qc_eyes/StdAfx.h b/sp/src/utils/qc_eyes/StdAfx.h index 55723a6056..38f9a93526 100644 --- a/sp/src/utils/qc_eyes/StdAfx.h +++ b/sp/src/utils/qc_eyes/StdAfx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently diff --git a/sp/src/utils/qc_eyes/resource.h b/sp/src/utils/qc_eyes/resource.h index e963ea22ba..94fb30ac99 100644 --- a/sp/src/utils/qc_eyes/resource.h +++ b/sp/src/utils/qc_eyes/resource.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by QC_Eyes.rc diff --git a/sp/src/utils/serverplugin_sample/serverplugin_bot.cpp b/sp/src/utils/serverplugin_sample/serverplugin_bot.cpp index 7d900cfd20..d36881909a 100644 --- a/sp/src/utils/serverplugin_sample/serverplugin_bot.cpp +++ b/sp/src/utils/serverplugin_sample/serverplugin_bot.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Basic BOT handling. // diff --git a/sp/src/utils/serverplugin_sample/serverplugin_empty.cpp b/sp/src/utils/serverplugin_sample/serverplugin_empty.cpp index 42e4c1d3bf..b1b6d626e8 100644 --- a/sp/src/utils/serverplugin_sample/serverplugin_empty.cpp +++ b/sp/src/utils/serverplugin_sample/serverplugin_empty.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/serverplugin_sample/serverplugin_empty.vpc b/sp/src/utils/serverplugin_sample/serverplugin_empty.vpc index 0d584af529..a5f98437cd 100644 --- a/sp/src/utils/serverplugin_sample/serverplugin_empty.vpc +++ b/sp/src/utils/serverplugin_sample/serverplugin_empty.vpc @@ -23,7 +23,7 @@ $Configuration } } -$Project "Serverplugin_empty" +$Project "Serverplugin empty" { $Folder "Source Files" { diff --git a/sp/src/utils/smdlexp/smdlexp.cpp b/sp/src/utils/smdlexp/smdlexp.cpp index 4955dd9817..f98f9553ad 100644 --- a/sp/src/utils/smdlexp/smdlexp.cpp +++ b/sp/src/utils/smdlexp/smdlexp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/smdlexp/smedefs.h b/sp/src/utils/smdlexp/smedefs.h index 4b09d5dcc4..70ce9fd7f7 100644 --- a/sp/src/utils/smdlexp/smedefs.h +++ b/sp/src/utils/smdlexp/smedefs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/smdlexp/smexprc.h b/sp/src/utils/smdlexp/smexprc.h index e6482bf926..9d254f8601 100644 --- a/sp/src/utils/smdlexp/smexprc.h +++ b/sp/src/utils/smdlexp/smexprc.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/tgadiff/tgadiff.cpp b/sp/src/utils/tgadiff/tgadiff.cpp index 4265456884..0d2fb4b98d 100644 --- a/sp/src/utils/tgadiff/tgadiff.cpp +++ b/sp/src/utils/tgadiff/tgadiff.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/Debug/vc143.pdb b/sp/src/utils/vbsp/Debug/vc143.pdb new file mode 100644 index 0000000000..44c7b019f9 Binary files /dev/null and b/sp/src/utils/vbsp/Debug/vc143.pdb differ diff --git a/sp/src/utils/vbsp/boundbox.cpp b/sp/src/utils/vbsp/boundbox.cpp index a62e9e2f7a..b4e1bce382 100644 --- a/sp/src/utils/vbsp/boundbox.cpp +++ b/sp/src/utils/vbsp/boundbox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/boundbox.h b/sp/src/utils/vbsp/boundbox.h index 4720a40e27..8cdf9facbb 100644 --- a/sp/src/utils/vbsp/boundbox.h +++ b/sp/src/utils/vbsp/boundbox.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: An axis aligned bounding box class. // diff --git a/sp/src/utils/vbsp/brushbsp.cpp b/sp/src/utils/vbsp/brushbsp.cpp index d455f30b7e..d42de62343 100644 --- a/sp/src/utils/vbsp/brushbsp.cpp +++ b/sp/src/utils/vbsp/brushbsp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -21,11 +21,9 @@ int c_active_brushes; void FindBrushInTree (node_t *node, int brushnum) { - bspbrush_t *b; - if (node->planenum == PLANENUM_LEAF) { - for (b=node->brushlist ; b ; b=b->next) + for (bspbrush_t* b=node->brushlist ; b ; b=b->next) if (b->original->brushnum == brushnum) Msg("here\n"); return; @@ -43,13 +41,12 @@ DrawBrushList */ void DrawBrushList (bspbrush_t *brush, node_t *node) { - int i; side_t *s; GLS_BeginScene (); for ( ; brush ; brush=brush->next) { - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { s = &brush->sides[i]; if (!s->winding) @@ -72,7 +69,6 @@ WriteBrushList */ void WriteBrushList (char *name, bspbrush_t *brush, qboolean onlyvis) { - int i; side_t *s; qprintf ("writing %s\n", name); @@ -80,7 +76,7 @@ void WriteBrushList (char *name, bspbrush_t *brush, qboolean onlyvis) for ( ; brush ; brush=brush->next) { - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { s = &brush->sides[i]; if (!s->winding) @@ -96,10 +92,8 @@ void WriteBrushList (char *name, bspbrush_t *brush, qboolean onlyvis) void PrintBrush (bspbrush_t *brush) { - int i; - Msg("brush: %p\n", brush); - for (i=0;inumsides ; i++) + for (int i = 0;inumsides ; i++) { pw(brush->sides[i].winding); Msg("\n"); @@ -115,16 +109,15 @@ Sets the mins/maxs based on the windings */ void BoundBrush (bspbrush_t *brush) { - int i, j; winding_t *w; ClearBounds (brush->mins, brush->maxs); - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { w = brush->sides[i].winding; if (!w) continue; - for (j=0 ; jnumpoints ; j++) + for (int j = 0; jnumpoints ; j++) AddPointToBounds (w->p[j], brush->mins, brush->maxs); } } @@ -160,7 +153,6 @@ CreateBrushWindings */ void CreateBrushWindings (bspbrush_t *brush) { - int i, j; winding_t *w; side_t *side; plane_t *plane; @@ -169,12 +161,12 @@ void CreateBrushWindings (bspbrush_t *brush) Vector insidePoint = PointInsideBrush( brush ); Vector offset = -insidePoint; - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { side = &brush->sides[i]; plane = &g_MainMap->mapplanes[side->planenum]; w = BaseWindingForPlane (plane->normal, plane->dist + DotProduct(plane->normal, offset)); - for (j=0 ; jnumsides && w; j++) + for (int j = 0; jnumsides && w; j++) { if (i == j) continue; @@ -187,7 +179,6 @@ void CreateBrushWindings (bspbrush_t *brush) TranslateWinding( w, -offset ); side->winding = w; } - BoundBrush (brush); } @@ -201,13 +192,12 @@ Creates a new axial brush bspbrush_t *BrushFromBounds (Vector& mins, Vector& maxs) { bspbrush_t *b; - int i; Vector normal; vec_t dist; b = AllocBrush (6); b->numsides = 6; - for (i=0 ; i<3 ; i++) + for (int i = 0; i<3 ; i++) { VectorClear (normal); normal[i] = 1; @@ -279,9 +269,7 @@ CountBrushList */ int CountBrushList (bspbrush_t *brushes) { - int c; - - c = 0; + int c = 0; for ( ; brushes ; brushes = brushes->next) c++; return c; @@ -353,11 +341,10 @@ FreeBrush */ void FreeBrush (bspbrush_t *brushes) { - int i; - - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) if (brushes->sides[i].winding) FreeWinding(brushes->sides[i].winding); + free (brushes); if (numthreads == 1) c_active_brushes--; @@ -391,15 +378,12 @@ Duplicates the brush, the sides, and the windings bspbrush_t *CopyBrush (bspbrush_t *brush) { bspbrush_t *newbrush; - int size; - int i; - - size = (int)&(((bspbrush_t *)0)->sides[brush->numsides]); + int size = (int)&(((bspbrush_t *)0)->sides[brush->numsides]); newbrush = AllocBrush (brush->numsides); memcpy (newbrush, brush, size); - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { if (brush->sides[i].winding) newbrush->sides[i].winding = CopyWinding (brush->sides[i].winding); @@ -453,7 +437,6 @@ Returns PSIDE_FRONT, PSIDE_BACK, or PSIDE_BOTH int BrushBspBoxOnPlaneSide (const Vector& mins, const Vector& maxs, dplane_t *plane) { int side; - int i; Vector corners[2]; vec_t dist1, dist2; @@ -470,7 +453,7 @@ int BrushBspBoxOnPlaneSide (const Vector& mins, const Vector& maxs, dplane_t *pl // create the proper leading and trailing verts for the box - for (i=0 ; i<3 ; i++) + for (int i = 0; i<3 ; i++) { if (plane->normal[i] < 0) { @@ -503,7 +486,7 @@ QuickTestBrushToPlanenum */ int QuickTestBrushToPlanenum (bspbrush_t *brush, int planenum, int *numsplits) { - int i, num; + int num; plane_t *plane; int s; @@ -511,11 +494,11 @@ int QuickTestBrushToPlanenum (bspbrush_t *brush, int planenum, int *numsplits) // if the brush actually uses the planenum, // we can tell the side for sure - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { num = brush->sides[i].planenum; if (num >= 0x10000) - Error ("bad planenum"); + Error ("\tbad planenum"); if (num == planenum) return PSIDE_BACK|PSIDE_FACING; if (num == (planenum ^ 1) ) @@ -544,7 +527,7 @@ TestBrushToPlanenum int TestBrushToPlanenum (bspbrush_t *brush, int planenum, int *numsplits, qboolean *hintsplit, int *epsilonbrush) { - int i, j, num; + int num; plane_t *plane; int s; winding_t *w; @@ -556,11 +539,11 @@ int TestBrushToPlanenum (bspbrush_t *brush, int planenum, // if the brush actually uses the planenum, // we can tell the side for sure - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { num = brush->sides[i].planenum; if (num >= 0x10000) - Error ("bad planenum"); + Error ("\tbad planenum"); if (num == planenum) return PSIDE_BACK|PSIDE_FACING; if (num == (planenum ^ 1) ) @@ -577,7 +560,7 @@ int TestBrushToPlanenum (bspbrush_t *brush, int planenum, // if both sides, count the visible faces split d_front = d_back = 0; - for (i=0 ; inumsides ; i++) + for (int i = 0; inumsides ; i++) { if (brush->sides[i].texinfo == TEXINFO_NODE) continue; // on node, don't worry about splits @@ -588,7 +571,7 @@ int TestBrushToPlanenum (bspbrush_t *brush, int planenum, continue; front = back = 0; - for (j=0 ; jnumpoints; j++) + for (int j = 0; jnumpoints; j++) { d = DotProduct (w->p[j], plane->normal) - plane->dist; @@ -646,13 +629,13 @@ existance by the vertex snapping. #define EDGE_LENGTH 0.2 qboolean WindingIsTiny (winding_t *w) { - int i, j; + int j; vec_t len; Vector delta; int edges; edges = 0; - for (i=0 ; inumpoints ; i++) + for (int i = 0; inumpoints ; i++) { j = i == w->numpoints - 1 ? 0 : i+1; VectorSubtract (w->p[j], w->p[i], delta); @@ -732,13 +715,11 @@ Returns true if the winding still has one of the points from basewinding for plane ================ */ -qboolean WindingIsHuge (winding_t *w) +bool WindingIsHuge (winding_t *w) { - int i, j; - - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { - for (j=0 ; j<3 ; j++) + for (int j=0 ; j<3 ; j++) if (w->p[i][j] < MIN_COORD_INTEGER || w->p[i][j] > MAX_COORD_INTEGER) return true; } @@ -754,19 +735,18 @@ Leafnode */ void LeafNode (node_t *node, bspbrush_t *brushes) { - bspbrush_t *b; int i; node->planenum = PLANENUM_LEAF; node->contents = 0; - for (b=brushes ; b ; b=b->next) + for (bspbrush_t* b=brushes ; b ; b=b->next) { // if the brush is solid and all of its sides are on nodes, // it eats everything if (b->original->contents & CONTENTS_SOLID) { - for (i=0 ; inumsides ; i++) + for (i = 0; inumsides ; i++) if (b->sides[i].texinfo != TEXINFO_NODE) break; if (i == b->numsides) @@ -813,12 +793,10 @@ void RemoveAreaPortalBrushes_R( node_t *node ) void CheckPlaneAgainstParents (int pnum, node_t *node) { - node_t *p; - - for (p=node->parent ; p ; p=p->parent) + for (node_t* p=node->parent ; p ; p=p->parent) { if (p->planenum == pnum) - Error ("Tried parent"); + Error ("\tTried parent"); } } @@ -913,7 +891,7 @@ side_t *SelectSplitSide (bspbrush_t *brushes, node_t *node) splits += bsplits; if (bsplits && (s&PSIDE_FACING) ) - Error ("PSIDE_FACING with splits"); + Error ("\tPSIDE_FACING with splits"); test->testside = s; // if the brush shares this face, don't bother @@ -1005,19 +983,18 @@ BrushMostlyOnSide */ int BrushMostlyOnSide (bspbrush_t *brush, plane_t *plane) { - int i, j; winding_t *w; vec_t d, max; int side; max = 0; side = PSIDE_FRONT; - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { w = brush->sides[i].winding; if (!w) continue; - for (j=0 ; jnumpoints ; j++) + for (int j=0 ; jnumpoints ; j++) { d = DotProduct (w->p[j], plane->normal) - plane->dist; if (d > max) @@ -1048,7 +1025,7 @@ unchanged void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t **back ) { bspbrush_t *b[2]; - int i, j; + int j; winding_t *w, *cw[2], *midwinding; plane_t *plane, *plane2; side_t *s, *cs; @@ -1059,12 +1036,12 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // check all points d_front = d_back = 0; - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { w = brush->sides[i].winding; if (!w) continue; - for (j=0 ; jnumpoints ; j++) + for (int j=0 ; jnumpoints ; j++) { d = DotProduct (w->p[j], plane->normal) - plane->dist; if (d > 0 && d > d_front) @@ -1092,7 +1069,7 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // create a new winding from the split plane w = BaseWindingForPlane (plane->normal, plane->dist + DotProduct(plane->normal,offset)); - for (i=0 ; inumsides && w ; i++) + for (int i=0 ; inumsides && w ; i++) { plane2 = &g_MainMap->mapplanes[brush->sides[i].planenum ^ 1]; ChopWindingInPlace (&w, plane2->normal, plane2->dist+DotProduct(plane2->normal,offset), 0); // PLANESIDE_EPSILON); @@ -1127,7 +1104,7 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // // allocate two new brushes referencing the original // - for( i = 0; i < 2; i++ ) + for(int i = 0; i < 2; i++ ) { b[i] = AllocBrush( brush->numsides + 1 ); b[i]->original = brush->original; @@ -1136,7 +1113,7 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // // split all the current windings // - for( i = 0; i < brush->numsides; i++ ) + for(int i = 0; i < brush->numsides; i++ ) { // get the current side s = &brush->sides[i]; @@ -1149,7 +1126,7 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // clip the winding ClipWindingEpsilon_Offset( w, plane->normal, plane->dist, 0 /*PLANESIDE_EPSILON*/, &cw[0], &cw[1], offset ); - for( j = 0; j < 2; j++ ) + for(int j = 0; j < 2; j++ ) { // does winding exist? if( !cw[j] ) @@ -1177,11 +1154,10 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t // see if we have valid polygons on both sides - - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { BoundBrush (b[i]); - for (j=0 ; j<3 ; j++) + for ( j=0 ; j<3 ; j++) { if (b[i]->mins[j] < MIN_COORD_INTEGER || b[i]->maxs[j] > MAX_COORD_INTEGER) { @@ -1217,7 +1193,7 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t } // add the midwinding to both sides - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { cs = &b[i]->sides[b[i]->numsides]; b[i]->numsides++; @@ -1238,9 +1214,8 @@ void SplitBrush( bspbrush_t *brush, int planenum, bspbrush_t **front, bspbrush_t { vec_t v1; - int i; - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { v1 = BrushVolume (b[i]); if (v1 < 1.0) @@ -1335,7 +1310,6 @@ node_t *BuildTree_r (node_t *node, bspbrush_t *brushes) { node_t *newnode; side_t *bestside; - int i; bspbrush_t *children[2]; if (numthreads == 1) @@ -1361,7 +1335,7 @@ node_t *BuildTree_r (node_t *node, bspbrush_t *brushes) FreeBrushList (brushes); // allocate children before recursing - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { newnode = AllocNode (); newnode->parent = node; @@ -1372,7 +1346,7 @@ node_t *BuildTree_r (node_t *node, bspbrush_t *brushes) &node->children[1]->volume); // recursively process children - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { node->children[i] = BuildTree_r (node->children[i], children[i]); } @@ -1393,11 +1367,9 @@ The incoming list will be freed before exiting tree_t *BrushBSP (bspbrush_t *brushlist, Vector& mins, Vector& maxs) { node_t *node; - bspbrush_t *b; int c_faces, c_nonvisfaces; int c_brushes; tree_t *tree; - int i; vec_t volume; qprintf ("--- BrushBSP ---\n"); @@ -1407,17 +1379,17 @@ tree_t *BrushBSP (bspbrush_t *brushlist, Vector& mins, Vector& maxs) c_faces = 0; c_nonvisfaces = 0; c_brushes = 0; - for (b=brushlist ; b ; b=b->next) + for (bspbrush_t* b=brushlist ; b ; b=b->next) { c_brushes++; volume = BrushVolume (b); if (volume < microvolume) { - Warning("Brush %i: WARNING, microbrush\n", b->original->id); + Warning("\tBrush %i: WARNING, microbrush\n", b->original->id); } - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { if (b->sides[i].bevel) continue; diff --git a/sp/src/utils/vbsp/csg.cpp b/sp/src/utils/vbsp/csg.cpp index a8c39afbeb..18c135d009 100644 --- a/sp/src/utils/vbsp/csg.cpp +++ b/sp/src/utils/vbsp/csg.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -60,13 +60,12 @@ The originals are undisturbed. */ bspbrush_t *SubtractBrush (bspbrush_t *a, bspbrush_t *b) { // a - b = out (list) - int i; bspbrush_t *front, *back; bspbrush_t *out, *in; in = a; out = NULL; - for (i=0 ; inumsides && in ; i++) + for (int i=0 ; inumsides && in ; i++) { SplitBrush2 (in, b->sides[i].planenum, &front, &back); if (in != a) @@ -100,12 +99,11 @@ The originals are undisturbed. */ bspbrush_t *IntersectBrush (bspbrush_t *a, bspbrush_t *b) { - int i; bspbrush_t *front, *back; bspbrush_t *in; in = a; - for (i=0 ; inumsides && in ; i++) + for (int i=0 ; inumsides && in ; i++) { SplitBrush2 (in, b->sides[i].planenum, &front, &back); if (in != a) @@ -133,18 +131,16 @@ There will be false negatives for some non-axial combinations. */ qboolean BrushesDisjoint (bspbrush_t *a, bspbrush_t *b) { - int i, j; - // check bounding boxes - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) if (a->mins[i] >= b->maxs[i] || a->maxs[i] <= b->mins[i]) return true; // bounding boxes don't overlap // check for opposing planes - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { - for (j=0 ; jnumsides ; j++) + for (int j=0 ; jnumsides ; j++) { if (a->sides[i].planenum == (b->sides[j].planenum^1) ) @@ -168,11 +164,10 @@ Any planes shared with the box edge will be set to no texinfo */ bspbrush_t *ClipBrushToBox (bspbrush_t *brush, const Vector& clipmins, const Vector& clipmaxs) { - int i, j; bspbrush_t *front, *back; int p; - for (j=0 ; j<2 ; j++) + for (int j=0 ; j<2 ; j++) { if (brush->maxs[j] > clipmaxs[j]) { @@ -196,7 +191,7 @@ bspbrush_t *ClipBrushToBox (bspbrush_t *brush, const Vector& clipmins, const Vec // remove any colinear faces - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { p = brush->sides[i].planenum & ~1; if (p == maxplanenums[0] || p == maxplanenums[1] @@ -422,7 +417,7 @@ bspbrush_t *MakeBspBrushList (mapbrush_t **pBrushes, int nBrushCount, const Vect ComputeBoundingPlanes( clipmins, clipmaxs ); bspbrush_t *pBrushList = NULL; - for ( int i=0; i < nBrushCount; ++i ) + for ( int i = 0; i < nBrushCount; ++i ) { bspbrush_t *pNewBrush = CreateClippedBrush( pBrushes[i], clipmins, clipmaxs ); if ( pNewBrush ) @@ -500,7 +495,7 @@ void WriteBrushMap (char *name, bspbrush_t *list) Msg("writing %s\n", name); f = fopen (name, "w"); if (!f) - Error ("Can't write %s\b", name); + Error ("\tCan't write %s\b", name); fprintf (f, "{\n\"classname\" \"worldspawn\"\n"); @@ -539,7 +534,7 @@ void WriteBrushVMF(char *name, bspbrush_t *list) Msg("writing %s\n", name); f = fopen (name, "w"); if (!f) - Error ("Can't write %s\b", name); + Error ("\tCan't write %s\b", name); fprintf (f, "world\n{\n\"classname\" \"worldspawn\"\n"); diff --git a/sp/src/utils/vbsp/csg.h b/sp/src/utils/vbsp/csg.h index 158dcf439c..22ab61a994 100644 --- a/sp/src/utils/vbsp/csg.h +++ b/sp/src/utils/vbsp/csg.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/cubemap.cpp b/sp/src/utils/vbsp/cubemap.cpp index 091253ec9f..e9ef5e1713 100644 --- a/sp/src/utils/vbsp/cubemap.cpp +++ b/sp/src/utils/vbsp/cubemap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -20,6 +20,11 @@ #include "materialsystem/imaterialvar.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + + /* Meager documentation for how the cubemaps are assigned. @@ -164,7 +169,7 @@ static const char *FindDependentMaterial( const char *pMaterialName, const char if ( !Q_stricmp( pDependentMaterialName, pMaterialName ) ) { - Warning( "Material %s is depending on itself through materialvar %s! Ignoring...\n", pMaterialName, s_pDependentMaterialVar[i] ); + Warning("\tMaterial %s is depending on itself through materialvar %s! Ignoring...\n", pMaterialName, s_pDependentMaterialVar[i] ); continue; } @@ -199,8 +204,8 @@ static bool LoadSrcVTFFiles( IVTFTexture *pSrcVTFTextures[6], const char *pSkybo int *pUnionTextureFlags, bool bHDR ) { const char *facingName[6] = { "rt", "lf", "bk", "ft", "up", "dn" }; - int i; - for( i = 0; i < 6; i++ ) + + for(int i = 0; i < 6; i++ ) { char srcMaterialName[1024]; sprintf( srcMaterialName, "%s%s", pSkyboxMaterialBaseName, facingName[i] ); @@ -240,7 +245,7 @@ static bool LoadSrcVTFFiles( IVTFTexture *pSrcVTFTextures[6], const char *pSkybo pSrcVTFTextures[i] = CreateVTFTexture(); if (!pSrcVTFTextures[i]->Unserialize(buf)) { - Warning("*** Error unserializing skybox texture: %s\n", pSkyboxMaterialBaseName ); + Warning("\t*** Error unserializing skybox texture: %s\n", pSkyboxMaterialBaseName ); return false; } @@ -253,7 +258,7 @@ static bool LoadSrcVTFFiles( IVTFTexture *pSrcVTFTextures[6], const char *pSkybo ( ( pSrcVTFTextures[i]->Height() != pSrcVTFTextures[0]->Height() ) && ( pSrcVTFTextures[i]->Height() != pSrcVTFTextures[0]->Height()*2 ) && ( pSrcVTFTextures[i]->Height() != 4 ) ) || ( flagsNoAlpha != flagsFirstNoAlpha ) ) { - Warning("*** Error: Skybox vtf files for %s weren't compiled with the same size texture and/or same flags!\n", pSkyboxMaterialBaseName ); + Warning("\t*** Error: Skybox vtf files for %s weren't compiled with the same size texture and/or same flags!\n", pSkyboxMaterialBaseName ); return false; } @@ -305,7 +310,7 @@ void CreateDefaultCubemaps( bool bHDR ) { if( s_DefaultCubemapNames.Count() ) { - Warning( "This map uses env_cubemap, and you don't have a skybox, so no default env_cubemaps will be generated.\n" ); + Warning("\tThis map uses env_cubemap, and you don't have a skybox, so no default env_cubemaps will be generated.\n" ); } return; } @@ -318,7 +323,7 @@ void CreateDefaultCubemaps( bool bHDR ) int unionTextureFlags = 0; if( !LoadSrcVTFFiles( pSrcVTFTextures, skyboxMaterialName, &unionTextureFlags, bHDR ) ) { - Warning( "Can't load skybox file %s to build the default cubemap!\n", skyboxMaterialName ); + Warning("\tCan't load skybox file %s to build the default cubemap!\n", skyboxMaterialName ); return; } Msg( "Creating default %scubemaps for env_cubemap using skybox materials:\n %s*.vmt\n" @@ -383,7 +388,7 @@ void CreateDefaultCubemaps( bool bHDR ) { if ( iSrcMipSize != iSize ) { - Warning( "%s - ERROR! Cannot copy square face for default cubemap! iSrcMipSize(%d) != iSize(%d)\n", skyboxMaterialName, iSrcMipSize, iSize ); + Warning("\t%s - ERROR! Cannot copy square face for default cubemap! iSrcMipSize(%d) != iSize(%d)\n", skyboxMaterialName, iSrcMipSize, iSize ); memset( pDstBits, 0, iSize ); } else @@ -398,7 +403,7 @@ void CreateDefaultCubemaps( bool bHDR ) pDstCubemap->ComputeMipLevelDimensions( iMip, &iMipWidth, &iMipHeight, &iMipDepth ); if ( ( iMipHeight > 1 ) && ( iSrcMipSize*2 != iSize ) ) { - Warning( "%s - ERROR building default cube map! %d*2 != %d\n", skyboxMaterialName, iSrcMipSize, iSize ); + Warning("\t%s - ERROR building default cube map! %d*2 != %d\n", skyboxMaterialName, iSrcMipSize, iSize ); memset( pDstBits, 0, iSize ); } else @@ -410,7 +415,7 @@ void CreateDefaultCubemaps( bool bHDR ) int nDstRowSize = pDstCubemap->RowSizeInBytes( iMip ); if ( nSrcRowSize != nDstRowSize ) { - Warning( "%s - ERROR building default cube map! nSrcRowSize(%d) != nDstRowSize(%d)!\n", skyboxMaterialName, nSrcRowSize, nDstRowSize ); + Warning("\t%s - ERROR building default cube map! nSrcRowSize(%d) != nDstRowSize(%d)!\n", skyboxMaterialName, nSrcRowSize, nDstRowSize ); memset( pDstBits, 0, iSize ); } else @@ -425,7 +430,7 @@ void CreateDefaultCubemaps( bool bHDR ) else { // ERROR! This code only supports square and rectangluar 2x wide - Warning( "%s - Couldn't create default cubemap because texture res is %dx%d\n", skyboxMaterialName, pSrcVTFTextures[iFace]->Width(), pSrcVTFTextures[iFace]->Height() ); + Warning("\t%s - Couldn't create default cubemap because texture res is %dx%d\n", skyboxMaterialName, pSrcVTFTextures[iFace]->Width(), pSrcVTFTextures[iFace]->Height() ); memset( pDstBits, 0, iSize ); return; } @@ -474,7 +479,7 @@ void CreateDefaultCubemaps( bool bHDR ) CUtlBuffer outputBuf; if (!pDstCubemap->Serialize( outputBuf )) { - Warning( "Error serializing default cubemap %s\n", dstVTFFileName ); + Warning("\tError serializing default cubemap %s\n", dstVTFFileName ); return; } @@ -484,8 +489,7 @@ void CreateDefaultCubemaps( bool bHDR ) AddBufferToPak( pak, dstVTFFileName, outputBuf.Base(), outputBuf.TellPut(), false ); // spit out all of the ones that are attached to world geometry. - int i; - for( i = 0; i < s_DefaultCubemapNames.Count(); i++ ) + for(int i = 0; i < s_DefaultCubemapNames.Count(); i++ ) { char vtfName[MAX_PATH]; VTFNameToHDRVTFName( s_DefaultCubemapNames[i], vtfName, MAX_PATH, bHDR ); @@ -497,7 +501,7 @@ void CreateDefaultCubemaps( bool bHDR ) } // Clean up the textures - for( i = 0; i < 6; i++ ) + for(int i = 0; i < 6; i++ ) { DestroyVTFTexture( pSrcVTFTextures[i] ); } @@ -547,7 +551,7 @@ static void GeneratePatchedName( const char *pMaterialName, const PatchInfo_t &i Assert( nLen < TEXTURE_NAME_LENGTH - 1 ); if ( nLen >= TEXTURE_NAME_LENGTH - 1 ) { - Error( "Generated env_cubemap patch name : %s too long! (max = %d)\n", pBuffer, TEXTURE_NAME_LENGTH ); + Error("\tGenerated env_cubemap patch name : %s too long! (max = %d)\n", pBuffer, TEXTURE_NAME_LENGTH ); } } @@ -689,7 +693,7 @@ static int Cubemap_CreateTexInfo( int originalTexInfo, int origin[3] ) const char *pMaterialName = TexDataStringTable_GetString( pTexData->nameStringTableID ); if ( g_IsCubemapTexData[pTexInfo->texdata] ) { - Warning("Multiple references for cubemap on texture %s!!!\n", pMaterialName ); + Warning("\tMultiple references for cubemap on texture %s!!!\n", pMaterialName ); return originalTexInfo; } @@ -777,8 +781,7 @@ static int Cubemap_CreateTexInfo( int originalTexInfo, int origin[3] ) static int SideIDToIndex( int brushSideID ) { - int i; - for( i = 0; i < g_MainMap->nummapbrushsides; i++ ) + for(int i = 0; i < g_MainMap->nummapbrushsides; i++ ) { if( g_MainMap->brushsides[i].id == brushSideID ) { @@ -795,21 +798,20 @@ static int SideIDToIndex( int brushSideID ) //----------------------------------------------------------------------------- void Cubemap_FixupBrushSidesMaterials( void ) { - Msg( "fixing up env_cubemap materials on brush sides...\n" ); + Msg( "Fixing up env_cubemap materials on brush sides..." ); Assert( s_EnvCubemapToBrushSides.Count() == g_nCubemapSamples ); - int cubemapID; - for( cubemapID = 0; cubemapID < g_nCubemapSamples; cubemapID++ ) + for(int cubemapID = 0; cubemapID < g_nCubemapSamples; cubemapID++ ) { IntVector_t &brushSidesVector = s_EnvCubemapToBrushSides[cubemapID]; - int i; - for( i = 0; i < brushSidesVector.Count(); i++ ) + + for(int i = 0; i < brushSidesVector.Count(); i++ ) { int brushSideID = brushSidesVector[i]; int sideIndex = SideIDToIndex( brushSideID ); if( sideIndex < 0 ) { - Warning("env_cubemap pointing at deleted brushside near (%d, %d, %d)\n", + Warning("\tenv_cubemap pointing at deleted brushside near (%d, %d, %d)\n", g_CubemapSamples[cubemapID].origin[0], g_CubemapSamples[cubemapID].origin[1], g_CubemapSamples[cubemapID].origin[2] ); continue; @@ -835,6 +837,12 @@ void Cubemap_FixupBrushSidesMaterials( void ) } } } + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("done(0)\n"); +#endif } @@ -1008,13 +1016,13 @@ void Cubemap_AttachDefaultCubemapToSpecularSides( void ) // build a mapping from side to entity id so that we can get the entity origin CUtlVector sideToEntityIndex; sideToEntityIndex.SetCount(g_MainMap->nummapbrushsides); - int i; - for ( i = 0; i < g_MainMap->nummapbrushsides; i++ ) + + for (int i = 0; i < g_MainMap->nummapbrushsides; i++ ) { sideToEntityIndex[i] = -1; } - for ( i = 0; i < g_MainMap->nummapbrushes; i++ ) + for (int i = 0; i < g_MainMap->nummapbrushes; i++ ) { int entityIndex = g_MainMap->mapbrushes[i].entitynum; for ( int j = 0; j < g_MainMap->mapbrushes[i].numsides; j++ ) @@ -1059,13 +1067,13 @@ void Cubemap_AttachDefaultCubemapToSpecularSides( void ) // Populate with cubemaps that were skipped void Cubemap_AddUnreferencedCubemaps() { + int j; char pTextureName[1024]; char pFileName[1024]; PatchInfo_t info; dcubemapsample_t *pSample; - int i,j; - for ( i=0; i +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + + face_t *NewFaceFromFace (face_t *f); face_t *ComputeVisibleBrushSides( bspbrush_t *list ); @@ -203,7 +208,7 @@ void TryMergeFaceList( face_t **pFaceList ) // go ahead and delete the old split/merged faces if ( pFaces->merged || pFaces->split[0] || pFaces->split[1] ) { - Error("Split face in merge list!"); + Error("\tSplit face in merge list!"); } else { @@ -241,7 +246,15 @@ void TryMergeFaceList( face_t **pFaceList ) if ( merged ) { - Msg("\nMerged %d detail faces...", merged ); +#ifdef MAPBASE + #ifdef _WIN32 + Msg("\nMerged \033[1;35m[%d]\033[0m detail faces... \033[32m done(0)\033[0m\n", merged ); + #else + Msg("Merged %d detail faces... done(0)\n", merged ); + #endif +#else + Msg("\nMerged %d detail faces... done(0)\n", merged ); +#endif } delete[] pPlaneList; @@ -287,7 +300,12 @@ face_t *MergeDetailTree( tree_t *worldtree, int brush_start, int brush_end ) if (!nocsg) detailbrushes = ChopBrushes (detailbrushes); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif + // Now mark the visible sides so we can eliminate all detail brush sides // that are covered by other detail brush sides // NOTE: This still leaves detail brush sides that are covered by the world. (these are removed in the merge operation) @@ -295,7 +313,12 @@ face_t *MergeDetailTree( tree_t *worldtree, int brush_start, int brush_end ) pFaces = ComputeVisibleBrushSides( detailbrushes ); TryMergeFaceList( &pFaces ); SubdivideFaceList( &pFaces ); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif start = Plat_FloatTime(); Msg("Merging details..."); @@ -307,7 +330,11 @@ face_t *MergeDetailTree( tree_t *worldtree, int brush_start, int brush_end ) FreeFaceList( pFaces ); FreeBrushList(detailbrushes); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif } return pLeafFaceList; @@ -497,7 +524,7 @@ side_t *FindOriginalSide( mapbrush_t *mb, side_t *pBspSide ) if ( !bestside ) { - Error( "Bad detail brush side\n" ); + Error("\tBad detail brush side\n" ); } return bestside; } diff --git a/sp/src/utils/vbsp/detail.h b/sp/src/utils/vbsp/detail.h index 64f02b3366..4d753cc31f 100644 --- a/sp/src/utils/vbsp/detail.h +++ b/sp/src/utils/vbsp/detail.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/detailobjects.cpp b/sp/src/utils/vbsp/detailobjects.cpp index e7475d944a..1b13522586 100644 --- a/sp/src/utils/vbsp/detailobjects.cpp +++ b/sp/src/utils/vbsp/detailobjects.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Places "detail" objects which are client-only renderable things // @@ -170,7 +170,7 @@ static void ParseDetailGroup( int detailId, KeyValues* pGroupKeyValues ) int nValid = sscanf( pSpriteData, "%f %f %f %f %f", &x, &y, &flWidth, &flHeight, &flTextureSize ); if ( (nValid != 5) || (flTextureSize == 0) ) { - Error( "Invalid arguments to \"sprite\" in detail.vbsp (model %s)!\n", model.m_ModelName.String() ); + Error("\tInvalid arguments to \"sprite\" in detail.vbsp (model %s)!\n", model.m_ModelName.String() ); } model.m_Tex[0].x = ( x + 0.5f ) / flTextureSize; @@ -254,8 +254,7 @@ static void ParseDetailGroup( int detailId, KeyValues* pGroupKeyValues ) static void ParseDetailObjectFile( KeyValues& keyValues ) { // Iterate over all detail object groups... - KeyValues* pIter; - for( pIter = keyValues.GetFirstSubKey(); pIter; pIter = pIter->GetNextKey() ) + for(KeyValues* pIter = keyValues.GetFirstSubKey(); pIter; pIter = pIter->GetNextKey() ) { if (!pIter->GetFirstSubKey()) continue; @@ -445,7 +444,7 @@ static bool IsModelValid( const char* pModelName ) lookup.m_IsValid = LoadStudioModel( pModelName, "detail_prop", buf ); if (!lookup.m_IsValid) { - Warning("Error loading studio model \"%s\"!\n", pModelName ); + Warning("\tError loading studio model \"%s\"!\n", pModelName ); } s_StaticPropLookup.Insert( lookup ); @@ -500,9 +499,9 @@ static void AddDetailSpriteToLump( const Vector &vecOrigin, const QAngle &vecAng // Insert an element into the object dictionary if it aint there... int i = s_DetailObjectLump.AddToTail( ); - if (i >= 65535) + if (i >= MAX_MAP_DETAIL_PROPS) { - Error( "Error! Too many detail props emitted on this map! (64K max!)n" ); + Error("\tError! Too many detail props emitted on this map! (64K max!)n" ); } DetailObjectLump_t& objectLump = s_DetailObjectLump[i]; @@ -834,7 +833,11 @@ static void SetLumpData( ) //----------------------------------------------------------------------------- void EmitDetailModels() { +#ifdef MAPBASE + StartPacifier("Placing detail props -> "); +#else StartPacifier("Placing detail props : "); +#endif // MAPBASE // Place stuff on each face dface_t* pFace = dfaces; @@ -865,7 +868,7 @@ void EmitDetailModels() int objectType = s_DetailObjectDict.Find(search); if (objectType < 0) { - Warning("Material %s uses unknown detail object type %s!\n", + Warning("\tMaterial %s uses unknown detail object type %s!\n", TexDataStringTable_GetString( pTexData->nameStringTableID ), pDetailType); continue; @@ -877,7 +880,7 @@ void EmitDetailModels() // Initialize the Random Number generators for detail prop placement based on the hammer Face num. int detailpropseed = dfaceids[j].hammerfaceid; #ifdef WARNSEEDNUMBER - Warning( "[%d]\n",detailpropseed ); + Warning("\t[%d]\n",detailpropseed ); #endif srand( detailpropseed ); RandomSeed( detailpropseed ); @@ -961,6 +964,6 @@ void EmitDetailObjects() if ( s_nDetailOverflow != 0 ) { - Warning( "Error! Too many detail props on this map. %d were not emitted!\n", s_nDetailOverflow ); + Warning("\tError! Too many detail props on this map. %d were not emitted!\n", s_nDetailOverflow ); } } diff --git a/sp/src/utils/vbsp/disp_ivp.cpp b/sp/src/utils/vbsp/disp_ivp.cpp index 1ed165184a..11272d9bfe 100644 --- a/sp/src/utils/vbsp/disp_ivp.cpp +++ b/sp/src/utils/vbsp/disp_ivp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -300,12 +300,12 @@ void Disp_BuildVirtualMesh( int contentsMask ) Vector v2 = pDispInfo->GetVert( indices[index+2] ); if ( v0 == v1 || v1 == v2 || v2 == v0 ) { - Warning( "Displacement %d has bad geometry near %.2f %.2f %.2f\n", i, v0.x, v0.y, v0.z ); + Warning("\tDisplacement %d has bad geometry near %.2f %.2f %.2f\n", i, v0.x, v0.y, v0.z ); texinfo_t *pTexInfo = &texinfo[pMapDisp->face.texinfo]; dtexdata_t *pTexData = GetTexData( pTexInfo->texdata ); const char *pMatName = TexDataStringTable_GetString( pTexData->nameStringTableID ); - Error( "Can't compile displacement physics, exiting. Texture is %s\n", pMatName ); + Error("\tCan't compile displacement physics, exiting. Texture is %s\n", pMatName ); } } diff --git a/sp/src/utils/vbsp/disp_ivp.h b/sp/src/utils/vbsp/disp_ivp.h index c89daceb71..fa87d62d37 100644 --- a/sp/src/utils/vbsp/disp_ivp.h +++ b/sp/src/utils/vbsp/disp_ivp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/disp_vbsp.cpp b/sp/src/utils/vbsp/disp_vbsp.cpp index f368859543..5545e558cf 100644 --- a/sp/src/utils/vbsp/disp_vbsp.cpp +++ b/sp/src/utils/vbsp/disp_vbsp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -17,6 +17,10 @@ #include "builddisp.h" #include "mathlib/vector.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + // map displacement info -- runs parallel to the dispinfos struct int nummapdispinfo = 0; mapdispinfo_t mapdispinfo[MAX_MAP_DISPINFO]; @@ -174,7 +178,7 @@ void DispMapToCoreDispInfo( mapdispinfo_t *pMapDisp, CCoreDispInfo *pCoreDispInf Assert( pFace->numedges == 4 ); Vector pt[4]; - for( int i=0; i < 4; i++ ) + for( int i = 0; i < 4; i++ ) pt[i] = pWinding->p[i]; int zeroOffset[2] = {0,0}; @@ -281,7 +285,6 @@ void DispMapToCoreDispInfo( mapdispinfo_t *pMapDisp, CCoreDispInfo *pCoreDispInf //----------------------------------------------------------------------------- void EmitInitialDispInfos( void ) { - int i; mapdispinfo_t *pMapDisp; ddispinfo_t *pDisp; Vector v; @@ -289,7 +292,8 @@ void EmitInitialDispInfos( void ) // Calculate the total number of verts. int nTotalVerts = 0; int nTotalTris = 0; - for ( i=0; i < nummapdispinfo; i++ ) + + for (int i = 0; i < nummapdispinfo; i++ ) { nTotalVerts += NUM_DISP_POWER_VERTS( mapdispinfo[i].power ); nTotalTris += NUM_DISP_POWER_TRIS( mapdispinfo[i].power ); @@ -303,7 +307,7 @@ void EmitInitialDispInfos( void ) int iCurVert = 0; int iCurTri = 0; - for( i = 0; i < nummapdispinfo; i++ ) + for(int i = 0; i < nummapdispinfo; i++ ) { pDisp = &g_dispinfo[i]; pMapDisp = &mapdispinfo[i]; @@ -367,7 +371,7 @@ void EmitInitialDispInfos( void ) void ExportCoreDispNeighborData( const CCoreDispInfo *pIn, ddispinfo_t *pOut ) { - for ( int i=0; i < 4; i++ ) + for ( int i = 0; i < 4; i++ ) { pOut->m_EdgeNeighbors[i] = *pIn->GetEdgeNeighbor( i ); pOut->m_CornerNeighbors[i] = *pIn->GetCornerNeighbors( i ); @@ -379,7 +383,7 @@ void ExportNeighborData( CCoreDispInfo **ppListBase, ddispinfo_t *pBSPDispInfos, FindNeighboringDispSurfs( ppListBase, listSize ); // Export the neighbor data. - for ( int i=0; i < nummapdispinfo; i++ ) + for ( int i = 0; i < nummapdispinfo; i++ ) { ExportCoreDispNeighborData( g_CoreDispInfos[i], &pBSPDispInfos[i] ); } @@ -392,7 +396,7 @@ void ExportCoreDispAllowedVertList( const CCoreDispInfo *pIn, ddispinfo_t *pOut pIn->GetAllowedVerts().GetNumDWords() == sizeof( pOut->m_AllowedVerts ) / 4, ("ExportCoreDispAllowedVertList: size mismatch") ); - for ( int i=0; i < pIn->GetAllowedVerts().GetNumDWords(); i++ ) + for ( int i = 0; i < pIn->GetAllowedVerts().GetNumDWords(); i++ ) pOut->m_AllowedVerts[i] = pIn->GetAllowedVerts().GetDWord( i ); } @@ -401,7 +405,7 @@ void ExportAllowedVertLists( CCoreDispInfo **ppListBase, ddispinfo_t *pBSPDispIn { SetupAllowedVerts( ppListBase, listSize ); - for ( int i=0; i < listSize; i++ ) + for ( int i = 0; i < listSize; i++ ) { ExportCoreDispAllowedVertList( ppListBase[i], &pBSPDispInfos[i] ); } @@ -414,7 +418,7 @@ bool FindEnclosingTri( int *pStartVert, float bcCoords[3] ) { - for ( int i=0; i < indices.Count(); i += 3 ) + for ( int i = 0; i < indices.Count(); i += 3 ) { GetBarycentricCoords2D( vertCoords[indices[i+0]], @@ -450,7 +454,7 @@ void SnapRemainingVertsToSurface( CCoreDispInfo *pCoreDisp, ddispinfo_t *pDispIn vertsTouched.SetSize( pCoreDisp->GetSize() ); memset( vertsTouched.Base(), 0, sizeof( bool ) * vertsTouched.Count() ); - for ( int i=0; i < indices.Count(); i++ ) + for ( int i = 0; i < indices.Count(); i++ ) vertsTouched[ indices[i] ] = true; // Generate 2D floating point coordinates for each vertex. We use these to generate @@ -510,7 +514,7 @@ void SnapRemainingVertsToSurface( CCoreDispInfo *pCoreDisp, ddispinfo_t *pDispIn void SnapRemainingVertsToSurface( CCoreDispInfo **ppListBase, ddispinfo_t *pBSPDispInfos, int listSize ) { //g_pPad = ScratchPad3D_Create(); - for ( int i=0; i < listSize; i++ ) + for ( int i = 0; i < listSize; i++ ) { SnapRemainingVertsToSurface( ppListBase[i], &pBSPDispInfos[i] ); } @@ -518,9 +522,12 @@ void SnapRemainingVertsToSurface( CCoreDispInfo **ppListBase, ddispinfo_t *pBSPD void EmitDispLMAlphaAndNeighbors() { - int i; - - Msg( "Finding displacement neighbors...\n" ); +#ifdef MAPBASE + Msg("Finding displacement neighbors... "); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("Finding displacement neighbors...\n"); +#endif // Build the CCoreDispInfos. CUtlVector faces; @@ -540,7 +547,7 @@ void EmitDispLMAlphaAndNeighbors() g_CoreDispInfos[nIndex] = pDisp; } - for ( i=0; i < nummapdispinfo; i++ ) + for (int i = 0; i < nummapdispinfo; i++ ) { g_CoreDispInfos[i]->SetDispUtilsHelperInfo( g_CoreDispInfos.Base(), nummapdispinfo ); } @@ -550,7 +557,7 @@ void EmitDispLMAlphaAndNeighbors() int nMemSize = texinfo.Count() * sizeof(int); int *pSwappedTexInfos = (int*)stackalloc( nMemSize ); memset( pSwappedTexInfos, 0xFF, nMemSize ); - for( i = 0; i < numfaces; i++ ) + for(int i = 0; i < numfaces; i++ ) { dface_t *pFace = &dfaces[i]; @@ -583,8 +590,14 @@ void EmitDispLMAlphaAndNeighbors() // overlay code works right. SnapRemainingVertsToSurface( g_CoreDispInfos.Base(), g_dispinfo.Base(), nummapdispinfo ); - Msg( "Finding lightmap sample positions...\n" ); - for ( i=0; i < nummapdispinfo; i++ ) +#ifdef MAPBASE + Msg("Finding lightmap sample positions... "); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("Finding lightmap sample positions...\n"); +#endif + + for (int i = 0; i < nummapdispinfo; i++ ) { dface_t *pFace = faces[i]; ddispinfo_t *pDisp = &g_dispinfo[pFace->dispinfo]; @@ -595,11 +608,11 @@ void EmitDispLMAlphaAndNeighbors() CalculateLightmapSamplePositions( pCoreDispInfo, pFace, g_DispLightmapSamplePositions ); } - StartPacifier( "Displacement Alpha : "); + StartPacifier( "Displacement Alpha -> "); // Build lightmap alphas. int dispCount = 0; // How many we've processed. - for( i = 0; i < nummapdispinfo; i++ ) + for(int i = 0; i < nummapdispinfo; i++ ) { dface_t *pFace = faces[i]; @@ -627,7 +640,7 @@ void DispGetFaceInfo( mapbrush_t *pBrush ) if( pBrush->entitynum != 0 ) { char* pszEntityName = ValueForKey( &g_LoadingMap->entities[pBrush->entitynum], "classname" ); - Error( "Error: displacement found on a(n) %s entity - not supported (entity %d, brush %d)\n", pszEntityName, pBrush->entitynum, pBrush->brushnum ); + Error("\tError: displacement found on a(n) %s entity - not supported (entity %d, brush %d)\n", pszEntityName, pBrush->entitynum, pBrush->brushnum ); } for( i = 0; i < pBrush->numsides; i++ ) @@ -637,7 +650,7 @@ void DispGetFaceInfo( mapbrush_t *pBrush ) { // error checking!! if( pSide->winding->numpoints != 4 ) - Error( "Trying to create a non-quad displacement! (entity %d, brush %d)\n", pBrush->entitynum, pBrush->brushnum ); + Error("\tTrying to create a non-quad displacement! (entity %d, brush %d)\n", pBrush->entitynum, pBrush->brushnum ); pSide->pMapDisp->face.originalface = pSide; pSide->pMapDisp->face.texinfo = pSide->texinfo; pSide->pMapDisp->face.dispinfo = -1; diff --git a/sp/src/utils/vbsp/disp_vbsp.h b/sp/src/utils/vbsp/disp_vbsp.h index 5af77601b5..364f52a8e0 100644 --- a/sp/src/utils/vbsp/disp_vbsp.h +++ b/sp/src/utils/vbsp/disp_vbsp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/faces.cpp b/sp/src/utils/vbsp/faces.cpp index f6ec3ee311..0ffc0e280d 100644 --- a/sp/src/utils/vbsp/faces.cpp +++ b/sp/src/utils/vbsp/faces.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -96,7 +96,7 @@ unsigned HashVec (Vector& vec) y = (MAX_COORD_INTEGER + (int)(vec[1]+0.5)) >> HASH_BITS; if ( x < 0 || x >= HASH_SIZE || y < 0 || y >= HASH_SIZE ) - Error ("HashVec: point outside valid range"); + Error ("\tHashVec: point outside valid range"); return y*HASH_SIZE + x; } @@ -112,13 +112,12 @@ Uses hashing int GetVertexnum (Vector& in) { int h; - int i; Vector vert; int vnum; c_totalverts++; - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { if ( fabs(in[i] - (int)(in[i]+0.5)) < INTEGRAL_EPSILON) vert[i] = (int)(in[i]+0.5); @@ -139,7 +138,7 @@ int GetVertexnum (Vector& in) // emit a vertex if (numvertexes == MAX_MAP_VERTS) - Error ("Too many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); + Error ("\tToo many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); dvertexes[numvertexes].point[0] = vert[0]; dvertexes[numvertexes].point[1] = vert[1]; @@ -176,7 +175,7 @@ int GetVertexnum (Vector& v) if ( fabs(v[i] - (int)(v[i]+0.5)) < INTEGRAL_EPSILON ) v[i] = (int)(v[i]+0.5); if (v[i] < MIN_COORD_INTEGER || v[i] > MAX_COORD_INTEGER) - Error ("GetVertexnum: outside world, vertex %.1f %.1f %.1f", v.x, v.y, v.z); + Error ("\tGetVertexnum: outside world, vertex %.1f %.1f %.1f", v.x, v.y, v.z); } // search for an existing vertex match @@ -194,7 +193,7 @@ int GetVertexnum (Vector& v) // new point if (numvertexes == MAX_MAP_VERTS) - Error ("Too many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); + Error ("\tToo many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); VectorCopy (v, dv->point); numvertexes++; c_uniqueverts++; @@ -223,7 +222,6 @@ void FaceFromSuperverts (face_t **pListHead, face_t *f, int base) { face_t *newf; int remaining; - int i; remaining = numsuperverts; while (remaining > MAXEDGES) @@ -237,7 +235,7 @@ void FaceFromSuperverts (face_t **pListHead, face_t *f, int base) *pListHead = newf; newf->numpoints = MAXEDGES; - for (i=0 ; ivertexnums[i] = superverts[(i+base)%numsuperverts]; f->split[1] = NewFaceFromFace (f); @@ -252,7 +250,7 @@ void FaceFromSuperverts (face_t **pListHead, face_t *f, int base) // copy the vertexes back to the face f->numpoints = remaining; - for (i=0 ; ivertexnums[i] = superverts[(i+base)%numsuperverts]; } @@ -265,18 +263,17 @@ EmitFaceVertexes void EmitFaceVertexes (face_t **pListHead, face_t *f) { winding_t *w; - int i; if (f->merged || f->split[0] || f->split[1]) return; w = f->w; - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { if (noweld) { // make every point unique if (numvertexes == MAX_MAP_VERTS) - Error ("Too many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); + Error ("\tToo many unique verts, max = %d (map has too much brush geometry)\n", MAX_MAP_VERTS); superverts[i] = numvertexes; VectorCopy (w->p[i], dvertexes[numvertexes].point); numvertexes++; @@ -299,21 +296,18 @@ EmitNodeFaceVertexes_r */ void EmitNodeFaceVertexes_r (node_t *node) { - int i; - face_t *f; - if (node->planenum == PLANENUM_LEAF) { // leaf faces are emitted in second pass return; } - for (f=node->faces ; f ; f=f->next) + for (face_t* f=node->faces ; f ; f=f->next) { EmitFaceVertexes (&node->faces, f); } - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { EmitNodeFaceVertexes_r (node->children[i]); } @@ -425,7 +419,7 @@ Can be recursively reentered */ void TestEdge (vec_t start, vec_t end, int p1, int p2, int startvert) { - int j, k; + int j; vec_t dist; Vector delta; Vector exact; @@ -439,7 +433,7 @@ void TestEdge (vec_t start, vec_t end, int p1, int p2, int startvert) return; // degenerate edge } - for (k=startvert ; k= MAX_SUPERVERTS) - Error ("Edge with too many vertices due to t-junctions. Max %d verts along an edge!\n", MAX_SUPERVERTS); + Error ("\tEdge with too many vertices due to t-junctions. Max %d verts along an edge!\n", MAX_SUPERVERTS); superverts[numsuperverts] = p1; numsuperverts++; } @@ -685,7 +679,7 @@ void FixFaceEdges (face_t **pList, face_t *f) g_numprimindices += newPrim.indexCount; if ( g_numprimitives > MAX_MAP_PRIMITIVES || g_numprimindices > MAX_MAP_PRIMINDICES ) { - Error("Too many t-junctions to fix up! (%d prims, max %d :: %d indices, max %d)\n", g_numprimitives, MAX_MAP_PRIMITIVES, g_numprimindices, MAX_MAP_PRIMINDICES ); + Error("\tToo many t-junctions to fix up! (%d prims, max %d :: %d indices, max %d)\n", g_numprimitives, MAX_MAP_PRIMITIVES, g_numprimindices, MAX_MAP_PRIMINDICES ); } for ( i = 0; i < outIndices.Count(); i++ ) { @@ -701,18 +695,15 @@ FixEdges_r */ void FixEdges_r (node_t *node) { - int i; - face_t *f; - if (node->planenum == PLANENUM_LEAF) { return; } - for (f=node->faces ; f ; f=f->next) + for (face_t* f=node->faces ; f ; f=f->next) FixFaceEdges (&node->faces, f); - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) FixEdges_r (node->children[i]); } @@ -722,12 +713,8 @@ void FixEdges_r (node_t *node) //----------------------------------------------------------------------------- void FixLeafFaceEdges( face_t **ppLeafFaceList ) { - face_t *f; - - for ( f = *ppLeafFaceList; f; f = f->next ) - { + for (face_t* f = *ppLeafFaceList; f; f = f->next ) FixFaceEdges( ppLeafFaceList, f ); - } } /* @@ -841,14 +828,14 @@ void FreeFaceList( face_t *pFaces ) void GetEdge2_InitOptimizedList() { - for( int i=0; i < MAX_MAP_VERTS; i++ ) + for( int i = 0; i < MAX_MAP_VERTS; i++ ) g_VertEdgeList[i].RemoveAll(); } void IntSort( CUtlVector &theList ) { - for( int i=0; i < theList.Size()-1; i++ ) + for( int i = 0; i < theList.Size()-1; i++ ) { if( theList[i] > theList[i+1] ) { @@ -867,7 +854,7 @@ void IntSort( CUtlVector &theList ) int AddEdge( int v1, int v2, face_t *f ) { if (numedges >= MAX_MAP_EDGES) - Error ("Too many edges in map, max == %d", MAX_MAP_EDGES); + Error ("\tToo many edges in map, max == %d", MAX_MAP_EDGES); g_VertEdgeList[v1].AddToTail( numedges ); g_VertEdgeList[v2].AddToTail( numedges ); @@ -902,7 +889,7 @@ int GetEdge2 (int v1, int v2, face_t *f) { // Check all edges connected to v1. CUtlVector &theList = g_VertEdgeList[v1]; - for( int i=0; i < theList.Size(); i++ ) + for( int i = 0; i < theList.Size(); i++ ) { int iEdge = theList[i]; edge = &dedges[iEdge]; @@ -1124,17 +1111,16 @@ MergeFaceList */ void MergeFaceList(face_t **pList) { - face_t *f1, *f2, *end; - face_t *merged; + face_t *merged,*end; plane_t *plane; merged = NULL; - for (f1 = *pList; f1 ; f1 = f1->next) + for (face_t* f1 = *pList; f1 ; f1 = f1->next) { if (f1->merged || f1->split[0] || f1->split[1]) continue; - for (f2 = *pList; f2 != f1 ; f2=f2->next) + for (face_t* f2 = *pList; f2 != f1 ; f2=f2->next) { if (f2->merged || f2->split[0] || f2->split[1]) continue; @@ -1205,7 +1191,7 @@ void SubdivideFace (face_t **pFaceList, face_t *f) } #if 0 if (maxs - mins <= 0) - Error ("zero extents"); + Error ("\tzero extents"); #endif if (maxs - mins <= g_maxLightmapDimension) break; @@ -1219,7 +1205,7 @@ void SubdivideFace (face_t **pFaceList, face_t *f) ClipWindingEpsilon (w, temp, dist, ON_EPSILON, &frontw, &backw); if (!frontw || !backw) - Error ("SubdivideFace: didn't split the polygon"); + Error ("\tSubdivideFace: didn't split the polygon"); f->split[0] = NewFaceFromFace (f); f->split[0]->w = frontw; @@ -1265,7 +1251,7 @@ static bool AssignBottomWaterMaterialToFace( face_t *f ) { if( !Q_stristr( pMaterialName, "nodraw" ) && !Q_stristr( pMaterialName, "toolsskip" ) ) { - Warning("error: material %s doesn't have a $bottommaterial\n", pMaterialName ); + Warning("\terror: material %s doesn't have a $bottommaterial\n", pMaterialName ); } return false; } @@ -1273,10 +1259,10 @@ static bool AssignBottomWaterMaterialToFace( face_t *f ) //Assert( mapplanes[f->planenum].normal.z < 0 ); texinfo_t newTexInfo; newTexInfo.flags = pTexInfo->flags; - int j, k; - for (j=0 ; j<2 ; j++) + + for (int j=0 ; j<2 ; j++) { - for (k=0 ; k<4 ; k++) + for (int k=0 ; k<4 ; k++) { newTexInfo.textureVecsTexelsPerWorldUnits[j][k] = pTexInfo->textureVecsTexelsPerWorldUnits[j][k]; newTexInfo.lightmapVecsLuxelsPerWorldUnits[j][k] = pTexInfo->lightmapVecsLuxelsPerWorldUnits[j][k]; @@ -1455,9 +1441,8 @@ typedef winding_t *pwinding_t; static void PrintWinding( winding_t *w ) { - int i; Msg( "\t---\n" ); - for( i = 0; i < w->numpoints; i++ ) + for(int i = 0; i < w->numpoints; i++ ) { Msg( "\t%f %f %f\n", w->p[i].x, w->p[i].y, w->p[i].z ); } @@ -1494,7 +1479,7 @@ int AddWindingToPrimverts( const winding_t *w, unsigned short *pIndices, int ver g_numprimverts++; if ( g_numprimverts > MAX_MAP_PRIMVERTS ) { - Error( "Exceeded max water verts.\nIncrease surface subdivision size or lower your subdivision size in vmt files! (%d>%d)\n", + Error( "\tExceeded max water verts.\nIncrease surface subdivision size or lower your subdivision size in vmt files! (%d>%d)\n", ( int )g_numprimverts, ( int )MAX_MAP_PRIMVERTS ); } } @@ -1701,7 +1686,7 @@ static void SubdivideFaceBySubdivSize( face_t *f, float subdivsize ) g_numprimindices++; if( g_numprimindices > MAX_MAP_PRIMINDICES ) { - Error( "Exceeded max water indicies.\nIncrease surface subdivision size! (%d>%d)\n", g_numprimindices, MAX_MAP_PRIMINDICES ); + Error( "\tExceeded max water indicies.\nIncrease surface subdivision size! (%d>%d)\n", g_numprimindices, MAX_MAP_PRIMINDICES ); } } delete [] pStripIndices; @@ -1713,14 +1698,14 @@ static void SubdivideFaceBySubdivSize( face_t *f, float subdivsize ) g_numprimindices++; if( g_numprimindices > MAX_MAP_PRIMINDICES ) { - Error( "Exceeded max water indicies.\nIncrease surface subdivision size! (%d>%d)\n", g_numprimindices, MAX_MAP_PRIMINDICES ); + Error( "\tExceeded max water indicies.\nIncrease surface subdivision size! (%d>%d)\n", g_numprimindices, MAX_MAP_PRIMINDICES ); } } #endif g_numprimitives++; // don't increment until we get here and are sure that we have a primitive. if( g_numprimitives > MAX_MAP_PRIMITIVES ) { - Error( "Exceeded max water primitives.\nIncrease surface subdivision size! (%d>%d)\n", ( int )g_numprimitives, ( int )MAX_MAP_PRIMITIVES ); + Error( "\tExceeded max water primitives.\nIncrease surface subdivision size! (%d>%d)\n", ( int )g_numprimitives, ( int )MAX_MAP_PRIMITIVES ); } } @@ -1749,7 +1734,7 @@ void SubdivideFaceBySubdivSize( face_t *f ) if( subdivSize > 0.0f ) { // NOTE: Subdivision is unsupported and should be phased out - Warning("Using subdivision on %s\n", pMaterialName ); + Warning("\tUsing subdivision on %s\n", pMaterialName ); SubdivideFaceBySubdivSize( f, subdivSize ); } } @@ -1761,8 +1746,7 @@ void SplitSubdividedFaces_Node_r( node_t *node ) { return; } - face_t *f; - for( f = node->faces; f ;f = f->next ) + for(face_t* f = node->faces; f ;f = f->next ) { SubdivideFaceBySubdivSize( f ); } diff --git a/sp/src/utils/vbsp/faces.h b/sp/src/utils/vbsp/faces.h index 79d78954f6..633af1d568 100644 --- a/sp/src/utils/vbsp/faces.h +++ b/sp/src/utils/vbsp/faces.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/glfile.cpp b/sp/src/utils/vbsp/glfile.cpp index 361d40b021..9c5282f004 100644 --- a/sp/src/utils/vbsp/glfile.cpp +++ b/sp/src/utils/vbsp/glfile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -36,12 +36,11 @@ void OutputWinding (winding_t *w, FileHandle_t glview) { static int level = 128; vec_t light; - int i; CmdLib_FPrintf( glview, "%i\n", w->numpoints); level+=28; light = (level&255)/255.0; - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { CmdLib_FPrintf(glview, "%6.3f %6.3f %6.3f %6.3f %6.3f %6.3f\n", w->p[i][0], @@ -56,13 +55,12 @@ void OutputWinding (winding_t *w, FileHandle_t glview) void OutputWindingColor (winding_t *w, FileHandle_t glview, int r, int g, int b) { - int i; - CmdLib_FPrintf( glview, "%i\n", w->numpoints); float lr = r * (1.0f/255.0f); float lg = g * (1.0f/255.0f); float lb = b * (1.0f/255.0f); - for (i=0 ; inumpoints ; i++) + + for (int i=0 ; inumpoints ; i++) { CmdLib_FPrintf(glview, "%6.3f %6.3f %6.3f %6.3f %6.3f %6.3f\n", w->p[i][0], @@ -109,7 +107,7 @@ WriteGLView_r */ void WriteGLView_r (node_t *node, FileHandle_t glview) { - portal_t *p, *nextp; + portal_t *nextp; if (node->planenum != PLANENUM_LEAF) { @@ -119,7 +117,7 @@ void WriteGLView_r (node_t *node, FileHandle_t glview) } // write all the portals - for (p=node->portals ; p ; p=nextp) + for (portal_t *p=node->portals ; p ; p=nextp) { if (p->nodes[0] == node) { @@ -134,7 +132,7 @@ void WriteGLView_r (node_t *node, FileHandle_t glview) void WriteGLViewFaces_r( node_t *node, FileHandle_t glview ) { - portal_t *p, *nextp; + portal_t *nextp; if (node->planenum != PLANENUM_LEAF) { @@ -144,7 +142,7 @@ void WriteGLViewFaces_r( node_t *node, FileHandle_t glview ) } // write all the portals - for (p=node->portals ; p ; p=nextp) + for (portal_t *p=node->portals ; p ; p=nextp) { int s = (p->nodes[1] == node); @@ -172,7 +170,7 @@ void WriteGLView (tree_t *tree, char *source) glview = g_pFileSystem->Open( name, "w" ); if (!glview) - Error ("Couldn't open %s", name); + Error ("\tCouldn't open %s", name); WriteGLView_r (tree->headnode, glview); g_pFileSystem->Close( glview ); @@ -191,7 +189,7 @@ void WriteGLViewFaces( tree_t *tree, const char *pName ) glview = g_pFileSystem->Open( name, "w" ); if (!glview) - Error ("Couldn't open %s", name); + Error ("\tCouldn't open %s", name); WriteGLViewFaces_r (tree->headnode, glview); g_pFileSystem->Close( glview ); @@ -209,7 +207,7 @@ void WriteGLViewBrushList( bspbrush_t *pList, const char *pName ) glview = g_pFileSystem->Open( name, "w" ); if (!glview) - Error ("Couldn't open %s", name); + Error ("\tCouldn't open %s", name); for ( bspbrush_t *pBrush = pList; pBrush; pBrush = pBrush->next ) { for (int i = 0; i < pBrush->numsides; i++ ) diff --git a/sp/src/utils/vbsp/ivp.cpp b/sp/src/utils/vbsp/ivp.cpp index 3c234c2ffe..d9aae23081 100644 --- a/sp/src/utils/vbsp/ivp.cpp +++ b/sp/src/utils/vbsp/ivp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -24,6 +24,10 @@ #include "materialpatch.h" #include "bitvec.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + // bit per leaf typedef CBitVec leafbitarray_t; @@ -521,7 +525,7 @@ CPhysConvex *CPlaneList::BuildConvexForBrush( int brushnumber, float shrink, CPh if ( fabs(thick) < shrinkMinimum ) { #if _DEBUG - Warning("Can't shrink brush %d, plane %d (%.2f, %.2f, %.2f)\n", brushnumber, pside->planenum, pplane->normal[0], pplane->normal[1], pplane->normal[2] ); + Warning("\tCan't shrink brush %d, plane %d (%.2f, %.2f, %.2f)\n", brushnumber, pside->planenum, pplane->normal[0], pplane->normal[1], pplane->normal[2] ); #endif shrinkThisPlane = 0; } @@ -668,10 +672,8 @@ static void VisitLeaves_r( CPlaneList &planes, int node ) int leafIndex = -1 - node; if ( planes.IsLeafReferenced(leafIndex) ) { - int i; - // Add the solids in the "empty" leaf - for ( i = 0; i < dleafs[leafIndex].numleafbrushes; i++ ) + for (int i = 0; i < dleafs[leafIndex].numleafbrushes; i++ ) { int brushIndex = dleafbrushes[dleafs[leafIndex].firstleafbrush + i]; planes.ReferenceBrush( brushIndex ); @@ -872,12 +874,12 @@ int FindOrCreateWaterTexInfo( texinfo_t *pBaseInfo, float depth ) } extern node_t *dfacenodes[MAX_MAP_FACES]; + + static void WriteFogVolumeIDs( dmodel_t *pModel ) -{ - int i; - +{ // write fog volume ID to each face in this model - for( i = pModel->firstface; i < pModel->firstface + pModel->numfaces; i++ ) + for(int i = pModel->firstface; i < pModel->firstface + pModel->numfaces; i++ ) { dface_t *pFace = &dfaces[i]; node_t *pFaceNode = dfacenodes[i]; @@ -923,8 +925,7 @@ static bool PortalCrossesWater( waterleaf_t &baseleaf, portal_t *portal ) static int FindOrCreateLeafWaterData( float surfaceZ, float minZ, int surfaceTexInfoID ) { - int i; - for( i = 0; i < numleafwaterdata; i++ ) + for(int i = 0; i < numleafwaterdata; i++ ) { dleafwaterdata_t *pLeafWaterData = &dleafwaterdata[i]; if( pLeafWaterData->surfaceZ == surfaceZ && @@ -1112,8 +1113,7 @@ void EmitWaterVolumesForBSP( dmodel_t *pModel, node_t *node ) // make a sorted list to flood fill CUtlVector list; - int i; - for ( i = 0; i < leafListAnyWater.Count(); i++ ) + for (int i = 0; i < leafListAnyWater.Count(); i++ ) { waterleaf_t waterLeaf; BuildWaterLeaf( leafListAnyWater[i], waterLeaf ); @@ -1122,7 +1122,7 @@ void EmitWaterVolumesForBSP( dmodel_t *pModel, node_t *node ) leafbitarray_t visited; CUtlVector waterAreaList; - for ( i = 0; i < list.Count(); i++ ) + for (int i = 0; i < list.Count(); i++ ) { Flood_FindConnectedWaterVolumes_r( waterAreaList, list[i].pNode, list[i], visited ); @@ -1319,7 +1319,7 @@ static void BuildWorldPhysModel( CUtlVector &collisionLis if ( !g_bNoVirtualMesh && Disp_HasPower4Displacements() ) { - Warning("WARNING: Map using power 4 displacements, terrain physics cannot be compressed, map will need additional memory and CPU.\n"); + Warning("\tWARNING: Map using power 4 displacements, terrain physics cannot be compressed, map will need additional memory and CPU.\n"); g_bNoVirtualMesh = true; } @@ -1474,9 +1474,7 @@ static void ConvertModelToPhysCollide( CUtlVector &collis static void ClearLeafWaterData( void ) { - int i; - - for( i = 0; i < numleafs; i++ ) + for(int i = 0; i < numleafs; i++ ) { dleafs[i].leafWaterDataID = -1; dleafs[i].contents &= ~CONTENTS_TESTFOGVOLUME; @@ -1507,7 +1505,7 @@ void EmitPhysCollision() if ( !physcollision ) { - Warning("!!! WARNING: Can't build collision data!\n" ); + Warning("\t!!! WARNING: Can't build collision data!\n" ); return; } @@ -1518,7 +1516,11 @@ void EmitPhysCollision() int start = Plat_FloatTime(); - Msg("Building Physics collision data...\n" ); +#ifdef MAPBASE + Msg("Building Physics collision data..."); +#else + Msg("Building Physics collision data...\n"); +#endif int i, j; for ( i = 0; i < nummodels; i++ ) @@ -1650,7 +1652,12 @@ void EmitPhysCollision() memcpy( ptr, &model, sizeof(model) ); ptr += sizeof(model); Assert( (ptr-g_pPhysCollide) == g_PhysCollideSize); - Msg("done (%d) (%d bytes)\n", (int)(Plat_FloatTime() - start), g_PhysCollideSize ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &magenta, " (%d bytes)", g_PhysCollideSize); + ColorSpewMessage(SPEW_MESSAGE, &green, " done(%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif // UNDONE: Collision models (collisionList) memory leak! } diff --git a/sp/src/utils/vbsp/ivp.h b/sp/src/utils/vbsp/ivp.h index 318a199d3e..60d41994c9 100644 --- a/sp/src/utils/vbsp/ivp.h +++ b/sp/src/utils/vbsp/ivp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/leakfile.cpp b/sp/src/utils/vbsp/leakfile.cpp index d6038830f0..e6b369a2b9 100644 --- a/sp/src/utils/vbsp/leakfile.cpp +++ b/sp/src/utils/vbsp/leakfile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -7,7 +7,10 @@ //=============================================================================// #include "vbsp.h" -#include "color.h" + +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif /* ============================================================================== @@ -48,7 +51,7 @@ void LeakFile (tree_t *tree) sprintf (filename, "%s.lin", source); linefile = fopen (filename, "w"); if (!linefile) - Error ("Couldn't open %s\n", filename); + Error ("\tCouldn't open %s\n", filename); count = 0; node = &tree->outside_node; @@ -88,8 +91,12 @@ void LeakFile (tree_t *tree) // Emit a leak warning. const char *cl = ValueForKey (node->occupant, "classname"); - Color red(255,0,0,255); + +#ifdef MAPBASE + ColorSpewMessage( SPEW_MESSAGE, &red, "\tEntity %s (%.2f %.2f %.2f) leaked!\n", cl, origin[0], origin[1], origin[2] ); +#else ColorSpewMessage( SPEW_MESSAGE, &red, "Entity %s (%.2f %.2f %.2f) leaked!\n", cl, origin[0], origin[1], origin[2] ); +#endif } void AreaportalLeakFile( tree_t *tree, portal_t *pStartPortal, portal_t *pEndPortal, node_t *pStart ) @@ -113,7 +120,7 @@ void AreaportalLeakFile( tree_t *tree, portal_t *pStartPortal, portal_t *pEndPor sprintf (filename, "%s.lin", source); linefile = fopen (filename, "w"); if (!linefile) - Error ("Couldn't open %s\n", filename); + Error ("\tCouldn't open %s\n", filename); count = 2; WindingCenter (pEndPortal->winding, mid); @@ -162,7 +169,11 @@ void AreaportalLeakFile( tree_t *tree, portal_t *pStartPortal, portal_t *pEndPor qprintf ("%5i point linefile\n", count); fclose (linefile); - Warning( "Wrote %s\n", filename ); - Color red(255,0,0,255); + Warning("\tWrote %s\n", filename ); + +#ifdef MAPBASE + ColorSpewMessage( SPEW_MESSAGE, &red, "\tAreaportal leak ! File: %s ", filename ); +#else ColorSpewMessage( SPEW_MESSAGE, &red, "Areaportal leak ! File: %s ", filename ); +#endif } \ No newline at end of file diff --git a/sp/src/utils/vbsp/manifest.cpp b/sp/src/utils/vbsp/manifest.cpp index 4ba2952a7b..f8a97b3d22 100644 --- a/sp/src/utils/vbsp/manifest.cpp +++ b/sp/src/utils/vbsp/manifest.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #include "vbsp.h" #include "map_shared.h" #include "fgdlib/fgdlib.h" diff --git a/sp/src/utils/vbsp/manifest.h b/sp/src/utils/vbsp/manifest.h index 3d77211775..aae2a2c3df 100644 --- a/sp/src/utils/vbsp/manifest.h +++ b/sp/src/utils/vbsp/manifest.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/map.cpp b/sp/src/utils/vbsp/map.cpp index c479b27949..9daa3d7139 100644 --- a/sp/src/utils/vbsp/map.cpp +++ b/sp/src/utils/vbsp/map.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -22,6 +22,11 @@ #include "vscript_vbsp.h" #endif +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + + #ifdef VSVMFIO #include "VmfImport.h" #endif // VSVMFIO @@ -50,7 +55,7 @@ struct LoadSide_t }; -extern qboolean onlyents; +extern bool onlyents; #ifdef MAPBASE extern entity_t *g_ManifestWorldSpawn; @@ -225,10 +230,10 @@ int CMapFile::CreateNewFloatPlane (Vector& normal, vec_t dist) plane_t *p, temp; if (VectorLength(normal) < 0.5) - g_MapError.ReportError ("FloatPlane: bad normal"); + g_MapError.ReportError ("\tFloatPlane: bad normal"); // create a new plane if (nummapplanes+2 > MAX_MAP_PLANES) - g_MapError.ReportError ("MAX_MAP_PLANES"); + g_MapError.ReportError ("\tMAX_MAP_PLANES"); p = &mapplanes[nummapplanes]; VectorCopy (normal, p->normal); @@ -269,9 +274,7 @@ SnapVector */ bool SnapVector (Vector& normal) { - int i; - - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { if ( fabs(normal[i] - 1) < RENDER_NORMAL_EPSILON ) { @@ -365,8 +368,6 @@ int CMapFile::FindFloatPlane (Vector& normal, vec_t dist) #else int CMapFile::FindFloatPlane (Vector& normal, vec_t dist) { - int i; - plane_t *p; int hash, h; SnapPlane(normal, dist); @@ -374,10 +375,10 @@ int CMapFile::FindFloatPlane (Vector& normal, vec_t dist) hash &= (PLANE_HASHES-1); // search the border bins as well - for (i=-1 ; i<=1 ; i++) + for (int i=-1 ; i<=1 ; i++) { h = (hash+i)&(PLANE_HASHES-1); - for (p = planehash[h] ; p ; p=p->hash_chain) + for (plane_t* p = planehash[h] ; p ; p=p->hash_chain) { if (PlaneEqual (p, normal, dist, RENDER_NORMAL_EPSILON, RENDER_DIST_EPSILON)) return p-mapplanes; @@ -424,12 +425,11 @@ int BrushContents (mapbrush_t *b) int contents; int unionContents = 0; side_t *s; - int i; s = &b->original_sides[0]; contents = s->contents; unionContents = contents; - for (i=1 ; inumsides ; i++, s++) + for (int i=1 ; inumsides ; i++, s++) { s = &b->original_sides[i]; @@ -514,7 +514,7 @@ void CMapFile::AddBrushBevels (mapbrush_t *b) if (i == b->numsides) { // add a new side if (nummapbrushsides == MAX_MAP_BRUSHSIDES) - g_MapError.ReportError ("MAX_MAP_BRUSHSIDES"); + g_MapError.ReportError ("\tMAX_MAP_BRUSHSIDES"); nummapbrushsides++; b->numsides++; VectorClear (normal); @@ -610,7 +610,7 @@ void CMapFile::AddBrushBevels (mapbrush_t *b) continue; // wasn't part of the outer hull // add this plane if (nummapbrushsides == MAX_MAP_BRUSHSIDES) - g_MapError.ReportError ("MAX_MAP_BRUSHSIDES"); + g_MapError.ReportError ("\tMAX_MAP_BRUSHSIDES"); nummapbrushsides++; s2 = &b->original_sides[b->numsides]; s2->planenum = FindFloatPlane (normal, dist); @@ -671,9 +671,17 @@ qboolean CMapFile::MakeBrushWindings (mapbrush_t *ob) for (i=0 ; i<3 ; i++) { if (ob->mins[i] < MIN_COORD_INTEGER || ob->maxs[i] > MAX_COORD_INTEGER) +#ifdef MAPBASE + Warning("\tBrush %i: bounds out of range\n", ob->id); +#else Msg("Brush %i: bounds out of range\n", ob->id); +#endif if (ob->mins[i] > MAX_COORD_INTEGER || ob->maxs[i] < MIN_COORD_INTEGER) +#ifdef MAPBASE + Warning("\tBrush %i: no visible sides on brush\n", ob->id); +#else Msg("Brush %i: no visible sides on brush\n", ob->id); +#endif } return true; @@ -733,9 +741,8 @@ void CMapFile::MoveBrushesToWorldGeneral( entity_t *mapent ) int newbrushes; int worldbrushes; mapbrush_t *temp; - int i; - for( i = 0; i < nummapdispinfo; i++ ) + for(int i = 0; i < nummapdispinfo; i++ ) { if ( mapdispinfo[ i ].entitynum == ( mapent - entities ) ) { @@ -761,15 +768,12 @@ void CMapFile::MoveBrushesToWorldGeneral( entity_t *mapent ) mapbrushes + worldbrushes, sizeof(mapbrush_t) * (mapent->firstbrush - worldbrushes) ); - - // wwwxxxmmyyy - // copy the new brushes down memcpy (mapbrushes + worldbrushes, temp, sizeof(mapbrush_t) * newbrushes); // fix up indexes entities[0].numbrushes += newbrushes; - for (i=1 ; ifirstbrush ) // if we use <=, then we'll remap the passed in ent, which we don't want to { @@ -789,19 +793,16 @@ void RemoveContentsDetailFromBrush( mapbrush_t *brush ) { // Only valid on non-world brushes Assert( brush->entitynum != 0 ); + + side_t *s = &brush->original_sides[0]; - side_t *s; - int i; - - s = &brush->original_sides[0]; - for ( i=0 ; inumsides ; i++, s++ ) + for (int i=0 ; inumsides ; i++, s++ ) { if ( s->contents & CONTENTS_DETAIL ) { s->contents &= ~CONTENTS_DETAIL; } } - } //----------------------------------------------------------------------------- @@ -810,8 +811,7 @@ void RemoveContentsDetailFromBrush( mapbrush_t *brush ) //----------------------------------------------------------------------------- void CMapFile::RemoveContentsDetailFromEntity( entity_t *mapent ) { - int i; - for ( i = 0; i < mapent->numbrushes; i++ ) + for (int i = 0; i < mapent->numbrushes; i++ ) { int brushnum = mapent->firstbrush + i; @@ -876,7 +876,7 @@ ChunkFileResult_t LoadDispInfoCallback(CChunkFile *pFile, mapdispinfo_t **ppMapD // if (nummapdispinfo > MAX_MAP_DISPINFO) { - g_MapError.ReportError( "ParseDispInfoChunk: nummapdispinfo > MAX_MAP_DISPINFO" ); + g_MapError.ReportError("\tParseDispInfoChunk: nummapdispinfo > MAX_MAP_DISPINFO" ); } // get a pointer to the next available displacement info slot @@ -1233,8 +1233,7 @@ ChunkFileResult_t LoadDispTriangleTagsKeyCallback(const char *szKey, const char //----------------------------------------------------------------------------- int CMapFile::SideIDToIndex( int brushSideID ) { - int i; - for ( i = 0; i < nummapbrushsides; i++ ) + for (int i = 0; i < nummapbrushsides; i++ ) { if ( brushsides[i].id == brushSideID ) { @@ -1338,7 +1337,7 @@ static ChunkFileResult_t LoadOverlayDataTransitionKeyCallback( const char *szKey Assert( strlen( pMaterialName ) < OVERLAY_MAP_STRLEN ); if ( strlen( pMaterialName ) >= OVERLAY_MAP_STRLEN ) { - Error( "Overlay Material Name (%s) > OVERLAY_MAP_STRLEN (%d)", pMaterialName, OVERLAY_MAP_STRLEN ); + Error("\tOverlay Material Name (%s) > OVERLAY_MAP_STRLEN (%d)", pMaterialName, OVERLAY_MAP_STRLEN ); return ChunkFile_Fail; } strcpy( pOverlay->szMaterialName, pMaterialName ); @@ -1453,8 +1452,7 @@ void CMapFile::AddLadderKeys( entity_t *mapent ) Vector mins, maxs; ClearBounds( mins, maxs ); - int i; - for ( i = 0; i < mapent->numbrushes; i++ ) + for (int i = 0; i < mapent->numbrushes; i++ ) { int brushnum = mapent->firstbrush + i; mapbrush_t *brush = &mapbrushes[ brushnum ]; @@ -1500,7 +1498,7 @@ ChunkFileResult_t CMapFile::LoadEntityCallback(CChunkFile *pFile, int nParam) if (num_entities == MAX_MAP_ENTITIES) { // Exits. - g_MapError.ReportError ("num_entities == MAX_MAP_ENTITIES"); + g_MapError.ReportError ("\tnum_entities == MAX_MAP_ENTITIES"); } entity_t *mapent = &entities[num_entities]; @@ -1788,7 +1786,7 @@ ChunkFileResult_t CMapFile::LoadEntityCallback(CChunkFile *pFile, int nParam) if (mapent->numbrushes != 1) { - Error ("Entity %i: func_areaportal can only be a single brush", num_entities-1); + Error ("\tEntity %i: func_areaportal can only be a single brush", num_entities-1); } mapbrush_t *b = &mapbrushes[nummapbrushes-1]; @@ -1894,7 +1892,7 @@ entity_t* EntityByName( char const *pTestName ) if( !pTestName ) return 0; - for( int i=0; i < g_MainMap->num_entities; i++ ) + for( int i = 0; i < g_MainMap->num_entities; i++ ) { entity_t *e = &g_MainMap->entities[i]; @@ -1914,7 +1912,7 @@ void CMapFile::ForceFuncAreaPortalWindowContents() char *targets[] = {"target", "BackgroundBModel"}; int nTargets = sizeof(targets) / sizeof(targets[0]); - for( int i=0; i < num_entities; i++ ) + for( int i = 0; i < num_entities; i++ ) { entity_t *e = &entities[i]; @@ -2087,7 +2085,15 @@ void CMapFile::CheckForInstances( const char *pszFileName ) KeyValues *GameInfoKV = ReadKeyValuesFile( GameInfoPath ); if ( !GameInfoKV ) { - Msg( "Could not locate gameinfo.txt for Instance Remapping at %s\n", GameInfoPath ); +#ifdef MAPBASE + #ifdef _WIN32 + Warning("\tCould not locate gameinfo.txt for Instance Remapping at \033[33m%s\033[0m\n", GameInfoPath); + #else + Warning("\tCould not locate gameinfo.txt for Instance Remapping at %s\n", GameInfoPath); + #endif +#else + Warning("\tCould not locate gameinfo.txt for Instance Remapping at %s\n", GameInfoPath); +#endif return; } @@ -2100,7 +2106,11 @@ void CMapFile::CheckForInstances( const char *pszFileName ) const char *GameDataFile = GameInfoKV->GetString( "GameData", NULL ); if ( !GameDataFile ) { - Msg( "Could not locate 'GameData' key in %s\n", GameInfoPath ); +#ifdef MAPBASE + Warning("\tCould not locate 'GameData' key in: +- %s\n", GameInfoPath); +#else + Warning("\tCould not locate 'GameData' key in %s\n", GameInfoPath); +#endif return; } @@ -2114,7 +2124,11 @@ void CMapFile::CheckForInstances( const char *pszFileName ) { if ( !g_pFullFileSystem->RelativePathToFullPath( GameDataFile, NULL, FDGPath, sizeof( FDGPath ) ) ) { - Msg( "Could not locate GameData file %s\n", GameDataFile ); +#ifdef MAPBASE + Warning("\tCould not locate 'GameData' file: +- %s\n", GameDataFile); +#else + Warning("\tCould not locate GameData file %s\n", GameDataFile); +#endif } } @@ -2150,8 +2164,11 @@ void CMapFile::CheckForInstances( const char *pszFileName ) if ( bLoaded == false ) { Color red( 255, 0, 0, 255 ); - +#ifdef MAPBASE + ColorSpewMessage( SPEW_ERROR, &red, "\tCould not open instance file: +- %s\n", pInstanceFile ); +#else ColorSpewMessage( SPEW_ERROR, &red, "Could not open instance file %s\n", pInstanceFile ); +#endif } } @@ -2487,7 +2504,7 @@ void CMapFile::MergeEntities( entity_t *pInstanceEntity, CMapFile *Instance, Vec if ( value > max_ai_node_id ) { max_ai_node_id = value; - //Warning( "Max AI nodes is now %i", max_ai_node_id ); + //Warning("\tMax AI nodes is now %i", max_ai_node_id ); } } #endif @@ -2713,7 +2730,7 @@ void CMapFile::MergeOverlays( entity_t *pInstanceEntity, CMapFile *Instance, Vec int iSides = (nummapbrushsides - Instance->nummapbrushsides); for (int i2 = 0; i2 < g_aMapOverlays[i].aSideList.Count(); i2++) { - //Warning( "Remapping overlay side %i to %i\n", g_aMapOverlays[i].aSideList[i2], g_aMapOverlays[i].aSideList[i2] + iSides ); + //Warning("\tRemapping overlay side %i to %i\n", g_aMapOverlays[i].aSideList[i2], g_aMapOverlays[i].aSideList[i2] + iSides ); g_aMapOverlays[i].aSideList[i2] += iSides; } #endif @@ -2790,10 +2807,16 @@ bool LoadMapFile( const char *pszFileName ) if ( g_MainMap == g_LoadingMap || verbose ) { - Msg( "Loading %s\n", pszFileName ); +#ifdef MAPBASE + //Msg("Loading vmf file: +- \033[33m%s\033[0m \033[32mdone(0)\033[0m\n", pszFileName); + Msg("Loading vmf file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s", pszFileName); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("Loading %s...done\n", pszFileName); +#endif } - // reset the displacement info count // nummapdispinfo = 0; @@ -2818,7 +2841,7 @@ bool LoadMapFile( const char *pszFileName ) } else { - Error("Error opening %s: %s.\n", pszFileName, File.GetErrorText(eResult)); + Error("\tError opening %s: %s.\n", pszFileName, File.GetErrorText(eResult)); } } @@ -2858,7 +2881,7 @@ bool LoadMapFile( const char *pszFileName ) { if (g_pParallaxObbStrs[i][0] != '\0' && g_pParallaxObbsDone[i] == false) { - //Warning( "Testing OBB string %s\n", g_pParallaxObbStrs[i] ); + //Warning("\tTesting OBB string %s\n", g_pParallaxObbStrs[i] ); entity_t* obbEnt = NULL; for (int i2 = 0; i2 < g_LoadingMap->num_entities; i2++) @@ -2868,7 +2891,7 @@ bool LoadMapFile( const char *pszFileName ) obbEnt = &g_LoadingMap->entities[i2]; g_pParallaxObbStrs[i] = ValueForKey(obbEnt, "transformationmatrix"); - //Warning( "Using OBB transformation matrix \"%s\"\n", g_pParallaxObbStrs[i] ); + //Warning("\tUsing OBB transformation matrix \"%s\"\n", g_pParallaxObbStrs[i] ); g_pParallaxObbsDone[i] = true; break; @@ -2876,7 +2899,7 @@ bool LoadMapFile( const char *pszFileName ) if (!obbEnt) { - Warning( "Cannot find parallax obb \"%s\" (num_entities is %i)\n", g_pParallaxObbStrs[i], g_LoadingMap->num_entities ); + Warning("\tCannot find parallax obb \"%s\" (num_entities is %i)\n", g_pParallaxObbStrs[i], g_LoadingMap->num_entities ); //g_pParallaxObbStrs[i][0] = '\0'; } } @@ -2950,7 +2973,7 @@ ChunkFileResult_t CMapFile::LoadSideCallback(CChunkFile *pFile, LoadSide_t *pSid { if (nummapbrushsides == MAX_MAP_BRUSHSIDES) { - g_MapError.ReportError ("MAX_MAP_BRUSHSIDES"); + g_MapError.ReportError ("\tMAX_MAP_BRUSHSIDES"); } pSideInfo->pSide = &brushsides[nummapbrushsides]; @@ -3042,7 +3065,7 @@ ChunkFileResult_t CMapFile::LoadSideCallback(CChunkFile *pFile, LoadSide_t *pSid // save the td off in case there is an origin brush and we // have to recalculate the texinfo if (nummapbrushsides == MAX_MAP_BRUSHSIDES) - g_MapError.ReportError ("MAX_MAP_BRUSHSIDES"); + g_MapError.ReportError ("\tMAX_MAP_BRUSHSIDES"); side_brushtextures[nummapbrushsides] = pSideInfo->td; nummapbrushsides++; b->numsides++; @@ -3087,7 +3110,7 @@ ChunkFileResult_t LoadSideKeyCallback(const char *szKey, const char *szValue, Lo if (nRead != 9) { - g_MapError.ReportError("parsing plane definition"); + g_MapError.ReportError("\tparsing plane definition"); } } else if (!stricmp(szKey, "material")) @@ -3114,7 +3137,7 @@ ChunkFileResult_t LoadSideKeyCallback(const char *szKey, const char *szValue, Lo int nRead = sscanf(szValue, "[%f %f %f %f] %f", &pSideInfo->td.UAxis[0], &pSideInfo->td.UAxis[1], &pSideInfo->td.UAxis[2], &pSideInfo->td.shift[0], &pSideInfo->td.textureWorldUnitsPerTexel[0]); if (nRead != 5) { - g_MapError.ReportError("parsing U axis definition"); + g_MapError.ReportError("\tparsing U axis definition"); } } else if (!stricmp(szKey, "vaxis")) @@ -3122,7 +3145,7 @@ ChunkFileResult_t LoadSideKeyCallback(const char *szKey, const char *szValue, Lo int nRead = sscanf(szValue, "[%f %f %f %f] %f", &pSideInfo->td.VAxis[0], &pSideInfo->td.VAxis[1], &pSideInfo->td.VAxis[2], &pSideInfo->td.shift[1], &pSideInfo->td.textureWorldUnitsPerTexel[1]); if (nRead != 5) { - g_MapError.ReportError("parsing V axis definition"); + g_MapError.ReportError("\tparsing V axis definition"); } } else if (!stricmp(szKey, "lightmapscale")) @@ -3238,7 +3261,7 @@ ChunkFileResult_t CMapFile::LoadSolidCallback(CChunkFile *pFile, LoadEntity_t *p { if (nummapbrushes == MAX_MAP_BRUSHES) { - g_MapError.ReportError ("nummapbrushes == MAX_MAP_BRUSHES"); + g_MapError.ReportError ("\tnummapbrushes == MAX_MAP_BRUSHES"); } mapbrush_t *b = &mapbrushes[nummapbrushes]; @@ -3323,7 +3346,7 @@ ChunkFileResult_t CMapFile::LoadSolidCallback(CChunkFile *pFile, LoadEntity_t *p if (num_entities == 1) { - Error("Brush %i: origin brushes not allowed in world", b->id); + Error("\tBrush %i: origin brushes not allowed in world", b->id); } VectorAdd (b->mins, b->maxs, origin); @@ -3428,7 +3451,7 @@ int CMapFile::ScriptAddSimpleEntityKV( HSCRIPT hKV ) if (num_entities == MAX_MAP_ENTITIES) { // Exits. - g_MapError.ReportError ("num_entities == MAX_MAP_ENTITIES"); + g_MapError.ReportError ("\tnum_entities == MAX_MAP_ENTITIES"); return -1; } @@ -3491,7 +3514,7 @@ int CMapFile::ScriptAddInstance( const char *pszVMF, const Vector& vecOrigin, co if (num_entities == MAX_MAP_ENTITIES) { // Exits. - g_MapError.ReportError ("num_entities == MAX_MAP_ENTITIES"); + g_MapError.ReportError ("\tnum_entities == MAX_MAP_ENTITIES"); return -1; } @@ -3537,10 +3560,11 @@ void CMapFile::TestExpandBrushes (void) mapbrush_t *brush; vec_t dist; - Msg ("writing %s\n", name); + Msg("writing %s\n", name); + f = fopen (name, "wb"); if (!f) - Error ("Can't write %s\b", name); + Error ("\tCan't write %s\b", name); fprintf (f, "{\n\"classname\" \"worldspawn\"\n"); fprintf( f, "\"mapversion\" \"220\"\n\"sounds\" \"1\"\n\"MaxRange\" \"4096\"\n\"mapversion\" \"220\"\n\"wad\" \"vert.wad;dev.wad;generic.wad;spire.wad;urb.wad;cit.wad;water.wad\"\n" ); @@ -3574,7 +3598,7 @@ void CMapFile::TestExpandBrushes (void) fclose (f); - Error ("can't proceed after expanding brushes"); + Error ("\tcan't proceed after expanding brushes"); } @@ -3585,7 +3609,6 @@ void CMapFile::TestExpandBrushes (void) //----------------------------------------------------------------------------- mapdispinfo_t *ParseDispInfoChunk( void ) { - int i, j; int vertCount; mapdispinfo_t *pMapDispInfo; @@ -3593,7 +3616,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) // check to see if we exceeded the maximum displacement info list size // if( nummapdispinfo > MAX_MAP_DISPINFO ) - g_MapError.ReportError( "ParseDispInfoChunk: nummapdispinfo > MAX_MAP_DISPINFO"); + g_MapError.ReportError("\tParseDispInfoChunk: nummapdispinfo > MAX_MAP_DISPINFO"); // get a pointer to the next available displacement info slot pMapDispInfo = &mapdispinfo[nummapdispinfo]; @@ -3604,7 +3627,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) // GetToken( false ); if( strcmp( token, "{" ) ) - g_MapError.ReportError( "ParseDispInfoChunk: Illegal Chunk! - {" ); + g_MapError.ReportError("\tParseDispInfoChunk: Illegal Chunk! - {" ); // // @@ -3617,13 +3640,13 @@ mapdispinfo_t *ParseDispInfoChunk( void ) pMapDispInfo->power = atoi( token ); // u and v mapping axes - for( i = 0; i < 2; i++ ) + for(int i = 0; i < 2; i++ ) { GetToken( false ); if( strcmp( token, "[" ) ) - g_MapError.ReportError( "ParseDispInfoChunk: Illegal Chunk! - [" ); + g_MapError.ReportError("\tParseDispInfoChunk: Illegal Chunk! - [" ); - for( j = 0; j < 3; j++ ) + for(int j = 0; j < 3; j++ ) { GetToken( false ); @@ -3639,7 +3662,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) GetToken( false ); if( strcmp( token, "]" ) ) - g_MapError.ReportError( "ParseDispInfoChunk: Illegal Chunk! - ]" ); + g_MapError.ReportError("\tParseDispInfoChunk: Illegal Chunk! - ]" ); } // max displacement value @@ -3668,7 +3691,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) pMapDispInfo->vectorDisps[0][2] = atof( token ); vertCount = ( ( ( 1 << pMapDispInfo->power ) + 1 ) * ( ( 1 << pMapDispInfo->power ) + 1 ) ); - for( i = 1; i < vertCount; i++ ) + for(int i = 1; i < vertCount; i++ ) { GetToken( false ); pMapDispInfo->vectorDisps[i][0] = atof( token ); @@ -3684,7 +3707,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) GetToken( true ); pMapDispInfo->dispDists[0] = atof( token ); - for( i = 1; i < vertCount; i++ ) + for(int i = 1; i < vertCount; i++ ) { GetToken( false ); pMapDispInfo->dispDists[i] = atof( token ); @@ -3695,7 +3718,7 @@ mapdispinfo_t *ParseDispInfoChunk( void ) // GetToken( true ); if( strcmp( token, "}" ) ) - g_MapError.ReportError( "ParseDispInfoChunk: Illegal Chunk! - }" ); + g_MapError.ReportError("\tParseDispInfoChunk: Illegal Chunk! - }" ); // return the index of the displacement info slot return pMapDispInfo; diff --git a/sp/src/utils/vbsp/map.h b/sp/src/utils/vbsp/map.h index c7b0e5b8d5..245149af03 100644 --- a/sp/src/utils/vbsp/map.h +++ b/sp/src/utils/vbsp/map.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/materialpatch.cpp b/sp/src/utils/vbsp/materialpatch.cpp index 96a30edbfb..834b0e886b 100644 --- a/sp/src/utils/vbsp/materialpatch.cpp +++ b/sp/src/utils/vbsp/materialpatch.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -68,8 +68,7 @@ const char *GetOriginalMaterialNameForPatchedMaterial( const char *pPatchMateria void CreateMaterialPatchRecursive( KeyValues *pOriginalKeyValues, KeyValues *pPatchKeyValues, int nKeys, const MaterialPatchInfo_t *pInfo ) { - int i; - for( i = 0; i < nKeys; i++ ) + for(int i = 0; i < nKeys; i++ ) { const char *pVal = pOriginalKeyValues->GetString( pInfo[i].m_pKey, NULL ); if( !pVal ) @@ -78,8 +77,7 @@ void CreateMaterialPatchRecursive( KeyValues *pOriginalKeyValues, KeyValues *pPa continue; pPatchKeyValues->SetString( pInfo[i].m_pKey, pInfo[i].m_pValue ); } - KeyValues *pScan; - for( pScan = pOriginalKeyValues->GetFirstTrueSubKey(); pScan; pScan = pScan->GetNextTrueSubKey() ) + for(KeyValues* pScan = pOriginalKeyValues->GetFirstTrueSubKey(); pScan; pScan = pScan->GetNextTrueSubKey() ) { CreateMaterialPatchRecursive( pScan, pPatchKeyValues->FindKey( pScan->GetName(), true ), nKeys, pInfo ); } @@ -104,7 +102,7 @@ void CreateMaterialPatch( const char *pOriginalMaterialName, const char *pNewMat KeyValues *kv = new KeyValues( "patch" ); if ( !kv ) { - Error( "Couldn't allocate KeyValues for %s!!!", pNewMaterialName ); + Error("\tCouldn't allocate KeyValues for %s!!!", pNewMaterialName ); } kv->SetString( "include", pOldVMTFile ); @@ -367,7 +365,7 @@ static void ExpandPatchFile( KeyValues &keyValues ) if( nCount >= 10 ) { - Warning( "Infinite recursion in patch file?\n" ); + Warning("\tInfinite recursion in patch file?\n" ); } } diff --git a/sp/src/utils/vbsp/materialpatch.h b/sp/src/utils/vbsp/materialpatch.h index f04a95d938..88dfd56317 100644 --- a/sp/src/utils/vbsp/materialpatch.h +++ b/sp/src/utils/vbsp/materialpatch.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/materialsub.cpp b/sp/src/utils/vbsp/materialsub.cpp index b02063ef8a..bd90e5301e 100644 --- a/sp/src/utils/vbsp/materialsub.cpp +++ b/sp/src/utils/vbsp/materialsub.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This file loads a KeyValues file containing material name mappings. // When the bsp is compiled, all materials listed in the file will diff --git a/sp/src/utils/vbsp/materialsub.h b/sp/src/utils/vbsp/materialsub.h index ce6cac429e..293193ed42 100644 --- a/sp/src/utils/vbsp/materialsub.h +++ b/sp/src/utils/vbsp/materialsub.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: This file loads a KeyValues file containing material name mappings. // When the bsp is compiled, all materials listed in the file will diff --git a/sp/src/utils/vbsp/nodraw.cpp b/sp/src/utils/vbsp/nodraw.cpp index 954ea671db..a8faebe87d 100644 --- a/sp/src/utils/vbsp/nodraw.cpp +++ b/sp/src/utils/vbsp/nodraw.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/normals.cpp b/sp/src/utils/vbsp/normals.cpp index 3a910cb611..5ce5eb8f81 100644 --- a/sp/src/utils/vbsp/normals.cpp +++ b/sp/src/utils/vbsp/normals.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -11,24 +11,22 @@ void SaveVertexNormals( void ) { - int i, j; dface_t *f; texinfo_t *tex; - g_numvertnormalindices = 0; g_numvertnormals = 0; - for( i = 0 ;itexinfo]; - for( j = 0; j < f->numedges; j++ ) + for(int j = 0; j < f->numedges; j++ ) { if( g_numvertnormalindices == MAX_MAP_VERTNORMALINDICES ) { - Error( "g_numvertnormalindices == MAX_MAP_VERTNORMALINDICES (%d)", MAX_MAP_VERTNORMALINDICES ); + Error("\tg_numvertnormalindices == MAX_MAP_VERTNORMALINDICES (%d)", MAX_MAP_VERTNORMALINDICES ); } g_vertnormalindices[g_numvertnormalindices] = g_numvertnormals; @@ -41,7 +39,7 @@ void SaveVertexNormals( void ) // goes away after vrad. if( g_numvertnormals == MAX_MAP_VERTNORMALS ) { - Error( "g_numvertnormals == MAX_MAP_VERTNORMALS (%d)", MAX_MAP_VERTNORMALS ); + Error("\tg_numvertnormals == MAX_MAP_VERTNORMALS (%d)", MAX_MAP_VERTNORMALS ); } g_vertnormals[g_numvertnormals] = dplanes[f->planenum].normal; diff --git a/sp/src/utils/vbsp/overlay.cpp b/sp/src/utils/vbsp/overlay.cpp index edceba9aaa..d1d47d70c4 100644 --- a/sp/src/utils/vbsp/overlay.cpp +++ b/sp/src/utils/vbsp/overlay.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -56,7 +56,7 @@ int Overlay_GetFromEntity( entity_t *pMapEnt ) pMapOverlay->m_nRenderOrder = IntForKey( pMapEnt, "RenderOrder" ); if ( pMapOverlay->m_nRenderOrder < 0 || pMapOverlay->m_nRenderOrder >= OVERLAY_NUM_RENDER_ORDERS ) - Error( "Overlay (%s) at %f %f %f has invalid render order (%d).\n", ValueForKey( pMapEnt, "material" ), + Error("\tOverlay (%s) at %f %f %f has invalid render order (%d).\n", ValueForKey( pMapEnt, "material" ), pMapOverlay->vecOrigin.x, pMapOverlay->vecOrigin.y, pMapOverlay->vecOrigin.z, pMapOverlay->m_nRenderOrder ); @@ -73,7 +73,7 @@ int Overlay_GetFromEntity( entity_t *pMapEnt ) Assert( strlen( pMaterialName ) < OVERLAY_MAP_STRLEN ); if ( strlen( pMaterialName ) >= OVERLAY_MAP_STRLEN ) { - Error( "Overlay Material Name (%s) too long! > OVERLAY_MAP_STRLEN (%d)", pMaterialName, OVERLAY_MAP_STRLEN ); + Error("\tOverlay Material Name (%s) too long! > OVERLAY_MAP_STRLEN (%d)", pMaterialName, OVERLAY_MAP_STRLEN ); return -1; } strcpy( pMapOverlay->szMaterialName, pMaterialName ); @@ -273,7 +273,7 @@ void Overlay_EmitOverlayFace( mapoverlay_t *pMapOverlay ) Assert( nFaceCount < OVERLAY_BSP_FACE_COUNT ); if ( nFaceCount >= OVERLAY_BSP_FACE_COUNT ) { - Error( "Overlay touching too many faces (touching %d, max %d)\nOverlay %s at %.1f %.1f %.1f", nFaceCount, OVERLAY_BSP_FACE_COUNT, pMapOverlay->szMaterialName, pMapOverlay->vecOrigin.x, pMapOverlay->vecOrigin.y, pMapOverlay->vecOrigin.z ); + Error("\tOverlay touching too many faces (touching %d, max %d)\nOverlay %s at %.1f %.1f %.1f", nFaceCount, OVERLAY_BSP_FACE_COUNT, pMapOverlay->szMaterialName, pMapOverlay->vecOrigin.x, pMapOverlay->vecOrigin.y, pMapOverlay->vecOrigin.z ); return; } @@ -361,7 +361,7 @@ void OverlayTransition_EmitOverlayFace( mapoverlay_t *pMapOverlay ) Assert( nFaceCount < WATEROVERLAY_BSP_FACE_COUNT ); if ( nFaceCount >= WATEROVERLAY_BSP_FACE_COUNT ) { - Error( "Water Overlay touching too many faces (touching %d, max %d)\nOverlay %s at %.1f %.1f %.1f", nFaceCount, OVERLAY_BSP_FACE_COUNT, pMapOverlay->szMaterialName, pMapOverlay->vecOrigin.x, pMapOverlay->vecOrigin.y, pMapOverlay->vecOrigin.z ); + Error("\tWater Overlay touching too many faces (touching %d, max %d)\nOverlay %s at %.1f %.1f %.1f", nFaceCount, OVERLAY_BSP_FACE_COUNT, pMapOverlay->szMaterialName, pMapOverlay->vecOrigin.x, pMapOverlay->vecOrigin.y, pMapOverlay->vecOrigin.z ); return; } diff --git a/sp/src/utils/vbsp/portals.cpp b/sp/src/utils/vbsp/portals.cpp index bbd3312ea7..2430014b26 100644 --- a/sp/src/utils/vbsp/portals.cpp +++ b/sp/src/utils/vbsp/portals.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -13,6 +13,10 @@ #include "csg.h" #include "fmtstr.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + int c_active_portals; int c_peak_portals; int c_boundary; @@ -63,9 +67,7 @@ strongest visible content present */ int VisibleContents (int contents) { - int i; - - for (i=1 ; i<=LAST_VISIBLE_CONTENTS ; i<<=1) + for (int i=1 ; i<=LAST_VISIBLE_CONTENTS ; i<<=1) { if (contents & i ) { @@ -153,7 +155,7 @@ qboolean Portal_EntityFlood (portal_t *p, int s) { if (p->nodes[0]->planenum != PLANENUM_LEAF || p->nodes[1]->planenum != PLANENUM_LEAF) - Error ("Portal_EntityFlood: not a leaf"); + Error ("\tPortal_EntityFlood: not a leaf"); // can never cross to a solid if ( (p->nodes[0]->contents & CONTENTS_SOLID) @@ -191,7 +193,7 @@ AddPortalToNodes void AddPortalToNodes (portal_t *p, node_t *front, node_t *back) { if (p->nodes[0] || p->nodes[1]) - Error ("AddPortalToNode: allready included"); + Error ("\tAddPortalToNode: allready included"); p->nodes[0] = front; p->next[0] = front->portals; @@ -218,7 +220,7 @@ void RemovePortalFromNode (portal_t *portal, node_t *l) { t = *pp; if (!t) - Error ("RemovePortalFromNode: portal not in leaf"); + Error ("\tRemovePortalFromNode: portal not in leaf"); if ( t == portal ) break; @@ -228,7 +230,7 @@ void RemovePortalFromNode (portal_t *portal, node_t *l) else if (t->nodes[1] == l) pp = &t->next[1]; else - Error ("RemovePortalFromNode: portal not bounding leaf"); + Error ("\tRemovePortalFromNode: portal not bounding leaf"); } if (portal->nodes[0] == l) @@ -247,13 +249,10 @@ void RemovePortalFromNode (portal_t *portal, node_t *l) void PrintPortal (portal_t *p) { - int i; - winding_t *w; - - w = p->winding; - for (i=0 ; inumpoints ; i++) - Msg ("(%5.0f,%5.0f,%5.0f)\n",w->p[i][0] - , w->p[i][1], w->p[i][2]); + winding_t *w = p->winding; + + for (int i=0 ; inumpoints ; i++) + Msg ("(%5.0f,%5.0f,%5.0f)\n",w->p[i][0], w->p[i][1], w->p[i][2]); } // because of water areaportals support, the areaportal may not be the only brush on this node @@ -280,7 +279,7 @@ The created portals will face the global outside_node void MakeHeadnodePortals (tree_t *tree) { Vector bounds[2]; - int i, j, n; + int n; portal_t *p, *portals[6]; plane_t bplanes[6], *pl; node_t *node; @@ -288,7 +287,7 @@ void MakeHeadnodePortals (tree_t *tree) node = tree->headnode; // pad with some space so there will never be null volume leafs - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { bounds[0][i] = tree->mins[i] - SIDESPACE; bounds[1][i] = tree->maxs[i] + SIDESPACE; @@ -299,8 +298,8 @@ void MakeHeadnodePortals (tree_t *tree) tree->outside_node.portals = NULL; tree->outside_node.contents = 0; - for (i=0 ; i<3 ; i++) - for (j=0 ; j<2 ; j++) + for (int i=0 ; i<3 ; i++) + for (int j=0 ; j<2 ; j++) { n = j*3 + i; @@ -325,9 +324,9 @@ void MakeHeadnodePortals (tree_t *tree) } // clip the basewindings by all the other planes - for (i=0 ; i<6 ; i++) + for (int i=0 ; i<6 ; i++) { - for (j=0 ; j<6 ; j++) + for (int j=0 ; j<6 ; j++) { if (j == i) continue; @@ -350,7 +349,6 @@ BaseWindingForNode winding_t *BaseWindingForNode (node_t *node) { winding_t *w; - node_t *n; plane_t *plane; Vector normal; vec_t dist; @@ -358,7 +356,7 @@ winding_t *BaseWindingForNode (node_t *node) w = BaseWindingForPlane (g_MainMap->mapplanes[node->planenum].normal, g_MainMap->mapplanes[node->planenum].dist); // clip by all the parents - for (n=node->parent ; n && w ; ) + for (node_t* n=node->parent ; n && w ; ) { plane = &g_MainMap->mapplanes[n->planenum]; @@ -416,7 +414,7 @@ void MakeNodePortal (node_t *node) } else { - Error ("CutNodePortals_r: mislinked portal"); + Error ("\tCutNodePortals_r: mislinked portal"); } ChopWindingInPlace (&w, normal, dist, 0.1); @@ -471,7 +469,7 @@ void SplitNodePortals (node_t *node) else if (p->nodes[1] == node) side = 1; else - Error ("CutNodePortals_r: mislinked portal"); + Error ("\tCutNodePortals_r: mislinked portal"); next_portal = p->next[side]; other_node = p->nodes[!side]; @@ -552,16 +550,14 @@ CalcNodeBounds */ void CalcNodeBounds (node_t *node) { - portal_t *p; - int s; - int i; + int s; // calc mins/maxs for both leafs and nodes ClearBounds (node->mins, node->maxs); - for (p = node->portals ; p ; p = p->next[s]) + for (portal_t* p = node->portals ; p ; p = p->next[s]) { s = (p->nodes[1] == node); - for (i=0 ; iwinding->numpoints ; i++) + for (int i=0 ; iwinding->numpoints ; i++) AddPointToBounds (p->winding->p[i], node->mins, node->maxs); } } @@ -574,15 +570,13 @@ MakeTreePortals_r */ void MakeTreePortals_r (node_t *node) { - int i; - CalcNodeBounds (node); if (node->mins[0] >= node->maxs[0]) { - Warning("WARNING: node without a volume\n"); + Warning("\tWARNING: node without a volume\n"); } - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { if (node->mins[i] < (MIN_COORD_INTEGER-SIDESPACE) || node->maxs[i] > (MAX_COORD_INTEGER+SIDESPACE)) { @@ -595,7 +589,7 @@ void MakeTreePortals_r (node_t *node) pMatName = TexDataStringTable_GetString( pTexData->nameStringTableID ); } Vector point = node->portals->winding->p[0]; - Warning("WARNING: BSP node with unbounded volume (material: %s, near %s)\n", pMatName, VecToString(point) ); + Warning("\tWARNING: BSP node with unbounded volume (material: %s, near %s)\n", pMatName, VecToString(point) ); break; } } @@ -637,12 +631,11 @@ FLOOD ENTITIES //----------------------------------------------------------------------------- void FloodPortals_r (node_t *node, int dist) { - portal_t *p; int s; node->occupied = dist; - for (p=node->portals ; p ; p = p->next[s]) + for (portal_t *p=node->portals ; p ; p = p->next[s]) { s = (p->nodes[1] == node); @@ -660,12 +653,11 @@ void FloodPortals_r (node_t *node, int dist) void FloodAreaLeak_r( node_t *node, int dist ) { - portal_t *p; int s; node->occupied = dist; - for (p=node->portals ; p ; p = p->next[s]) + for (portal_t* p=node->portals ; p ; p = p->next[s]) { s = (p->nodes[1] == node); @@ -743,7 +735,6 @@ Marks all nodes that can be reached by entites */ qboolean FloodEntities (tree_t *tree) { - int i; Vector origin; char *cl; qboolean inside; @@ -754,7 +745,7 @@ qboolean FloodEntities (tree_t *tree) inside = false; tree->outside_node.occupied = 0; - for (i=1 ; iportalareas[1]) { - Warning("WARNING: areaportal entity %i (brush %i) touches > 2 areas\n", b->original->entitynum, b->original->id ); + Warning("\tWARNING: areaportal entity %i (brush %i) touches > 2 areas\n", b->original->entitynum, b->original->id ); return; } @@ -921,7 +912,7 @@ void FindAreas_r (node_t *node) } #ifdef MAPBASE -extern qboolean noleaktest; +extern bool noleaktest; #endif void ReportAreaportalLeak( tree_t *tree, node_t *node ) @@ -975,7 +966,7 @@ void ReportAreaportalLeak( tree_t *tree, node_t *node ) #ifdef MAPBASE if (!noleaktest) { - Warning( ("--- AREAPORTAL LEAK ---\n") ); + Warning("\n\t|======= AreaPortal Leak =======|\n"); exit(0); } #endif @@ -1013,7 +1004,7 @@ void SetAreaPortalAreas_r (tree_t *tree, node_t *node) if (!e->portalareas[1]) { ReportAreaportalLeak( tree, node ); - Warning("\nBrush %i: areaportal brush doesn't touch two areas\n", b->original->id); + Warning("\t\nBrush %i: areaportal brush doesn't touch two areas\n", b->original->id); return; } } @@ -1037,10 +1028,10 @@ int FindUniquePoints( const Vector2D *pPoints, int nPoints, int *indexMap, int n // This could be slightly more efficient. int nUniquePoints = 0; - for ( int i=0; i < nPoints; i++ ) + for ( int i = 0; i < nPoints; i++ ) { int j; - for ( j=0; j < nUniquePoints; j++ ) + for ( j = 0; j < nUniquePoints; j++ ) { if ( pPoints[i].DistToSqr( pPoints[indexMap[j]] ) < flToleranceSqr ) break; @@ -1048,7 +1039,7 @@ int FindUniquePoints( const Vector2D *pPoints, int nPoints, int *indexMap, int n if ( j == nUniquePoints ) { if ( nUniquePoints >= nMaxIndexMapPoints ) - Error( "FindUniquePoints: overflowed unique point list (size %d).", nMaxIndexMapPoints ); + Error("\tFindUniquePoints: overflowed unique point list (size %d).", nMaxIndexMapPoints ); indexMap[nUniquePoints++] = i; } @@ -1075,9 +1066,8 @@ int Convex2D( Vector2D const *pPoints, int nPoints, int *indices, int nMaxIndice memset( touched, 0, nPoints*sizeof(touched[0]) ); // Find the (lower) left side. - int i; int iBest = 0; - for( i=1; i < nPoints; i++ ) + for(int i = 1; i < nPoints; i++ ) { if( pPoints[indexMap[i]].x < pPoints[indexMap[iBest]].x || (pPoints[indexMap[i]].x == pPoints[indexMap[iBest]].x && pPoints[indexMap[i]].y < pPoints[indexMap[iBest]].y) ) @@ -1102,7 +1092,7 @@ int Convex2D( Vector2D const *pPoints, int nPoints, int *indices, int nMaxIndice int iMinAngle = -1; float flMinAngle = 5000; - for( i=0; i < nPoints; i++ ) + for(int i = 0; i < nPoints; i++ ) { Vector2D vTo = pPoints[indexMap[i]] - *pStartPoint; float flDistToSqr = vTo.LengthSqr(); @@ -1214,27 +1204,21 @@ void EmitClipPortalGeometry( node_t *pHeadNode, portal_t *pPortal, int iSrcArea, { // Build a list of all the points in portals from the same original face. CUtlVector portals; - FindPortalsLeadingToArea_R( - pHeadNode, - iSrcArea, - dp->otherarea, - &pPortal->plane, - portals ); + FindPortalsLeadingToArea_R( pHeadNode, iSrcArea, dp->otherarea, &pPortal->plane,portals ); CUtlVector points; for( int iPortal=0; iPortal < portals.Size(); iPortal++ ) { portal_t *pPointPortal = portals[iPortal]; winding_t *pWinding = pPointPortal->winding; - for( int i=0; i < pWinding->numpoints; i++ ) + for(int i = 0; i < pWinding->numpoints; i++ ) { points.AddToTail( pWinding->p[i] ); } } // Get the 2D convex hull. - - //// First transform them into a plane. + // First transform them into a plane. QAngle vAngles; Vector vecs[3]; @@ -1245,9 +1229,8 @@ void EmitClipPortalGeometry( node_t *pHeadNode, portal_t *pPortal, int iSrcArea, mTransform.SetBasisVectors( vecs[0], vecs[1], vecs[2] ); VMatrix mInvTransform = mTransform.Transpose(); - int i; CUtlVector points2D; - for( i=0; i < points.Size(); i++ ) + for(int i = 0; i < points.Size(); i++ ) { Vector vTest = mTransform * points[i]; points2D.AddToTail( Vector2D( vTest.y, vTest.z ) ); @@ -1263,16 +1246,16 @@ void EmitClipPortalGeometry( node_t *pHeadNode, portal_t *pPortal, int iSrcArea, if ( nIndices >= 32 ) { - Warning( "Warning: area portal has %d verts. Could be a vbsp bug.\n", nIndices ); + Warning("\tWarning: area portal has %d verts. Could be a vbsp bug.\n", nIndices ); } if( dp->m_FirstClipPortalVert + dp->m_nClipPortalVerts >= MAX_MAP_PORTALVERTS ) { Vector *p = pPortal->winding->p; - Error( "MAX_MAP_PORTALVERTS (probably a broken areaportal near %.1f %.1f %.1f ", p->x, p->y, p->z ); + Error("\tMAX_MAP_PORTALVERTS (probably a broken areaportal near %.1f %.1f %.1f ", p->x, p->y, p->z ); } - for( i=0; i < nIndices; i++ ) + for(int i = 0; i < nIndices; i++ ) { g_ClipPortalVerts[g_nClipPortalVerts] = points[ indices[i] ]; ++g_nClipPortalVerts; @@ -1312,7 +1295,7 @@ void EmitAreaPortals (node_t *headnode) dareaportal_t *dp; if (c_areas > MAX_MAP_AREAS) - Error ("Map is split into too many unique areas (max = %d)\nProbably too many areaportals", MAX_MAP_AREAS); + Error ("\tMap is split into too many unique areas (max = %d)\nProbably too many areaportals", MAX_MAP_AREAS); numareas = c_areas+1; numareaportals = 1; // leave 0 as an error @@ -1388,7 +1371,12 @@ void FloodAreas (tree_t *tree) FindAreas_r (tree->headnode); SetAreaPortalAreas_r (tree, tree->headnode); qprintf ("%5i areas\n", c_areas); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif } //====================================================== @@ -1468,13 +1456,13 @@ static void DisplayPortalError( portal_t *p, int viscontents ) Vector center; WindingCenter( p->winding, center ); - Warning( "\nFindPortalSide: Couldn't find a good match for which brush to assign to a portal near (%.1f %.1f %.1f)\n", center.x, center.y, center.z); - Warning( "Leaf 0 contents: %s\n", contents[0] ); - Warning( "Leaf 1 contents: %s\n", contents[1] ); - Warning( "viscontents (node 0 contents ^ node 1 contents): %s\n", contents[2] ); - Warning( "This means that none of the brushes in leaf 0 or 1 that touches the portal has %s\n", contents[2] ); - Warning( "Check for a huge brush enclosing the coordinates above that has contents %s\n", contents[2] ); - Warning( "Candidate brush IDs: " ); + Warning("\t\nFindPortalSide: Couldn't find a good match for which brush to assign to a portal near (%.1f %.1f %.1f)\n", center.x, center.y, center.z); + Warning("\tLeaf 0 contents: %s\n", contents[0] ); + Warning("\tLeaf 1 contents: %s\n", contents[1] ); + Warning("\tviscontents (node 0 contents ^ node 1 contents): %s\n", contents[2] ); + Warning("\tThis means that none of the brushes in leaf 0 or 1 that touches the portal has %s\n", contents[2] ); + Warning("\tCheck for a huge brush enclosing the coordinates above that has contents %s\n", contents[2] ); + Warning("\tCandidate brush IDs: " ); CUtlVector listed; for (int j=0 ; j<2 ; j++) @@ -1488,12 +1476,12 @@ static void DisplayPortalError( portal_t *p, int viscontents ) if ( listed.Find( brush->brushnum ) == -1 ) { listed.AddToTail( brush->brushnum ); - Warning( "Brush %d: ", brush->id ); + Warning("\tBrush %d: ", brush->id ); } } } } - Warning( "\n\n" ); + Warning("\t\n\n" ); } @@ -1512,7 +1500,6 @@ void FindPortalSide (portal_t *p) bspbrush_t *bb; mapbrush_t *brush; node_t *n; - int i,j; int planenum; side_t *side, *bestside; float bestdist; @@ -1530,7 +1517,7 @@ void FindPortalSide (portal_t *p) bestside = NULL; bestdist = 1000000; - for (j=0 ; j<2 ; j++) + for (int j=0 ; j<2 ; j++) { n = p->nodes[j]; p1 = &g_MainMap->mapplanes[p->onnode->planenum]; @@ -1541,7 +1528,7 @@ void FindPortalSide (portal_t *p) if ( !(brush->contents & viscontents) ) continue; - for (i=0 ; inumsides ; i++) + for (int i=0 ; inumsides ; i++) { side = &brush->original_sides[i]; if (side->bevel) @@ -1581,7 +1568,7 @@ void FindPortalSide (portal_t *p) DisplayPortalError( p, viscontents ); if ( ++nWarnCount == 8 ) { - Warning("*** Suppressing further FindPortalSide errors.... ***\n" ); + Warning("\t*** Suppressing further FindPortalSide errors.... ***\n" ); } } } @@ -1636,21 +1623,20 @@ MarkVisibleSides // UNDONE: Put detail brushes in a separate list (not mapbrushes) ? void MarkVisibleSides (tree_t *tree, int startbrush, int endbrush, int detailScreen) { - int i, j; mapbrush_t *mb; - int numsides; - qboolean detail; + int numsides; + bool detail; qprintf ("--- MarkVisibleSides ---\n"); // clear all the visible flags - for (i=startbrush ; imapbrushes[i]; if ( detailScreen != FULL_DETAIL ) { - qboolean onlyDetail = (detailScreen==ONLY_DETAIL)?true:false; + bool onlyDetail = (detailScreen==ONLY_DETAIL)?true:false; // true for detail brushes detail = (mb->contents & CONTENTS_DETAIL) ? true : false; if ( onlyDetail ^ detail ) @@ -1661,7 +1647,7 @@ void MarkVisibleSides (tree_t *tree, int startbrush, int endbrush, int detailScr } numsides = mb->numsides; - for (j=0 ; joriginal_sides[j].visible = false; } @@ -1678,12 +1664,11 @@ void MarkVisibleSides (tree_t *tree, mapbrush_t **ppBrushes, int nCount ) qprintf ("--- MarkVisibleSides ---\n"); // clear all the visible flags - int i, j; - for ( i=0; i < nCount; ++i ) + for (int i = 0; i < nCount; ++i ) { mapbrush_t *mb = ppBrushes[i]; int numsides = mb->numsides; - for (j=0 ; joriginal_sides[j].visible = false; } diff --git a/sp/src/utils/vbsp/portals.h b/sp/src/utils/vbsp/portals.h index cf65ac7c3d..59b0384ab1 100644 --- a/sp/src/utils/vbsp/portals.h +++ b/sp/src/utils/vbsp/portals.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/prtfile.cpp b/sp/src/utils/vbsp/prtfile.cpp index 71d7e5cc3a..6d461908cd 100644 --- a/sp/src/utils/vbsp/prtfile.cpp +++ b/sp/src/utils/vbsp/prtfile.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -8,6 +8,11 @@ #include "vbsp.h" #include "collisionutils.h" + +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + /* ============================================================================== @@ -329,7 +334,14 @@ void WritePortalFile (tree_t *tree) qprintf ("--- WritePortalFile ---\n"); sprintf (filename, "%s.prt", source); - Msg ("writing %s...", filename); + +#ifdef MAPBASE + Msg("Writing portal file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s", filename); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("writing %s...", filename); +#endif headnode = tree->headnode; @@ -340,7 +352,7 @@ void WritePortalFile (tree_t *tree) // set the cluster field in every leaf and count the total number of portals num_visclusters = 0; - Msg("Building visibility clusters...\n"); + Msg("Building visibility clusters... "); CUtlVector leaves; BuildVisLeafList_r( headnode, leaves ); @@ -351,7 +363,7 @@ void WritePortalFile (tree_t *tree) // write the file FILE *pf = fopen (filename, "w"); if (!pf) - Error ("Error opening %s", filename); + Error ("\t\nError opening %s", filename); fprintf (pf, "%s\n", PORTALFILE); fprintf (pf, "%i\n", num_visclusters); @@ -369,6 +381,10 @@ void WritePortalFile (tree_t *tree) clusterleaf = 1; SaveClusters_r (headnode); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif } diff --git a/sp/src/utils/vbsp/staticprop.cpp b/sp/src/utils/vbsp/staticprop.cpp index a08ab4e27f..fe5a45175b 100644 --- a/sp/src/utils/vbsp/staticprop.cpp +++ b/sp/src/utils/vbsp/staticprop.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Places "detail" objects which are client-only renderable things // @@ -23,6 +23,10 @@ #include "tier1/strtools.h" #include "KeyValues.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + static void SetCurrentModel( studiohdr_t *pStudioHdr ); static void FreeCurrentModelVertexes(); @@ -172,12 +176,12 @@ bool LoadStudioModel( char const* pModelName, char const* pEntityType, CUtlBuffe { if ( isStaticProp == RET_FAIL_NOT_MARKED_STATIC_PROP ) { - Warning("Error! To use model \"%s\"\n" + Warning("\tError! To use model \"%s\"\n" " with %s, it must be compiled with $staticprop!\n", pModelName, pEntityType ); } else if ( isStaticProp == RET_FAIL_DYNAMIC ) { - Warning("Error! %s using model \"%s\", which must be used on a dynamic entity (i.e. prop_physics). Deleted.\n", pEntityType, pModelName ); + Warning("\tError! %s using model \"%s\", which must be used on a dynamic entity (i.e. prop_physics). Deleted.\n", pEntityType, pModelName ); } return false; } @@ -267,7 +271,7 @@ static CPhysCollide* GetCollisionModel( char const* pModelName ) CUtlBuffer buf; if (!LoadStudioModel(pModelName, "prop_static", buf)) { - Warning("Error loading studio model \"%s\"!\n", pModelName ); + Warning("\tError loading studio model \"%s\"!\n", pModelName ); // This way we don't try to load it multiple times lookup.m_pCollide = 0; @@ -287,7 +291,7 @@ static CPhysCollide* GetCollisionModel( char const* pModelName ) if ( !lookup.m_pCollide ) { - Warning("Bad geometry on \"%s\"!\n", pModelName ); + Warning("\tBad geometry on \"%s\"!\n", pModelName ); } // Debugging @@ -486,7 +490,7 @@ static void AddStaticPropToLump( StaticPropBuild_t const& build ) if ( !leafList.Count() ) { - Warning( "Static prop %s outside the map (%.2f, %.2f, %.2f)\n", build.m_pModelName, build.m_Origin.x, build.m_Origin.y, build.m_Origin.z ); + Warning("\tStatic prop %s outside the map (%.2f, %.2f, %.2f)\n", build.m_pModelName, build.m_Origin.x, build.m_Origin.y, build.m_Origin.z ); return; } // Insert an element into the lump data... @@ -566,9 +570,16 @@ static void SetLumpData( ) void EmitStaticProps() { #ifdef MAPBASE + #ifdef _WIN32 + Msg("Placing static props... "); + #else + Msg("Placing static props...\n"); + #endif +#else Msg("Placing static props...\n"); #endif + CreateInterfaceFn physicsFactory = GetPhysicsFactory(); if ( physicsFactory ) { @@ -688,7 +699,7 @@ void EmitStaticProps() #ifdef MAPBASE else if ( g_bPropperStripEntities && !strncmp( pEntity, "propper_", 8 ) ) // Strip out any entities with 'propper_' in their classname, as they don't actually exist in-game. { - Warning( "Not including %s in BSP compile due to it being a propper entity that isn't used in-game.\n", pEntity ); + Warning("\tNot including %s in BSP compile due to it being a propper entity that isn't used in-game.\n", pEntity ); entities[i].epairs = 0; } #endif @@ -704,6 +715,11 @@ void EmitStaticProps() SetLumpData( ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif } static studiohdr_t *g_pActiveStudioHdr; @@ -749,7 +765,7 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void * pModelData ) fileHandle = g_pFileSystem->Open( fileName, "rb" ); if ( !fileHandle ) { - Error( "Unable to load vertex data \"%s\"\n", fileName ); + Error( "\tUnable to load vertex data \"%s\"\n", fileName ); } // Get the file size @@ -757,7 +773,7 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void * pModelData ) if (size == 0) { g_pFileSystem->Close( fileHandle ); - Error( "Bad size for vertex data \"%s\"\n", fileName ); + Error( "\tBad size for vertex data \"%s\"\n", fileName ); } pVvdHdr = (vertexFileHeader_t *)malloc(size); @@ -767,15 +783,15 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void * pModelData ) // check header if (pVvdHdr->id != MODEL_VERTEX_FILE_ID) { - Error("Error Vertex File %s id %d should be %d\n", fileName, pVvdHdr->id, MODEL_VERTEX_FILE_ID); + Error("\tError Vertex File %s id %d should be %d\n", fileName, pVvdHdr->id, MODEL_VERTEX_FILE_ID); } if (pVvdHdr->version != MODEL_VERTEX_FILE_VERSION) { - Error("Error Vertex File %s version %d should be %d\n", fileName, pVvdHdr->version, MODEL_VERTEX_FILE_VERSION); + Error("\tError Vertex File %s version %d should be %d\n", fileName, pVvdHdr->version, MODEL_VERTEX_FILE_VERSION); } if (pVvdHdr->checksum != g_pActiveStudioHdr->checksum) { - Error("Error Vertex File %s checksum %d should be %d\n", fileName, pVvdHdr->checksum, g_pActiveStudioHdr->checksum); + Error("\tError Vertex File %s checksum %d should be %d\n", fileName, pVvdHdr->checksum, g_pActiveStudioHdr->checksum); } g_pActiveStudioHdr->pVertexBase = (void*)pVvdHdr; diff --git a/sp/src/utils/vbsp/textures.cpp b/sp/src/utils/vbsp/textures.cpp index 3a7cffde3d..c2b559ec1f 100644 --- a/sp/src/utils/vbsp/textures.cpp +++ b/sp/src/utils/vbsp/textures.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -24,7 +24,7 @@ textureref_t textureref[MAX_MAP_TEXTURES]; bool g_bHasWater = false; -extern qboolean onlyents; +extern bool onlyents; dtexdata_t *GetTexData( int index ) { @@ -63,7 +63,7 @@ int FindMiptex (const char *name) } } if (nummiptex == MAX_MAP_TEXTURES) - Error ("Too many unique textures, max %d", MAX_MAP_TEXTURES); + Error ("\tToo many unique textures, max %d", MAX_MAP_TEXTURES); strcpy (textureref[i].name, name); textureref[i].lightmapWorldUnitsPerLuxel = 0.0f; @@ -77,7 +77,7 @@ int FindMiptex (const char *name) } if (!found) - Warning("Material not found!: %s\n", name ); + Warning("\tMaterial not found!: %s\n", name ); // HANDLE ALL OF THE STUFF THAT ISN'T RENDERED WITH THE MATERIAL THAT IS ONE IT. @@ -261,7 +261,7 @@ int FindMiptex (const char *name) if ( !bKeepLighting && !Q_strncasecmp( pShaderName, "water", 5 ) || !Q_strncasecmp( pShaderName, "UnlitGeneric", 12 ) ) { //if ( !(textureref[i].flags & SURF_NOLIGHT) ) - // Warning("Forcing lit materal %s to nolight\n", name ); + // Warning("\tForcing lit materal %s to nolight\n", name ); textureref[i].flags |= SURF_NOLIGHT; } @@ -411,12 +411,12 @@ int FindAliasedTexData( const char *pName_, dtexdata_t *sourceTexture ) char *pName = ( char * )_alloca( strlen( pName_ ) + 1 ); strcpy( pName, pName_ ); strlwr( pName ); - int i, output; + int output; bool found; dtexdata_t *pTexData; MaterialSystemMaterial_t matID; - for ( i = 0; i < numtexdata; i++ ) + for (int i = 0; i < numtexdata; i++ ) { if ( !strcmp( pName, TexDataStringTable_GetString( GetTexData( i )->nameStringTableID ) ) ) return i; @@ -426,7 +426,7 @@ int FindAliasedTexData( const char *pName_, dtexdata_t *sourceTexture ) output = numtexdata; if ( numtexdata >= MAX_MAP_TEXDATA ) { - Error( "Too many unique texture mappings, max = %d\n", MAX_MAP_TEXDATA ); + Error( "\tToo many unique texture mappings, max = %d\n", MAX_MAP_TEXDATA ); } pTexData = GetTexData( output ); numtexdata++; @@ -488,7 +488,7 @@ int FindOrCreateTexData( const char *pName_ ) nOutput = numtexdata; if ( numtexdata >= MAX_MAP_TEXDATA ) { - Error( "Too many unique texture mappings, max = %d\n", MAX_MAP_TEXDATA ); + Error( "\tToo many unique texture mappings, max = %d\n", MAX_MAP_TEXDATA ); } dtexdata_t *pTexData = GetTexData( nOutput ); numtexdata++; @@ -569,7 +569,7 @@ int FindOrCreateTexInfo( const texinfo_t &searchTexInfo ) if ( onlyents ) { - Error( "FindOrCreateTexInfo: Tried to create new texinfo during -onlyents compile!\nMust compile without -onlyents" ); + Error( "\tFindOrCreateTexInfo: Tried to create new texinfo during -onlyents compile!\nMust compile without -onlyents" ); } return i; diff --git a/sp/src/utils/vbsp/tree.cpp b/sp/src/utils/vbsp/tree.cpp index 529e98389d..9ed8767b9b 100644 --- a/sp/src/utils/vbsp/tree.cpp +++ b/sp/src/utils/vbsp/tree.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -115,11 +115,10 @@ void FreeTree (tree_t *tree) void PrintTree_r (node_t *node, int depth) { - int i; plane_t *plane; bspbrush_t *bb; - for (i=0 ; iplanenum == PLANENUM_LEAF) { @@ -170,16 +169,16 @@ void PruneNodes_r (node_t *node) && (node->children[1]->contents & CONTENTS_SOLID) ) { if (node->faces) - Error ("node->faces seperating CONTENTS_SOLID"); + Error ("\tnode->faces seperating CONTENTS_SOLID"); if (node->children[0]->faces || node->children[1]->faces) - Error ("!node->faces with children"); + Error ("\t!node->faces with children"); // FIXME: free stuff node->planenum = PLANENUM_LEAF; node->contents = CONTENTS_SOLID; if (node->brushlist) - Error ("PruneNodes: node->brushlist"); + Error ("\tPruneNodes: node->brushlist"); // combine brush lists node->brushlist = node->children[1]->brushlist; diff --git a/sp/src/utils/vbsp/vbsp.cpp b/sp/src/utils/vbsp/vbsp.cpp index 75722bfee2..0c28b84584 100644 --- a/sp/src/utils/vbsp/vbsp.cpp +++ b/sp/src/utils/vbsp/vbsp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//========= Copyright Valve Corporation, All rights reserved. =================// // // Purpose: BSP Building tool // @@ -20,6 +20,10 @@ #include "byteswap.h" #include "worldvertextransitionfixup.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + #ifdef MAPBASE_VSCRIPT #include "vscript/ivscript.h" #include "vscript_vbsp.h" @@ -33,31 +37,29 @@ char name[1024]; char materialPath[1024]; vec_t microvolume = 1.0; -qboolean noprune; -qboolean glview; -qboolean nodetail; -qboolean fulldetail; -qboolean onlyents; + +bool noprune; +bool glview; +bool nodetail; +bool fulldetail; +bool onlyents; bool onlyprops; -qboolean nomerge; -qboolean nomergewater = false; -qboolean nowater; -qboolean nocsg; -qboolean noweld; -qboolean noshare; -qboolean nosubdiv; -qboolean notjunc; -qboolean noopt; -#ifdef MAPBASE -qboolean noleaktest; -#else -qboolean leaktest; -#endif -qboolean verboseentities; -qboolean dumpcollide = false; -qboolean g_bLowPriority = false; -qboolean g_DumpStaticProps = false; -qboolean g_bSkyVis = false; // skybox vis is off by default, toggle this to enable it +bool nomerge; +bool nomergewater = false; +bool nowater; +bool nocsg; +bool noweld; +bool noshare; +bool nosubdiv; +bool notjunc; +bool noopt; +bool verboseentities; +bool dumpcollide = false; +bool g_bLowPriority = false; +bool g_DumpStaticProps = false; +bool g_bSkyVis = false; // skybox vis is off by default, toggle this to enable it +bool noleaktest; + bool g_bLightIfMissing = false; bool g_snapAxialPlanes = false; bool g_bKeepStaleZip = false; @@ -102,6 +104,20 @@ int entity_num; node_t *block_nodes[BLOCKS_SPACE+2][BLOCKS_SPACE+2]; +/* +#ifdef MAPBASE + #ifdef _WIN32 + void EnableANSI() { + HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE); + DWORD dwMode = 0; + if (hOut != INVALID_HANDLE_VALUE && GetConsoleMode(hOut, &dwMode)) { + SetConsoleMode(hOut, dwMode | ENABLE_VIRTUAL_TERMINAL_PROCESSING); + } + } + #endif +#endif +*/ + //----------------------------------------------------------------------------- // Assign occluder areas (must happen *after* the world model is processed) //----------------------------------------------------------------------------- @@ -311,7 +327,7 @@ void ProcessWorldModel (void) } else { - Warning( ("**** leaked ****\n") ); + Warning("\n\t!========== Leak ==========!\n"); leaked = true; LeakFile (tree); #ifdef MAPBASE @@ -320,7 +336,7 @@ void ProcessWorldModel (void) if (leaktest) #endif { - Warning( ("--- MAP LEAKED ---\n") ); + Warning("\t!======= Map Leaked =======!\n"); exit (0); } } @@ -347,7 +363,12 @@ void ProcessWorldModel (void) // this turns portals with one solid side into faces // it also subdivides each face if necessary to fit max lightmap dimensions MakeFaces (tree->headnode); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); +#endif if (glview) { @@ -364,7 +385,12 @@ void ProcessWorldModel (void) start = Plat_FloatTime(); - Msg("FixTjuncs...\n"); +#ifdef MAPBASE + Msg("FixTjuncs..."); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("FixTjuncs...done (0)\n"); +#endif // This unifies the vertex list for all edges (splits collinear edges to remove t-junctions) // It also welds the list of vertices out of each winding/portal and rounds nearly integer verts to integer @@ -373,16 +399,26 @@ void ProcessWorldModel (void) // this merges all of the solid nodes that have separating planes if (!noprune) { - Msg("PruneNodes...\n"); +#ifdef MAPBASE + Msg("PruneNodes... "); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("PruneNodes...done (0)\n"); +#endif PruneNodes (tree->headnode); } // Msg( "SplitSubdividedFaces...\n" ); // SplitSubdividedFaces( tree->headnode ); - Msg("WriteBSP...\n"); + Msg("WriteBSP..."); WriteBSP (tree->headnode, pLeafFaceList); - Msg("done (%d)\n", (int)(Plat_FloatTime() - start) ); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (%d)\n", (int)(Plat_FloatTime() - start)); +#else + Msg("done (%d)\n", (int)(Plat_FloatTime() - start)); +#endif if (!leaked) { @@ -425,7 +461,7 @@ void ProcessSubModel( ) { const char *pClassName = ValueForKey( e, "classname" ); const char *pTargetName = ValueForKey( e, "targetname" ); - Error( "bmodel %d has no head node (class '%s', targetname '%s')", entity_num, pClassName, pTargetName ); + Error("\tbmodel %d has no head node (class '%s', targetname '%s')", entity_num, pClassName, pTargetName ); } MakeTreePortals (tree); @@ -502,8 +538,7 @@ static tree_t *ClipOccluderBrushes( ) entity_t *e = &entities[entity_num]; int end = e->firstbrush + e->numbrushes; - int i; - for ( i = e->firstbrush; i < end; ++i ) + for (int i = e->firstbrush; i < end; ++i ) { mapBrushes.AddToTail( &g_MainMap->mapbrushes[i] ); } @@ -540,11 +575,11 @@ static void GenerateOccluderSideList( int nEntity, CUtlVector &occluder { entity_t *e = &entities[nEntity]; int end = e->firstbrush + e->numbrushes; - int i, j; - for ( i = e->firstbrush; i < end; ++i ) + + for (int i = e->firstbrush; i < end; ++i ) { mapbrush_t *mb = &g_MainMap->mapbrushes[i]; - for ( j = 0; j < mb->numsides; ++j ) + for (int j = 0; j < mb->numsides; ++j ) { occluderSides.AddToTail( &(mb->original_sides[j]) ); } @@ -700,7 +735,7 @@ void SetOccluderArea( int nOccluder, int nArea, int nEntityNum ) { pTargetName = ""; } - Warning("Occluder \"%s\" straddles multiple areas. This is invalid!\n", pTargetName ); + Warning("\tOccluder \"%s\" straddles multiple areas. This is invalid!\n", pTargetName ); } #endif } @@ -791,7 +826,7 @@ void MarkNoDynamicShadowSides() g_MainMap->brushsides[iSide].m_bDynamicShadowsEnabled = true; } - for ( int i=0; i < g_NoDynamicShadowSides.Count(); i++ ) + for ( int i = 0; i < g_NoDynamicShadowSides.Count(); i++ ) { int brushSideID = g_NoDynamicShadowSides[i]; @@ -818,7 +853,7 @@ static void Compute3DSkyboxAreas( node_t *headnode, CUtlVector& areas ) node_t *pLeaf = PointInLeaf( headnode, entities[i].origin ); if (pLeaf->contents & CONTENTS_SOLID) { - Error ("Error! Entity sky_camera in solid volume! at %.1f %.1f %.1f\n", entities[i].origin.x, entities[i].origin.y, entities[i].origin.z); + Error ("\tError! Entity sky_camera in solid volume! at %.1f %.1f %.1f\n", entities[i].origin.x, entities[i].origin.y, entities[i].origin.z); } areas.AddToTail( pLeaf->area ); } @@ -901,12 +936,12 @@ void LoadPhysicsDLL( void ) void PrintCommandLine( int argc, char **argv ) { - Warning( "Command line: " ); + Warning("\tCommand line: " ); for ( int z=0; z < argc; z++ ) { - Warning( "\"%s\" ", argv[z] ); + Warning("\t\"%s\" ", argv[z] ); } - Warning( "\n\n" ); + Warning("\t\n\n" ); } @@ -929,7 +964,11 @@ int RunVBSP( int argc, char **argv ) LoadCmdLineFromFile( argc, argv, mapbase, "vbsp" ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &cyan, "Valve Software - vbsp.exe (Build: pc32 % s)", __DATE__ ); +#else Msg( "Valve Software - vbsp.exe (%s)\n", __DATE__ ); +#endif for (i=1 ; i Geometry complete in %s.", str); +#else + Msg("%s elapsed\n", str); +#endif DeleteCmdLine( argc, argv ); ReleasePakFileLumps(); @@ -1548,9 +1609,17 @@ int RunVBSP( int argc, char **argv ) main ============ */ -int main (int argc, char **argv) +int main(int argc, char** argv) { // Install an exception handler. + +/* +#ifdef MAPBASE + #ifdef _WIN32 + EnableANSI(); + #endif +#endif +*/ SetupDefaultToolsMinidumpHandler(); return RunVBSP( argc, argv ); } diff --git a/sp/src/utils/vbsp/vbsp.h b/sp/src/utils/vbsp/vbsp.h index 9147876aef..44f20434dd 100644 --- a/sp/src/utils/vbsp/vbsp.h +++ b/sp/src/utils/vbsp/vbsp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -380,22 +380,22 @@ extern CUtlVector< CMapFile * > g_Maps; extern int g_nMapFileVersion; -extern qboolean noprune; -extern qboolean nodetail; -extern qboolean fulldetail; -extern qboolean nomerge; -extern qboolean nomergewater; -extern qboolean nosubdiv; -extern qboolean nowater; -extern qboolean noweld; -extern qboolean noshare; -extern qboolean notjunc; -extern qboolean nocsg; -extern qboolean noopt; -extern qboolean dumpcollide; -extern qboolean nodetailcuts; -extern qboolean g_DumpStaticProps; -extern qboolean g_bSkyVis; +extern bool noprune; +extern bool nodetail; +extern bool fulldetail; +extern bool nomerge; +extern bool nomergewater; +extern bool nosubdiv; +extern bool nowater; +extern bool noweld; +extern bool noshare; +extern bool notjunc; +extern bool nocsg; +extern bool noopt; +extern bool dumpcollide; +extern bool nodetailcuts; +extern bool g_DumpStaticProps; +extern bool g_bSkyVis; extern vec_t microvolume; extern bool g_snapAxialPlanes; extern bool g_NodrawTriggers; @@ -403,10 +403,12 @@ extern bool g_DisableWaterLighting; extern bool g_bAllowDetailCracks; extern bool g_bNoVirtualMesh; extern bool g_bNoHiddenManifestMaps; + #ifdef MAPBASE extern bool g_bPropperInsertAllAsStatic; extern bool g_bPropperStripEntities; #endif + extern char outbase[32]; extern char source[1024]; diff --git a/sp/src/utils/vbsp/vbsp.vpc b/sp/src/utils/vbsp/vbsp.vpc index ff52752cdf..4f4ea230a4 100644 --- a/sp/src/utils/vbsp/vbsp.vpc +++ b/sp/src/utils/vbsp/vbsp.vpc @@ -85,6 +85,7 @@ $Project "Vbsp" $File "..\common\cmdlib.cpp" $File "$SRCDIR\public\filesystem_helpers.cpp" $File "$SRCDIR\public\filesystem_init.cpp" + $File "..\common\StandartColorFormat.cpp" $File "..\common\filesystem_tools.cpp" $File "..\common\map_shared.cpp" $File "..\common\pacifier.cpp" @@ -120,6 +121,7 @@ $Project "Vbsp" $File "$SRCDIR\public\builddisp.h" $File "$SRCDIR\public\ChunkFile.h" $File "..\common\cmdlib.h" + $File "..\common\StandartColorFormat.h" $File "disp_ivp.h" $File "$SRCDIR\public\filesystem.h" $File "$SRCDIR\public\filesystem_helpers.h" diff --git a/sp/src/utils/vbsp/vscript_funcs_vmfs.cpp b/sp/src/utils/vbsp/vscript_funcs_vmfs.cpp index 8ef38c8140..3c4740a1a5 100644 --- a/sp/src/utils/vbsp/vscript_funcs_vmfs.cpp +++ b/sp/src/utils/vbsp/vscript_funcs_vmfs.cpp @@ -33,7 +33,7 @@ static HSCRIPT VMFKV_CreateBlank() static bool VMFKV_SaveToFile( const char *szFile, HSCRIPT hKV ) { - Warning( "Getting keyvalues from thing\n" ); + Warning("\tGetting keyvalues from thing\n" ); KeyValues *pKV = scriptmanager->GetKeyValuesFromScriptKV( g_pScriptVM, hKV ); if (!pKV) @@ -51,7 +51,7 @@ static bool VMFKV_SaveToFile( const char *szFile, HSCRIPT hKV ) if ( !V_RemoveDotSlashes( pszFullName, CORRECT_PATH_SEPARATOR, true ) ) { - Warning( "Invalid file location : %s\n", szFile ); + Warning("\tInvalid file location : %s\n", szFile ); buf.Purge(); return false; } @@ -62,7 +62,7 @@ static bool VMFKV_SaveToFile( const char *szFile, HSCRIPT hKV ) V_StripFilename( pszDir ); //g_pFullFileSystem->RelativePathToFullPath( szFile, NULL, pszFullName, sizeof( pszFullName ) ); - Warning( "Full path is %s!\n", pszFullName ); + Warning("\tFull path is %s!\n", pszFullName ); g_pFullFileSystem->CreateDirHierarchy( pszDir, NULL ); bool res = g_pFullFileSystem->WriteFile( pszFullName, NULL, buf ); buf.Purge(); diff --git a/sp/src/utils/vbsp/vscript_vbsp.cpp b/sp/src/utils/vbsp/vscript_vbsp.cpp index bcb94845e7..747816436d 100644 --- a/sp/src/utils/vbsp/vscript_vbsp.cpp +++ b/sp/src/utils/vbsp/vscript_vbsp.cpp @@ -66,7 +66,7 @@ HSCRIPT VScriptCompileScript( const char *pszScriptName, bool bWarnMissing ) const char *pszIncomingExtension = V_strrchr( pszScriptName , '.' ); if ( pszIncomingExtension && V_strcmp( pszIncomingExtension, pszVMExtension ) != 0 ) { - Warning( "Script file type does not match VM type\n" ); + Warning("\tScript file type does not match VM type\n" ); return NULL; } @@ -107,7 +107,7 @@ HSCRIPT VScriptCompileScript( const char *pszScriptName, bool bWarnMissing ) if ( !bResult && bWarnMissing ) { - Warning( "Script not found (%s) \n", scriptPath.operator const char *() ); + Warning("\tScript not found (%s) \n", scriptPath.operator const char *() ); Assert( "Error running script" ); } @@ -125,7 +125,7 @@ HSCRIPT VScriptCompileScript( const char *pszScriptName, bool bWarnMissing ) HSCRIPT hScript = g_pScriptVM->CompileScript( pBase, pszFilename ); if ( !hScript ) { - Warning( "FAILED to compile and execute script file named %s\n", scriptPath.operator const char *() ); + Warning("\tFAILED to compile and execute script file named %s\n", scriptPath.operator const char *() ); Assert( "Error running script" ); } return hScript; @@ -142,14 +142,14 @@ bool VScriptRunScript( const char *pszScriptName, HSCRIPT hScope, bool bWarnMiss if ( !pszScriptName || !*pszScriptName ) { - Warning( "Cannot run script: NULL script name\n" ); + Warning("\tCannot run script: NULL script name\n" ); return false; } // Prevent infinite recursion in VM if ( g_ScriptVBSPRunScriptDepth > 16 ) { - Warning( "IncludeScript stack overflow\n" ); + Warning("\tIncludeScript stack overflow\n" ); return false; } @@ -161,7 +161,7 @@ bool VScriptRunScript( const char *pszScriptName, HSCRIPT hScope, bool bWarnMiss bSuccess = ( g_pScriptVM->Run( hScript, hScope ) != SCRIPT_ERROR ); if ( !bSuccess ) { - Warning( "Error running script named %s\n", pszScriptName ); + Warning("\tError running script named %s\n", pszScriptName ); Assert( "Error running script" ); } } @@ -253,12 +253,12 @@ bool DoIncludeScript( const char *pszScript, HSCRIPT hScope ) return true; } -extern qboolean glview; -extern qboolean onlyents; +extern bool glview; +extern bool onlyents; extern bool onlyprops; -extern qboolean noleaktest; -extern qboolean verboseentities; -extern qboolean g_bLowPriority; +extern bool noleaktest; +extern bool verboseentities; +extern bool g_bLowPriority; extern bool g_bKeepStaleZip; extern bool g_bNoDefaultCubemaps; extern bool g_bSkyboxCubemaps; diff --git a/sp/src/utils/vbsp/worldvertextransitionfixup.cpp b/sp/src/utils/vbsp/worldvertextransitionfixup.cpp index f97f393378..e6be498447 100644 --- a/sp/src/utils/vbsp/worldvertextransitionfixup.cpp +++ b/sp/src/utils/vbsp/worldvertextransitionfixup.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -51,7 +51,7 @@ static void GeneratePatchedMaterialName( const char *pMaterialName, char *pBuffe Assert( nLen < TEXTURE_NAME_LENGTH - 1 ); if ( nLen >= TEXTURE_NAME_LENGTH - 1 ) { - Error( "Generated worldvertextransition patch name : %s too long! (max = %d)\n", pBuffer, TEXTURE_NAME_LENGTH ); + Error("\tGenerated worldvertextransition patch name : %s too long! (max = %d)\n", pBuffer, TEXTURE_NAME_LENGTH ); } BackSlashToForwardSlash( pBuffer ); @@ -90,7 +90,7 @@ void CreateWorldVertexTransitionPatchedMaterial( const char *pOriginalMaterialNa RemoveKey( kv, "$envmap" ); } - Warning( "Patching WVT material: %s\n", pPatchedMaterialName ); + Warning("\tPatching WVT material: %s\n", pPatchedMaterialName ); WriteMaterialKeyValuesToPak( pPatchedMaterialName, kv ); } } @@ -111,7 +111,7 @@ int CreateBrushVersionOfWorldVertexTransitionMaterial( int originalTexInfo ) char patchedMaterialName[1024]; GeneratePatchedMaterialName( pOriginalMaterialName, patchedMaterialName, 1024 ); -// Warning( "GeneratePatchedMaterialName: %s %s\n", pMaterialName, patchedMaterialName ); +// Warning("\tGeneratePatchedMaterialName: %s %s\n", pMaterialName, patchedMaterialName ); // Make sure the texdata doesn't already exist. int nTexDataID = FindTexData( patchedMaterialName ); @@ -165,19 +165,19 @@ void WorldVertexTransitionFixup( void ) { CUtlVector sideList; sideList.SetCount( g_MainMap->num_entities ); - int i; - for ( i = 0; i < g_MainMap->num_entities; i++ ) + + for (int i = 0; i < g_MainMap->num_entities; i++ ) { sideList[i].firstBrushSide = 0; sideList[i].brushSideCount = 0; } - for ( i = 0; i < g_MainMap->nummapbrushes; i++ ) + for (int i = 0; i < g_MainMap->nummapbrushes; i++ ) { sideList[g_MainMap->mapbrushes[i].entitynum].brushSideCount += g_MainMap->mapbrushes[i].numsides; } int curSide = 0; - for ( i = 0; i < g_MainMap->num_entities; i++ ) + for (int i = 0; i < g_MainMap->num_entities; i++ ) { sideList[i].firstBrushSide = curSide; curSide += sideList[i].brushSideCount; diff --git a/sp/src/utils/vbsp/worldvertextransitionfixup.h b/sp/src/utils/vbsp/worldvertextransitionfixup.h index 9a1f0d3840..80aae2e9af 100644 --- a/sp/src/utils/vbsp/worldvertextransitionfixup.h +++ b/sp/src/utils/vbsp/worldvertextransitionfixup.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vbsp/writebsp.cpp b/sp/src/utils/vbsp/writebsp.cpp index 60d05980c3..758f1e1816 100644 --- a/sp/src/utils/vbsp/writebsp.cpp +++ b/sp/src/utils/vbsp/writebsp.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -16,6 +16,10 @@ #include "utldict.h" #include "map.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + int c_nofaces; int c_facenodes; @@ -45,13 +49,11 @@ brushes will be saved in the map. */ void EmitPlanes (void) { - int i; dplane_t *dp; - plane_t *mp; + plane_t* mp = g_MainMap->mapplanes; int planetranslate[MAX_MAP_PLANES]; - mp = g_MainMap->mapplanes; - for (i=0 ; inummapplanes ; i++, mp++) + for (int i=0 ; inummapplanes ; i++, mp++) { dp = &dplanes[numplanes]; planetranslate[i] = numplanes; @@ -85,14 +87,14 @@ void EmitMarkFace (dleaf_t *leaf_p, face_t *f) return; // degenerate face if (facenum < 0 || facenum >= numfaces) - Error ("Bad leafface"); + Error ("\tBad leafface"); for (i=leaf_p->firstleafface ; i= MAX_MAP_LEAFFACES) - Error ("Too many detail brush faces, max = %d\n", MAX_MAP_LEAFFACES); + Error ("\tToo many detail brush faces, max = %d\n", MAX_MAP_LEAFFACES); dleaffaces[numleaffaces] = facenum; numleaffaces++; @@ -119,7 +121,7 @@ void EmitLeaf (node_t *node) // emit a leaf if (numleafs >= MAX_MAP_LEAFS) - Error ("Too many BSP leaves, max = %d", MAX_MAP_LEAFS); + Error ("\tToo many BSP leaves, max = %d", MAX_MAP_LEAFS); node->diskId = numleafs; leaf_p = &dleafs[numleafs]; @@ -158,7 +160,7 @@ void EmitLeaf (node_t *node) for (b=node->brushlist ; b ; b=b->next) { if (numleafbrushes >= MAX_MAP_LEAFBRUSHES) - Error ("Too many brushes in one leaf, max = %d", MAX_MAP_LEAFBRUSHES); + Error ("\tToo many brushes in one leaf, max = %d", MAX_MAP_LEAFBRUSHES); brushnum = b->original - g_MainMap->mapbrushes; for (i=leaf_p->firstleafbrush ; i= MAX_MAP_FACES ) - Error( "Too many faces in map, max = %d", MAX_MAP_FACES ); + Error("\tToo many faces in map, max = %d", MAX_MAP_FACES ); of = &dorigfaces[numorigfaces]; numorigfaces++; @@ -275,7 +277,7 @@ int CreateOrigFace( face_t *f ) // // save the vertices // - for( i = 0; i < pWinding->numpoints; i++ ) + for(int i = 0; i < pWinding->numpoints; i++ ) { // // compare vertices @@ -286,7 +288,7 @@ int CreateOrigFace( face_t *f ) // // save off points -- as edges // - for( i = 0; i < pWinding->numpoints; i++ ) + for(int i = 0; i < pWinding->numpoints; i++ ) { // // look for matching edges first @@ -311,7 +313,7 @@ int CreateOrigFace( face_t *f ) // get next surface edge // if( numsurfedges >= MAX_MAP_SURFEDGES ) - Error( "Too much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); + Error("\tToo much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); dsurfedges[numsurfedges] = -j; numsurfedges++; break; @@ -329,7 +331,7 @@ int CreateOrigFace( face_t *f ) // get next surface edge // if( numsurfedges >= MAX_MAP_SURFEDGES ) - Error( "Too much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); + Error("\tToo much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); dsurfedges[numsurfedges] = ( numedges - 1 ); numsurfedges++; } @@ -348,26 +350,20 @@ int CreateOrigFace( face_t *f ) //----------------------------------------------------------------------------- int FindOrigFace( face_t *f ) { - int i; static int bClear = 0; - side_t *pSide; - // // initially clear the face side lists (per face plane) - // if( !bClear ) { - for( i = 0; i < MAX_MAP_PLANES; i++ ) + for(int i = 0; i < MAX_MAP_PLANES; i++ ) { pOrigFaceSideList[i] = NULL; } bClear = 1; } - // // compare the sides - // - for( pSide = pOrigFaceSideList[f->planenum]; pSide; pSide = pSide->next ) + for(side_t* pSide = pOrigFaceSideList[f->planenum]; pSide; pSide = pSide->next ) { if( pSide == f->originalface ) return pSide->origIndex; @@ -414,7 +410,6 @@ EmitFace void EmitFace( face_t *f, qboolean onNode ) { dface_t *df; - int i; int e; // void SubdivideFaceBySubdivSize( face_t *f ); // garymcthack @@ -437,7 +432,7 @@ void EmitFace( face_t *f, qboolean onNode ) // keep NODRAW terrain surfaces though if ( f->dispinfo == -1 ) return; - Warning("NODRAW on terrain surface!\n"); + Warning("\tNODRAW on terrain surface!\n"); } // save output number so leaffaces can use @@ -447,7 +442,7 @@ void EmitFace( face_t *f, qboolean onNode ) // get the next available .bsp face slot // if (numfaces >= MAX_MAP_FACES) - Error( "Too many faces in map, max = %d", MAX_MAP_FACES ); + Error("\tToo many faces in map, max = %d", MAX_MAP_FACES ); df = &dfaces[numfaces]; // Save the correlation between dfaces and faces -- since dfaces doesnt have worldcraft face id @@ -499,16 +494,14 @@ void EmitFace( face_t *f, qboolean onNode ) df->SetNumPrims( f->numPrims ); df->SetDynamicShadowsEnabled( f->originalface->m_bDynamicShadowsEnabled ); - // // save off points -- as edges - // - for( i = 0; i < f->numpoints; i++ ) + for(int i = 0; i < f->numpoints; i++ ) { //e = GetEdge (f->pts[i], f->pts[(i+1)%f->numpoints], f); e = GetEdge2 (f->vertexnums[i], f->vertexnums[(i+1)%f->numpoints], f); if (numsurfedges >= MAX_MAP_SURFEDGES) - Error( "Too much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); + Error("\tToo much brush geometry in bsp, numsurfedges == MAX_MAP_SURFEDGES" ); dsurfedges[numsurfedges] = e; numsurfedges++; } @@ -573,7 +566,6 @@ int EmitDrawNode_r (node_t *node) { dnode_t *n; face_t *f; - int i; if (node->planenum == PLANENUM_LEAF) { @@ -583,7 +575,7 @@ int EmitDrawNode_r (node_t *node) // emit a node if (numnodes == MAX_MAP_NODES) - Error ("MAX_MAP_NODES"); + Error ("\tMAX_MAP_NODES"); node->diskId = numnodes; n = &dnodes[numnodes]; @@ -593,7 +585,7 @@ int EmitDrawNode_r (node_t *node) VECTOR_COPY (node->maxs, n->maxs); if (node->planenum & 1) - Error ("WriteDrawNodes_r: odd planenum"); + Error ("\tWriteDrawNodes_r: odd planenum"); n->planenum = node->planenum; n->firstface = numfaces; n->area = node->area; @@ -612,7 +604,7 @@ int EmitDrawNode_r (node_t *node) // // recursively output the other nodes // - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { if (node->children[i]->planenum == PLANENUM_LEAF) { @@ -680,6 +672,7 @@ int FindMatchingBrushSideTexinfo( int sideIndex, const texinfomap_t *pMap ) int sideTexFlags = texinfo[side.texinfo].flags; int sideTexData = texinfo[side.texinfo].texdata; int sideSurfaceProp = g_SurfaceProperties[sideTexData]; + for ( int j = 0; j < texinfo.Count(); j++ ) { if ( pMap[j].refCount > 0 && @@ -703,6 +696,7 @@ void ComapctTexinfoArray( texinfomap_t *pMap ) texinfo.RemoveAll(); int firstSky = -1; int first2DSky = -1; + for ( int i = 0; i < old.Count(); i++ ) { if ( !pMap[i].refCount ) @@ -745,6 +739,7 @@ void CompactTexdataArray( texdatamap_t *pMap ) oldTexData.CopyArray( dtexdata, numtexdata ); // clear current table and rebuild numtexdata = 0; + for ( int i = 0; i < oldTexData.Count(); i++ ) { // unreferenced, note in map and skip @@ -767,12 +762,13 @@ void CompactTexdataArray( texdatamap_t *pMap ) void CompactTexinfos() { - Msg("Compacting texture/material tables...\n"); + Msg("Compacting texture/material tables..."); texinfomap_t *texinfoMap = new texinfomap_t[texinfo.Count()]; texdatamap_t *texdataMap = new texdatamap_t[numtexdata]; memset( texinfoMap, 0, sizeof(texinfoMap[0])*texinfo.Count() ); memset( texdataMap, 0, sizeof(texdataMap[0])*numtexdata ); int i; + // get texinfos referenced by faces for ( i = 0; i < numfaces; i++ ) { @@ -881,9 +877,24 @@ void CompactTexinfos() g_WaterOverlays[i].nTexInfo = texinfoMap[g_WaterOverlays[i].nTexInfo].outputIndex; } } - - Msg("Reduced %d texinfos to %d\n", oldCount, texinfo.Count() ); - Msg("Reduced %d texdatas to %d (%d bytes to %d)\n", oldTexdataCount, numtexdata, oldTexdataString, g_TexDataStringData.Count() ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); + Msg(" Reduced "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]", oldCount); + Msg(" texinfos to "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]\n",texinfo.Count()); + + Msg(" Reduced "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]", oldTexdataCount); + Msg(" texinfos to "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d] ", numtexdata); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "(%d bytes to %d)\n", oldTexdataString, g_TexDataStringData.Count()); +#else + Msg(" done\n"); + + Msg("Reduced %d texinfos to %d\n", oldCount, texinfo.Count()); + Msg("Reduced %d texdatas to %d (%d bytes to %d)\n", oldTexdataCount, numtexdata, oldTexdataString, g_TexDataStringData.Count()); +#endif delete[] texinfoMap; delete[] texdataMap; @@ -896,7 +907,6 @@ WriteBSP */ void WriteBSP (node_t *headnode, face_t *pLeafFaceList ) { - int i; int oldfaces; int oldorigfaces; @@ -921,7 +931,7 @@ void WriteBSP (node_t *headnode, face_t *pLeafFaceList ) // // add all displacement faces for the particular model // - for( i = 0; i < nummapdispinfo; i++ ) + for(int i = 0; i < nummapdispinfo; i++ ) { int entityIndex = GetDispInfoEntityNum( &mapdispinfo[i] ); if( entityIndex == entity_num ) @@ -1016,7 +1026,7 @@ void SetLightStyles (void) if (j == stylenum) { if (stylenum == MAX_SWITCHED_LIGHTS) - Error ("Too many switched lights (error at light %s), max = %d", t, MAX_SWITCHED_LIGHTS); + Error ("\tToo many switched lights (error at light %s), max = %d", t, MAX_SWITCHED_LIGHTS); strcpy (lighttargets[j], t); stylenum++; } @@ -1066,7 +1076,7 @@ void EmitBrushes (void) for (j=0 ; jnumsides ; j++) { if (numbrushsides == MAX_MAP_BRUSHSIDES) - Error ("MAX_MAP_BRUSHSIDES"); + Error ("\tMAX_MAP_BRUSHSIDES"); cp = &dbrushsides[numbrushsides]; numbrushsides++; cp->planenum = b->original_sides[j].planenum; @@ -1096,7 +1106,7 @@ void EmitBrushes (void) if (i == b->numsides) { if (numbrushsides >= MAX_MAP_BRUSHSIDES) - Error ("MAX_MAP_BRUSHSIDES"); + Error ("\tMAX_MAP_BRUSHSIDES"); dbrushsides[numbrushsides].planenum = planenum; dbrushsides[numbrushsides].texinfo = @@ -1150,8 +1160,7 @@ void BeginBSPFile (void) // to zero everywhere by default. static void ClearDistToClosestWater( void ) { - int i; - for( i = 0; i < numleafs; i++ ) + for(int i = 0; i < numleafs; i++ ) { g_LeafMinDistToWater[i] = 0; } @@ -1203,7 +1212,7 @@ void EnsurePresenceOfWaterLODControlEntity( void ) // Don't bother if there isn't any water in the map. return; } - for( int i=0; i < num_entities; i++ ) + for( int i = 0; i < num_entities; i++ ) { entity_t *e = &entities[i]; @@ -1216,7 +1225,7 @@ void EnsurePresenceOfWaterLODControlEntity( void ) } // None found, add one. - Warning( "Water found with no water_lod_control entity, creating a default one.\n" ); + Warning("\tWater found with no water_lod_control entity, creating a default one.\n" ); entity_t *mapent = &entities[num_entities]; num_entities++; @@ -1286,7 +1295,15 @@ void EndBSPFile (void) char targetPath[1024]; GetPlatformMapPath( source, targetPath, g_nDXLevel, 1024 ); + +#ifdef MAPBASE + Msg("Writing Bsp file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s ", targetPath); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else Msg ("Writing %s\n", targetPath); +#endif + WriteBSPFile (targetPath); } @@ -1302,12 +1319,11 @@ void BeginModel (void) dmodel_t *mod; int start, end; mapbrush_t *b; - int j; entity_t *e; Vector mins, maxs; if (nummodels == MAX_MAP_MODELS) - Error ("Too many brush models in map, max = %d", MAX_MAP_MODELS); + Error ("\tToo many brush models in map, max = %d", MAX_MAP_MODELS); mod = &dmodels[nummodels]; mod->firstface = numfaces; @@ -1325,7 +1341,7 @@ void BeginModel (void) end = start + e->numbrushes; ClearBounds (mins, maxs); - for (j=start ; jmapbrushes[j]; if (!b->numsides) @@ -1407,15 +1423,14 @@ static void AddNodeToBounds(int node, CUtlVector& skipAreas, Vector& mins, return; // Skip 3D skybox - int i; - for ( i = skipAreas.Count(); --i >= 0; ) + for (int i = skipAreas.Count(); --i >= 0; ) { if (dleafs[leaf].area == skipAreas[i]) return; } unsigned int firstface = dleafs[leaf].firstleafface; - for ( i = 0; i < dleafs[leaf].numleaffaces; ++i ) + for (int i = 0; i < dleafs[leaf].numleaffaces; ++i ) { unsigned int face = dleaffaces[ firstface + i ]; @@ -1461,8 +1476,7 @@ bool IsBoxInsideWorld( int node, CUtlVector &skipAreas, const Vector &vecMi return false; // Skip 3D skybox - int i; - for ( i = skipAreas.Count(); --i >= 0; ) + for (int i = skipAreas.Count(); --i >= 0; ) { if ( dleafs[leaf].area == skipAreas[i] ) return false; @@ -1509,8 +1523,7 @@ void AddDispsToBounds( int nHeadNode, CUtlVector& skipAreas, Vector &vecMin Vector vecDispMins, vecDispMaxs; // first determine how many displacement surfaces there will be per leaf - int i; - for ( i = 0; i < g_dispinfo.Count(); ++i ) + for (int i = 0; i < g_dispinfo.Count(); ++i ) { ComputeDispInfoBounds( i, vecDispMins, vecDispMaxs ); if ( IsBoxInsideWorld( nHeadNode, skipAreas, vecDispMins, vecDispMaxs ) ) diff --git a/sp/src/utils/vbsp/writebsp.h b/sp/src/utils/vbsp/writebsp.h index 5dfce099e5..ea8483731d 100644 --- a/sp/src/utils/vbsp/writebsp.h +++ b/sp/src/utils/vbsp/writebsp.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vice/vice.cpp b/sp/src/utils/vice/vice.cpp index 1697c60d38..53218cf4f2 100644 --- a/sp/src/utils/vice/vice.cpp +++ b/sp/src/utils/vice/vice.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/ichannel.h b/sp/src/utils/vmpi/ichannel.h index a26f034ce0..c5c16aa5bd 100644 --- a/sp/src/utils/vmpi/ichannel.h +++ b/sp/src/utils/vmpi/ichannel.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/imysqlwrapper.h b/sp/src/utils/vmpi/imysqlwrapper.h index 2604128854..2435465f03 100644 --- a/sp/src/utils/vmpi/imysqlwrapper.h +++ b/sp/src/utils/vmpi/imysqlwrapper.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/iphelpers.h b/sp/src/utils/vmpi/iphelpers.h index acd356a95b..6e455cdf9f 100644 --- a/sp/src/utils/vmpi/iphelpers.h +++ b/sp/src/utils/vmpi/iphelpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/messbuf.h b/sp/src/utils/vmpi/messbuf.h index 976ffa2f57..8b45f0919a 100644 --- a/sp/src/utils/vmpi/messbuf.h +++ b/sp/src/utils/vmpi/messbuf.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/threadhelpers.h b/sp/src/utils/vmpi/threadhelpers.h index bfba74f3aa..b1a77e1683 100644 --- a/sp/src/utils/vmpi/threadhelpers.h +++ b/sp/src/utils/vmpi/threadhelpers.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi.h b/sp/src/utils/vmpi/vmpi.h index cb7316f513..fae7c5720a 100644 --- a/sp/src/utils/vmpi/vmpi.h +++ b/sp/src/utils/vmpi/vmpi.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi_defs.h b/sp/src/utils/vmpi/vmpi_defs.h index 7d65508421..3aa614381e 100644 --- a/sp/src/utils/vmpi/vmpi_defs.h +++ b/sp/src/utils/vmpi/vmpi_defs.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi_dispatch.h b/sp/src/utils/vmpi/vmpi_dispatch.h index 981d4a2706..64c541e1f4 100644 --- a/sp/src/utils/vmpi/vmpi_dispatch.h +++ b/sp/src/utils/vmpi/vmpi_dispatch.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi_distribute_work.h b/sp/src/utils/vmpi/vmpi_distribute_work.h index 0435460808..7bc101087a 100644 --- a/sp/src/utils/vmpi/vmpi_distribute_work.h +++ b/sp/src/utils/vmpi/vmpi_distribute_work.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi_filesystem.h b/sp/src/utils/vmpi/vmpi_filesystem.h index f3c3c8a71a..a5f382dfd4 100644 --- a/sp/src/utils/vmpi/vmpi_filesystem.h +++ b/sp/src/utils/vmpi/vmpi_filesystem.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vmpi/vmpi_parameters.h b/sp/src/utils/vmpi/vmpi_parameters.h index e6f0abc990..080519625c 100644 --- a/sp/src/utils/vmpi/vmpi_parameters.h +++ b/sp/src/utils/vmpi/vmpi_parameters.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/disp_vrad.cpp b/sp/src/utils/vrad/disp_vrad.cpp index b1d63b6e17..533269e0c3 100644 --- a/sp/src/utils/vrad/disp_vrad.cpp +++ b/sp/src/utils/vrad/disp_vrad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -55,7 +55,7 @@ int GetAllNeighbors( const CCoreDispInfo *pDisp, int (&iNeighbors)[512] ) { const CDispCornerNeighbors *pCorner = pDisp->GetCornerNeighbors( iCorner ); - for ( int i=0; i < pCorner->m_nNeighbors; i++ ) + for ( int i = 0; i < pCorner->m_nNeighbors; i++ ) { if ( nNeighbors < ARRAYSIZE( iNeighbors ) ) iNeighbors[nNeighbors++] = pCorner->m_Neighbors[i]; @@ -66,7 +66,7 @@ int GetAllNeighbors( const CCoreDispInfo *pDisp, int (&iNeighbors)[512] ) { const CDispNeighbor *pEdge = pDisp->GetEdgeNeighbor( iEdge ); - for ( int i=0; i < 2; i++ ) + for ( int i = 0; i < 2; i++ ) { if ( pEdge->m_SubNeighbors[i].IsValid() ) if ( nNeighbors < 512 ) @@ -279,13 +279,13 @@ void BlendEdges( CCoreDispInfo **ppListBase, int listSize ) #if defined( USE_SCRATCHPAD ) void ScratchPad_DrawOriginalNormals( const CCoreDispInfo *pListBase, int listSize ) { - for ( int i=0; i < listSize; i++ ) + for ( int i = 0; i < listSize; i++ ) { const CCoreDispInfo *pDisp = &pListBase[i]; const CPowerInfo *pPowerInfo = pDisp->GetPowerInfo(); // Draw the triangles. - for ( int iTri=0; iTri < pPowerInfo->GetNumTriInfos(); iTri++ ) + for ( int iTri = 0; iTri < pPowerInfo->GetNumTriInfos(); iTri++ ) { const CTriInfo *pTriInfo = pPowerInfo->GetTriInfo( iTri ); diff --git a/sp/src/utils/vrad/disp_vrad.h b/sp/src/utils/vrad/disp_vrad.h index 0976c57400..e7097fd1e5 100644 --- a/sp/src/utils/vrad/disp_vrad.h +++ b/sp/src/utils/vrad/disp_vrad.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/iincremental.h b/sp/src/utils/vrad/iincremental.h index c80854f417..2c3ba6d0e0 100644 --- a/sp/src/utils/vrad/iincremental.h +++ b/sp/src/utils/vrad/iincremental.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/imagepacker.cpp b/sp/src/utils/vrad/imagepacker.cpp index f1cb5ed664..acb0267d5c 100644 --- a/sp/src/utils/vrad/imagepacker.cpp +++ b/sp/src/utils/vrad/imagepacker.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of @@ -17,9 +17,7 @@ bool CImagePacker::Reset( int maxLightmapWidth, int maxLightmapHeight ) -{ - int i; - +{ Assert( maxLightmapWidth <= MAX_MAX_LIGHTMAP_WIDTH ); m_MaxLightmapWidth = maxLightmapWidth; @@ -30,7 +28,7 @@ bool CImagePacker::Reset( int maxLightmapWidth, int maxLightmapHeight ) m_AreaUsed = 0; m_MinimumHeight = -1; - for( i = 0; i < m_MaxLightmapWidth; i++ ) + for(int i = 0; i < m_MaxLightmapWidth; i++ ) { m_pLightmapWavefront[i] = -1; } @@ -127,11 +125,8 @@ bool CImagePacker::AddBlock( int width, int height, int *returnX, int *returnY ) m_MinimumHeight = *returnY + height; // Update the wavefront info. - int x; - for( x = bestX; x < bestX + width; x++ ) - { + for(int x = bestX; x < bestX + width; x++ ) m_pLightmapWavefront[x] = outerMinY + height; - } // AddBlockToLightmapImage( *returnX, *returnY, width, height ); m_AreaUsed += width * height; diff --git a/sp/src/utils/vrad/imagepacker.h b/sp/src/utils/vrad/imagepacker.h index 93a4421aef..45427ee7fc 100644 --- a/sp/src/utils/vrad/imagepacker.h +++ b/sp/src/utils/vrad/imagepacker.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/utils/vrad/incremental.cpp b/sp/src/utils/vrad/incremental.cpp index ad46d04d11..d805ea6def 100644 --- a/sp/src/utils/vrad/incremental.cpp +++ b/sp/src/utils/vrad/incremental.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -239,7 +239,7 @@ bool CIncremental::WriteIncrementalHeader( long fp ) CIncrementalHeader hdr; hdr.m_FaceLightmapSizes.SetSize( nFaces ); - for( int i=0; i < nFaces; i++ ) + for( int i = 0; i < nFaces; i++ ) { hdr.m_FaceLightmapSizes[i].m_Width = g_pFaces[i].m_LightmapTextureSizeInLuxels[0]; hdr.m_FaceLightmapSizes[i].m_Height = g_pFaces[i].m_LightmapTextureSizeInLuxels[1]; @@ -266,7 +266,7 @@ bool CIncremental::IsIncrementalFileValid() if( hdr.m_FaceLightmapSizes.Count() == numfaces ) { int i; - for( i=0; i < numfaces; i++ ) + for( i = 0; i < numfaces; i++ ) { if( hdr.m_FaceLightmapSizes[i].m_Width != g_pFaces[i].m_LightmapTextureSizeInLuxels[0] || hdr.m_FaceLightmapSizes[i].m_Height != g_pFaces[i].m_LightmapTextureSizeInLuxels[1] ) @@ -385,7 +385,7 @@ void CompressLightData( unsigned char runLength=0; unsigned short flLastValue; - for( int i=0; i < nValues; i++ ) + for( int i = 0; i < nValues; i++ ) { unsigned short flCurValue = (unsigned short)pValues[i].m_Dot; @@ -422,7 +422,7 @@ void CompressLightData( void MultiplyValues( CUtlVector &values, float scale ) { - for( int i=0; i < values.Count(); i++ ) + for( int i = 0; i < values.Count(); i++ ) values[i].m_Dot *= scale; } diff --git a/sp/src/utils/vrad/incremental.h b/sp/src/utils/vrad/incremental.h index 9e98054b35..a20f637df7 100644 --- a/sp/src/utils/vrad/incremental.h +++ b/sp/src/utils/vrad/incremental.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/leaf_ambient_lighting.cpp b/sp/src/utils/vrad/leaf_ambient_lighting.cpp index 3836592e08..07962e3da1 100644 --- a/sp/src/utils/vrad/leaf_ambient_lighting.cpp +++ b/sp/src/utils/vrad/leaf_ambient_lighting.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -17,6 +17,10 @@ #include "vmpi.h" #include "vmpi_distribute_work.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + static TableVector g_BoxDirections[6] = { { 1, 0, 0 }, @@ -124,7 +128,7 @@ void AddEmitSurfaceLights( const Vector &vStart, Vector lightBoxColor[6] ) if ( ratio == 0 ) continue; - for ( int i=0; i < 6; i++ ) + for ( int i = 0; i < 6; i++ ) { float t = DotProduct( g_BoxDirections[i], vDeltaNorm ); if ( t > 0 ) @@ -622,7 +626,7 @@ void ComputePerLeafAmbientLighting() // Figure out which lights should go in the per-leaf ambient cubes. int nInAmbientCube = 0; int nSurfaceLights = 0; - for ( int i=0; i < *pNumworldlights; i++ ) + for ( int i = 0; i < *pNumworldlights; i++ ) { dworldlight_t *wl = &dworldlights[i]; @@ -638,8 +642,14 @@ void ComputePerLeafAmbientLighting() ++nInAmbientCube; } +#ifdef MAPBASE + Msg("Surface lights"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%d] ", nInAmbientCube); + Msg("went in leaf ambient cubes"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%d][%d%%]\n", nSurfaceLights, nSurfaceLights ? ((nInAmbientCube * 100) / nSurfaceLights) : 0); +#else Msg( "%d of %d (%d%% of) surface lights went in leaf ambient cubes.\n", nInAmbientCube, nSurfaceLights, nSurfaceLights ? ((nInAmbientCube*100) / nSurfaceLights) : 0 ); - +#endif g_LeafAmbientSamples.SetCount(numleafs); if ( g_bUseMPI ) @@ -654,7 +664,7 @@ void ComputePerLeafAmbientLighting() } // now write out the data - Msg("Writing leaf ambient..."); + Msg("Writing leaf ambient... "); g_pLeafAmbientIndex->RemoveAll(); g_pLeafAmbientLighting->RemoveAll(); g_pLeafAmbientIndex->SetCount( numleafs ); @@ -703,6 +713,11 @@ void ComputePerLeafAmbientLighting() g_pLeafAmbientIndex->Element(i).firstAmbientSample = refLeaf; } } + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else Msg("done\n"); +#endif } diff --git a/sp/src/utils/vrad/leaf_ambient_lighting.h b/sp/src/utils/vrad/leaf_ambient_lighting.h index 6dd9410689..585c62ee77 100644 --- a/sp/src/utils/vrad/leaf_ambient_lighting.h +++ b/sp/src/utils/vrad/leaf_ambient_lighting.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/lightmap.cpp b/sp/src/utils/vrad/lightmap.cpp index bfa4bd03bc..db90a43689 100644 --- a/sp/src/utils/vrad/lightmap.cpp +++ b/sp/src/utils/vrad/lightmap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -23,6 +23,14 @@ #include "bitmap/imageformat.h" #include "coordsize.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + +#ifdef MAPBASE +#include "vtf/swizzler.h" +#endif + enum { AMBIENT_ONLY = 0x1, @@ -76,7 +84,7 @@ static directlight_t *gAmbient = NULL; CNormalList::CNormalList() : m_Normals( 128 ) { - for( int i=0; i < sizeof(m_NormalGrid)/sizeof(m_NormalGrid[0][0][0]); i++ ) + for( int i = 0; i < sizeof(m_NormalGrid)/sizeof(m_NormalGrid[0][0][0]); i++ ) { (&m_NormalGrid[0][0][0] + i)->SetGrowSize( 16 ); } @@ -96,7 +104,7 @@ int CNormalList::FindOrAddNormal( Vector const &vNormal ) // Look for a matching vector in there. CUtlVector *pGridElement = &m_NormalGrid[gi[0]][gi[1]][gi[2]]; - for( int i=0; i < pGridElement->Size(); i++ ) + for( int i = 0; i < pGridElement->Size(); i++ ) { int iNormal = pGridElement->Element(i); @@ -298,7 +306,7 @@ void PairEdges (void) numneighbors++; if ( numneighbors > ARRAYSIZE(tmpneighbor) ) { - Error("Stack overflow in neighbors\n"); + Error("\tStack overflow in neighbors\n"); } } } @@ -328,18 +336,17 @@ void PairEdges (void) void SaveVertexNormals( void ) { faceneighbor_t *fn; - int i, j; dface_t *f; CNormalList normalList; g_numvertnormalindices = 0; - for( i = 0 ;inumedges; j++ ) + for(int j = 0; j < f->numedges; j++ ) { Vector vNormal; if( fn->normal ) @@ -354,7 +361,7 @@ void SaveVertexNormals( void ) if( g_numvertnormalindices == MAX_MAP_VERTNORMALINDICES ) { - Error( "g_numvertnormalindices == MAX_MAP_VERTNORMALINDICES" ); + Error( "\tg_numvertnormalindices == MAX_MAP_VERTNORMALINDICES" ); } g_vertnormalindices[g_numvertnormalindices] = (unsigned short)normalList.FindOrAddNormal( vNormal ); @@ -364,7 +371,7 @@ void SaveVertexNormals( void ) if( normalList.m_Normals.Size() > MAX_MAP_VERTNORMALS ) { - Error( "g_numvertnormals > MAX_MAP_VERTNORMALS" ); + Error( "\tg_numvertnormals > MAX_MAP_VERTNORMALS" ); } // Copy the list of unique vert normals into g_vertnormals. @@ -401,14 +408,14 @@ void ErrorLightInfo(const char *s, lightinfo_t *l) WindingCenter(w, vecCenter); // FreeWinding(w); - Warning("%s at (%g, %g, %g)\n\tmaterial=%s\n", s, (double)vecCenter.x, (double)vecCenter.y, (double)vecCenter.z, TexDataStringTable_GetString( dtexdata[tex->texdata].nameStringTableID ) ); + Warning("\t%s at (%g, %g, %g)\n\tmaterial=%s\n", s, (double)vecCenter.x, (double)vecCenter.y, (double)vecCenter.z, TexDataStringTable_GetString( dtexdata[tex->texdata].nameStringTableID ) ); } // // If not, just show the material name. // else { - Warning("%s at (degenerate face)\n\tmaterial=%s\n", s, TexDataStringTable_GetString( dtexdata[tex->texdata].nameStringTableID )); + Warning("\t%s at (degenerate face)\n\tmaterial=%s\n", s, TexDataStringTable_GetString( dtexdata[tex->texdata].nameStringTableID )); } } @@ -417,18 +424,13 @@ void ErrorLightInfo(const char *s, lightinfo_t *l) void CalcFaceVectors(lightinfo_t *l) { texinfo_t *tex; - int i, j; tex = &texinfo[l->face->texinfo]; // move into lightinfo_t - for (i=0 ; i<2 ; i++) - { - for (j=0 ; j<3 ; j++) - { + for (int i=0 ; i<2 ; i++) + for (int j=0 ; j<3 ; j++) l->worldToLuxelSpace[i][j] = tex->lightmapVecsLuxelsPerWorldUnits[i][j]; - } - } //Solve[ { x * w00 + y * w01 + z * w02 - s == 0, x * w10 + y * w11 + z * w12 - t == 0, A * x + B * y + C * z + D == 0 }, { x, y, z } ] //Rule(x,( C*s*w11 - B*s*w12 + B*t*w02 - C*t*w01 + D*w02*w11 - D*w01*w12) / (+ A*w01*w12 - A*w02*w11 + B*w02*w10 - B*w00*w12 + C*w00*w11 - C*w01*w10 )), @@ -450,7 +452,7 @@ void CalcFaceVectors(lightinfo_t *l) float det = -DotProduct( l->facenormal, luxelSpaceCross ); if ( fabs( det ) < 1.0e-20 ) { - Warning(" warning - face vectors parallel to face normal. bad lighting will be produced\n" ); + Warning("\t warning - face vectors parallel to face normal. bad lighting will be produced\n" ); l->luxelOrigin = vec3_origin; } else @@ -475,15 +477,13 @@ void CalcFaceVectors(lightinfo_t *l) } - winding_t *LightmapCoordWindingForFace( lightinfo_t *l ) { - int i; winding_t *w; w = WindingFromFace( l->face, l->modelorg ); - for (i = 0; i < w->numpoints; i++) + for (int i = 0; i < w->numpoints; i++) { Vector2D coord; WorldToLuxelSpace( l, w->p[i], coord ); @@ -498,11 +498,10 @@ winding_t *LightmapCoordWindingForFace( lightinfo_t *l ) void WriteCoordWinding (FILE *out, lightinfo_t *l, winding_t *w, Vector& color ) { - int i; Vector pos; fprintf (out, "%i\n", w->numpoints); - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { LuxelSpaceToWorld( l, w->p[i][0], w->p[i][1], pos ); fprintf (out, "%5.2f %5.2f %5.2f %5.3f %5.3f %5.3f\n", @@ -811,8 +810,7 @@ bool BuildFacesamples( lightinfo_t *pLightInfo, facelight_t *pFaceLight ) //----------------------------------------------------------------------------- void FreeSampleWindings( facelight_t *fl ) { - int i; - for (i = 0; i < fl->numsamples; i++) + for (int i = 0; i < fl->numsamples; i++) { if (fl->sample[i].w) { @@ -940,10 +938,9 @@ int numdlights; */ entity_t *FindTargetEntity (char *target) { - int i; char *n; - for (i=0 ; ilight.origin[0], (int)dl->light.origin[1], (int)dl->light.origin[2]); else { @@ -1179,13 +1176,13 @@ static void SetLightFalloffParams( entity_t * e, directlight_t * dl ) float d0 = FloatForKey( e, "_zero_percent_distance" ); if ( d0 < d50 ) { - Warning( "light has _fifty_percent_distance of %f but _zero_percent_distance of %f\n", d50, d0); + Warning("\tlight has _fifty_percent_distance of %f but _zero_percent_distance of %f\n", d50, d0); d0 = 2.0 * d50; } float a = 0, b = 1, c = 0; if ( ! SolveInverseQuadraticMonotonic( 0, 1.0, d50, 2.0, d0, 256.0, a, b, c )) { - Warning( "can't solve quadratic for light %f %f\n", d50, d0 ); + Warning("\tcan't solve quadratic for light %f %f\n", d50, d0 ); } // it it possible that the parameters couldn't be used because of enforing monoticity. If so, rescale so at // least the 50 percent value is right @@ -1290,14 +1287,14 @@ static void ParseLightSpot( entity_t* e, directlight_t* dl ) // Clamp to 90, that's all DX8 can handle! if (dl->light.stopdot > 90) { - Warning("WARNING: light_spot at (%i %i %i) has inner angle larger than 90 degrees! Clamping to 90...\n", + Warning("\tWARNING: light_spot at (%i %i %i) has inner angle larger than 90 degrees! Clamping to 90...\n", (int)dl->light.origin[0], (int)dl->light.origin[1], (int)dl->light.origin[2]); dl->light.stopdot = 90; } if (dl->light.stopdot2 > 90) { - Warning("WARNING: light_spot at (%i %i %i) has outer angle larger than 90 degrees! Clamping to 90...\n", + Warning("\tWARNING: light_spot at (%i %i %i) has outer angle larger than 90 degrees! Clamping to 90...\n", (int)dl->light.origin[0], (int)dl->light.origin[1], (int)dl->light.origin[2]); dl->light.stopdot2 = 90; } @@ -1485,7 +1482,13 @@ static void ParseLightEnvironment( entity_t* e, directlight_t* dl ) { g_SunAngularExtent=atof(angle_str); g_SunAngularExtent=sin((M_PI/180.0)*g_SunAngularExtent); + +#ifdef MAPBASE + printf("Sun extent from map "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%f]\n", g_SunAngularExtent); +#else printf("sun extent from map=%f\n",g_SunAngularExtent); +#endif } if ( !gSkyLight ) { @@ -1540,7 +1543,6 @@ static void ParseLightPoint( entity_t* e, directlight_t* dl ) #define DIRECT_SCALE (100.0*100.0) void CreateDirectLights (void) { - unsigned i; CPatch *p = NULL; directlight_t *dl = NULL; entity_t *e = NULL; @@ -1551,11 +1553,9 @@ void CreateDirectLights (void) FreeDLights(); - // // surfaces - // unsigned int uiPatchCount = g_Patches.Count(); - for (i=0; i< uiPatchCount; i++) + for (unsigned int i = 0; i< uiPatchCount; i++) { p = &g_Patches.Element( i ); @@ -1584,7 +1584,7 @@ void CreateDirectLights (void) // // entities // - for (i=0 ; i<(unsigned)num_entities ; i++) + for (unsigned int i=0 ; i<(unsigned)num_entities ; i++) { e = &entities[i]; name = ValueForKey (e, "classname"); @@ -1613,7 +1613,13 @@ void CreateDirectLights (void) } } +#ifdef MAPBASE + Msg("Direct lights"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%i]\n", numdlights); +#else qprintf ("%i direct lights\n", numdlights); +#endif + // exit(1); } @@ -1625,18 +1631,16 @@ void CreateDirectLights (void) void ExportDirectLightsToWorldLights() { - directlight_t *dl; - // In case the level has already been VRADed. *pNumworldlights = 0; - for (dl = activelights; dl != NULL; dl = dl->next ) + for (directlight_t *dl = activelights; dl != NULL; dl = dl->next ) { dworldlight_t *wl = &dworldlights[(*pNumworldlights)++]; if (*pNumworldlights > MAX_MAP_WORLDLIGHTS) { - Error("too many lights %d / %d\n", *pNumworldlights, MAX_MAP_WORLDLIGHTS ); + Error("\ttoo many lights %d / %d\n", *pNumworldlights, MAX_MAP_WORLDLIGHTS ); } wl->cluster = dl->light.cluster; @@ -2030,7 +2034,7 @@ void GatherSampleLightSSE( SSE_sampleLightOutput_t &out, directlight_t *dl, int iThread, nLFlags, static_prop_index_to_ignore, flEpsilon ); break; default: - Error ("Bad dl->light.type"); + Error ("\tBad dl->light.type"); return; } @@ -2061,17 +2065,14 @@ void AddSampleToPatch (sample_t *s, LightingValue_t& light, int facenum) { CPatch *patch; Vector mins, maxs; - int i; if (numbounce == 0) return; if( VectorAvg( light.m_vecLighting ) < 1) return; - // // fixed the sample position and normal -- need to find the equiv pos, etc to set up // patches - // if( g_FacePatches.Element( facenum ) == g_FacePatches.InvalidIndex() ) return; @@ -2097,7 +2098,7 @@ void AddSampleToPatch (sample_t *s, LightingValue_t& light, int facenum) // see if the point is in this patch (roughly) WindingBounds (patch->winding, mins, maxs); - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { if (mins[i] > s->pos[i] + radius) goto nextpatch; @@ -2117,7 +2118,6 @@ void AddSampleToPatch (sample_t *s, LightingValue_t& light, int facenum) void GetPhongNormal( int facenum, Vector const& spot, Vector& phongnormal ) { - int j; dface_t *f = &g_pFaces[facenum]; // dplane_t *p = &dplanes[f->planenum]; Vector facenormal, vspot; @@ -2135,7 +2135,7 @@ void GetPhongNormal( int facenum, Vector const& spot, Vector& phongnormal ) // Second attempt: find edge points+center that bound the point and do a three-point triangulation(baricentric) // Better third attempt: generate the point normals for all vertices and do baricentric triangulation. - for (j=0 ; jnumedges ; j++) + for (int j=0 ; jnumedges ; j++) { Vector v1, v2; //int e = dsurfedges[f->firstedge + j]; @@ -2216,7 +2216,6 @@ void GetPhongNormal( int facenum, Vector const& spot, Vector& phongnormal ) void GetPhongNormal( int facenum, FourVectors const& spot, FourVectors& phongnormal ) { - int j; dface_t *f = &g_pFaces[facenum]; // dplane_t *p = &dplanes[f->planenum]; Vector facenormal; @@ -2238,7 +2237,7 @@ void GetPhongNormal( int facenum, FourVectors const& spot, FourVectors& phongnor // Second attempt: find edge points+center that bound the point and do a three-point triangulation(baricentric) // Better third attempt: generate the point normals for all vertices and do baricentric triangulation. - for ( j = 0; j < f->numedges; ++j ) + for (int j = 0; j < f->numedges; ++j ) { Vector v1, v2; fltx4 a1, a2; @@ -2329,7 +2328,7 @@ int GetVisCache( int lastoffset, int cluster, byte *pvs ) { if ( thisoffset == -1 ) { - Error ("visofs == -1"); + Error ("\tvisofs == -1"); } DecompressVis (&dvisdata[thisoffset], pvs); @@ -2856,7 +2855,7 @@ static inline void ComputeLuxelIntensity( SSE_SampleInfo_t& info, int sampleIdx, //----------------------------------------------------------------------------- static void ComputeSampleIntensities( SSE_SampleInfo_t& info, LightingValue_t **ppLightSamples, float* pSampleIntensity ) { - for (int i=0; inumsamples; i++) + for (int i = 0; inumsamples; i++) { ComputeLuxelIntensity( info, i, ppLightSamples, pSampleIntensity ); } @@ -3058,13 +3057,12 @@ static void InitSampleInfo( lightinfo_t const& l, int iThread, SSE_SampleInfo_t& void BuildFacelights (int iThread, int facenum) { - int i, j; + int j; lightinfo_t l; dface_t *f; facelight_t *fl; SSE_SampleInfo_t sampleInfo; - directlight_t *dl; Vector spot; Vector v[4], n[4]; @@ -3148,7 +3146,7 @@ void BuildFacelights (int iThread, int facenum) // Tell the incremental light manager that we're done with this face. if( g_pIncremental ) { - for (dl = activelights; dl != NULL; dl = dl->next) + for (directlight_t* dl = activelights; dl != NULL; dl = dl->next) { // Only deal with lightstyle 0 for incremental lighting if (dl->light.style == 0) @@ -3164,7 +3162,7 @@ void BuildFacelights (int iThread, int facenum) if (do_extra && !sampleInfo.m_IsDispFace) { // For each lightstyle, perform a supersampling pass - for ( i = 0; i < MAXLIGHTMAPS; ++i ) + for (int i = 0; i < MAXLIGHTMAPS; ++i ) { // Stop when we run out of lightstyles if (f->styles[i] == 255) @@ -3195,7 +3193,7 @@ void BuildFacelights (int iThread, int facenum) void BuildPatchLights( int facenum ) { - int i, k; + int k; CPatch *patch; @@ -3211,7 +3209,7 @@ void BuildPatchLights( int facenum ) if (k >= MAXLIGHTMAPS) return; - for (i = 0; i < fl->numsamples; i++) + for (int i = 0; i < fl->numsamples; i++) { AddSampleToPatch( &fl->sample[i], fl->light[k][0][i], facenum); } @@ -3305,11 +3303,11 @@ void BuildPatchLights( int facenum ) // add an ambient term if desired if (ambient[0] || ambient[1] || ambient[2]) { - for( int j=0; j < MAXLIGHTMAPS && f->styles[j] != 255; j++ ) + for( int j = 0; j < MAXLIGHTMAPS && f->styles[j] != 255; j++ ) { if ( f->styles[j] == 0 ) { - for (i = 0; i < fl->numsamples; i++) + for (int i = 0; i < fl->numsamples; i++) { fl->light[j][0][i].m_vecLighting += ambient; if( needsBumpmap ) @@ -3330,7 +3328,7 @@ void BuildPatchLights( int facenum ) #if 0 // if( VectorAvg( g_FacePatches[facenum]->baselight ) >= dlight_threshold) // Now all lighted surfaces glow { - for( j=0; j < MAXLIGHTMAPS && f->styles[j] != 255; j++ ) + for( j = 0; j < MAXLIGHTMAPS && f->styles[j] != 255; j++ ) { if ( f->styles[j] == 0 ) { @@ -3419,6 +3417,12 @@ void PrecompLightmapOffsets() pdlightdata->SetSize( lightdatasize ); } +#ifdef MAPBASE +CUtlVector g_ImagePackers; +CUtlVector g_rawLightmapPages; +char g_currentMaterialName[256]; +#endif + // Clamp the three values for bumped lighting such that we trade off directionality for brightness. static void ColorClampBumped( Vector& color1, Vector& color2, Vector& color3 ) { @@ -3439,8 +3443,7 @@ static void ColorClampBumped( Vector& color1, Vector& color2, Vector& color3 ) CONDITION(2,0,1); CONDITION(2,1,0); - int i; - for( i = 0; i < 3; i++ ) + for(int i = 0; i < 3; i++ ) { float max = VectorMaximum( *colors[order[i]] ); if( max <= 1.0f ) @@ -3575,3 +3578,859 @@ void ConvertRGBExp32ToRGBA8888( const ColorRGBExp32 *pSrc, unsigned char *pDst ) pDst[3] = 255; } +#ifdef MAPBASE +void SwizzleRect(const byte* pSource, byte* pTarget, int texWidth, int texHeight, int bytesPerPixel) +{ + int x; + int y; + int n; + byte* pDst; + const byte* pSrc; + + // Initialize a swizzler. The swizzler lets us easily convert texel + // addresses when the texture is swizzled. + Swizzler swizzle(texWidth, texHeight, 0); + + // Loop through and touch the texels. Note that SetU()/SetV() and + // IncU()/IncV() are used to control texture addressed. This way, + // the Get2D() function can be used to get the current address. + // Initialize the V texture coordinate + swizzle.SetV(0); + + for (y = 0; y < texHeight; y++) + { + swizzle.SetU(0); + pSrc = pSource + y * texWidth * bytesPerPixel; + for (x = 0; x < texWidth; x++) + { + pDst = pTarget + swizzle.Get2D() * bytesPerPixel; + for (n = 0; n < bytesPerPixel; n++) + { + pDst[n] = pSrc[n]; + } + + swizzle.IncU(); + pSrc += bytesPerPixel; + } + swizzle.IncV(); + } +} + + +//----------------------------------------------------------------------------- +// Ensure the material names compare correctly by removing path or case disparity. +//----------------------------------------------------------------------------- +static int MaterialNameCompare(const char* pName1, const char* pName2) +{ + char buff1[256]; + char buff2[256]; + Assert(strlen(pName1) < sizeof(buff1)); + Assert(strlen(pName2) < sizeof(buff2)); + + // normalize + strcpy(buff1, pName1); + strlwr(buff1); + Q_FixSlashes(buff1, '/'); + + // normalize + strcpy(buff2, pName2); + strlwr(buff2); + Q_FixSlashes(buff2, '/'); + + return strcmp(buff1, buff2); +} + + +//----------------------------------------------------------------------------- +// Allocate a surface's lightmap onto a page +// The materials must be presented in sorted order. +// Lightmaps are allocated onto succesive pages, and do not backfill. +//----------------------------------------------------------------------------- +static int AllocateLightmap(int width, int height, int offsetIntoLightmapPage[2], const char* pMaterialName) +{ + // material change + int i; + int lightmapPage = -1; + int nPackCount; + static int imagePackerBase = 0; + bool bMaterialChange; + + bMaterialChange = false; + nPackCount = g_ImagePackers.Count(); + if (g_currentMaterialName[0] && MaterialNameCompare(g_currentMaterialName, pMaterialName)) + { + // advance the lightmap page base to track the start of the active image packers + // the closed out image packers are not suitable candidates for any further allocations + if (nPackCount) + { + imagePackerBase = nPackCount - 1; + } + bMaterialChange = true; + } + + strcpy(g_currentMaterialName, pMaterialName); + + // Try to add it to any of the active image packers + bool bAdded = false; + for (i = imagePackerBase; i < nPackCount; ++i) + { + bAdded = g_ImagePackers[i].AddBlock(width, height, &offsetIntoLightmapPage[0], &offsetIntoLightmapPage[1]); + if (bAdded) + { + lightmapPage = i; + break; + } + } + + if (!bAdded) + { + // allocate a new page + lightmapPage = g_ImagePackers.AddToTail(); + g_ImagePackers[lightmapPage].Reset(MAX_LIGHTMAPPAGE_WIDTH, MAX_LIGHTMAPPAGE_HEIGHT); + + bAdded = g_ImagePackers[lightmapPage].AddBlock(width, height, &offsetIntoLightmapPage[0], &offsetIntoLightmapPage[1]); + if (!bAdded) + { + // couldn't add to new empty page, undo the new allocation + g_ImagePackers.Remove(lightmapPage); + return -1; + } + + g_rawLightmapPages.AddToTail(); + g_rawLightmapPages[lightmapPage] = (byte*)malloc(MAX_LIGHTMAPPAGE_WIDTH * MAX_LIGHTMAPPAGE_HEIGHT * 4); + for (int n = 0; n < MAX_LIGHTMAPPAGE_WIDTH * MAX_LIGHTMAPPAGE_HEIGHT; n++) + { + if (g_bExportLightmaps) + { + // debugging, fill empty areas with bright green + ((unsigned int*)g_rawLightmapPages[lightmapPage])[n] = 0xFF00FF00; + } + else + { + // fill empty areas with pure opaque black + ((unsigned int*)g_rawLightmapPages[lightmapPage])[n] = 0xFF000000; + } + } + + if (bMaterialChange && imagePackerBase == nPackCount - 1) + { + // failed to add new material's lightmap to last open lightmap page, so forced to new page + // then succeeded on new page + // for integrity, ensure no further allocations end up on the old page + imagePackerBase++; + } + } + + return lightmapPage; +} + +//----------------------------------------------------------------------------- +// Rectangular blit from RGBExp32 lightmaps to final bumped format in lightmap page +//----------------------------------------------------------------------------- +static void BlitBumpedLightmapsToPage32bpp(byte* pSource0, byte* pSource1, byte* pSource2, byte* pSource3, byte* pTarget, int targetX, int targetY, int targetW, int targetH, int targetStride) +{ + int x; + int y; + byte* pDst0; + byte* pDst1; + byte* pDst2; + byte* pDst3; + byte* pSrc0; + byte* pSrc1; + byte* pSrc2; + byte* pSrc3; + float linearColor[3]; + float linearBumpColor1[3]; + float linearBumpColor2[3]; + float linearBumpColor3[3]; + byte color[4]; + byte bumpColor1[4]; + byte bumpColor2[4]; + byte bumpColor3[4]; + + // add the ColorRGBExp32 bits to the page + pSrc0 = pSource0; + pSrc1 = pSource1; + pSrc2 = pSource2; + pSrc3 = pSource3; + for (y = 0; y < targetH; ++y) + { + pDst0 = pTarget + ((y + targetY) * targetStride + targetX + 0 * targetW) * sizeof(ColorRGBExp32); + pDst1 = pTarget + ((y + targetY) * targetStride + targetX + 1 * targetW) * sizeof(ColorRGBExp32); + pDst2 = pTarget + ((y + targetY) * targetStride + targetX + 2 * targetW) * sizeof(ColorRGBExp32); + pDst3 = pTarget + ((y + targetY) * targetStride + targetX + 3 * targetW) * sizeof(ColorRGBExp32); + for (x = 0; x < targetW; ++x) + { + // convert from ColorRGBExp32 to linear space + linearColor[0] = TexLightToLinear(((ColorRGBExp32*)pSrc0)->r, ((ColorRGBExp32*)pSrc0)->exponent); + linearColor[1] = TexLightToLinear(((ColorRGBExp32*)pSrc0)->g, ((ColorRGBExp32*)pSrc0)->exponent); + linearColor[2] = TexLightToLinear(((ColorRGBExp32*)pSrc0)->b, ((ColorRGBExp32*)pSrc0)->exponent); + + linearBumpColor1[0] = TexLightToLinear(((ColorRGBExp32*)pSrc1)->r, ((ColorRGBExp32*)pSrc1)->exponent); + linearBumpColor1[1] = TexLightToLinear(((ColorRGBExp32*)pSrc1)->g, ((ColorRGBExp32*)pSrc1)->exponent); + linearBumpColor1[2] = TexLightToLinear(((ColorRGBExp32*)pSrc1)->b, ((ColorRGBExp32*)pSrc1)->exponent); + + linearBumpColor2[0] = TexLightToLinear(((ColorRGBExp32*)pSrc2)->r, ((ColorRGBExp32*)pSrc2)->exponent); + linearBumpColor2[1] = TexLightToLinear(((ColorRGBExp32*)pSrc2)->g, ((ColorRGBExp32*)pSrc2)->exponent); + linearBumpColor2[2] = TexLightToLinear(((ColorRGBExp32*)pSrc2)->b, ((ColorRGBExp32*)pSrc2)->exponent); + + linearBumpColor3[0] = TexLightToLinear(((ColorRGBExp32*)pSrc3)->r, ((ColorRGBExp32*)pSrc3)->exponent); + linearBumpColor3[1] = TexLightToLinear(((ColorRGBExp32*)pSrc3)->g, ((ColorRGBExp32*)pSrc3)->exponent); + linearBumpColor3[2] = TexLightToLinear(((ColorRGBExp32*)pSrc3)->b, ((ColorRGBExp32*)pSrc3)->exponent); + + LinearToBumpedLightmap( + linearColor, + linearBumpColor1, + linearBumpColor2, + linearBumpColor3, + color, + bumpColor1, + bumpColor2, + bumpColor3); + + pDst0[0] = color[0]; + pDst0[1] = color[1]; + pDst0[2] = color[2]; + pDst0[3] = 255; + + pDst1[0] = bumpColor1[0]; + pDst1[1] = bumpColor1[1]; + pDst1[2] = bumpColor1[2]; + pDst1[3] = 255; + + pDst2[0] = bumpColor2[0]; + pDst2[1] = bumpColor2[1]; + pDst2[2] = bumpColor2[2]; + pDst2[3] = 255; + + pDst3[0] = bumpColor3[0]; + pDst3[1] = bumpColor3[1]; + pDst3[2] = bumpColor3[2]; + pDst3[3] = 255; + + pSrc0 += sizeof(ColorRGBExp32); + pSrc1 += sizeof(ColorRGBExp32); + pSrc2 += sizeof(ColorRGBExp32); + pSrc3 += sizeof(ColorRGBExp32); + + pDst0 += 4; + pDst1 += 4; + pDst2 += 4; + pDst3 += 4; + } + } +} + + +//----------------------------------------------------------------------------- +// Rectangular blit from RGBExp32 lightmaps to final color format in lightmap page +//----------------------------------------------------------------------------- +static void BlitLightmapToPage32bpp(byte* pSource, byte* pTarget, int targetX, int targetY, int targetW, int targetH, int targetStride) +{ + int x; + int y; + byte* pDst; + byte* pSrc; + + // add the ColorRGBExp32 bits to the page + pSrc = pSource; + for (y = 0; y < targetH; ++y) + { + pDst = pTarget + ((y + targetY) * targetStride + targetX) * 4; + for (x = 0; x < targetW; ++x) + { + ConvertRGBExp32ToRGBA8888((ColorRGBExp32*)pSrc, pDst); + + pSrc += sizeof(ColorRGBExp32); + pDst += 4; + } + } +} + + +//----------------------------------------------------------------------------- +// Prepare and drive the allocation of the surface's lightmap +//----------------------------------------------------------------------------- +static void RegisterLightmappedSurface(dface_t* pFace) +{ + int lightmapWidth; + int lightmapHeight; + int allocationWidth; + int allocationHeight; + int offsetIntoLightmapPage[2]; + const char* pMaterialName; + int lightmapPage; + bool bBump; + + pMaterialName = TexDataStringTable_GetString(dtexdata[texinfo[pFace->texinfo].texdata].nameStringTableID); + + lightmapWidth = pFace->m_LightmapTextureSizeInLuxels[0] + 1; + lightmapHeight = pFace->m_LightmapTextureSizeInLuxels[1] + 1; + + allocationWidth = lightmapWidth; + allocationHeight = lightmapHeight; + bBump = (texinfo[pFace->texinfo].flags & SURF_BUMPLIGHT) > 0; + if (bBump) + { + // Allocate all bumped lightmaps next to each other so that we can just + // increment the s texcoord by pSurf->bumpSTexCoordOffset to render the next + // of the three lightmaps + allocationWidth *= NUM_BUMP_VECTS + 1; + } + + // register this surface's lightmap + lightmapPage = AllocateLightmap(allocationWidth, allocationHeight, offsetIntoLightmapPage, pMaterialName); + + // Warning( "%s: page %d (%dx%d)\n", pMaterialName, lightmapPage, allocationWidth, allocationHeight ); + + if (lightmapPage >= 0) + { + // rectlinear transfer each page + if (!bBump) + { + BlitLightmapToPage32bpp( + pdlightdata->Base() + pFace->lightofs, + g_rawLightmapPages[lightmapPage], + offsetIntoLightmapPage[0], + offsetIntoLightmapPage[1], + lightmapWidth, + lightmapHeight, + MAX_LIGHTMAPPAGE_WIDTH); + } + else + { + int bumpMapSize = lightmapWidth * lightmapHeight * sizeof(ColorRGBExp32); + BlitBumpedLightmapsToPage32bpp( + pdlightdata->Base() + pFace->lightofs + 0 * bumpMapSize, + pdlightdata->Base() + pFace->lightofs + 1 * bumpMapSize, + pdlightdata->Base() + pFace->lightofs + 2 * bumpMapSize, + pdlightdata->Base() + pFace->lightofs + 3 * bumpMapSize, + g_rawLightmapPages[lightmapPage], + offsetIntoLightmapPage[0], + offsetIntoLightmapPage[1], + lightmapWidth, + lightmapHeight, + MAX_LIGHTMAPPAGE_WIDTH); + } + + // build a new lightmap page info + // lightstyles are xbox deprecated, only need single average light color for static style 0 + int pageInfo = g_dLightmapPageInfos.AddToTail(); + g_dLightmapPageInfos[pageInfo].page = lightmapPage; + g_dLightmapPageInfos[pageInfo].offset[0] = offsetIntoLightmapPage[0]; + g_dLightmapPageInfos[pageInfo].offset[1] = offsetIntoLightmapPage[1]; + g_dLightmapPageInfos[pageInfo].avgColor = *dface_AvgLightColor(pFace, 0); + + // hijack lightofs, to index into page infos instead + pFace->lightofs = pageInfo; + } + else + { + Error("AllocateLightmap: (%s) lightmap (%dx%d) too big to fit in page (%dx%d)\n", + pMaterialName, allocationWidth, allocationHeight, MAX_LIGHTMAPPAGE_WIDTH, MAX_LIGHTMAPPAGE_HEIGHT); + + // mark as unallocated + pFace->lightofs = -1; + } +} + + +//----------------------------------------------------------------------------- +// Quantize the 32b lightmap pages into a palettized equivalent ready for serialization +//----------------------------------------------------------------------------- +void PalettizeLightmaps(void) +{ + uint8* pPixels; + uint8* pPalette3; + uint8* pPalette4; + int i; + int j; + + g_dLightmapPages.Purge(); + g_dLightmapPages.EnsureCount(g_rawLightmapPages.Count()); + + if (g_bExportLightmaps) + { + // write out the raw 32bpp lightmap page + for (i = 0; i < g_rawLightmapPages.Count(); ++i) + { + char buff[256]; + sprintf(buff, "lightmap_%2.2d.tga", i); + + CUtlBuffer outBuf; + TGAWriter::WriteToBuffer( + g_rawLightmapPages[i], outBuf, MAX_LIGHTMAPPAGE_WIDTH, + MAX_LIGHTMAPPAGE_HEIGHT, IMAGE_FORMAT_RGBA8888, IMAGE_FORMAT_RGBA8888); + g_pFileSystem->WriteFile(buff, NULL, outBuf); + } + } + + pPixels = (uint8*)malloc(MAX_LIGHTMAPPAGE_WIDTH * MAX_LIGHTMAPPAGE_HEIGHT); + pPalette3 = (uint8*)malloc(256 * 3); + pPalette4 = (uint8*)malloc(256 * 4); + + for (i = 0; i < g_rawLightmapPages.Count(); i++) + { + // remap to 256x3 palette + ColorQuantize( + g_rawLightmapPages[i], + MAX_LIGHTMAPPAGE_WIDTH, + MAX_LIGHTMAPPAGE_HEIGHT, + QUANTFLAGS_NODITHER, + 256, + pPixels, + pPalette3, + 0); + + // fixup 256x3 rgb palette to d3d 256x4 bgra + for (j = 0; j < 256; j++) + { + pPalette4[j * 4 + 0] = pPalette3[j * 3 + 2]; + pPalette4[j * 4 + 1] = pPalette3[j * 3 + 1]; + pPalette4[j * 4 + 2] = pPalette3[j * 3 + 0]; + pPalette4[j * 4 + 3] = 0xFF; + } + + SwizzleRect(pPixels, g_dLightmapPages[i].data, MAX_LIGHTMAPPAGE_WIDTH, MAX_LIGHTMAPPAGE_HEIGHT, 1); + memcpy(g_dLightmapPages[i].palette, pPalette4, 256 * 4); + + if (g_bExportLightmaps && g_pFullFileSystem) + { + // write out the palettize page + byte* pRaw4 = (byte*)malloc(MAX_LIGHTMAPPAGE_WIDTH * MAX_LIGHTMAPPAGE_HEIGHT * 4); + for (j = 0; j < MAX_LIGHTMAPPAGE_WIDTH * MAX_LIGHTMAPPAGE_HEIGHT; j++) + { + // index the palette, fixup to tga rgba order + int color = pPixels[j] * 4; + pRaw4[j * 4 + 0] = pPalette4[color + 2]; + pRaw4[j * 4 + 1] = pPalette4[color + 1]; + pRaw4[j * 4 + 2] = pPalette4[color + 0]; + pRaw4[j * 4 + 3] = pPalette4[color + 3]; + } + + char buff[256]; + sprintf(buff, "lightmap_%2.2d_256.tga", i); + + CUtlBuffer outBuf; + TGAWriter::WriteToBuffer( + pRaw4, + outBuf, + MAX_LIGHTMAPPAGE_WIDTH, + MAX_LIGHTMAPPAGE_HEIGHT, + IMAGE_FORMAT_RGBA8888, + IMAGE_FORMAT_RGBA8888); + g_pFullFileSystem->WriteFile(buff, NULL, outBuf); + + free(pRaw4); + } + } + + free(pPixels); + free(pPalette3); + free(pPalette4); +} + +//----------------------------------------------------------------------------- +// Comparison function for inserting surfaces to achieve desired sort order +//----------------------------------------------------------------------------- +static bool LightmapLess(const int& surfID1, const int& surfID2) +{ + dface_t* pFace1 = &g_pFaces[surfID1]; + dface_t* pFace2 = &g_pFaces[surfID2]; + + bool hasLightmap1 = (texinfo[pFace1->texinfo].flags & SURF_NOLIGHT) == 0; + bool hasLightmap2 = (texinfo[pFace2->texinfo].flags & SURF_NOLIGHT) == 0; + + // We want lightmapped surfaces to show up first + if (hasLightmap1 != hasLightmap2) + return hasLightmap1 > hasLightmap2; + + // sort by name + const char* pName1 = TexDataStringTable_GetString(dtexdata[texinfo[pFace1->texinfo].texdata].nameStringTableID); + const char* pName2 = TexDataStringTable_GetString(dtexdata[texinfo[pFace2->texinfo].texdata].nameStringTableID); + int sort = MaterialNameCompare(pName1, pName2); + if (sort) + return sort < 0; + + // then sort by lightmap area for better packing... (big areas first) + // must account for bumped surfaces to ensure proper descending sequences of areas + int width = g_pFaces[surfID1].m_LightmapTextureSizeInLuxels[0] + 1; + int height = g_pFaces[surfID1].m_LightmapTextureSizeInLuxels[1] + 1; + if (texinfo[pFace1->texinfo].flags & SURF_BUMPLIGHT) + { + width *= (NUM_BUMP_VECTS + 1); + } + int area1 = width * height; + + width = g_pFaces[surfID2].m_LightmapTextureSizeInLuxels[0] + 1; + height = g_pFaces[surfID2].m_LightmapTextureSizeInLuxels[1] + 1; + if (texinfo[pFace2->texinfo].flags & SURF_BUMPLIGHT) + { + width *= (NUM_BUMP_VECTS + 1); + } + int area2 = width * height; + + return area2 < area1; +} + + +//----------------------------------------------------------------------------- +// Iterate surfaces generating cooked lightmap pages for palettizing +// Each page gets its own palette. +//----------------------------------------------------------------------------- +void BuildPalettedLightmaps(void) +{ + int i; + int j; + + g_rawLightmapPages.Purge(); + g_currentMaterialName[0] = '\0'; + + g_dLightmapPageInfos.Purge(); + + CUtlRBTree< int, int > surfaces(0, numfaces, LightmapLess); + for (i = 0; i < numfaces; i++) + { + surfaces.Insert(i); + } + + // surfaces must be iterated in order to achieve proper lightmap allocation + for (i = surfaces.FirstInorder(); i != surfaces.InvalidIndex(); i = surfaces.NextInorder(i)) + { + dface_t* pFace = &g_pFaces[surfaces[i]]; + + bool hasLightmap = (texinfo[pFace->texinfo].flags & SURF_NOLIGHT) == 0; + if (hasLightmap && pFace->lightofs != -1) + { + RegisterLightmappedSurface(pFace); + } + else + { + pFace->lightofs = -1; + } + + // remove unsupported light styles + for (j = 0; j < MAXLIGHTMAPS; j++) + pFace->styles[j] = 255; + } + + // convert cooked 32b lightmap pages into their palettized versions + PalettizeLightmaps(); + + for (i = 0; i < g_rawLightmapPages.Count(); i++) + free(g_rawLightmapPages[i]); + + g_rawLightmapPages.Purge(); + g_ImagePackers.Purge(); + + // no longer require raw rgb light data + // ensure light data doesn't get serialized + pdlightdata->Purge(); +} + +// a temporary struct that holds a x/y/z/u/v for recursive subdivision luxel rasterization +struct facevert_t +{ + Vector pos; + Vector2D luxel; +}; + +// diff these two color channels +inline int ColorDelta(int c0, int c1) +{ + return abs(c0 - c1); +} + +// holds the lightmap data for a face for intermediate calcs +struct lightmapdata_t +{ + bool bBump; + ColorRGBExp32 avgColor; + ColorRGBExp32 bumpColor[NUM_BUMP_VECTS]; + int width; // width including *4 for bumps + int height; + int threshold; + ColorRGBExp32* pLuxels; + + void Init(ColorRGBExp32* _pLuxels, bool _bBump, int _width, int _height, int _threshold) + { + pLuxels = _pLuxels; + bBump = _bBump; + width = _width; + height = _height; + threshold = _threshold; + } + + // Get the color of the luxel at s/t + void GetLuxelAtCoords(ColorRGBExp32* pDest, float s, float t, int bumpIndex = 0) const + { + s += 0.5f; + t += 0.5f; + int u = (int)s; + int v = (int)t; +#if _DEBUG + int w = bBump ? (width / 4) : width; + Assert(u >= 0 && u <= (w - 1)); + Assert(v >= 0 && v <= (height - 1)); +#endif + int offset = u + v * width; + if (bBump) + { + offset += bumpIndex * (width / 4); + } + if (offset > width * height) + offset = width * height; + *pDest = pLuxels[offset]; + } + + // Is this color within threshold of the average color for this lightmap + bool IsAvgColor(ColorRGBExp32& color) const + { + byte color0[4], color1[4]; + ConvertRGBExp32ToRGBA8888(&avgColor, color0); + ConvertRGBExp32ToRGBA8888(&color, color1); + int delta = ColorDelta(color0[0], color1[0]); + delta += ColorDelta(color0[1], color1[1]); + delta += ColorDelta(color0[2], color1[2]); + return delta > threshold ? false : true; + } + + bool IsAvgColor(float s, float t) const + { +#if 0 + GetLuxelAtCoords(&tmp, s, t); + return IsAvgColor(tmp); +#else + // billinear sample luxel at s,t + int u = s; + int v = t; + float fracU = fmod(s, 1) + 0.5f; + float fracV = fmod(t, 1) + 0.5f; + if (fracU > 1) + { + fracU -= 1.0f; + u++; + } + if (fracV > 1) + { + fracV -= 1.0f; + v++; + } + int w = bBump ? (width / 4) : width; + Vector luxel[4]; + for (int i = 0; i < 4; i++) + { + int sampU = u + ((i & 1) ? 1 : 0); + int sampV = v + ((i & 2) ? 1 : 0); + sampU = clamp(sampU, 0, w - 1); + sampV = clamp(sampV, 0, height - 1); + int offset = sampU + sampV * width; + luxel[i][0] = TexLightToLinear(pLuxels[offset].r, pLuxels[offset].exponent); + luxel[i][1] = TexLightToLinear(pLuxels[offset].g, pLuxels[offset].exponent); + luxel[i][2] = TexLightToLinear(pLuxels[offset].b, pLuxels[offset].exponent); + } + luxel[0] *= (1.0f - fracU) * (1.0f - fracV); + luxel[1] *= fracU * (1.0f - fracV); + luxel[2] *= (1.0f - fracU) * fracV; + luxel[3] *= fracU * fracV; + Vector out = luxel[0] + luxel[1] + luxel[2] + luxel[3]; + + Vector gammaOut; + for (int i = 0; i < 3; i++) + { + gammaOut[i] = LinearToVertexLight(out[i]); + } + ColorClamp(gammaOut); + byte avg[4]; + ConvertRGBExp32ToRGBA8888(&avgColor, avg); + int delta = 0; + for (int i = 0; i < 3; i++) + { + int c = RoundFloatToByte(gammaOut[i] * 255.0f); + delta += ColorDelta(c, avg[i]); + } + return delta > threshold ? false : true; +#endif + } +}; + +// Returns true if this triangle has constant lighting over its surface +// This is evaluated by recursively subdividing the triangle until it is less than 1 luxel along each edge +// then the entire triangle is used to point-sample a luxel which is compared to the average for constant-ness +bool IsConstantTriangle_r(const lightmapdata_t& data, const facevert_t& v0, const facevert_t& v1, const facevert_t& v2) +{ + float edge[3]; + edge[0] = (v1.luxel - v0.luxel).Length(); + edge[1] = (v2.luxel - v1.luxel).Length(); + edge[2] = (v0.luxel - v2.luxel).Length(); + + int maxIndex = 0; + for (int i = 1; i < 3; i++) + { + if (edge[i] > edge[maxIndex]) + { + maxIndex = i; + } + } + if (edge[maxIndex] < 0.5f) + { + // smaller than 1 luxel + return data.IsAvgColor(v0.luxel[0], v0.luxel[1]); +#if 0 + ColorRGBExp32 tmp0, tmp1, tmp2; + data.GetLuxelAtCoords(&tmp0, v0.luxel[0], v0.luxel[1]); + data.GetLuxelAtCoords(&tmp1, v1.luxel[0], v1.luxel[1]); + data.GetLuxelAtCoords(&tmp2, v2.luxel[0], v2.luxel[1]); + return data.IsAvgColor(tmp0) && data.IsAvgColor(tmp1) && data.IsAvgColor(tmp2); +#endif + } + // subdivide largest edge and recurse + switch (maxIndex) + { + case 0: // v1, v0 + { + facevert_t tmp; + tmp.pos = 0.5f * v1.pos + 0.5f * v0.pos; + tmp.luxel = 0.5f * v1.luxel + 0.5f * v0.luxel; + if (!IsConstantTriangle_r(data, tmp, v1, v2)) + return false; + return IsConstantTriangle_r(data, v0, tmp, v2); + } + break; + case 1: // v2, v1 + { + facevert_t tmp; + tmp.pos = 0.5f * v2.pos + 0.5f * v1.pos; + tmp.luxel = 0.5f * v2.luxel + 0.5f * v1.luxel; + if (!IsConstantTriangle_r(data, v0, v1, tmp)) + return false; + return IsConstantTriangle_r(data, v0, tmp, v2); + } + break; + default: // v0, v2 + case 2: + { + facevert_t tmp; + tmp.pos = 0.5f * v2.pos + 0.5f * v0.pos; + tmp.luxel = 0.5f * v2.luxel + 0.5f * v0.luxel; + if (!IsConstantTriangle_r(data, v0, v1, tmp)) + return false; + return IsConstantTriangle_r(data, tmp, v1, v2); + } + break; + } +} + + +// Check to see if this face has constant lighting by recursive rasterization into the lightmap +bool IsConstantColor(dface_t* pFace, lightmapdata_t& data) +{ + int vertIndex[256]; + facevert_t v[256]; + int i; + Assert(pFace->numedges < 256); + texinfo_t* pTexInfo = &texinfo[pFace->texinfo]; + BuildFaceCalcWindingData(pFace, vertIndex); +#if _DEBUG + int wLimit = data.bBump ? (data.width / 4) : data.width; + int hLimit = data.height; +#endif + for (i = 0; i < pFace->numedges; i++) + { + v[i].pos = dvertexes[vertIndex[i]].point; + + CalcTextureCoordsAtPoints(pTexInfo->lightmapVecsLuxelsPerWorldUnits, pFace->m_LightmapTextureMinsInLuxels, &v[i].pos, 1, &v[i].luxel); + if (v[i].luxel[0] < 0) + { + if (v[i].luxel[0] > -1e-3f) // clamp away a little bit of error + v[i].luxel[0] = 0; + } + if (v[i].luxel[1] < 0) + { + if (v[i].luxel[1] > -1e-3f) // clamp away a little bit of error + v[i].luxel[1] = 0; + } + Assert(v[i].luxel[0] >= 0 && v[i].luxel[0] < wLimit); + Assert(v[i].luxel[1] >= 0 && v[i].luxel[1] < hLimit); + } + + // initialize the average color to be the color under the first vertex + data.GetLuxelAtCoords(&data.avgColor, v[0].luxel[0], v[0].luxel[1]); + if (data.bBump) + { + for (i = 0; i < NUM_BUMP_VECTS; i++) + { + data.GetLuxelAtCoords(&data.bumpColor[i], v[0].luxel[0], v[0].luxel[1], i + 1); + } + } + + if (pFace->GetNumPrims()) + { + // use the stored indices + dprimitive_t* pPrim = &g_primitives[pFace->firstPrimID]; + Assert(pPrim->vertCount == 0); + Assert(pPrim->indexCount == (pFace->numedges - 2) * 3); + unsigned short* pIndices = &g_primindices[pPrim->firstIndex]; + int index = 0; + for (i = 0; i < pFace->numedges - 2; i++) + { + if (!IsConstantTriangle_r(data, v[pIndices[index]], v[pIndices[index + 1]], v[pIndices[index + 2]])) + return false; + index += 3; + } + } + else + { + // this surface is a fan + int index = 0; + for (i = 0; i < pFace->numedges - 2; i++) + { + if (!IsConstantTriangle_r(data, v[0], v[i + 1], v[i + 2])) + return false; + index += 3; + } + } + + return true; +} + + +// Iterate the faces and remove any lightmaps that are constant across their renderable luxels +void CompressConstantLightmaps(int threshold) +{ + lightmapdata_t mapData; + + for (int i = 0; i < numfaces; i++) + { + dface_t* pFace = &g_pFaces[i]; + bool hasLightmap = (texinfo[pFace->texinfo].flags & SURF_NOLIGHT) == 0; + if (!hasLightmap || pFace->lightofs == -1) + continue; + + int lightmapWidth = pFace->m_LightmapTextureSizeInLuxels[0] + 1; + int lightmapHeight = pFace->m_LightmapTextureSizeInLuxels[1] + 1; + bool bBump = (texinfo[pFace->texinfo].flags & SURF_BUMPLIGHT) > 0; + if (bBump) + { + lightmapWidth *= (NUM_BUMP_VECTS + 1); + } + + ColorRGBExp32* pLightdata = reinterpret_cast(pdlightdata->Base() + pFace->lightofs); + + mapData.Init(pLightdata, bBump, lightmapWidth, lightmapHeight, threshold); + if (IsConstantColor(pFace, mapData)) + { + pLightdata[0] = mapData.avgColor; + pFace->m_LightmapTextureSizeInLuxels[0] = 0; + pFace->m_LightmapTextureSizeInLuxels[1] = 0; + if (bBump) + { + for (int i = 0; i < NUM_BUMP_VECTS; i++) + { + pLightdata[i + 1] = mapData.bumpColor[i]; + } + } + } + } +} +#endif \ No newline at end of file diff --git a/sp/src/utils/vrad/lightmap.h b/sp/src/utils/vrad/lightmap.h index a4c698daf6..acfa8f1453 100644 --- a/sp/src/utils/vrad/lightmap.h +++ b/sp/src/utils/vrad/lightmap.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/macro_texture.cpp b/sp/src/utils/vrad/macro_texture.cpp index cd0eac1233..259fdd5281 100644 --- a/sp/src/utils/vrad/macro_texture.cpp +++ b/sp/src/utils/vrad/macro_texture.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -61,7 +61,7 @@ CMacroTextureData* LoadMacroTextureFile( const char *pFilename ) // Now make a texture out of it. IVTFTexture *pTex = CreateVTFTexture(); if ( !pTex->Unserialize( buf ) ) - Error( "IVTFTexture::Unserialize( %s ) failed.", pFilename ); + Error("\tIVTFTexture::Unserialize( %s ) failed.", pFilename ); pTex->ConvertImageFormat( IMAGE_FORMAT_RGBA8888, false ); // Get it in a format we like. @@ -97,18 +97,16 @@ void InitMacroTexture( const char *pBSPFilename ) if ( i == num_entities ) { - Warning( "MaskOnMacroTexture: can't find worldspawn" ); + Warning("\tMaskOnMacroTexture: can't find worldspawn" ); return; } - // Load the macro texture that is mapped onto everything. char mapName[512], vtfFilename[512]; Q_FileBase( pBSPFilename, mapName, sizeof( mapName ) ); Q_snprintf( vtfFilename, sizeof( vtfFilename ), "materials/macro/%s/base.vtf", mapName ); g_pGlobalMacroTextureData = LoadMacroTextureFile( vtfFilename ); - // Now load the macro texture for each face. g_FaceMacroTextures.SetSize( numfaces ); for ( int iFace=0; iFace < numfaces; iFace++ ) diff --git a/sp/src/utils/vrad/macro_texture.h b/sp/src/utils/vrad/macro_texture.h index bfae258a3b..2fdaa529dc 100644 --- a/sp/src/utils/vrad/macro_texture.h +++ b/sp/src/utils/vrad/macro_texture.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/mpivrad.cpp b/sp/src/utils/vrad/mpivrad.cpp index 5b7bfc03e1..25f98b8a83 100644 --- a/sp/src/utils/vrad/mpivrad.cpp +++ b/sp/src/utils/vrad/mpivrad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -95,7 +95,7 @@ void VRAD_SetupMPI( int &argc, char **&argv ) mode ) ) { - Error( "MPI_Init failed." ); + Error("\tMPI_Init failed." ); } StatsDB_InitStatsDatabase( argc, argv, "dbinfo_vrad.txt" ); @@ -126,8 +126,6 @@ template int ReadValues( MessageBuffer *pmb, T *pDest, int nNumValues) // Serialize face data void SerializeFace( MessageBuffer * pmb, int facenum ) { - int i, n; - dface_t * f = &g_pFaces[facenum]; facelight_t * fl = &facelight[facenum]; @@ -136,11 +134,9 @@ void SerializeFace( MessageBuffer * pmb, int facenum ) WriteValues( pmb, fl->sample, fl->numsamples); - // - // Write the light information - // - for (i=0; ilight[i][n]) { WriteValues( pmb, fl->light[i][n], fl->numsamples); @@ -160,31 +156,28 @@ void SerializeFace( MessageBuffer * pmb, int facenum ) // void UnSerializeFace( MessageBuffer * pmb, int facenum, int iSource ) { - int i, n; - dface_t * f = &g_pFaces[facenum]; facelight_t * fl = &facelight[facenum]; if (pmb->read(f, sizeof(dface_t)) < 0) - Error("UnSerializeFace - invalid dface_t from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); + Error("\tUnSerializeFace - invalid dface_t from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); if (pmb->read(fl, sizeof(facelight_t)) < 0) - Error("UnSerializeFace - invalid facelight_t from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); + Error("\tUnSerializeFace - invalid facelight_t from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); fl->sample = (sample_t *) calloc(fl->numsamples, sizeof(sample_t)); if (pmb->read(fl->sample, sizeof(sample_t) * fl->numsamples) < 0) - Error("UnSerializeFace - invalid sample_t from %s (mb len: %d, offset: %d, fl->numsamples: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset(), fl->numsamples ); + Error("\tUnSerializeFace - invalid sample_t from %s (mb len: %d, offset: %d, fl->numsamples: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset(), fl->numsamples ); + - // // Read the light information - // - for (i=0; ilight[i][n]) { fl->light[i][n] = (LightingValue_t *) calloc( fl->numsamples, sizeof(LightingValue_t ) ); if ( ReadValues( pmb, fl->light[i][n], fl->numsamples) < 0) - Error("UnSerializeFace - invalid fl->light from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); + Error("\tUnSerializeFace - invalid fl->light from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); } } } @@ -192,13 +185,13 @@ void UnSerializeFace( MessageBuffer * pmb, int facenum, int iSource ) if (fl->luxel) { fl->luxel = (Vector *) calloc(fl->numluxels, sizeof(Vector)); if (ReadValues( pmb, fl->luxel, fl->numluxels) < 0) - Error("UnSerializeFace - invalid fl->luxel from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); + Error("\tUnSerializeFace - invalid fl->luxel from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); } if (fl->luxelNormals) { fl->luxelNormals = (Vector *) calloc(fl->numluxels, sizeof( Vector )); if ( ReadValues( pmb, fl->luxelNormals, fl->numluxels) < 0) - Error("UnSerializeFace - invalid fl->luxelNormals from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); + Error("\tUnSerializeFace - invalid fl->luxelNormals from %s (mb len: %d, offset: %d)", VMPI_GetMachineName( iSource ), pmb->getLen(), pmb->getOffset() ); } } @@ -257,7 +250,7 @@ void RunMPIBuildFacelights() // is idling in the above loop. Wouldn't want to slow down the // handing out of work - maybe another thread? // - for ( int i=0; i < numfaces; ++i ) + for ( int i = 0; i < numfaces; ++i ) { BuildPatchLights(i); } @@ -372,7 +365,7 @@ void RunMPIBuildVisLeafs() { g_CPUTime.Init(); - Msg( "%-20s ", "BuildVisLeafs :" ); + Msg( "%-20s ", "BuildVisLeafs ->" ); if ( g_bMPIMaster ) { StartPacifier(""); @@ -382,7 +375,7 @@ void RunMPIBuildVisLeafs() if ( !g_bMPIMaster || VMPI_GetActiveWorkUnitDistributor() == k_eWorkUnitDistributor_SDK ) { // Allocate space for the transfers for each thread. - for ( int i=0; i < numthreads; i++ ) + for ( int i = 0; i < numthreads; i++ ) { g_VMPIVisLeafsData[i].m_pBuildVisLeafsTransfers = BuildVisLeafs_Start(); } @@ -401,7 +394,7 @@ void RunMPIBuildVisLeafs() MPI_ReceiveVisLeafsResults ); // Free the transfers from each thread. - for ( int i=0; i < numthreads; i++ ) + for ( int i = 0; i < numthreads; i++ ) { if ( g_VMPIVisLeafsData[i].m_pBuildVisLeafsTransfers ) BuildVisLeafs_End( g_VMPIVisLeafsData[i].m_pBuildVisLeafsTransfers ); @@ -462,7 +455,7 @@ void VMPI_DistributeLightData() // Open FileHandle_t fp = g_pFileSystem->Open( g_LightResultsFilename.Base(), "rb", VMPI_VIRTUAL_FILES_PATH_ID ); if ( !fp ) - Error( "Can't open '%s' to read lighting info.", g_LightResultsFilename.Base() ); + Error("\tCan't open '%s' to read lighting info.", g_LightResultsFilename.Base() ); int size = g_pFileSystem->Size( fp ); int faceSize = (numfaces*(MAXLIGHTMAPS+sizeof(int))); diff --git a/sp/src/utils/vrad/mpivrad.h b/sp/src/utils/vrad/mpivrad.h index 01c841b373..1ff5c8d9e6 100644 --- a/sp/src/utils/vrad/mpivrad.h +++ b/sp/src/utils/vrad/mpivrad.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/origface.cpp b/sp/src/utils/vrad/origface.cpp index fbbe0e8717..1277de8d82 100644 --- a/sp/src/utils/vrad/origface.cpp +++ b/sp/src/utils/vrad/origface.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/radial.cpp b/sp/src/utils/vrad/radial.cpp index 5dc99b50e9..ce4644d9b3 100644 --- a/sp/src/utils/vrad/radial.cpp +++ b/sp/src/utils/vrad/radial.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -75,11 +75,9 @@ void AddDirectToRadial( radial_t *rad, { int s_min, s_max, t_min, t_max; Vector2D coord; - int s, t; float ds, dt; float r; float area; - int bumpSample; // convert world pos into local lightmap texture coord WorldToLuxelSpace( &rad->l, pnt, coord ); @@ -94,9 +92,9 @@ void AddDirectToRadial( radial_t *rad, s_max = min( s_max, rad->w ); t_max = min( t_max, rad->h ); - for( s = s_min; s < s_max; s++ ) + for(int s = s_min; s < s_max; s++ ) { - for( t = t_min; t < t_max; t++ ) + for(int t = t_min; t < t_max; t++ ) { float s0 = max( coordmins[0] - s, -1.0 ); float t0 = max( coordmins[1] - t, -1.0 ); @@ -127,7 +125,7 @@ void AddDirectToRadial( radial_t *rad, { if( neighborHasBumpmap ) { - for( bumpSample = 0; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) + for(int bumpSample = 0; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) { rad->light[bumpSample][i].AddWeighted( light[bumpSample], r ); } @@ -135,7 +133,7 @@ void AddDirectToRadial( radial_t *rad, else { rad->light[0][i].AddWeighted(light[0],r ); - for( bumpSample = 1; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) + for(int bumpSample = 1; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) { rad->light[bumpSample][i].AddWeighted( light[0], r * OO_SQRT_3 ); } @@ -153,7 +151,6 @@ void AddDirectToRadial( radial_t *rad, } - void AddBouncedToRadial( radial_t *rad, Vector const &pnt, Vector2D const &coordmins, Vector2D const &coordmaxs, @@ -162,10 +159,8 @@ void AddBouncedToRadial( radial_t *rad, { int s_min, s_max, t_min, t_max; Vector2D coord; - int s, t; float ds, dt; float r; - int bumpSample; // convert world pos into local lightmap texture coord WorldToLuxelSpace( &rad->l, pnt, coord ); @@ -191,9 +186,9 @@ void AddBouncedToRadial( radial_t *rad, s_max = min( s_max, rad->w ); t_max = min( t_max, rad->h ); - for( s = s_min; s < s_max; s++ ) + for(int s = s_min; s < s_max; s++ ) { - for( t = t_min; t < t_max; t++ ) + for(int t = t_min; t < t_max; t++ ) { // patch influence is based on patch size ds = ( coord[0] - s ) / dists; @@ -209,7 +204,7 @@ void AddBouncedToRadial( radial_t *rad, { if( neighborHasBumpmap ) { - for( bumpSample = 0; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) + for(int bumpSample = 0; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) { rad->light[bumpSample][i].AddWeighted( light[bumpSample], r ); } @@ -217,7 +212,7 @@ void AddBouncedToRadial( radial_t *rad, else { rad->light[0][i].AddWeighted( light[0], r ); - for( bumpSample = 1; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) + for(int bumpSample = 1; bumpSample < NUM_BUMP_VECTS + 1; bumpSample++ ) { rad->light[bumpSample][i].AddWeighted( light[0], r * OO_SQRT_3 ); } @@ -237,7 +232,6 @@ void AddBouncedToRadial( radial_t *rad, void PatchLightmapCoordRange( radial_t *rad, int ndxPatch, Vector2D &mins, Vector2D &maxs ) { winding_t *w; - int i; Vector2D coord; mins.Init( 1E30, 1E30 ); @@ -246,7 +240,7 @@ void PatchLightmapCoordRange( radial_t *rad, int ndxPatch, Vector2D &mins, Vecto CPatch *patch = &g_Patches.Element( ndxPatch ); w = patch->winding; - for (i = 0; i < w->numpoints; i++) + for (int i = 0; i < w->numpoints; i++) { WorldToLuxelSpace( &rad->l, w->p[i], coord ); mins[0] = min( mins[0], coord[0] ); @@ -280,7 +274,6 @@ void FreeRadial( radial_t *rad ) radial_t *BuildPatchRadial( int facenum ) { - int j; radial_t *rad; CPatch *patch; faceneighbor_t *fn; @@ -340,7 +333,7 @@ radial_t *BuildPatchRadial( int facenum ) } } - for (j=0 ; jnumneighbors; j++) + for (int j=0 ; jnumneighbors; j++) { if( g_FacePatches.Element( fn->neighbor[j] ) != g_FacePatches.InvalidIndex() ) { @@ -497,7 +490,7 @@ bool SampleRadial( radial_t *rad, Vector& pnt, LightingValue_t light[NUM_BUMP_VE { // punting over to KenB // 2d coord indexes off of lightmap, generation of pnt seems suspect - Warning( "SampleRadial: Punting, Waiting for fix\n" ); + Warning("\tSampleRadial: Punting, Waiting for fix\n" ); warning = true; } for( bumpSample = 0; bumpSample < bumpSampleCount; bumpSample++ ) @@ -808,7 +801,7 @@ void FinalLightFace( int iThread, int facenum ) { // clip from the bottom first // garymct: minlight is a per entity minimum light value? - for( i=0; i<3; i++ ) + for( i = 0; i<3; i++ ) { lb[bumpSample].m_vecLighting[i] = max( lb[bumpSample].m_vecLighting[i], minlight ); } diff --git a/sp/src/utils/vrad/radial.h b/sp/src/utils/vrad/radial.h index ebf8289013..204304b045 100644 --- a/sp/src/utils/vrad/radial.h +++ b/sp/src/utils/vrad/radial.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/samplehash.cpp b/sp/src/utils/vrad/samplehash.cpp index 09bc94ecde..972a71e63d 100644 --- a/sp/src/utils/vrad/samplehash.cpp +++ b/sp/src/utils/vrad/samplehash.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -157,7 +157,7 @@ unsigned short IncrementPatchIterationKey() if ( g_PatchIterationKey == 0xFFFF ) { g_PatchIterationKey = 1; - for ( int i=0; i < g_Patches.Count(); i++ ) + for ( int i = 0; i < g_Patches.Count(); i++ ) g_Patches[i].m_IterationKey = 0; } else diff --git a/sp/src/utils/vrad/trace.cpp b/sp/src/utils/vrad/trace.cpp index e0926e2969..55db74b3b6 100644 --- a/sp/src/utils/vrad/trace.cpp +++ b/sp/src/utils/vrad/trace.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -623,10 +623,10 @@ void AddBrushesForRayTrace( void ) for ( int j = 0; j < face->numedges; j++ ) { if ( j >= MAX_POINTS_ON_WINDING ) - Error( "***** ERROR! MAX_POINTS_ON_WINDING reached!" ); + Error("\t***** ERROR! MAX_POINTS_ON_WINDING reached!" ); if ( face->firstedge + j >= ARRAYSIZE( dsurfedges ) ) - Error( "***** ERROR! face->firstedge + j >= ARRAYSIZE( dsurfedges )!" ); + Error("\t***** ERROR! face->firstedge + j >= ARRAYSIZE( dsurfedges )!" ); int surfEdge = dsurfedges[face->firstedge + j]; unsigned short v; @@ -637,7 +637,7 @@ void AddBrushesForRayTrace( void ) v = dedges[surfEdge].v[0]; if ( v >= ARRAYSIZE( dvertexes ) ) - Error( "***** ERROR! v(%u) >= ARRAYSIZE( dvertexes(%d) )!", ( unsigned int )v, ARRAYSIZE( dvertexes ) ); + Error("\t***** ERROR! v(%u) >= ARRAYSIZE( dvertexes(%d) )!", ( unsigned int )v, ARRAYSIZE( dvertexes ) ); dvertex_t *dv = &dvertexes[v]; points[j] = dv->point; diff --git a/sp/src/utils/vrad/vismat.cpp b/sp/src/utils/vrad/vismat.cpp index ca9398ecb1..a795012877 100644 --- a/sp/src/utils/vrad/vismat.cpp +++ b/sp/src/utils/vrad/vismat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -149,7 +149,7 @@ void PvsForOrigin (Vector& org, byte *pvs) } if (visofs == -1) - Error ("visofs == -1"); + Error ("\tvisofs == -1"); DecompressVis (&dvisdata[visofs], pvs); } @@ -305,7 +305,7 @@ Calc vis bits from a single patch */ void BuildVisRow (int patchnum, byte *pvs, int head, transfer_t *transfers, CTransferMaker &transferMaker, int iThread ) { - int j, k, l, leafIndex; + int l; CPatch *patch; dleaf_t *leaf; byte face_tested[MAX_MAP_FACES]; @@ -316,18 +316,18 @@ void BuildVisRow (int patchnum, byte *pvs, int head, transfer_t *transfers, CTra memset( face_tested, 0, numfaces ) ; memset( disp_tested, 0, numfaces ); - for (j=0; jnumclusters; j++) + for (int j = 0; jnumclusters; j++) { if ( ! ( pvs[(j)>>3] & (1<<((j)&7)) ) ) { continue; // not in pvs } - for ( leafIndex = 0; leafIndex < g_ClusterLeaves[j].leafCount; leafIndex++ ) + for (int leafIndex = 0; leafIndex < g_ClusterLeaves[j].leafCount; leafIndex++ ) { leaf = dleafs + g_ClusterLeaves[j].leafs[leafIndex]; - for (k=0 ; knumleaffaces; k++) + for (int k=0 ; knumleaffaces; k++) { l = dleaffaces[leaf->firstleafface + k]; // faces can be marksurfed by multiple leaves, but @@ -375,7 +375,6 @@ BuildVisLeafs This is run by multiple threads =========== */ - transfer_t* BuildVisLeafs_Start() { return (transfer_t *)calloc( 1, MAX_PATCHES * sizeof( transfer_t ) ); diff --git a/sp/src/utils/vrad/vismat.h b/sp/src/utils/vrad/vismat.h index 927314a693..f6c0363d92 100644 --- a/sp/src/utils/vrad/vismat.h +++ b/sp/src/utils/vrad/vismat.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/vrad.cpp b/sp/src/utils/vrad/vrad.cpp index a04a678056..f934a3e3e9 100644 --- a/sp/src/utils/vrad/vrad.cpp +++ b/sp/src/utils/vrad/vrad.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -20,7 +20,11 @@ #include "loadcmdline.h" #include "byteswap.h" -#define ALLOWDEBUGOPTIONS (0 || _DEBUG) +//#define ALLOWDEBUGOPTIONS (0 || _DEBUG) + +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif static FileHandle_t pFpTrans = NULL; @@ -54,7 +58,7 @@ float maxchop = 4; // coarsest allowed number of luxel widths for a patch float minchop = 4; // "-chop" tightest number of luxel widths for a patch, used on edges float dispchop = 8.0f; // number of luxel widths for a patch float g_MaxDispPatchRadius = 1500.0f; // Maximum radius allowed for displacement patches -qboolean g_bDumpPatches; +bool g_bDumpPatches; bool bDumpNormals = false; bool g_bDumpRtEnv = false; bool bRed2Black = true; @@ -85,6 +89,11 @@ bool g_bInterrupt = false; // Wsed with background lighting in WC. Tells VRAD // to stop lighting. float g_SunAngularExtent=0.0; +#ifdef MAPBASE +int g_nCompressConstantThreshold = 0; //before was 2 +bool g_bExportLightmaps = false; +#endif + float g_flSkySampleScale = 1.0; bool g_bLargeDispSampleRadius = false; @@ -96,22 +105,23 @@ bool g_bShowStaticPropNormals = false; float gamma_value = 0.5; float indirect_sun = 1.0; float reflectivityScale = 1.0; -qboolean do_extra = true; +bool do_extra = true; bool debug_extra = false; -qboolean do_fast = false; -qboolean do_centersamples = false; +bool do_fast = false; +bool do_centersamples = false; int extrapasses = 4; float smoothing_threshold = 0.7071067; // cos(45.0*(M_PI/180)) + // Cosine of smoothing angle(in radians) float coring = 1.0; // Light threshold to force to blackness(minimizes lightmaps) -qboolean texscale = true; +bool texscale = true; int dlight_map = 0; // Setting to 1 forces direct lighting into different lightmap than radiosity float luxeldensity = 1.0; unsigned num_degenerate_faces; -qboolean g_bLowPriority = false; -qboolean g_bLogHashData = false; +bool g_bLowPriority = false; +bool g_bLogHashData = false; bool g_bNoDetailLighting = false; double g_flStartTime; bool g_bStaticPropLighting = false; @@ -144,13 +154,13 @@ int nodeparents[MAX_MAP_NODES]; void MakeParents (int nodenum, int parent) { - int i, j; + int j; dnode_t *node; nodeparents[nodenum] = parent; node = &dnodes[nodenum]; - for (i=0 ; i<2 ; i++) + for (int i=0 ; i<2 ; i++) { j = node->children[i]; if (j < 0) @@ -194,7 +204,7 @@ void ReadLightFile (char *filename) FileHandle_t f = g_pFileSystem->Open( filename, "r" ); if (!f) { - Warning("Warning: Couldn't open texlight file %s.\n", filename); + Warning("\tWarning: Couldn't open texlight file %s.\n", filename); return; } @@ -240,7 +250,7 @@ void ReadLightFile (char *filename) char szTexlight[256]; Vector value; if ( num_texlights == MAX_TEXLIGHTS ) - Error ("Too many texlights, max = %d", MAX_TEXLIGHTS); + Error ("\tToo many texlights, max = %d", MAX_TEXLIGHTS); int argCnt = sscanf (scan, "%s ",szTexlight ); @@ -267,12 +277,12 @@ void ReadLightFile (char *filename) || texlights[j].value[1] != value[1] || texlights[j].value[2] != value[2] ) { - Warning( "Warning: Overriding '%s' from '%s' with '%s'!\n", + Warning("\tWarning: Overriding '%s' from '%s' with '%s'!\n", texlights[j].name, texlights[j].filename, filename ); } else { - Warning( "Warning: Redundant '%s' def in '%s' AND '%s'!\n", + Warning("\tWarning: Redundant '%s' def in '%s' AND '%s'!\n", texlights[j].name, texlights[j].filename, filename ); } break; @@ -298,8 +308,6 @@ LightForTexture */ void LightForTexture( const char *name, Vector& result ) { - int i; - result[ 0 ] = result[ 1 ] = result[ 2 ] = 0; char baseFilename[ MAX_PATH ]; @@ -318,7 +326,7 @@ void LightForTexture( const char *name, Vector& result ) // 'originalName_%d_%d_%d'. strcpy( baseFilename, base ); bool foundSeparators = true; - for ( int i=0; i<3; ++i ) + for ( int i = 0; i<3; ++i ) { char *underscore = Q_strrchr( baseFilename, '_' ); if ( underscore && *underscore ) @@ -339,7 +347,7 @@ void LightForTexture( const char *name, Vector& result ) } } - for (i=0 ; inumedges); w->numpoints = f->numedges; - for (i=0 ; inumedges ; i++) + for (int i=0 ; inumedges ; i++) { se = dsurfedges[f->firstedge + i]; if (se < 0) @@ -452,14 +459,13 @@ qboolean IsFog( dface_t *f ) void ProcessSkyCameras() { - int i; num_sky_cameras = 0; - for (i = 0; i < numareas; ++i) + for (int i = 0; i < numareas; ++i) { area_sky_cameras[i] = -1; } - for (i = 0; i < num_entities; ++i) + for (int i = 0; i < num_entities; ++i) { entity_t *e = &entities[i]; const char *name = ValueForKey (e, "classname"); @@ -504,7 +510,6 @@ void MakePatchForFace (int fn, winding_t *w) float area; CPatch *patch; Vector centroid(0,0,0); - int i, j; texinfo_t *tx; // get texture info @@ -555,11 +560,11 @@ void MakePatchForFace (int fn, winding_t *w) if ( texscale ) { // Compute the texture "scale" in s,t - for( i=0; i<2; i++ ) + for(int i = 0; i<2; i++ ) { patch->scale[i] = 0.0f; chopscale[i] = 0.0f; - for( j=0; j<3; j++ ) + for(int j = 0; j<3; j++ ) { patch->scale[i] += tx->textureVecsTexelsPerWorldUnits[i][j] * @@ -602,7 +607,7 @@ void MakePatchForFace (int fn, winding_t *w) // origin offset faces must create new planes if (numplanes + fakeplanes >= MAX_MAP_PLANES) { - Error ("numplanes + fakeplanes >= MAX_MAP_PLANES"); + Error ("\tnumplanes + fakeplanes >= MAX_MAP_PLANES"); } pl = &dplanes[numplanes + fakeplanes]; fakeplanes++; @@ -665,13 +670,12 @@ void MakePatchForFace (int fn, winding_t *w) entity_t *EntityForModel (int modnum) { - int i; char *s; char name[16]; sprintf (name, "*%i", modnum); // search the entities for one using modnum - for (i=0 ; i 0) { - qprintf("%d degenerate faces\n", num_degenerate_faces ); + Warning("\t%d degenerate faces\n", num_degenerate_faces ); } +#ifdef MAPBASE + Msg("Total area "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i square feet [%.2f square inches]]\n", (int)(totalarea / 144), totalarea); +#else qprintf ("%i square feet [%.2f square inches]\n", (int)(totalarea/144), totalarea ); +#endif // make the displacement surface patches StaticDispMgr()->MakePatches(); @@ -813,7 +828,7 @@ int CreateChildPatch( int nParentIndex, winding_t *pWinding, float flArea, const VectorScale( total, child->luxscale, total ); if ( child->chop > minchop && (total[0] < child->chop) && (total[1] < child->chop) && (total[2] < child->chop) ) { - for ( int i=0; i<3; ++i ) + for ( int i = 0; i<3; ++i ) { if ( (child->face_maxs[i] == child->maxs[i] || child->face_mins[i] == child->mins[i] ) && total[i] > minchop ) @@ -899,7 +914,7 @@ void SubdividePatch( int ndxPatch ) if( area1 == 0 || area2 == 0 ) { - Msg( "zero area child patch\n" ); + Warning( "\tZero area child patch\n" ); return; } @@ -930,7 +945,12 @@ void SubdividePatches (void) return; unsigned int uiPatchCount = g_Patches.Size(); - qprintf ("%i patches before subdivision\n", uiPatchCount); +#ifdef MAPBASE + Msg("Pacthes before subdivision "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i]\n", g_Patches.Size()); +#else + qprintf ("%i patches before subdivision\n", g_Patches.Size()); +#endif for (i = 0; i < uiPatchCount; i++) { @@ -1039,8 +1059,12 @@ void SubdividePatches (void) } #endif } - - qprintf ("%i patches after subdivision\n", uiPatchCount); +#ifdef MAPBASE + Msg("Patches after subdivision "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i]\n", uiPatchCount); +#else + qprintf("%i patches after subdivision\n", uiPatchCount); +#endif } @@ -1200,7 +1224,6 @@ void MakeTransfer( int ndxPatch1, int ndxPatch2, transfer_t *all_transfers ) void MakeScales ( int ndxPatch, transfer_t *all_transfers ) { - int j; float total; transfer_t *t, *t2; total = 0; @@ -1220,13 +1243,13 @@ void MakeScales ( int ndxPatch, transfer_t *all_transfers ) patch->transfers = ( transfer_t* )calloc (1, patch->numtransfers * sizeof(transfer_t)); if (!patch->transfers) - Error ("Memory allocation failure"); + Error ("\tMemory allocation failure"); // get total transfer energy t2 = all_transfers; // overflow check! - for (j=0 ; jnumtransfers ; j++, t2++) + for (int j=0 ; jnumtransfers ; j++, t2++) { total += t2->transfer; } @@ -1239,7 +1262,7 @@ void MakeScales ( int ndxPatch, transfer_t *all_transfers ) t = patch->transfers; t2 = all_transfers; - for (j=0 ; jnumtransfers ; j++, t++, t2++) + for (int j=0 ; jnumtransfers ; j++, t++, t2++) { t->transfer = t2->transfer*total; t->patch = t2->patch; @@ -1267,16 +1290,15 @@ WriteWorld */ void WriteWorld (char *name, int iBump) { - unsigned j; FileHandle_t out; CPatch *patch; out = g_pFileSystem->Open( name, "w" ); if (!out) - Error ("Couldn't open %s", name); + Error ("\tCouldn't open %s", name); unsigned int uiPatchCount = g_Patches.Size(); - for (j=0; jOpen( name, "w" ); if (!out) - Error ("Couldn't open %s", name); + Error ("\tCouldn't open %s", name); winding_t *triw = AllocWinding( 3 ); triw->numpoints = 3; @@ -1335,10 +1357,8 @@ void WriteRTEnv (char *name) void WriteWinding (FileHandle_t out, winding_t *w, Vector& color ) { - int i; - CmdLib_FPrintf (out, "%i\n", w->numpoints); - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { CmdLib_FPrintf (out, "%5.2f %5.2f %5.2f %5.3f %5.3f %5.3f\n", w->p[i][0], @@ -1382,7 +1402,7 @@ void WriteTrace( const char *pFileName, const FourRays &rays, const RayTracingRe out = g_pFileSystem->Open( pFileName, "a" ); if (!out) - Error ("Couldn't open %s", pFileName); + Error ("\tCouldn't open %s", pFileName); // Draws rays for ( int i = 0; i < 4; ++i ) @@ -1411,14 +1431,13 @@ CollectLight // pull received light from children. void CollectLight( Vector& total ) { - int i, j; CPatch *patch; VectorFill( total, 0 ); // process patches in reverse order so that children are processed before their parents unsigned int uiPatchCount = g_Patches.Size(); - for( i = uiPatchCount - 1; i >= 0; i-- ) + for(int i = uiPatchCount - 1; i >= 0; i-- ) { patch = &g_Patches.Element( i ); int normalCount = patch->needsBumpmap ? NUM_BUMP_VECTS+1 : 1; @@ -1430,7 +1449,7 @@ void CollectLight( Vector& total ) else if ( patch->child1 == g_Patches.InvalidIndex() ) { // This is a leaf node. - for ( j = 0; j < normalCount; j++ ) + for (int j = 0; j < normalCount; j++ ) { VectorAdd( patch->totallight.light[j], addlight[i].light[j], patch->totallight.light[j] ); } @@ -1456,7 +1475,7 @@ void CollectLight( Vector& total ) s2 = child2->area / (child1->area + child2->area); // patch->totallight = s1 * child1->totallight + s2 * child2->totallight - for ( j = 0; j < normalCount; j++ ) + for (int j = 0; j < normalCount; j++ ) { VectorScale( child1->totallight.light[j], s1, patch->totallight.light[j] ); VectorMA( patch->totallight.light[j], s2, child2->totallight.light[j], patch->totallight.light[j] ); @@ -1466,7 +1485,7 @@ void CollectLight( Vector& total ) VectorScale( emitlight[patch->child1], s1, emitlight[i] ); VectorMA( emitlight[i], s2, emitlight[patch->child2], emitlight[i] ); } - for ( j = 0; j < NUM_BUMP_VECTS+1; j++ ) + for (int j = 0; j < NUM_BUMP_VECTS+1; j++ ) { VectorFill( addlight[ i ].light[j], 0 ); } @@ -1596,7 +1615,7 @@ void GatherLight (int threadnum, void *pUserData) VectorSubtract (patch2->origin, patch->origin, delta); VectorNormalize (delta); // find light emitted from other patch - for(i=0; i<3; i++) + for(i = 0; i<3; i++) { v[i] = emitlight[trans->patch][i] * patch2->reflectivity[i]; } @@ -1627,7 +1646,7 @@ void GatherLight (int threadnum, void *pUserData) VectorFill( sum, 0 ); for (k=0 ; kpatch][i] * g_Patches[trans->patch].reflectivity[i]; } @@ -1677,7 +1696,7 @@ void BounceLight (void) g_pFileSystem->Close( dFp ); - for (i=0; i>3] & (1 << (i & 7)) ) ++nFacesToProcess; @@ -1929,10 +1955,23 @@ void MakeAllScales (void) // release visibility matrix FreeVisMatrix (); - Msg("transfers %d, max %d\n", total_transfer, max_transfer ); +#ifdef MAPBASE + Msg("Transfers "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]", total_transfer); + Msg(", max "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%d]\n", max_transfer); +#else + Msg("transfers %d, max %d\n", total_transfer, max_transfer); +#endif +#ifdef MAPBASE + Msg("Transfer lists"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%f megs]\n" + , (float)total_transfer * sizeof(transfer_t) / (1024*1024)); +#else qprintf ("transfer lists: %5.1f megs\n" , (float)total_transfer * sizeof(transfer_t) / (1024*1024)); +#endif } @@ -1945,7 +1984,7 @@ void MakeAllScales (void) IScratchPad3D *pPad = ScratchPad3D_Create(); pPad->SetAutoFlush( false ); - for ( int i=0; i < numfaces; i++ ) + for ( int i = 0; i < numfaces; i++ ) { dface_t *f = &g_pFaces[i]; @@ -2073,7 +2112,7 @@ bool RadWorld_Go() // // displacement surface luxel accumulation (make threaded!!!) // - StaticDispMgr()->StartTimer( "Build Patch/Sample Hash Table(s)....." ); + StaticDispMgr()->StartTimer( "Build Patch/Sample Hash Table(s)... " ); StaticDispMgr()->InsertSamplesDataIntoHashTable(); StaticDispMgr()->InsertPatchSampleDataIntoHashTable(); StaticDispMgr()->EndTimer(); @@ -2086,7 +2125,13 @@ bool RadWorld_Go() // Distribute the lighting data to workers. VMPI_DistributeLightData(); +#ifdef MAPBASE + Msg("FinalLightFace... "); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); + fflush(stdout); +#else Msg("FinalLightFace Done\n"); fflush(stdout); +#endif } return true; @@ -2113,7 +2158,7 @@ void InitDumpPatchesFiles() pFileSamples[iStyle][iBump] = g_pFileSystem->Open( szFilename, "w" ); if( !pFileSamples[iStyle][iBump] ) { - Error( "Can't open %s for -dump.\n", szFilename ); + Error( "\tCan't open %s for -dump.\n", szFilename ); } } } @@ -2156,7 +2201,12 @@ void VRAD_LoadBSP( char const *pFilename ) if ( !g_pFileSystem->FileExists( global_lights ) ) { // Otherwise, try looking in the BIN directory from which we were run from - Msg( "Could not find lights.rad in %s.\nTrying VRAD BIN directory instead...\n", +#ifdef MAPBASE + Warning( "\tCould not find lights.rad in %s.\n\tTrying VRAD BIN directory instead...\n", +#else + Warning( "Could not find lights.rad in %s.\nTrying BIN directory instead...\n", +#endif + global_lights ); GetModuleFileName( NULL, global_lights, sizeof( global_lights ) ); Q_ExtractFilePath( global_lights, global_lights, sizeof( global_lights ) ); @@ -2180,7 +2230,14 @@ void VRAD_LoadBSP( char const *pFilename ) GetPlatformMapPath( source, platformPath, 0, MAX_PATH ); - Msg( "Loading %s\n", platformPath ); +#ifdef MAPBASE + Msg("Loading bsp file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s", platformPath); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("Loading %s...done\n", platformPath); +#endif + VMPI_SetCurrentStage( "LoadBSPFile" ); LoadBSPFile (platformPath); @@ -2259,7 +2316,13 @@ void VRAD_LoadBSP( char const *pFilename ) float start = Plat_FloatTime(); g_RtEnv.SetupAccelerationStructure(); float end = Plat_FloatTime(); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (%.2f)\n", end - start); +#else printf ( "Done (%.2f seconds)\n", end-start ); +#endif + #if 0 // To test only k-d build exit(0); @@ -2272,7 +2335,7 @@ void VRAD_LoadBSP( char const *pFilename ) { if( !g_pIncremental->Init( source, incrementfile ) ) { - Error( "Unable to load incremental lighting file in %s.\n", incrementfile ); + Error( "\tUnable to load incremental lighting file in %s.\n", incrementfile ); return; } } @@ -2289,6 +2352,13 @@ void VRAD_ComputeOtherLighting() ComputePerLeafAmbientLighting(); +#ifdef MAPBASE + if (g_nCompressConstantThreshold != 0) + { + CompressConstantLightmaps(g_nCompressConstantThreshold); + } +#endif + // bake the static props high quality vertex lighting into the bsp if ( !do_fast && g_bStaticPropLighting ) { @@ -2300,7 +2370,12 @@ extern void CloseDispLuxels(); void VRAD_Finish() { - Msg( "Ready to Finish\n" ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "--> Map build ready to finish\n"); +#else + Msg( "Ready to Finish\n" ); +#endif + fflush( stdout ); if ( verbose ) @@ -2308,7 +2383,14 @@ void VRAD_Finish() PrintBSPFileSizes(); } - Msg( "Writing %s\n", platformPath ); +#ifdef MAPBASE + Msg("Writing Bsp file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s ", platformPath); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("Writing %s\n", platformPath); +#endif + VMPI_SetCurrentStage( "WriteBSPFile" ); WriteBSPFile(platformPath); @@ -2331,7 +2413,12 @@ void VRAD_Finish() char str[512]; GetHourMinuteSecondsString( (int)( end - g_flStartTime ), str, sizeof( str ) ); - Msg( "%s elapsed\n", str ); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "--> Bake lighting build finished %s seconds.\n\n", str); +#else + Msg("%s elapsed\n", str); +#endif ReleasePakFileLumps(); } @@ -2372,6 +2459,12 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) { g_bStaticPropPolys = true; } +#ifdef MAPBASE + else if (!stricmp(argv[i], "-exportLightmaps")) + { + g_bExportLightmaps = true; + } +#endif else if ( !Q_stricmp( argv[i], "-nossprops" ) ) { g_bDisablePropSelfShadowing = true; @@ -2411,14 +2504,14 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) int bounceParam = atoi (argv[i]); if ( bounceParam < 0 ) { - Warning("Error: expected non-negative value after '-bounce'\n" ); + Warning("\tError: expected non-negative value after '-bounce'\n" ); return 1; } numbounce = (unsigned)bounceParam; } else { - Warning("Error: expected a value after '-bounce'\n" ); + Warning("\tError: expected a value after '-bounce'\n" ); return 1; } } @@ -2433,13 +2526,13 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) numthreads = atoi (argv[i]); if ( numthreads <= 0 ) { - Warning("Error: expected positive value after '-threads'\n" ); + Warning("\tError: expected positive value after '-threads'\n" ); return 1; } } else { - Warning("Error: expected a value after '-threads'\n" ); + Warning("\tError: expected a value after '-threads'\n" ); return 1; } } @@ -2451,7 +2544,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a filepath after '-lights'\n" ); + Warning("\tError: expected a filepath after '-lights'\n" ); return 1; } } @@ -2496,10 +2589,30 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a scale factor after '-extrasky'\n" ); + Warning("\tError: expected a scale factor after '-extrasky'\n" ); + return 1; + } + } +#ifdef MAPBASE + else if (!Q_stricmp(argv[i], "-extrapasses")) + { + if (++i < argc) + { + int extrapassesParam = atoi(argv[i]); + if (extrapassesParam < 0) + { + Warning("Error: expected non-negative value after '-extrapasses'\n"); + return 1; + } + extrapasses = extrapassesParam; + } + else + { + Warning("Error: expected a value after '-extrapasses'\n"); return 1; } } +#endif else if (!Q_stricmp(argv[i],"-centersamples")) { do_centersamples = true; @@ -2512,7 +2625,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected an angle after '-smooth'\n" ); + Warning("\tError: expected an angle after '-smooth'\n" ); return 1; } } @@ -2530,7 +2643,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a value after '-luxeldensity'\n" ); + Warning("\tError: expected a value after '-luxeldensity'\n" ); return 1; } } @@ -2556,7 +2669,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected an angular extent value (0..180) '-softsun'\n" ); + Warning("\tError: expected an angular extent value (0..180) '-softsun'\n" ); return 1; } } @@ -2568,7 +2681,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning( "Error: expected a sample size after '-maxdispsamplesize'\n" ); + Warning("\tError: expected a sample size after '-maxdispsamplesize'\n" ); return 1; } } @@ -2602,6 +2715,25 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) { SetHDRMode( false ); } +#ifdef MAPBASE + else if (!Q_stricmp(argv[i], "-compressconstant")) + { + if (++i < argc) + { + g_nCompressConstantThreshold = (int)atof(argv[i]); + } + else + { + g_nCompressConstantThreshold = -1; + } + + if (g_nCompressConstantThreshold < 0) + { + Warning("Error: -compressconstant # (# = [0..768])\n"); + return 1; + } + } +#endif else if (!Q_stricmp(argv[i],"-maxchop")) { if ( ++i < argc ) @@ -2609,13 +2741,13 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) maxchop = (float)atof (argv[i]); if ( maxchop < 1 ) { - Warning("Error: expected positive value after '-maxchop'\n" ); + Warning("\tError: expected positive value after '-maxchop'\n" ); return 1; } } else { - Warning("Error: expected a value after '-maxchop'\n" ); + Warning("\tError: expected a value after '-maxchop'\n" ); return 1; } } @@ -2626,14 +2758,14 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) minchop = (float)atof (argv[i]); if ( minchop < 1 ) { - Warning("Error: expected positive value after '-chop'\n" ); + Warning("\tError: expected positive value after '-chop'\n" ); return 1; } minchop = min( minchop, maxchop ); } else { - Warning("Error: expected a value after '-chop'\n" ); + Warning("\tError: expected a value after '-chop'\n" ); return 1; } } @@ -2644,13 +2776,13 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) dispchop = ( float )atof( argv[i] ); if ( dispchop < 1.0f ) { - Warning( "Error: expected positive value after '-dipschop'\n" ); + Warning("\tError: expected positive value after '-dipschop'\n" ); return 1; } } else { - Warning( "Error: expected a value after '-dispchop'\n" ); + Warning("\tError: expected a value after '-dispchop'\n" ); return 1; } } @@ -2661,18 +2793,18 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) g_MaxDispPatchRadius = ( float )atof( argv[i] ); if ( g_MaxDispPatchRadius < 10.0f ) { - Warning( "Error: g_MaxDispPatchRadius < 10.0\n" ); + Warning("\tError: g_MaxDispPatchRadius < 10.0\n" ); return 1; } } else { - Warning( "Error: expected a value after '-disppatchradius'\n" ); + Warning("\tError: expected a value after '-disppatchradius'\n" ); return 1; } } -#if ALLOWDEBUGOPTIONS +#ifdef MAPBASE else if (!Q_stricmp(argv[i],"-scale")) { if ( ++i < argc ) @@ -2681,7 +2813,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a value after '-scale'\n" ); + Warning("\tError: expected a value after '-scale'\n" ); return 1; } } @@ -2695,7 +2827,7 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected three color values after '-ambient'\n" ); + Warning("\tError: expected three color values after '-ambient'\n" ); return 1; } } @@ -2707,22 +2839,22 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a value after '-dlight'\n" ); - return 1; - } - } - else if (!Q_stricmp(argv[i],"-sky")) - { - if ( ++i < argc ) - { - indirect_sun = (float)atof (argv[i]); - } - else - { - Warning("Error: expected a value after '-sky'\n" ); + Warning("\tError: expected a value after '-dlight'\n" ); return 1; } } +// else if (!Q_stricmp(argv[i],"-sky")) +// { +// if ( ++i < argc ) +// { +// indirect_sun = (float)atof (argv[i]); +// } +// else +// { +// Warning("Error: expected a value after '-sky'\n" ); +// return 1; +// } +// } else if (!Q_stricmp(argv[i],"-notexscale")) { texscale = false; @@ -2735,11 +2867,12 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) } else { - Warning("Error: expected a light threshold after '-coring'\n" ); + Warning("\tError: expected a light threshold after '-coring'\n" ); return 1; } } #endif + // NOTE: the -mpi checks must come last here because they allow the previous argument // to be -mpi as well. If it game before something else like -game, then if the previous // argument was -mpi and the current argument was something valid like -game, it would skip it. @@ -2764,12 +2897,12 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail ) void PrintCommandLine( int argc, char **argv ) { - Warning( "Command line: " ); + Warning("\tCommand line: " ); for ( int z=0; z < argc; z++ ) { - Warning( "\"%s\" ", argv[z] ); + Warning("\t\"%s\" ", argv[z] ); } - Warning( "\n\n" ); + Warning("\t\n\n" ); } @@ -2791,7 +2924,10 @@ void PrintUsage( int argc, char **argv ) #endif " -fastambient : Per-leaf ambient sampling is lower quality to save compute time.\n" " -final : High quality processing. equivalent to -extrasky 16.\n" - " -extrasky n : trace N times as many rays for indirect light and sky ambient.\n" + " -extrasky # : trace # times as many rays for indirect light and sky ambient.\n" +#ifdef MAPBASE + " -extrapasses # : Lets you scale how many extra passes you want your map to go through (default 4), differences above this value are minimal.\n" +#endif " -low : Run as an idle-priority process.\n" " -mpi : Use VMPI to distribute computations.\n" " -rederror : Show errors in red.\n" @@ -2813,6 +2949,13 @@ void PrintUsage( int argc, char **argv ) " supersampling.\n" " -smooth # : Set the threshold for smoothing groups, in degrees\n" " (default 45).\n" +#ifdef MAPBASE + " -coring # : Scale the light threshold before a luxel is completely unlit, used to save lightmap data. (default 1.0)\n" + " -ambient # # # : Sets the ambient term. Can be used to tweak lightmap color. Mixes the color into all lightmaps.\n" + " -scale # : Scales all the lights by a # factor. (default 1.0) \n" + " -dlight # : Set the dlight_threshold constant. (default 0.1)" + " -notexscale : Disables calculation of the texture and lightmap scaling factors for a patch.\n" +#endif " -dlightmap : Force direct lighting into different lightmap than\n" " radiosity.\n" " -stoponexit : Wait for a keypress on exit.\n" @@ -2825,16 +2968,22 @@ void PrintUsage( int argc, char **argv ) " -loghash : Log the sample hash table to samplehash.txt.\n" " -onlydetail : Only light detail props and per-leaf lighting.\n" " -maxdispsamplesize #: Set max displacement sample size (default: 512).\n" - " -softsun : Treat the sun as an area light source of size degrees." + " -softsun # : Treat the sun as an area light source of size # degrees." " Produces soft shadows.\n" " Recommended values are between 0 and 5. Default is 0.\n" " -FullMinidumps : Write large minidumps on crash.\n" " -chop : Smallest number of luxel widths for a bounce patch, used on edges\n" " -maxchop : Coarsest allowed number of luxel widths for a patch, used in face interiors\n" +#ifdef MAPBASE + " -exportLightmaps : Exports the lightmaps generated by vrad.\n" +#endif "\n" " -LargeDispSampleRadius: This can be used if there are splotches of bounced light\n" " on terrain. The compile will take longer, but it will gather\n" " light across a wider area.\n" +#ifdef MAPBASE + " -compressconstant #: compress lightmaps whose color variation is less than # units, a good start is 4. (default 0)\n" +#endif " -StaticPropLighting : generate backed static prop vertex lighting\n" " -StaticPropPolys : Perform shadow tests of static props at polygon precision\n" " -OnlyStaticProps : Only perform direct static prop lighting (vrad debug option)\n" @@ -2855,7 +3004,7 @@ void PrintUsage( int argc, char **argv ) { if ( V_stricmp( argv[i], "-mpi_ListParams" ) == 0 ) { - Warning( "VMPI-specific options:\n\n" ); + Warning("\tVMPI-specific options:\n\n" ); bool bIsSDKMode = VMPI_IsSDKMode(); for ( int i=k_eVMPICmdLineParam_FirstParam+1; i < k_eVMPICmdLineParam_LastParam; i++ ) @@ -2863,9 +3012,9 @@ void PrintUsage( int argc, char **argv ) if ( (VMPI_GetParamFlags( (EVMPICmdLineParam)i ) & VMPI_PARAM_SDK_HIDDEN) && bIsSDKMode ) continue; - Warning( "[%s]\n", VMPI_GetParamString( (EVMPICmdLineParam)i ) ); + Warning("\t[%s]\n", VMPI_GetParamString( (EVMPICmdLineParam)i ) ); Warning( VMPI_GetParamHelpString( (EVMPICmdLineParam)i ) ); - Warning( "\n\n" ); + Warning("\t\n\n" ); } break; } @@ -2877,12 +3026,16 @@ void PrintUsage( int argc, char **argv ) int RunVRAD( int argc, char **argv ) { #if defined(_MSC_VER) && ( _MSC_VER >= 1310 ) - Msg("Valve Software - vrad.exe SSE (" __DATE__ ")\n" ); + #ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &cyan, "Valve Software - vrad.exe (Build: pc32 %s)", __DATE__); + #else + Msg("Valve Software - vrad.exe (" __DATE__ ")\n" ); + #endif #else Msg("Valve Software - vrad.exe (" __DATE__ ")\n" ); #endif - Msg("\n Valve Radiosity Simulator \n"); + //Msg("\n Valve Radiosity Simulator \n"); //no need to have this. verbose = true; // Originally FALSE diff --git a/sp/src/utils/vrad/vrad.h b/sp/src/utils/vrad/vrad.h index 95fcd15190..efd61e0a53 100644 --- a/sp/src/utils/vrad/vrad.h +++ b/sp/src/utils/vrad/vrad.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -270,15 +270,20 @@ extern int nodeparents[MAX_MAP_NODES]; extern float lightscale; extern float dlight_threshold; extern float coring; -extern qboolean g_bDumpPatches; +extern bool g_bDumpPatches; extern bool bRed2Black; extern bool g_bNoSkyRecurse; extern bool bDumpNormals; extern bool g_bFastAmbient; extern float maxchop; + +#ifdef MAPBASE +extern bool g_bExportLightmaps; +#endif + extern FileHandle_t pFileSamples[4][4]; -extern qboolean g_bLowPriority; -extern qboolean do_fast; +extern bool g_bLowPriority; +extern bool do_fast; extern bool g_bInterrupt; // Was used with background lighting in WC. Tells VRAD to stop lighting. extern IIncremental *g_pIncremental; // null if not doing incremental lighting @@ -316,15 +321,15 @@ void TouchVMFFile (void); //============================================== -extern qboolean do_extra; -extern qboolean do_fast; -extern qboolean do_centersamples; -extern int extrapasses; -extern Vector ambient; -extern float maxlight; -extern unsigned numbounce; -extern qboolean g_bLogHashData; -extern bool debug_extra; +extern bool do_extra; +extern bool do_fast; +extern bool do_centersamples; +extern int extrapasses; +extern Vector ambient; +extern float maxlight; +extern unsigned numbounce; +extern bool g_bLogHashData; +extern bool debug_extra; extern directlight_t *activelights; extern directlight_t *freelights; @@ -337,7 +342,7 @@ extern bool g_bMPIProps; extern byte nodehit[MAX_MAP_NODES]; extern float gamma_value; -extern float indirect_sun; +//extern float indirect_sun; //not used. extern float smoothing_threshold; extern int dlight_map; @@ -363,6 +368,12 @@ void BuildFacelights (int facenum, int threadnum); void PrecompLightmapOffsets(); void FinalLightFace (int threadnum, int facenum); void PvsForOrigin (Vector& org, byte *pvs); + +#ifdef MAPBASE +void BuildPalettedLightmaps(); +void CompressConstantLightmaps(int constantThreshold); +#endif + void ConvertRGBExp32ToRGBA8888( const ColorRGBExp32 *pSrc, unsigned char *pDst ); inline byte PVSCheck( const byte *pvs, int iCluster ) diff --git a/sp/src/utils/vrad/vrad_dispcoll.cpp b/sp/src/utils/vrad/vrad_dispcoll.cpp index 2edd1ca9b0..4414df1ab7 100644 --- a/sp/src/utils/vrad/vrad_dispcoll.cpp +++ b/sp/src/utils/vrad/vrad_dispcoll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -114,7 +114,7 @@ void CVRADDispColl::CalcSampleRadius2AndBox( dface_t *pFace ) if ( flPatchSampleRadius > g_MaxDispPatchRadius ) { flPatchSampleRadius = g_MaxDispPatchRadius; - Warning( "Patch Sample Radius Clamped!\n" ); + Warning("\tPatch Sample Radius Clamped!\n" ); } m_flPatchSampleRadius2 = flPatchSampleRadius * flPatchSampleRadius; } diff --git a/sp/src/utils/vrad/vrad_dispcoll.h b/sp/src/utils/vrad/vrad_dispcoll.h index 787c3137a4..f016596f54 100644 --- a/sp/src/utils/vrad/vrad_dispcoll.h +++ b/sp/src/utils/vrad/vrad_dispcoll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/vrad_dll.vpc b/sp/src/utils/vrad/vrad_dll.vpc index e4a3422658..bbf1ed51e1 100644 --- a/sp/src/utils/vrad/vrad_dll.vpc +++ b/sp/src/utils/vrad/vrad_dll.vpc @@ -67,6 +67,7 @@ $Project "Vrad_dll" $File "..\common\cmdlib.cpp" $File "$SRCDIR\public\DispColl_Common.cpp" $File "..\common\map_shared.cpp" + $File "..\common\StandartColorFormat.cpp" $File "..\common\polylib.cpp" $File "..\common\scriplib.cpp" $File "..\common\threads.cpp" @@ -116,6 +117,7 @@ $Project "Vrad_dll" $File "..\common\mpi_stats.h" $File "..\common\MySqlDatabase.h" $File "..\common\pacifier.h" + $File "..\common\StandartColorFormat.h" $File "..\common\polylib.h" $File "..\common\scriplib.h" $File "..\vmpi\threadhelpers.h" diff --git a/sp/src/utils/vrad/vraddetailprops.cpp b/sp/src/utils/vrad/vraddetailprops.cpp index 9323259596..8c5bbfd9af 100644 --- a/sp/src/utils/vrad/vraddetailprops.cpp +++ b/sp/src/utils/vrad/vraddetailprops.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -170,7 +170,7 @@ static void ComputeMaxDirectLighting( DetailObjectLump_t& prop, Vector* maxcolor static bool s_Warned = false; if ( !s_Warned ) { - Warning("WARNING: Bogus detail props encountered!\n" ); + Warning("\tWARNING: Bogus detail props encountered!\n" ); s_Warned = true; } @@ -206,8 +206,7 @@ static void ComputeMaxDirectLighting( DetailObjectLump_t& prop, Vector* maxcolor } // Find the max illumination - int i; - for ( i = 0; i < MAX_LIGHTSTYLES; ++i) + for (int i = 0; i < MAX_LIGHTSTYLES; ++i) { maxcolor[i].Init(0,0,0); } @@ -215,8 +214,7 @@ static void ComputeMaxDirectLighting( DetailObjectLump_t& prop, Vector* maxcolor // NOTE: See version 10 for a method where we choose a normal based on whichever // one produces the maximum possible illumination. This appeared to work better on // e3_town, so I'm trying it now; hopefully it'll be good for all cases. - int j; - for ( j = 0; j < lights.Count(); ++j) + for (int j = 0; j < lights.Count(); ++j) { dl = lights[j]; @@ -235,7 +233,6 @@ static void ComputeMaxDirectLighting( DetailObjectLump_t& prop, Vector* maxcolor //----------------------------------------------------------------------------- // Computes the ambient term from a particular surface //----------------------------------------------------------------------------- - static void ComputeAmbientFromSurface( dface_t* pFace, directlight_t* pSkylight, Vector& radcolor ) { @@ -629,8 +626,7 @@ static void ComputeAmbientLightingAtPoint( int iThread, const Vector &origin, Ve // sample world by casting N rays distributed across a sphere Vector upend; - int j; - for ( j = 0; j < MAX_LIGHTSTYLES; ++j) + for (int j = 0; j < MAX_LIGHTSTYLES; ++j) { color[j].Init( 0,0,0 ); } @@ -646,7 +642,7 @@ static void ComputeAmbientLightingAtPoint( int iThread, const Vector &origin, Ve // DumpRayToGlView( ray, surfEnum.m_HitFrac, &color[0], "test.out" ); } - for ( j = 0; j < MAX_LIGHTSTYLES; ++j) + for (int j = 0; j < MAX_LIGHTSTYLES; ++j) { VectorMultiply( color[j], 255.0f / (float)NUMVERTEXNORMALS, color[j] ); } @@ -758,7 +754,7 @@ static void ComputeAmbientLighting( int iThread, DetailObjectLump_t& prop, Vecto static bool s_Warned = false; if ( !s_Warned ) { - Warning("WARNING: Bogus detail props encountered!\n" ); + Warning("\tWARNING: Bogus detail props encountered!\n" ); s_Warned = true; } @@ -971,7 +967,7 @@ void VMPI_ProcessDetailPropWU( int iThread, int iWorkUnit, MessageBuffer *pBuf ) pBuf->write( &prop.m_LightStyleCount, sizeof( prop.m_LightStyleCount ) ); pBuf->write( &prop.m_LightStyles, sizeof( prop.m_LightStyles ) ); - for ( int i=0; i < prop.m_LightStyleCount; i++ ) + for ( int i = 0; i < prop.m_LightStyleCount; i++ ) { DetailPropLightstylesLump_t *l = &pDetailPropLump->Element( i + prop.m_LightStyles ); pBuf->write( &l->m_Lighting, sizeof( l->m_Lighting ) ); @@ -992,7 +988,7 @@ void VMPI_ReceiveDetailPropWU( int iWorkUnit, MessageBuffer *pBuf, int iWorker ) pDetailPropLump->EnsureCount( prop.m_LightStyles + prop.m_LightStyleCount ); - for ( int i=0; i < prop.m_LightStyleCount; i++ ) + for ( int i = 0; i < prop.m_LightStyleCount; i++ ) { DetailPropLightstylesLump_t *l = &pDetailPropLump->Element( i + prop.m_LightStyles ); pBuf->read( &l->m_Lighting, sizeof( l->m_Lighting ) ); diff --git a/sp/src/utils/vrad/vraddetailprops.h b/sp/src/utils/vrad/vraddetailprops.h index 0345d96a10..30f398182a 100644 --- a/sp/src/utils/vrad/vraddetailprops.h +++ b/sp/src/utils/vrad/vraddetailprops.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/vraddisps.cpp b/sp/src/utils/vrad/vraddisps.cpp index d6bc6f7aae..58d37700ad 100644 --- a/sp/src/utils/vrad/vraddisps.cpp +++ b/sp/src/utils/vrad/vraddisps.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -19,6 +19,10 @@ #include "tier0/fasttimer.h" #include "disp_vrad.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + class CBSPDispRayDistanceEnumerator; //============================================================================= @@ -513,11 +517,21 @@ void CVRadDispMgr::MakePatches( void ) } // Print stats. - qprintf( "%i Displacements\n", nTreeCount ); - qprintf( "%i Square Feet [%.2f Square Inches]\n", ( int )( flTotalArea / 144.0f ), flTotalArea ); +#ifdef MAPBASE + Msg("Number of displacements "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i]\n", nTreeCount); + Msg("Square Feet "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i] [%.2f Square Inches]\n", (int)(flTotalArea / 144.0f), flTotalArea); +#else + qprintf("%i Displacements\n", nTreeCount); + qprintf("%i Square Feet [%.2f Square Inches]\n", (int)(flTotalArea / 144.0f), flTotalArea); +#endif + } + //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- + void CVRadDispMgr::SubdividePatch( int iPatch ) { // Get the current patch to subdivide. @@ -1179,7 +1193,7 @@ void CVRadDispMgr::RadialLuxelAddPatch( int ndxFace, Vector const &luxelPt, CUtlVector &interestingPatches ) { #ifdef SAMPLEHASH_QUERY_ONCE - for ( int i=0; i < interestingPatches.Count(); i++ ) + for ( int i = 0; i < interestingPatches.Count(); i++ ) { CPatch *pPatch = interestingPatches[i]; bool bNeighborBump = texinfo[g_pFaces[pPatch->faceNumber].texinfo].flags & SURF_BUMPLIGHT ? true : false; @@ -1257,7 +1271,7 @@ void CVRadDispMgr::GetInterestingPatchesForLuxels( // Get the max bounds of all voxels that these luxels touch. Vector vLuxelMin( FLT_MAX, FLT_MAX, FLT_MAX ); Vector vLuxelMax( -FLT_MAX, -FLT_MAX, -FLT_MAX ); - for ( int i=0; i < pFaceLight->numluxels; i++ ) + for ( int i = 0; i < pFaceLight->numluxels; i++ ) { VectorMin( pFaceLight->luxel[i], vLuxelMin, vLuxelMin ); VectorMax( pFaceLight->luxel[i], vLuxelMax, vLuxelMax ); @@ -1277,7 +1291,7 @@ void CVRadDispMgr::GetInterestingPatchesForLuxels( voxelBits.SetSize( ((allVoxelSize[0] * allVoxelSize[1] * allVoxelSize[2]) + 7) / 8 ); memset( voxelBits.Base(), 0, voxelBits.Count() ); - for ( int i=0; i < pFaceLight->numluxels; i++ ) + for ( int i = 0; i < pFaceLight->numluxels; i++ ) { int voxelMin[3], voxelMax[3]; for ( int axis=0; axis < 3; axis++ ) @@ -1550,7 +1564,11 @@ void CVRadDispMgr::EndTimer( void ) CCycleCount duration = m_Timer.GetDuration(); double seconds = duration.GetSeconds(); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (%1.4lf)\n", seconds); +#else Msg( "Done<%1.4lf sec>\n", seconds ); +#endif } diff --git a/sp/src/utils/vrad/vraddll.cpp b/sp/src/utils/vrad/vraddll.cpp index bc9f2f457a..4cc8841a4d 100644 --- a/sp/src/utils/vrad/vraddll.cpp +++ b/sp/src/utils/vrad/vraddll.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -80,8 +80,7 @@ int CalcDatSize() int ret = 0; int count = sizeof( g_Dats ) / sizeof( g_Dats[0] ); - int i; - for( i=1; i < count; i++ ) + for(int i=1; i < count; i++ ) { if( g_Dats[i-1].size > g_Dats[i].size ) { @@ -96,15 +95,14 @@ int CalcDatSize() } } - for( i=0; i < count; i++ ) + for(int i = 0; i < count; i++ ) ret += g_Dats[i].size; return ret; } -int g_TotalDatSize = CalcDatSize(); - +int g_TotalDatSize = CalcDatSize(); int CVRadDLL::main( int argc, char **argv ) diff --git a/sp/src/utils/vrad/vraddll.h b/sp/src/utils/vrad/vraddll.h index 988daca56f..f90b496384 100644 --- a/sp/src/utils/vrad/vraddll.h +++ b/sp/src/utils/vrad/vraddll.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad/vradstaticprops.cpp b/sp/src/utils/vrad/vradstaticprops.cpp index f4f04a693a..a81c2189b7 100644 --- a/sp/src/utils/vrad/vradstaticprops.cpp +++ b/sp/src/utils/vrad/vradstaticprops.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -292,7 +292,7 @@ bool LoadStudioModel( char const* pModelName, CUtlBuffer& buf ) // Construct the file name... if (!LoadFile( pModelName, buf )) { - Warning("Error! Unable to load model \"%s\"\n", pModelName ); + Warning("\tError! Unable to load model \"%s\"\n", pModelName ); return false; } @@ -300,7 +300,7 @@ bool LoadStudioModel( char const* pModelName, CUtlBuffer& buf ) if (strncmp ((const char *) buf.PeekGet(), "IDST", 4) && strncmp ((const char *) buf.PeekGet(), "IDAG", 4)) { - Warning("Error! Invalid model file \"%s\"\n", pModelName ); + Warning("\tError! Invalid model file \"%s\"\n", pModelName ); return false; } @@ -310,13 +310,13 @@ bool LoadStudioModel( char const* pModelName, CUtlBuffer& buf ) if (pHdr->version != STUDIO_VERSION) { - Warning("Error! Invalid model version \"%s\"\n", pModelName ); + Warning("\tError! Invalid model version \"%s\"\n", pModelName ); return false; } if (!IsStaticProp(pHdr)) { - Warning("Error! To use model \"%s\"\n" + Warning("\tError! To use model \"%s\"\n" " as a static prop, it must be compiled with $staticprop!\n", pModelName ); return false; } @@ -358,7 +358,7 @@ bool LoadVTXFile( char const* pModelName, const studiohdr_t *pStudioHdr, CUtlBuf if ( !LoadFile( filename, buf ) ) { - Warning( "Error! Unable to load file \"%s\"\n", filename ); + Warning("\tError! Unable to load file \"%s\"\n", filename ); return false; } @@ -367,12 +367,12 @@ bool LoadVTXFile( char const* pModelName, const studiohdr_t *pStudioHdr, CUtlBuf // Check that it's valid if ( pVtxHdr->version != OPTIMIZED_MODEL_FILE_VERSION ) { - Warning( "Error! Invalid VTX file version: %d, expected %d \"%s\"\n", pVtxHdr->version, OPTIMIZED_MODEL_FILE_VERSION, filename ); + Warning("\tError! Invalid VTX file version: %d, expected %d \"%s\"\n", pVtxHdr->version, OPTIMIZED_MODEL_FILE_VERSION, filename ); return false; } if ( pVtxHdr->checkSum != pStudioHdr->checksum ) { - Warning( "Error! Invalid VTX file checksum: %d, expected %d \"%s\"\n", pVtxHdr->checkSum, pStudioHdr->checksum, filename ); + Warning("\tError! Invalid VTX file checksum: %d, expected %d \"%s\"\n", pVtxHdr->checkSum, pStudioHdr->checksum, filename ); return false; } @@ -884,7 +884,7 @@ void CVradStaticPropMgr::UnserializeStaticProps() if ( g_GameLumps.GetGameLumpVersion( handle ) != GAMELUMP_STATIC_PROPS_VERSION ) { - Error( "Cannot load the static props... encountered a stale map version. Re-vbsp the map." ); + Error( "\tCannot load the static props... encountered a stale map version. Re-vbsp the map." ); } if ( g_GameLumps.GetGameLump( handle ) ) @@ -908,12 +908,12 @@ void CVradStaticPropMgr::Init() { CreateInterfaceFn physicsFactory = GetPhysicsFactory(); if ( !physicsFactory ) - Error( "Unable to load vphysics DLL." ); + Error( "\tUnable to load vphysics DLL." ); s_pPhysCollision = (IPhysicsCollision *)physicsFactory( VPHYSICS_COLLISION_INTERFACE_VERSION, NULL ); if( !s_pPhysCollision ) { - Error( "Unable to get '%s' for physics interface.", VPHYSICS_COLLISION_INTERFACE_VERSION ); + Error( "\tUnable to get '%s' for physics interface.", VPHYSICS_COLLISION_INTERFACE_VERSION ); return; } @@ -1298,7 +1298,7 @@ void CVradStaticPropMgr::SerializeLighting() } int totalVertexes = 0; - for ( int j=0; jwrite( &nLists, sizeof( nLists ) ); - for ( int i=0; i < nLists; i++ ) + for ( int i = 0; i < nLists; i++ ) { CUtlVector &curList = *results.m_ColorVertsArrays[i]; int count = curList.Count(); @@ -1405,7 +1405,7 @@ void CVradStaticPropMgr::VMPI_ReceiveStaticPropResults( int iStaticProp, Message int nLists; pBuf->read( &nLists, sizeof( nLists ) ); - for ( int i=0; i < nLists; i++ ) + for ( int i = 0; i < nLists; i++ ) { CUtlVector *pList = new CUtlVector; results.m_ColorVertsArrays.AddToTail( pList ); @@ -1455,7 +1455,7 @@ void CVradStaticPropMgr::ComputeLighting( int iThread ) return; } - StartPacifier( "Computing static prop lighting : " ); + StartPacifier( "Computing static prop lighting -> " ); // ensure any traces against us are ignored because we have no inherit lighting contribution m_bIgnoreStaticPropTrace = true; @@ -1866,7 +1866,7 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void *pModelData ) FileHandle_t fileHandle = g_pFileSystem->Open( fileName, "rb" ); if ( !fileHandle ) { - Error( "Unable to load vertex data \"%s\"\n", fileName ); + Error( "\tUnable to load vertex data \"%s\"\n", fileName ); } // Get the file size @@ -1874,7 +1874,7 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void *pModelData ) if ( vvdSize == 0 ) { g_pFileSystem->Close( fileHandle ); - Error( "Bad size for vertex data \"%s\"\n", fileName ); + Error( "\tBad size for vertex data \"%s\"\n", fileName ); } vertexFileHeader_t *pVvdHdr = (vertexFileHeader_t *)malloc( vvdSize ); @@ -1884,15 +1884,15 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void *pModelData ) // check header if ( pVvdHdr->id != MODEL_VERTEX_FILE_ID ) { - Error("Error Vertex File %s id %d should be %d\n", fileName, pVvdHdr->id, MODEL_VERTEX_FILE_ID); + Error("\tError Vertex File %s id %d should be %d\n", fileName, pVvdHdr->id, MODEL_VERTEX_FILE_ID); } if ( pVvdHdr->version != MODEL_VERTEX_FILE_VERSION ) { - Error("Error Vertex File %s version %d should be %d\n", fileName, pVvdHdr->version, MODEL_VERTEX_FILE_VERSION); + Error("\tError Vertex File %s version %d should be %d\n", fileName, pVvdHdr->version, MODEL_VERTEX_FILE_VERSION); } if ( pVvdHdr->checksum != pActiveStudioHdr->checksum ) { - Error("Error Vertex File %s checksum %d should be %d\n", fileName, pVvdHdr->checksum, pActiveStudioHdr->checksum); + Error("\tError Vertex File %s checksum %d should be %d\n", fileName, pVvdHdr->checksum, pActiveStudioHdr->checksum); } // need to perform mesh relocation fixups @@ -1900,7 +1900,7 @@ const vertexFileHeader_t * mstudiomodel_t::CacheVertexData( void *pModelData ) vertexFileHeader_t *pNewVvdHdr = (vertexFileHeader_t *)malloc( vvdSize ); if ( !pNewVvdHdr ) { - Error( "Error allocating %d bytes for Vertex File '%s'\n", vvdSize, fileName ); + Error( "\tError allocating %d bytes for Vertex File '%s'\n", vvdSize, fileName ); } // load vertexes and run fixups diff --git a/sp/src/utils/vrad_launcher/stdafx.cpp b/sp/src/utils/vrad_launcher/stdafx.cpp index 983b8ba547..2d994b2898 100644 --- a/sp/src/utils/vrad_launcher/stdafx.cpp +++ b/sp/src/utils/vrad_launcher/stdafx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad_launcher/stdafx.h b/sp/src/utils/vrad_launcher/stdafx.h index 36daff0ab8..d6e6569196 100644 --- a/sp/src/utils/vrad_launcher/stdafx.h +++ b/sp/src/utils/vrad_launcher/stdafx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vrad_launcher/vrad_launcher.cpp b/sp/src/utils/vrad_launcher/vrad_launcher.cpp index 0afb27d763..cc2cd5fccb 100644 --- a/sp/src/utils/vrad_launcher/vrad_launcher.cpp +++ b/sp/src/utils/vrad_launcher/vrad_launcher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vtf2tga/vtf2tga.cpp b/sp/src/utils/vtf2tga/vtf2tga.cpp index c06999b083..29b0d013c3 100644 --- a/sp/src/utils/vtf2tga/vtf2tga.cpp +++ b/sp/src/utils/vtf2tga/vtf2tga.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vtfdiff/vtfdiff.cpp b/sp/src/utils/vtfdiff/vtfdiff.cpp index 068cb3191b..2b88f06d1d 100644 --- a/sp/src/utils/vtfdiff/vtfdiff.cpp +++ b/sp/src/utils/vtfdiff/vtfdiff.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vvis/WaterDist.cpp b/sp/src/utils/vvis/WaterDist.cpp index 933e178f57..e58ef3aada 100644 --- a/sp/src/utils/vvis/WaterDist.cpp +++ b/sp/src/utils/vvis/WaterDist.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -10,21 +10,14 @@ // from bsplib.h: // numleafs // dleafs - void EmitDistanceToWaterInfo( void ) { - int leafID; - for( leafID = 0; leafID < numleafs; leafID++ ) + for(int leafID = 0; leafID < numleafs; leafID++ ) { dleaf_t *pLeaf = &dleafs[leafID]; if( pLeaf->leafWaterDataID == -1 ) - { - // FIXME: set the distance to water to infinity here just in case. - continue; - } - - // Get the vis set for this leaf. - + continue; // FIXME: set the distance to water to infinity here just in case. + // Get the vis set for this leaf. } } diff --git a/sp/src/utils/vvis/flow.cpp b/sp/src/utils/vvis/flow.cpp index 716fc1aea1..7f1b3cf25a 100644 --- a/sp/src/utils/vvis/flow.cpp +++ b/sp/src/utils/vvis/flow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -31,11 +31,9 @@ int g_TraceClusterStop = -1; int CountBits (byte *bits, int numbits) { - int i; - int c; + int c = 0; - c = 0; - for (i=0 ; ipstack_head.next ; p ; p=p->next) + for (pstack_t *p=thread->pstack_head.next ; p ; p=p->next) { // Msg ("="); if (p->leaf == leaf) - Error ("CheckStack: leaf recursion"); - for (p2=thread->pstack_head.next ; p2 != p ; p2=p2->next) + Error ("\tCheckStack: leaf recursion"); + for (pstack_t *p2=thread->pstack_head.next ; p2 != p ; p2=p2->next) if (p2->leaf == p->leaf) - Error ("CheckStack: late leaf recursion"); + Error ("\tCheckStack: late leaf recursion"); } // Msg ("\n"); } @@ -72,9 +68,7 @@ void CheckStack (leaf_t *leaf, threaddata_t *thread) winding_t *AllocStackWinding (pstack_t *stack) { - int i; - - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) { if (stack->freewindings[i]) { @@ -82,8 +76,7 @@ winding_t *AllocStackWinding (pstack_t *stack) return &stack->windings[i]; } } - - Error ("Out of memory. AllocStackWinding: failed"); + Error ("\tOut of memory. AllocStackWinding: failed"); return NULL; } @@ -98,7 +91,7 @@ void FreeStackWinding (winding_t *w, pstack_t *stack) return; // not from local if (stack->freewindings[i]) - Error ("FreeStackWinding: allready free"); + Error ("\tFreeStackWinding: allready free"); stack->freewindings[i] = 1; } @@ -382,11 +375,10 @@ class CPortalTrace void WindingCenter (winding_t *w, Vector ¢er) { - int i; float scale; VectorCopy (vec3_origin, center); - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) VectorAdd (w->points[i], center, center); scale = 1.0/w->numpoints; @@ -416,7 +408,7 @@ void DumpPortalTrace( pstack_t *pStack ) if ( g_PortalTrace.m_list.Count() ) return; - Warning("Dumped cluster trace!!!\n"); + Warning("\tDumped cluster trace!!!\n"); Vector mid; mid = ClusterCenter( g_TraceClusterStart ); g_PortalTrace.m_list.AddToTail(mid); @@ -449,14 +441,14 @@ void WritePortalTrace( const char *source ) if ( !g_PortalTrace.m_list.Count() ) { - Warning("No trace generated from %d to %d\n", g_TraceClusterStart, g_TraceClusterStop ); + Warning("\tNo trace generated from %d to %d\n", g_TraceClusterStart, g_TraceClusterStop ); return; } sprintf (filename, "%s.lin", source); linefile = fopen (filename, "w"); if (!linefile) - Error ("Couldn't open %s\n", filename); + Error ("\tCouldn't open %s\n", filename); for ( int i = 0; i < g_PortalTrace.m_list.Count(); i++ ) { @@ -464,7 +456,7 @@ void WritePortalTrace( const char *source ) fprintf (linefile, "%f %f %f\n", p[0], p[1], p[2]); } fclose (linefile); - Warning("Wrote %s!!!\n", filename); + Warning("\tWrote %s!!!\n", filename); } /* @@ -825,7 +817,6 @@ void RecursiveLeafBitFlow (int leafnum, byte *mightsee, byte *cansee) { portal_t *p; leaf_t *leaf; - int i, j; long more; int pnum; byte newmight[MAX_PORTALS/8]; @@ -833,7 +824,7 @@ void RecursiveLeafBitFlow (int leafnum, byte *mightsee, byte *cansee) leaf = &leafs[leafnum]; // check all portals for flowing into other leafs - for (i=0 ; iportals.Count(); i++) + for (int i=0 ; iportals.Count(); i++) { p = leaf->portals[i]; pnum = p - portals; @@ -844,7 +835,7 @@ void RecursiveLeafBitFlow (int leafnum, byte *mightsee, byte *cansee) // if this portal can see some portals we mightsee, recurse more = 0; - for (j=0 ; jportalflood)[j]; diff --git a/sp/src/utils/vvis/mpivis.cpp b/sp/src/utils/vvis/mpivis.cpp index 58b76331a1..e158c32b38 100644 --- a/sp/src/utils/vvis/mpivis.cpp +++ b/sp/src/utils/vvis/mpivis.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -153,7 +153,7 @@ void VVIS_SetupMPI( int &argc, char **&argv ) Msg( "Initializing VMPI...\n" ); if ( !VMPI_Init( argc, argv, "dependency_info_vvis.txt", HandleMPIDisconnect, mode ) ) { - Error( "MPI_Init failed." ); + Error( "\tMPI_Init failed." ); } StatsDB_InitStatsDatabase( argc, argv, "dbinfo_vvis.txt" ); @@ -185,7 +185,7 @@ void ReceiveBasePortalVis( uint64 iWorkUnit, MessageBuffer *pBuf, int iWorker ) } if ( pBuf->getLen() - pBuf->getOffset() != portalbytes*2 ) - Error( "Invalid packet in ReceiveBasePortalVis." ); + Error( "\tInvalid packet in ReceiveBasePortalVis." ); // // allocate memory for bitwise vis solutions for this portal @@ -213,7 +213,7 @@ void RunMPIBasePortalVis() int i; Msg( "\n\nportalbytes: %d\nNum Work Units: %d\nTotal data size: %d\n", portalbytes, g_numportals*2, portalbytes*g_numportals*2 ); - Msg("%-20s ", "BasePortalVis:"); + Msg("%-20s ", "BasePortalVis ->"); if ( g_bMPIMaster ) StartPacifier(""); @@ -249,7 +249,7 @@ void RunMPIBasePortalVis() allPortalData.SetSize( g_numportals * 2 * portalbytes * 2 ); char *pOut = allPortalData.Base(); - for ( i=0; i < g_numportals * 2; i++) + for ( i = 0; i < g_numportals * 2; i++) { portal_t *p = &portals[i]; @@ -280,9 +280,9 @@ void RunMPIBasePortalVis() // Open FileHandle_t fp = g_pFileSystem->Open( g_BasePortalVisResultsFilename.Base(), "rb", VMPI_VIRTUAL_FILES_PATH_ID ); if ( !fp ) - Error( "Can't open '%s' to read portal info.", g_BasePortalVisResultsFilename.Base() ); + Error( "\tCan't open '%s' to read portal info.", g_BasePortalVisResultsFilename.Base() ); - for ( i=0; i < g_numportals * 2; i++) + for ( i = 0; i < g_numportals * 2; i++) { portal_t *p = &portals[i]; @@ -428,7 +428,7 @@ class CVisDistributeWorkCallbacks : public IWorkUnitDistributorCallbacks if ( key == 'M' ) { m_iState = STATE_AT_MENU; - Warning("\n\n" + Warning("\t\n\n" "----------------------\n" "1. Write scratchpad file.\n" "2. Exit early and use fast vis for remaining portals.\n" @@ -457,7 +457,7 @@ class CVisDistributeWorkCallbacks : public IWorkUnitDistributorCallbacks ScratchPad_DrawWorld( pPad, false ); // Draw the portals that haven't been vis'd. - for ( int i=0; i < g_numportals*2; i++ ) + for ( int i = 0; i < g_numportals*2; i++ ) { portal_t *p = sorted_portals[i]; ScratchPad_DrawWinding( pPad, p->winding->numpoints, p->winding->points, Vector( 1, 0, 0 ), Vector( .3, .3, .3 ) ); @@ -475,7 +475,7 @@ class CVisDistributeWorkCallbacks : public IWorkUnitDistributorCallbacks else if ( key == '0' ) { m_iState = STATE_NONE; - Warning( "\n\nExited menu.\n\n" ); + Warning("\t\n\nExited menu.\n\n" ); } } } @@ -502,11 +502,11 @@ void CheckExitedEarly() { if ( g_VisDistributeWorkCallbacks.m_bExitedEarly ) { - Warning( "\nExited early, using fastvis results...\n" ); - Warning( "Exited early, using fastvis results...\n" ); + Warning("\t\nExited early, using fastvis results...\n" ); + Warning("\tExited early, using fastvis results...\n" ); // Use the fastvis results for portals that we didn't get results for. - for ( int i=0; i < g_numportals*2; i++ ) + for ( int i = 0; i < g_numportals*2; i++ ) { if ( sorted_portals[i]->status != stat_done ) { @@ -544,7 +544,7 @@ void RunMPIPortalFlow() g_PortalMCAddr.ip[3] = (unsigned char)RandomInt( 3, 255 ); g_pPortalMCSocket = CreateIPSocket(); - int i=0; + int i = 0; for ( i; i < 5; i++ ) { if ( g_pPortalMCSocket->BindToAny( randomStream.RandomInt( 20000, 30000 ) ) ) @@ -552,7 +552,7 @@ void RunMPIPortalFlow() } if ( i == 5 ) { - Error( "RunMPIPortalFlow: can't open a socket to multicast on." ); + Error( "\tRunMPIPortalFlow: can't open a socket to multicast on." ); } char cPacketID[2] = { VMPI_VVIS_PACKET_ID, VMPI_SUBPACKETID_MC_ADDR }; @@ -573,7 +573,7 @@ void RunMPIPortalFlow() { char err[512]; IP_GetLastErrorString( err, sizeof( err ) ); - Error( "RunMPIPortalFlow: CreateMulticastListenSocket failed. (%s).", err ); + Error( "\tRunMPIPortalFlow: CreateMulticastListenSocket failed. (%s).", err ); } // Make a thread to listen for the data on the multicast socket. @@ -593,7 +593,7 @@ void RunMPIPortalFlow() if ( !g_hMCThread ) { - Error( "RunMPIPortalFlow: CreateThread failed for multicast receive thread." ); + Error( "\tRunMPIPortalFlow: CreateThread failed for multicast receive thread." ); } } diff --git a/sp/src/utils/vvis/mpivis.h b/sp/src/utils/vvis/mpivis.h index ed44aa25f1..97ec06c548 100644 --- a/sp/src/utils/vvis/mpivis.h +++ b/sp/src/utils/vvis/mpivis.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vvis/vis.h b/sp/src/utils/vvis/vis.h index 0a4c314e25..fdcf335ddb 100644 --- a/sp/src/utils/vvis/vis.h +++ b/sp/src/utils/vvis/vis.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vvis/vvis.cpp b/sp/src/utils/vvis/vvis.cpp index 0fb613884f..a5dc27c3b7 100644 --- a/sp/src/utils/vvis/vvis.cpp +++ b/sp/src/utils/vvis/vvis.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -23,6 +23,17 @@ #include "loadcmdline.h" #include "byteswap.h" +#ifdef MAPBASE +#include "../common/StandartColorFormat.h" //this control the color of the console. +#endif + +/* +#ifdef MAPBASE + #ifdef _WIN32 //This is for having ANSI colors in the console on Windows. + #include + #endif +#endif +*/ int g_numportals; int portalclusters; @@ -58,6 +69,23 @@ bool g_bLowPriority = false; //============================================================================= +/* +//------------------------------------------- +// Windows stuff for colors in the console +//------------------------------------------- +#ifdef MAPBASE + #ifdef _WIN32 + void EnableANSI() { + HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE); + DWORD dwMode = 0; + if (hOut != INVALID_HANDLE_VALUE && GetConsoleMode(hOut, &dwMode)) { + SetConsoleMode(hOut, dwMode | ENABLE_VIRTUAL_TERMINAL_PROCESSING); + } + } + #endif +#endif +*/ + void PlaneFromWinding (winding_t *w, plane_t *plane) { Vector v1, v2; @@ -82,7 +110,7 @@ winding_t *NewWinding (int points) int size; if (points > MAX_POINTS_ON_WINDING) - Error ("NewWinding: %i points, max %d", points, MAX_POINTS_ON_WINDING); + Error ("\tNewWinding: %i points, max %d", points, MAX_POINTS_ON_WINDING); size = (int)(&((winding_t *)0)->points[points]); w = (winding_t*)malloc (size); @@ -93,19 +121,17 @@ winding_t *NewWinding (int points) void pw(winding_t *w) { - int i; - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) Msg ("(%5.1f, %5.1f, %5.1f)\n",w->points[i][0], w->points[i][1],w->points[i][2]); } void prl(leaf_t *l) { - int i; portal_t *p; plane_t pl; int count = l->portals.Count(); - for (i=0 ; iportals[i]; pl = p->plane; @@ -145,14 +171,13 @@ void BuildTracePortals( int clusterStart ) } void SortPortals (void) -{ - int i; - - for (i=0 ; iportals.Count(); i++) + for (int i=0 ; i < leaf->portals.Count(); i++) { p = leaf->portals[i]; if (p->status != stat_done) - Error ("portal not done %d %p %p\n", i, p, portals); - for (j=0 ; jportalvis)[j]; pnum = p - portals; SetBit( portalvector, pnum ); @@ -226,7 +248,7 @@ void ClusterMerge (int clusternum) // func_viscluster makes this happen all the time because it allows a non-convex set of portals // My analysis says this is ok, but it does make this check for errors in vis kind of useless if ( CheckBit( uncompressed, clusternum ) ) - Warning("WARNING: Cluster portals saw into cluster\n"); + Warning("\tWARNING: Cluster portals saw into cluster\n"); #endif SetBit( uncompressed, clusternum ); @@ -268,7 +290,7 @@ static int CompressAndCrosscheckClusterVis( int clusternum ) vismap_p += numbytes; if (vismap_p > vismap_end) - Error ("Vismap expansion overflow"); + Error ("\tVismap expansion overflow"); dvis->bitofs[clusternum][DVIS_PVS] = dest-vismap; @@ -288,20 +310,16 @@ CalcPortalVis */ void CalcPortalVis (void) { - int i; - // fastvis just uses mightsee for a very loose bound if( fastvis ) { - for (i=0 ; iwinding; VectorCopy (vec3_origin, total); - for (i=0 ; inumpoints ; i++) - { + + for (int i=0 ; inumpoints ; i++) VectorAdd (total, w->points[i], total); - } - for (i=0 ; i<3 ; i++) + for (int i=0 ; i<3 ; i++) total[i] /= w->numpoints; bestr = 0; - for (i=0 ; inumpoints ; i++) + for (int i=0 ; inumpoints ; i++) { VectorSubtract (w->points[i], total, dist); r = VectorLength (dist); if (r > bestr) bestr = r; } + VectorCopy (total, p->origin); p->radius = bestr; } @@ -421,18 +447,22 @@ void LoadPortals (char *name) char tempPath[MAX_PATH], tempFile[MAX_PATH]; if ( GetTempPath( sizeof( tempPath ), tempPath ) == 0 ) { - Error( "LoadPortals: GetTempPath failed.\n" ); + Error( "\tLoadPortals: GetTempPath failed.\n" ); } if ( GetTempFileName( tempPath, "vvis_portal_", 0, tempFile ) == 0 ) { - Error( "LoadPortals: GetTempFileName failed.\n" ); + Error( "\tLoadPortals: GetTempFileName failed.\n" ); } // Read all the data from the network file into memory. FileHandle_t hFile = g_pFileSystem->Open(name, "r"); if ( hFile == FILESYSTEM_INVALID_HANDLE ) - Error( "LoadPortals( %s ): couldn't get file from master.\n", name ); +#ifdef MAPBASE + Error("\tLoadPortals: +- %s : couldn't get file from master.\n", name); +#else + Error("\tLoadPortals %s couldn't get file from master.\n", name); +#endif CUtlVector data; data.SetSize( g_pFileSystem->Size( hFile ) ); @@ -452,20 +482,43 @@ void LoadPortals (char *name) f = fopen( name, "r" ); } - if ( !f ) - Error ("LoadPortals: couldn't read %s\n",name); + if ( !f ){ +#ifdef MAPBASE + Error ("\tLoadPortals couldn't read: +- %s\n",name); +#else + Error ("\tLoadPortals couldn't read %s\n",name); +#endif + } + - if (fscanf (f,"%79s\n%i\n%i\n",magic, &portalclusters, &g_numportals) != 3) - Error ("LoadPortals %s: failed to read header", name); - if (stricmp(magic,PORTALFILE)) - Error ("LoadPortals %s: not a portal file", name); + if (fscanf (f,"%79s\n%i\n%i\n",magic, &portalclusters, &g_numportals) != 3){ +#ifdef MAPBASE + Error ("\tLoadPortals: +- %s: failed to read header", name); +#else + Error ("\tLoadPortals: %s: failed to read header", name); +#endif + } + if (stricmp(magic,PORTALFILE)){ +#ifdef MAPBASE + Error ("\tLoadPortals: +- %s: not a portal file", name); +#else + Error ("\tLoadPortals: %s: not a portal file", name); +#endif + } +#ifdef MAPBASE + Msg (" Portalclusters "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i] \n", portalclusters); + Msg (" Numportals "); + ColorSpewMessage(SPEW_MESSAGE, &magenta, "[%i] \n", g_numportals); +#else Msg ("%4i portalclusters\n", portalclusters); Msg ("%4i numportals\n", g_numportals); +#endif if (g_numportals * 2 >= MAX_PORTALS) { - Error("The map overflows the max portal count (%d of max %d)!\n", g_numportals, MAX_PORTALS / 2 ); + Error("\tThe map overflows the max portal count (%d of max %d)!\n", g_numportals, MAX_PORTALS / 2 ); } // these counts should take advantage of 64 bit systems automatically @@ -495,12 +548,12 @@ void LoadPortals (char *name) { if (fscanf (f, "%i %i %i ", &numpoints, &leafnums[0], &leafnums[1]) != 3) - Error ("LoadPortals: reading portal %i", i); + Error ("\tLoadPortals: reading portal %i", i); if (numpoints > MAX_POINTS_ON_WINDING) - Error ("LoadPortals: portal %i has too many points", i); + Error ("\tLoadPortals: portal %i has too many points", i); if ( (unsigned)leafnums[0] > portalclusters || (unsigned)leafnums[1] > portalclusters) - Error ("LoadPortals: reading portal %i", i); + Error ("\tLoadPortals: reading portal %i", i); w = p->winding = NewWinding (numpoints); w->original = true; @@ -515,7 +568,7 @@ void LoadPortals (char *name) // so we don't care what size vec_t is if (fscanf (f, "(%lf %lf %lf ) " , &v[0], &v[1], &v[2]) != 3) - Error ("LoadPortals: reading portal %i", i); + Error ("\tLoadPortals: reading portal %i", i); for (k=0 ; k<3 ; k++) w->points[j][k] = v[k]; } @@ -575,7 +628,7 @@ void CalcPAS (void) byte uncompressed[MAX_MAP_LEAFS/8]; byte compressed[MAX_MAP_LEAFS/8]; - Msg ("Building PAS...\n"); + Msg ("Building PAS... "); count = 0; for (i=0 ; i= portalclusters) - Error ("Bad bit in PVS"); // pad bits should be 0 + Error ("\tBad bit in PVS\n"); // pad bits should be 0 src = (long *)(uncompressedvis + index*leafbytes); dest = (long *)uncompressed; for (l=0 ; l vismap_end) - Error ("Vismap expansion overflow"); + Error ("\tVismap expansion overflow\n"); dvis->bitofs[i][DVIS_PAS] = (byte *)dest-vismap; memcpy (dest, compressed, j); } - Msg ("Average clusters audible: %i\n", count/portalclusters); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#endif + +#ifdef MAPBASE + Msg("Average clusters audible"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%i]\n", count / portalclusters); +#else + Msg("Average clusters audible: %i\n", count / portalclusters); +#endif + } @@ -634,8 +697,7 @@ static void GetBoundsForFace( int faceID, Vector &faceMin, Vector &faceMax ) { ClearBounds( faceMin, faceMax ); dface_t *pFace = &dfaces[faceID]; - int i; - for( i = pFace->firstedge; i < pFace->firstedge + pFace->numedges; i++ ) + for(int i = pFace->firstedge; i < pFace->firstedge + pFace->numedges; i++ ) { int edgeID = dsurfedges[i]; if( edgeID < 0 ) @@ -651,17 +713,14 @@ static void GetBoundsForFace( int faceID, Vector &faceMin, Vector &faceMax ) } // FIXME: should stick this in mathlib -static float GetMinDistanceBetweenBoundingBoxes( const Vector &min1, const Vector &max1, - const Vector &min2, const Vector &max2 ) +static float GetMinDistanceBetweenBoundingBoxes( const Vector &min1, const Vector &max1, const Vector &min2, const Vector &max2 ) { if( IsBoxIntersectingBox( min1, max1, min2, max2 ) ) - { return 0.0f; - } Vector axisDist; - int i; - for( i = 0; i < 3; i++ ) + + for(int i = 0; i < 3; i++ ) { if( min1[i] <= max2[i] && max1[i] >= min2[i] ) { @@ -687,8 +746,6 @@ static float CalcDistanceFromLeafToWater( int leafNum ) { byte uncompressed[MAX_MAP_LEAFS/8]; - int j, k; - // If we know that this one doesn't see a water surface then don't bother doing anything. if( ((dleafs[leafNum].contents & CONTENTS_TESTFOGVOLUME) == 0) && ( dleafs[leafNum].leafWaterDataID == -1 ) ) return 65535; // FIXME: make a define for this. @@ -731,7 +788,7 @@ static float CalcDistanceFromLeafToWater( int leafNum ) */ // Iterate over all potentially visible clusters from this leaf - for (j = 0; j < dvis->numclusters; ++j) + for (int j = 0; j < dvis->numclusters; ++j) { // Don't need to bother if this is the same as the current cluster if (j == cluster) @@ -743,7 +800,7 @@ static float CalcDistanceFromLeafToWater( int leafNum ) // Found a visible cluster, now iterate over all leaves // inside that cluster - for (k = 0; k < g_ClusterLeaves[j].leafCount; ++k) + for (int k = 0; k < g_ClusterLeaves[j].leafCount; ++k) { int nClusterLeaf = g_ClusterLeaves[j].leafs[k]; @@ -788,11 +845,8 @@ static float CalcDistanceFromLeafToWater( int leafNum ) static void CalcDistanceFromLeavesToWater( void ) { - int i; - for( i = 0; i < numleafs; i++ ) - { + for(int i = 0; i < numleafs; i++ ) g_LeafMinDistToWater[i] = ( unsigned short )CalcDistanceFromLeafToWater( i ); - } } //----------------------------------------------------------------------------- @@ -802,16 +856,14 @@ static void CalcVisibleFogVolumes() { byte uncompressed[MAX_MAP_LEAFS/8]; - int i, j, k; - // Clear the contents flags for water testing - for (i = 0; i < numleafs; ++i) + for (int i = 0; i < numleafs; ++i) { dleafs[i].contents &= ~CONTENTS_TESTFOGVOLUME; g_LeafMinDistToWater[i] = 65535; } - for (i = 0; i < numleafs; ++i) + for (int i = 0; i < numleafs; ++i) { // If we've already discovered that this leaf needs testing, // no need to go through the work again... @@ -842,7 +894,7 @@ static void CalcVisibleFogVolumes() DecompressVis( &dvisdata[dvis->bitofs[cluster][DVIS_PVS]], uncompressed ); // Iterate over all potentially visible clusters from this leaf - for (j = 0; j < dvis->numclusters; ++j) + for (int j = 0; j < dvis->numclusters; ++j) { // Don't need to bother if this is the same as the current cluster if (j == cluster) @@ -853,7 +905,7 @@ static void CalcVisibleFogVolumes() // Found a visible cluster, now iterate over all leaves // inside that cluster - for (k = 0; k < g_ClusterLeaves[j].leafCount; ++k) + for (int k = 0; k < g_ClusterLeaves[j].leafCount; ++k) { int nClusterLeaf = g_ClusterLeaves[j].leafs[k]; @@ -982,7 +1034,7 @@ int ParseCommandLine( int argc, char **argv ) } else if (argv[i][0] == '-') { - Warning("VBSP: Unknown option \"%s\"\n\n", argv[i]); + Warning("\tVBSP: Unknown option \"%s\"\n\n", argv[i]); i = 100000; // force it to print the usage break; } @@ -995,12 +1047,12 @@ int ParseCommandLine( int argc, char **argv ) void PrintCommandLine( int argc, char **argv ) { - Warning( "Command line: " ); + Warning("\tCommand line: " ); for ( int z=0; z < argc; z++ ) { - Warning( "\"%s\" ", argv[z] ); + Warning("\t\"%s\" ", argv[z] ); } - Warning( "\n\n" ); + Warning("\t\n\n" ); } @@ -1049,7 +1101,7 @@ void PrintUsage( int argc, char **argv ) { if ( V_stricmp( argv[i], "-mpi_ListParams" ) == 0 ) { - Warning( "VMPI-specific options:\n\n" ); + Warning("\tVMPI-specific options:\n\n" ); bool bIsSDKMode = VMPI_IsSDKMode(); for ( int i=k_eVMPICmdLineParam_FirstParam+1; i < k_eVMPICmdLineParam_LastParam; i++ ) @@ -1057,9 +1109,9 @@ void PrintUsage( int argc, char **argv ) if ( (VMPI_GetParamFlags( (EVMPICmdLineParam)i ) & VMPI_PARAM_SDK_HIDDEN) && bIsSDKMode ) continue; - Warning( "[%s]\n", VMPI_GetParamString( (EVMPICmdLineParam)i ) ); + Warning("\t[%s]\n", VMPI_GetParamString( (EVMPICmdLineParam)i ) ); Warning( VMPI_GetParamHelpString( (EVMPICmdLineParam)i ) ); - Warning( "\n\n" ); + Warning("\t\n\n" ); } break; } @@ -1075,10 +1127,17 @@ int RunVVis( int argc, char **argv ) double start, end; - Msg( "Valve Software - vvis.exe (%s)\n", __DATE__ ); +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &cyan, "Valve Software - vvis.exe (Build: pc32 %s)", __DATE__); +#else + Msg("Valve Software - vvis.exe (%s)\n", __DATE__); +#endif verbose = false; + ThreadSetDefault(); //It does not change the behaviour of vvis, of ThreadSetDefault + //to be in the line 1117 (aprox) or in the line 1155 (aprox). + Q_StripExtension( argv[ argc - 1 ], source, sizeof( source ) ); CmdLib_InitFileSystem( argv[ argc - 1 ] ); @@ -1115,14 +1174,22 @@ int RunVVis( int argc, char **argv ) SetLowPriority(); } - ThreadSetDefault (); + //ThreadSetDefault (); char targetPath[1024]; GetPlatformMapPath( source, targetPath, 0, 1024 ); - Msg ("reading %s\n", targetPath); + +#ifdef MAPBASE + Msg ("Reading: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s", targetPath); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg ("Reading %s\n", targetPath); +#endif + LoadBSPFile (targetPath); if (numnodes == 0 || numfaces == 0) - Error ("Empty map"); + Error ("\tEmpty map"); ParseEntities (); // Check the VMF for a vis radius @@ -1151,8 +1218,15 @@ int RunVVis( int argc, char **argv ) Q_StripExtension( portalfile, portalfile, sizeof( portalfile ) ); } strcat (portalfile, ".prt"); - - Msg ("reading %s\n", portalfile); + +#ifdef MAPBASE + Msg("Reading: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s", portalfile); + ColorSpewMessage(SPEW_MESSAGE, &green, " done (0)\n"); +#else + Msg("Reading %s\n", targetPath); +#endif + LoadPortals (portalfile); // don't write out results when simply doing a trace @@ -1168,21 +1242,35 @@ int RunVVis( int argc, char **argv ) CalcVisibleFogVolumes(); CalcDistanceFromLeavesToWater(); - visdatasize = vismap_p - dvisdata; - Msg ("visdatasize:%i compressed from %i\n", visdatasize, originalvismapsize*2); + visdatasize = vismap_p - dvisdata; - Msg ("writing %s\n", targetPath); +#ifdef MAPBASE + Msg("Visdatasize"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%i] ", visdatasize); + Msg("compressed from"); + ColorSpewMessage(SPEW_MESSAGE, &magenta, " [%i]\n", originalvismapsize * 2); +#else + Msg("visdatasize:%i compressed from %i\n", visdatasize, originalvismapsize * 2); +#endif + +#ifdef MAPBASE + Msg("Writing Bsp file: +- "); + ColorSpewMessage(SPEW_MESSAGE, &blue, "%s ", targetPath); + ColorSpewMessage(SPEW_MESSAGE, &green, "done (0)\n"); +#else + Msg("Writing %s\n", targetPath); +#endif WriteBSPFile (targetPath); } else { if ( g_TraceClusterStart < 0 || g_TraceClusterStart >= portalclusters || g_TraceClusterStop < 0 || g_TraceClusterStop >= portalclusters ) { - Error("Invalid cluster trace: %d to %d, valid range is 0 to %d\n", g_TraceClusterStart, g_TraceClusterStop, portalclusters-1 ); + Error("\tInvalid cluster trace: %d to %d, valid range is 0 to %d\n", g_TraceClusterStart, g_TraceClusterStop, portalclusters-1 ); } if ( g_bUseMPI ) { - Warning("Can't compile trace in MPI mode\n"); + Warning("\tCan't compile trace in MPI mode\n"); } CalcVisTrace (); WritePortalTrace(source); @@ -1192,7 +1280,12 @@ int RunVVis( int argc, char **argv ) char str[512]; GetHourMinuteSecondsString( (int)( end - start ), str, sizeof( str ) ); - Msg( "%s elapsed\n", str ); + +#ifdef MAPBASE + ColorSpewMessage(SPEW_MESSAGE, &green, "--> Visibility complete in %s seconds.", str); +#else + Msg("%s elapsed\n", str); +#endif ReleasePakFileLumps(); DeleteCmdLine( argc, argv ); @@ -1209,6 +1302,13 @@ main int main (int argc, char **argv) { CommandLine()->CreateCmdLine( argc, argv ); +/* +#ifdef MAPBASE + #ifdef _WIN32 + EnableANSI(); + #endif +#endif +*/ MathLib_Init( 2.2f, 2.2f, 0.0f, 1.0f, false, false, false, false ); InstallAllocationFunctions(); diff --git a/sp/src/utils/vvis/vvis_dll.vpc b/sp/src/utils/vvis/vvis_dll.vpc index dbd2b955b3..44faea449a 100644 --- a/sp/src/utils/vvis/vvis_dll.vpc +++ b/sp/src/utils/vvis/vvis_dll.vpc @@ -43,6 +43,7 @@ $Project "Vvis_dll" $File "..\common\pacifier.cpp" $File "$SRCDIR\public\scratchpad3d.cpp" $File "..\common\scratchpad_helpers.cpp" + $File "..\common\StandartColorFormat.cpp" $File "..\common\scriplib.cpp" $File "..\common\threads.cpp" $File "..\common\tools_minidump.cpp" @@ -68,6 +69,7 @@ $Project "Vvis_dll" $File "..\common\cmdlib.h" $File "$SRCDIR\public\cmodel.h" $File "$SRCDIR\public\tier0\commonmacros.h" + $File "..\common\StandartColorFormat.h" $File "$SRCDIR\public\GameBSPFile.h" $File "..\common\ISQLDBReplyTarget.h" $File "$SRCDIR\public\mathlib\mathlib.h" diff --git a/sp/src/utils/vvis_launcher/StdAfx.cpp b/sp/src/utils/vvis_launcher/StdAfx.cpp index 37ff27f18b..ee86d7ed32 100644 --- a/sp/src/utils/vvis_launcher/StdAfx.cpp +++ b/sp/src/utils/vvis_launcher/StdAfx.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vvis_launcher/StdAfx.h b/sp/src/utils/vvis_launcher/StdAfx.h index e67fc75b81..f0f81c2515 100644 --- a/sp/src/utils/vvis_launcher/StdAfx.h +++ b/sp/src/utils/vvis_launcher/StdAfx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/utils/vvis_launcher/vvis_launcher.cpp b/sp/src/utils/vvis_launcher/vvis_launcher.cpp index ddc2b83fec..fd3e0ab6b0 100644 --- a/sp/src/utils/vvis_launcher/vvis_launcher.cpp +++ b/sp/src/utils/vvis_launcher/vvis_launcher.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) CSysModule *pModule = Sys_LoadModule( pDLLName ); if ( !pModule ) { - printf( "vvis launcher error: can't load %s\n%s", pDLLName, GetLastErrorString() ); + printf("vvis launcher error: can't load %s\n%s", pDLLName, GetLastErrorString() ); return 1; } #else @@ -75,7 +75,7 @@ int main(int argc, char* argv[]) if ( !pModule ) { - printf( "vvis launcher error: can't load %s\n%s", pDLLName, GetLastErrorString() ); + printf("vvis launcher error: can't load %s\n%s", pDLLName, GetLastErrorString() ); return 1; } #endif diff --git a/sp/src/vgui2/chromehtml/chromewrapper.cpp b/sp/src/vgui2/chromehtml/chromewrapper.cpp index 88f6ee9d64..2143297fb7 100644 --- a/sp/src/vgui2/chromehtml/chromewrapper.cpp +++ b/sp/src/vgui2/chromehtml/chromewrapper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Creates a HTML control // diff --git a/sp/src/vgui2/chromehtml/html_chrome.cpp b/sp/src/vgui2/chromehtml/html_chrome.cpp index 83ea654c9d..71f24192ef 100644 --- a/sp/src/vgui2/chromehtml/html_chrome.cpp +++ b/sp/src/vgui2/chromehtml/html_chrome.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/vgui2/chromehtml/html_chrome.h b/sp/src/vgui2/chromehtml/html_chrome.h index d6ae5495d9..b508b5e120 100644 --- a/sp/src/vgui2/chromehtml/html_chrome.h +++ b/sp/src/vgui2/chromehtml/html_chrome.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/vgui2/chromehtml/htmlmanager.h b/sp/src/vgui2/chromehtml/htmlmanager.h index 3aaa551c99..0a20910031 100644 --- a/sp/src/vgui2/chromehtml/htmlmanager.h +++ b/sp/src/vgui2/chromehtml/htmlmanager.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: //=============================================================================// diff --git a/sp/src/vgui2/chromehtml/stdafx.h b/sp/src/vgui2/chromehtml/stdafx.h index 9f38e71f06..b4be01bf16 100644 --- a/sp/src/vgui2/chromehtml/stdafx.h +++ b/sp/src/vgui2/chromehtml/stdafx.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// #ifndef STDAFX_H #define STDAFX_H diff --git a/sp/src/vgui2/src/vgui_key_translation.cpp b/sp/src/vgui2/src/vgui_key_translation.cpp index 0377a5d870..7d4223114b 100644 --- a/sp/src/vgui2/src/vgui_key_translation.cpp +++ b/sp/src/vgui2/src/vgui_key_translation.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/src/vgui_key_translation.h b/sp/src/vgui2/src/vgui_key_translation.h index 3d08435765..8a9d672726 100644 --- a/sp/src/vgui2/src/vgui_key_translation.h +++ b/sp/src/vgui2/src/vgui_key_translation.h @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/AnalogBar.cpp b/sp/src/vgui2/vgui_controls/AnalogBar.cpp index 68e525da79..f2961b956d 100644 --- a/sp/src/vgui2/vgui_controls/AnalogBar.cpp +++ b/sp/src/vgui2/vgui_controls/AnalogBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/AnimatingImagePanel.cpp b/sp/src/vgui2/vgui_controls/AnimatingImagePanel.cpp index 65c4798b95..d14937e283 100644 --- a/sp/src/vgui2/vgui_controls/AnimatingImagePanel.cpp +++ b/sp/src/vgui2/vgui_controls/AnimatingImagePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/AnimationController.cpp b/sp/src/vgui2/vgui_controls/AnimationController.cpp index ba51d93c28..d54a2efbfc 100644 --- a/sp/src/vgui2/vgui_controls/AnimationController.cpp +++ b/sp/src/vgui2/vgui_controls/AnimationController.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/BitmapImagePanel.cpp b/sp/src/vgui2/vgui_controls/BitmapImagePanel.cpp index 7e76a3cc6c..ad592358ba 100644 --- a/sp/src/vgui2/vgui_controls/BitmapImagePanel.cpp +++ b/sp/src/vgui2/vgui_controls/BitmapImagePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/BuildFactoryHelper.cpp b/sp/src/vgui2/vgui_controls/BuildFactoryHelper.cpp index 46f38cd136..2b167a6a71 100644 --- a/sp/src/vgui2/vgui_controls/BuildFactoryHelper.cpp +++ b/sp/src/vgui2/vgui_controls/BuildFactoryHelper.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Helper for the CHudElement class to add themselves to the list of hud elements // diff --git a/sp/src/vgui2/vgui_controls/BuildGroup.cpp b/sp/src/vgui2/vgui_controls/BuildGroup.cpp index 749a20c949..0a41feb202 100644 --- a/sp/src/vgui2/vgui_controls/BuildGroup.cpp +++ b/sp/src/vgui2/vgui_controls/BuildGroup.cpp @@ -1,11 +1,11 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// - //========= Copyright © 1996-2003, Valve LLC, All rights reserved. ============ + //========= Copyright � 1996-2003, Valve LLC, All rights reserved. ============ // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of diff --git a/sp/src/vgui2/vgui_controls/BuildModeDialog.cpp b/sp/src/vgui2/vgui_controls/BuildModeDialog.cpp index c743c2026a..299b69b3af 100644 --- a/sp/src/vgui2/vgui_controls/BuildModeDialog.cpp +++ b/sp/src/vgui2/vgui_controls/BuildModeDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Button.cpp b/sp/src/vgui2/vgui_controls/Button.cpp index 406c3e1385..9ed62cd584 100644 --- a/sp/src/vgui2/vgui_controls/Button.cpp +++ b/sp/src/vgui2/vgui_controls/Button.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Basic button control // diff --git a/sp/src/vgui2/vgui_controls/CheckButton.cpp b/sp/src/vgui2/vgui_controls/CheckButton.cpp index 813f2d52fc..f206915e27 100644 --- a/sp/src/vgui2/vgui_controls/CheckButton.cpp +++ b/sp/src/vgui2/vgui_controls/CheckButton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/CheckButtonList.cpp b/sp/src/vgui2/vgui_controls/CheckButtonList.cpp index f2fff2fb9f..876ac6e5f0 100644 --- a/sp/src/vgui2/vgui_controls/CheckButtonList.cpp +++ b/sp/src/vgui2/vgui_controls/CheckButtonList.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/CircularProgressBar.cpp b/sp/src/vgui2/vgui_controls/CircularProgressBar.cpp index 545db716ac..7412c8a914 100644 --- a/sp/src/vgui2/vgui_controls/CircularProgressBar.cpp +++ b/sp/src/vgui2/vgui_controls/CircularProgressBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ComboBox.cpp b/sp/src/vgui2/vgui_controls/ComboBox.cpp index f8be274b52..752dc1f211 100644 --- a/sp/src/vgui2/vgui_controls/ComboBox.cpp +++ b/sp/src/vgui2/vgui_controls/ComboBox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ControllerMap.cpp b/sp/src/vgui2/vgui_controls/ControllerMap.cpp index d4859c1147..06761dc78c 100644 --- a/sp/src/vgui2/vgui_controls/ControllerMap.cpp +++ b/sp/src/vgui2/vgui_controls/ControllerMap.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/DirectorySelectDialog.cpp b/sp/src/vgui2/vgui_controls/DirectorySelectDialog.cpp index 0e9eac5240..b658b10f4d 100644 --- a/sp/src/vgui2/vgui_controls/DirectorySelectDialog.cpp +++ b/sp/src/vgui2/vgui_controls/DirectorySelectDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Divider.cpp b/sp/src/vgui2/vgui_controls/Divider.cpp index b705d6d524..5a16244038 100644 --- a/sp/src/vgui2/vgui_controls/Divider.cpp +++ b/sp/src/vgui2/vgui_controls/Divider.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/EditablePanel.cpp b/sp/src/vgui2/vgui_controls/EditablePanel.cpp index e1ad3dbdd7..88ffda11bd 100644 --- a/sp/src/vgui2/vgui_controls/EditablePanel.cpp +++ b/sp/src/vgui2/vgui_controls/EditablePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ExpandButton.cpp b/sp/src/vgui2/vgui_controls/ExpandButton.cpp index a4489d0e5b..d7ee49f4be 100644 --- a/sp/src/vgui2/vgui_controls/ExpandButton.cpp +++ b/sp/src/vgui2/vgui_controls/ExpandButton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/FileOpenDialog.cpp b/sp/src/vgui2/vgui_controls/FileOpenDialog.cpp index ebe5eb0c3e..0e92d2a9cf 100644 --- a/sp/src/vgui2/vgui_controls/FileOpenDialog.cpp +++ b/sp/src/vgui2/vgui_controls/FileOpenDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implementation of vgui generic open file dialog // diff --git a/sp/src/vgui2/vgui_controls/FileOpenStateMachine.cpp b/sp/src/vgui2/vgui_controls/FileOpenStateMachine.cpp index c611c11d48..518ebb4f4f 100644 --- a/sp/src/vgui2/vgui_controls/FileOpenStateMachine.cpp +++ b/sp/src/vgui2/vgui_controls/FileOpenStateMachine.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // This is a helper class designed to help with the chains of modal dialogs // encountered when trying to open or save a particular file diff --git a/sp/src/vgui2/vgui_controls/FocusNavGroup.cpp b/sp/src/vgui2/vgui_controls/FocusNavGroup.cpp index 8bfb807d97..b6e05e814f 100644 --- a/sp/src/vgui2/vgui_controls/FocusNavGroup.cpp +++ b/sp/src/vgui2/vgui_controls/FocusNavGroup.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Frame.cpp b/sp/src/vgui2/vgui_controls/Frame.cpp index 35b5d76131..01bc3aa735 100644 --- a/sp/src/vgui2/vgui_controls/Frame.cpp +++ b/sp/src/vgui2/vgui_controls/Frame.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/GraphPanel.cpp b/sp/src/vgui2/vgui_controls/GraphPanel.cpp index 3e558dd73e..5496db13bd 100644 --- a/sp/src/vgui2/vgui_controls/GraphPanel.cpp +++ b/sp/src/vgui2/vgui_controls/GraphPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/HTML.cpp b/sp/src/vgui2/vgui_controls/HTML.cpp index a35ef1b7f9..1ed09f17b6 100644 --- a/sp/src/vgui2/vgui_controls/HTML.cpp +++ b/sp/src/vgui2/vgui_controls/HTML.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // This class is a message box that has two buttons, ok and cancel instead of diff --git a/sp/src/vgui2/vgui_controls/Image.cpp b/sp/src/vgui2/vgui_controls/Image.cpp index 30af296414..c473edae4f 100644 --- a/sp/src/vgui2/vgui_controls/Image.cpp +++ b/sp/src/vgui2/vgui_controls/Image.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ImageList.cpp b/sp/src/vgui2/vgui_controls/ImageList.cpp index dbf8e8883c..a200c5adf3 100644 --- a/sp/src/vgui2/vgui_controls/ImageList.cpp +++ b/sp/src/vgui2/vgui_controls/ImageList.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ImagePanel.cpp b/sp/src/vgui2/vgui_controls/ImagePanel.cpp index e045666e14..1f87d916e6 100644 --- a/sp/src/vgui2/vgui_controls/ImagePanel.cpp +++ b/sp/src/vgui2/vgui_controls/ImagePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/InputDialog.cpp b/sp/src/vgui2/vgui_controls/InputDialog.cpp index ca7cf704ff..4e643fa8cb 100644 --- a/sp/src/vgui2/vgui_controls/InputDialog.cpp +++ b/sp/src/vgui2/vgui_controls/InputDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/KeyBindingHelpDialog.cpp b/sp/src/vgui2/vgui_controls/KeyBindingHelpDialog.cpp index ca92c858b1..4db68ed908 100644 --- a/sp/src/vgui2/vgui_controls/KeyBindingHelpDialog.cpp +++ b/sp/src/vgui2/vgui_controls/KeyBindingHelpDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/KeyBoardEditorDialog.cpp b/sp/src/vgui2/vgui_controls/KeyBoardEditorDialog.cpp index c177ffaff4..8dbe2d596a 100644 --- a/sp/src/vgui2/vgui_controls/KeyBoardEditorDialog.cpp +++ b/sp/src/vgui2/vgui_controls/KeyBoardEditorDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/KeyRepeat.cpp b/sp/src/vgui2/vgui_controls/KeyRepeat.cpp index 1c5fcd012b..498065d1ce 100644 --- a/sp/src/vgui2/vgui_controls/KeyRepeat.cpp +++ b/sp/src/vgui2/vgui_controls/KeyRepeat.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Label.cpp b/sp/src/vgui2/vgui_controls/Label.cpp index 776c8c6e0f..be982c0968 100644 --- a/sp/src/vgui2/vgui_controls/Label.cpp +++ b/sp/src/vgui2/vgui_controls/Label.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ListPanel.cpp b/sp/src/vgui2/vgui_controls/ListPanel.cpp index 73c8a98448..72b2017f3d 100644 --- a/sp/src/vgui2/vgui_controls/ListPanel.cpp +++ b/sp/src/vgui2/vgui_controls/ListPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ListViewPanel.cpp b/sp/src/vgui2/vgui_controls/ListViewPanel.cpp index 59f05ab6a0..ada3275141 100644 --- a/sp/src/vgui2/vgui_controls/ListViewPanel.cpp +++ b/sp/src/vgui2/vgui_controls/ListViewPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Menu.cpp b/sp/src/vgui2/vgui_controls/Menu.cpp index 695d3523ad..777cb204ae 100644 --- a/sp/src/vgui2/vgui_controls/Menu.cpp +++ b/sp/src/vgui2/vgui_controls/Menu.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/MenuBar.cpp b/sp/src/vgui2/vgui_controls/MenuBar.cpp index 43ae560a1c..5c7c7102a9 100644 --- a/sp/src/vgui2/vgui_controls/MenuBar.cpp +++ b/sp/src/vgui2/vgui_controls/MenuBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/MenuButton.cpp b/sp/src/vgui2/vgui_controls/MenuButton.cpp index 19b35ae670..d5585f6a1f 100644 --- a/sp/src/vgui2/vgui_controls/MenuButton.cpp +++ b/sp/src/vgui2/vgui_controls/MenuButton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/MenuItem.cpp b/sp/src/vgui2/vgui_controls/MenuItem.cpp index 49c39570f2..9391226582 100644 --- a/sp/src/vgui2/vgui_controls/MenuItem.cpp +++ b/sp/src/vgui2/vgui_controls/MenuItem.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/MessageBox.cpp b/sp/src/vgui2/vgui_controls/MessageBox.cpp index e825e6bce0..1b7c738869 100644 --- a/sp/src/vgui2/vgui_controls/MessageBox.cpp +++ b/sp/src/vgui2/vgui_controls/MessageBox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/MessageDialog.cpp b/sp/src/vgui2/vgui_controls/MessageDialog.cpp index dc0d491dc2..f62b8e507a 100644 --- a/sp/src/vgui2/vgui_controls/MessageDialog.cpp +++ b/sp/src/vgui2/vgui_controls/MessageDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Panel.cpp b/sp/src/vgui2/vgui_controls/Panel.cpp index dd49f97a3a..a787c739dc 100644 --- a/sp/src/vgui2/vgui_controls/Panel.cpp +++ b/sp/src/vgui2/vgui_controls/Panel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/PanelListPanel.cpp b/sp/src/vgui2/vgui_controls/PanelListPanel.cpp index 355ac08f56..ec81475538 100644 --- a/sp/src/vgui2/vgui_controls/PanelListPanel.cpp +++ b/sp/src/vgui2/vgui_controls/PanelListPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/PerforceFileExplorer.cpp b/sp/src/vgui2/vgui_controls/PerforceFileExplorer.cpp index 130599bb50..5e6c3ad58e 100644 --- a/sp/src/vgui2/vgui_controls/PerforceFileExplorer.cpp +++ b/sp/src/vgui2/vgui_controls/PerforceFileExplorer.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains a list of files, determines their perforce status // diff --git a/sp/src/vgui2/vgui_controls/PerforceFileList.cpp b/sp/src/vgui2/vgui_controls/PerforceFileList.cpp index de7fa32ad9..6bc0dfb660 100644 --- a/sp/src/vgui2/vgui_controls/PerforceFileList.cpp +++ b/sp/src/vgui2/vgui_controls/PerforceFileList.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Contains a list of files, determines their perforce status // diff --git a/sp/src/vgui2/vgui_controls/ProgressBar.cpp b/sp/src/vgui2/vgui_controls/ProgressBar.cpp index 90ce28bdb0..1a270b19ed 100644 --- a/sp/src/vgui2/vgui_controls/ProgressBar.cpp +++ b/sp/src/vgui2/vgui_controls/ProgressBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ProgressBox.cpp b/sp/src/vgui2/vgui_controls/ProgressBox.cpp index c67f1737b2..71aa85dd82 100644 --- a/sp/src/vgui2/vgui_controls/ProgressBox.cpp +++ b/sp/src/vgui2/vgui_controls/ProgressBox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/PropertyDialog.cpp b/sp/src/vgui2/vgui_controls/PropertyDialog.cpp index 568b23e2ea..de7eab5ef0 100644 --- a/sp/src/vgui2/vgui_controls/PropertyDialog.cpp +++ b/sp/src/vgui2/vgui_controls/PropertyDialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/PropertyPage.cpp b/sp/src/vgui2/vgui_controls/PropertyPage.cpp index 36aa102d5f..8a3aa2836b 100644 --- a/sp/src/vgui2/vgui_controls/PropertyPage.cpp +++ b/sp/src/vgui2/vgui_controls/PropertyPage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/PropertySheet.cpp b/sp/src/vgui2/vgui_controls/PropertySheet.cpp index 18a36ca282..8ae0a454f8 100644 --- a/sp/src/vgui2/vgui_controls/PropertySheet.cpp +++ b/sp/src/vgui2/vgui_controls/PropertySheet.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/QueryBox.cpp b/sp/src/vgui2/vgui_controls/QueryBox.cpp index 4422699307..e34e73cb02 100644 --- a/sp/src/vgui2/vgui_controls/QueryBox.cpp +++ b/sp/src/vgui2/vgui_controls/QueryBox.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // This class is a message box that has two buttons, ok and cancel instead of diff --git a/sp/src/vgui2/vgui_controls/RadioButton.cpp b/sp/src/vgui2/vgui_controls/RadioButton.cpp index 8cb1e79314..052d4a275d 100644 --- a/sp/src/vgui2/vgui_controls/RadioButton.cpp +++ b/sp/src/vgui2/vgui_controls/RadioButton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/RichText.cpp b/sp/src/vgui2/vgui_controls/RichText.cpp index 66802324e7..0f656029d0 100644 --- a/sp/src/vgui2/vgui_controls/RichText.cpp +++ b/sp/src/vgui2/vgui_controls/RichText.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/RotatingProgressBar.cpp b/sp/src/vgui2/vgui_controls/RotatingProgressBar.cpp index 6ab9ccb54e..99f4632688 100644 --- a/sp/src/vgui2/vgui_controls/RotatingProgressBar.cpp +++ b/sp/src/vgui2/vgui_controls/RotatingProgressBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ScalableImagePanel.cpp b/sp/src/vgui2/vgui_controls/ScalableImagePanel.cpp index 24b707ba59..63f148b4e7 100644 --- a/sp/src/vgui2/vgui_controls/ScalableImagePanel.cpp +++ b/sp/src/vgui2/vgui_controls/ScalableImagePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ScrollBar.cpp b/sp/src/vgui2/vgui_controls/ScrollBar.cpp index d4e8a9b4a1..47bf17534f 100644 --- a/sp/src/vgui2/vgui_controls/ScrollBar.cpp +++ b/sp/src/vgui2/vgui_controls/ScrollBar.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ScrollBarSlider.cpp b/sp/src/vgui2/vgui_controls/ScrollBarSlider.cpp index 6f127558c8..7807e5d79b 100644 --- a/sp/src/vgui2/vgui_controls/ScrollBarSlider.cpp +++ b/sp/src/vgui2/vgui_controls/ScrollBarSlider.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ScrollableEditablePanel.cpp b/sp/src/vgui2/vgui_controls/ScrollableEditablePanel.cpp index d734dba588..3a1e44a7c4 100644 --- a/sp/src/vgui2/vgui_controls/ScrollableEditablePanel.cpp +++ b/sp/src/vgui2/vgui_controls/ScrollableEditablePanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/SectionedListPanel.cpp b/sp/src/vgui2/vgui_controls/SectionedListPanel.cpp index 65e9023988..230697bfa2 100644 --- a/sp/src/vgui2/vgui_controls/SectionedListPanel.cpp +++ b/sp/src/vgui2/vgui_controls/SectionedListPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Slider.cpp b/sp/src/vgui2/vgui_controls/Slider.cpp index a05454a218..ba4dbe9636 100644 --- a/sp/src/vgui2/vgui_controls/Slider.cpp +++ b/sp/src/vgui2/vgui_controls/Slider.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Splitter.cpp b/sp/src/vgui2/vgui_controls/Splitter.cpp index 96bde986cd..20f5355430 100644 --- a/sp/src/vgui2/vgui_controls/Splitter.cpp +++ b/sp/src/vgui2/vgui_controls/Splitter.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/TextEntry.cpp b/sp/src/vgui2/vgui_controls/TextEntry.cpp index 825cb4abef..dfcb775658 100644 --- a/sp/src/vgui2/vgui_controls/TextEntry.cpp +++ b/sp/src/vgui2/vgui_controls/TextEntry.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/TextImage.cpp b/sp/src/vgui2/vgui_controls/TextImage.cpp index b6b9ff29cf..e3de0678a6 100644 --- a/sp/src/vgui2/vgui_controls/TextImage.cpp +++ b/sp/src/vgui2/vgui_controls/TextImage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Implementation of vgui::TextImage control // diff --git a/sp/src/vgui2/vgui_controls/ToggleButton.cpp b/sp/src/vgui2/vgui_controls/ToggleButton.cpp index 63e4dd692d..9427a9994d 100644 --- a/sp/src/vgui2/vgui_controls/ToggleButton.cpp +++ b/sp/src/vgui2/vgui_controls/ToggleButton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/ToolWindow.cpp b/sp/src/vgui2/vgui_controls/ToolWindow.cpp index 51109c6433..eb60960622 100644 --- a/sp/src/vgui2/vgui_controls/ToolWindow.cpp +++ b/sp/src/vgui2/vgui_controls/ToolWindow.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/Tooltip.cpp b/sp/src/vgui2/vgui_controls/Tooltip.cpp index 7f9738d2ae..e9f420c183 100644 --- a/sp/src/vgui2/vgui_controls/Tooltip.cpp +++ b/sp/src/vgui2/vgui_controls/Tooltip.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // This class is a message box that has two buttons, ok and cancel instead of diff --git a/sp/src/vgui2/vgui_controls/TreeView.cpp b/sp/src/vgui2/vgui_controls/TreeView.cpp index c244edebdd..61faab87db 100644 --- a/sp/src/vgui2/vgui_controls/TreeView.cpp +++ b/sp/src/vgui2/vgui_controls/TreeView.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/TreeViewListControl.cpp b/sp/src/vgui2/vgui_controls/TreeViewListControl.cpp index 30cb3b7538..6e163bf812 100644 --- a/sp/src/vgui2/vgui_controls/TreeViewListControl.cpp +++ b/sp/src/vgui2/vgui_controls/TreeViewListControl.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/URLLabel.cpp b/sp/src/vgui2/vgui_controls/URLLabel.cpp index 456f0dbec3..c03f91c618 100644 --- a/sp/src/vgui2/vgui_controls/URLLabel.cpp +++ b/sp/src/vgui2/vgui_controls/URLLabel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/WizardPanel.cpp b/sp/src/vgui2/vgui_controls/WizardPanel.cpp index 87b78a59a4..22be4ab4f3 100644 --- a/sp/src/vgui2/vgui_controls/WizardPanel.cpp +++ b/sp/src/vgui2/vgui_controls/WizardPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/WizardSubPanel.cpp b/sp/src/vgui2/vgui_controls/WizardSubPanel.cpp index ae682cce01..086fce0283 100644 --- a/sp/src/vgui2/vgui_controls/WizardSubPanel.cpp +++ b/sp/src/vgui2/vgui_controls/WizardSubPanel.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/consoledialog.cpp b/sp/src/vgui2/vgui_controls/consoledialog.cpp index d788abc644..4a4d83e730 100644 --- a/sp/src/vgui2/vgui_controls/consoledialog.cpp +++ b/sp/src/vgui2/vgui_controls/consoledialog.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/controls.cpp b/sp/src/vgui2/vgui_controls/controls.cpp index edc89e4987..4f20bc2873 100644 --- a/sp/src/vgui2/vgui_controls/controls.cpp +++ b/sp/src/vgui2/vgui_controls/controls.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/cvartogglecheckbutton.cpp b/sp/src/vgui2/vgui_controls/cvartogglecheckbutton.cpp index 0db6deba19..5ddb92c66b 100644 --- a/sp/src/vgui2/vgui_controls/cvartogglecheckbutton.cpp +++ b/sp/src/vgui2/vgui_controls/cvartogglecheckbutton.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/perforcefilelistframe.cpp b/sp/src/vgui2/vgui_controls/perforcefilelistframe.cpp index b6abbf6f92..0166d2376b 100644 --- a/sp/src/vgui2/vgui_controls/perforcefilelistframe.cpp +++ b/sp/src/vgui2/vgui_controls/perforcefilelistframe.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // List of perforce files and operations // diff --git a/sp/src/vgui2/vgui_controls/savedocumentquery.cpp b/sp/src/vgui2/vgui_controls/savedocumentquery.cpp index 05ec95b105..1ebeb5e349 100644 --- a/sp/src/vgui2/vgui_controls/savedocumentquery.cpp +++ b/sp/src/vgui2/vgui_controls/savedocumentquery.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: Core Movie Maker UI API // diff --git a/sp/src/vgui2/vgui_controls/subrectimage.cpp b/sp/src/vgui2/vgui_controls/subrectimage.cpp index 129399954e..00ee9ced4a 100644 --- a/sp/src/vgui2/vgui_controls/subrectimage.cpp +++ b/sp/src/vgui2/vgui_controls/subrectimage.cpp @@ -1,4 +1,4 @@ -//========= Copyright Valve Corporation, All rights reserved. ============// +//============= Copyright Valve Corporation, All rights reserved. =============// // // Purpose: // diff --git a/sp/src/vgui2/vgui_controls/vgui_controls.vpc b/sp/src/vgui2/vgui_controls/vgui_controls.vpc index 8f417e2d2f..8de2bbca68 100644 --- a/sp/src/vgui2/vgui_controls/vgui_controls.vpc +++ b/sp/src/vgui2/vgui_controls/vgui_controls.vpc @@ -19,7 +19,7 @@ $Configuration } } -$Project "vgui_controls" +$Project "Vgui controls" { $Folder "Source Files" { diff --git a/sp/src/vscript/squirrel/squirrel/sqvm.cpp b/sp/src/vscript/squirrel/squirrel/sqvm.cpp index dcf823d735..3caac17742 100644 --- a/sp/src/vscript/squirrel/squirrel/sqvm.cpp +++ b/sp/src/vscript/squirrel/squirrel/sqvm.cpp @@ -1227,7 +1227,7 @@ bool SQVM::TailCall(SQClosure *closure, SQInteger parambase,SQInteger nparams) SQObjectPtr clo = closure; if (ci->_root) { - Raise_Error("root calls cannot invoke tailcalls"); + Raise_Error("\troot calls cannot invoke tailcalls"); return false; } for (SQInteger i = 0; i < nparams; i++) STK(i) = STK(parambase + i); diff --git a/sp/src/vscript/vscript_bindings_base.cpp b/sp/src/vscript/vscript_bindings_base.cpp index 99b6194aa4..3d6fb7c08c 100644 --- a/sp/src/vscript/vscript_bindings_base.cpp +++ b/sp/src/vscript/vscript_bindings_base.cpp @@ -387,10 +387,9 @@ CScriptKeyValues::~CScriptKeyValues( ) //============================================================================= CScriptColorInstanceHelper g_ColorScriptInstanceHelper; -BEGIN_SCRIPTDESC_ROOT( Color, "" ) +BEGIN_SCRIPTDESC_ROOT_WITH_HELPER( Color, "", &g_ColorScriptInstanceHelper ) DEFINE_SCRIPT_CONSTRUCTOR() - DEFINE_SCRIPT_INSTANCE_HELPER( &g_ColorScriptInstanceHelper ) DEFINE_SCRIPTFUNC( SetColor, "Sets the color." ) diff --git a/sp/src/vscript/vscript_bindings_math.cpp b/sp/src/vscript/vscript_bindings_math.cpp index cb1567d549..e5690bd07a 100644 --- a/sp/src/vscript/vscript_bindings_math.cpp +++ b/sp/src/vscript/vscript_bindings_math.cpp @@ -205,10 +205,9 @@ void ScriptMatrixSetTranslation( const Vector& vecset, HSCRIPT hMat1 ) //============================================================================= CScriptQuaternionInstanceHelper g_QuaternionScriptInstanceHelper; -BEGIN_SCRIPTDESC_ROOT_NAMED( Quaternion, "Quaternion", "A quaternion." ) +BEGIN_SCRIPTDESC_ROOT_NAMED_WITH_HELPER( Quaternion, "Quaternion", "A quaternion.", &g_QuaternionScriptInstanceHelper ) DEFINE_SCRIPT_CONSTRUCTOR() - DEFINE_SCRIPT_INSTANCE_HELPER( &g_QuaternionScriptInstanceHelper ) DEFINE_SCRIPTFUNC_NAMED( ScriptInit, "Init", "Creates a quaternion with the given values." ) DEFINE_MEMBERVAR( "x", FIELD_FLOAT, "The quaternion's i axis component." ) diff --git a/sp/src/vscript/vscript_squirrel.cpp b/sp/src/vscript/vscript_squirrel.cpp index 9f46d68c20..d718fab65e 100644 --- a/sp/src/vscript/vscript_squirrel.cpp +++ b/sp/src/vscript/vscript_squirrel.cpp @@ -23,12 +23,14 @@ #include "sqstdstring.h" // HACK: Include internal parts of squirrel for serialization +#include "squirrel/squirrel/sqvm.h" #include "squirrel/squirrel/sqobject.h" #include "squirrel/squirrel/sqstate.h" #include "squirrel/squirrel/sqtable.h" +#include "squirrel/squirrel/sqarray.h" #include "squirrel/squirrel/sqclass.h" #include "squirrel/squirrel/sqfuncproto.h" -#include "squirrel/squirrel/sqvm.h" +#include "squirrel/squirrel/squserdata.h" #include "squirrel/squirrel/sqclosure.h" #include "tier1/utlbuffer.h" @@ -41,25 +43,26 @@ extern ConVar developer; + struct WriteStateMap { - CUtlMap cache; - WriteStateMap() : cache(DefLessFunc(void*)) + CUtlRBTree< void* > cache; + + WriteStateMap() : cache( DefLessFunc(void*) ) {} - bool CheckCache(CUtlBuffer* pBuffer, void* ptr) + bool CheckCache( void* ptr, CUtlBuffer* pBuffer ) { - auto idx = cache.Find(ptr); - if (idx != cache.InvalidIndex()) + int idx = cache.Find( ptr ); + if ( idx != cache.InvalidIndex() ) { - pBuffer->PutInt(cache[idx]); + pBuffer->PutInt( idx ); return true; } else { - int newIdx = cache.Count(); - cache.Insert(ptr, newIdx); - pBuffer->PutInt(newIdx); + int newIdx = cache.Insert( ptr ); + pBuffer->PutInt( newIdx ); return false; } } @@ -67,72 +70,43 @@ struct WriteStateMap struct ReadStateMap { - CUtlMap cache; -#ifdef _DEBUG - CUtlMap allocated; -#endif - HSQUIRRELVM vm_; - ReadStateMap(HSQUIRRELVM vm) : - cache(DefLessFunc(int)), -#ifdef _DEBUG - allocated(DefLessFunc(int)), -#endif - vm_(vm) - {} + CUtlMap< int, SQObject > cache; - ~ReadStateMap() - { - FOR_EACH_MAP_FAST(cache, i) - { - HSQOBJECT& obj = cache[i]; - sq_release(vm_, &obj); - } - } + ReadStateMap() : cache( DefLessFunc(int) ) + {} - bool CheckCache(CUtlBuffer* pBuffer, HSQUIRRELVM vm, int * outmarker) + bool CheckCache( SQObject* ptr, CUtlBuffer* pBuffer, int* outmarker ) { int marker = pBuffer->GetInt(); + int idx = cache.Find( marker ); + if ( idx != cache.InvalidIndex() ) + { + const SQObject &o = cache[idx]; - auto idx = cache.Find(marker); + Assert( o._type == ptr->_type ); -#ifdef _DEBUG - auto allocatedIdx = allocated.Find(marker); - bool hasSeen = allocatedIdx != allocated.InvalidIndex(); - if (!hasSeen) - { - allocated.Insert(marker, true); - } -#endif + ptr->_type = o._type; + ptr->_unVal.raw = o._unVal.raw; - if (idx != cache.InvalidIndex()) - { - sq_pushobject(vm, cache[idx]); return true; } else { -#ifdef _DEBUG - Assert(!hasSeen); -#endif *outmarker = marker; return false; } } - void StoreInCache(int marker, HSQOBJECT& obj) - { - cache.Insert(marker, obj); - } - - void StoreTopInCache(int marker) + void StoreInCache( int marker, const SQObject &obj ) { - HSQOBJECT obj; - sq_getstackobj(vm_, -1, &obj); - sq_addref(vm_, &obj); - cache.Insert(marker, obj); + int idx = cache.Insert( marker ); + SQObject &o = cache[idx]; + o._type = obj._type; + o._unVal.raw = obj._unVal.raw; } }; + class SquirrelVM : public IScriptVM { public: @@ -267,9 +241,59 @@ class SquirrelVM : public IScriptVM virtual bool RaiseException(const char* pszExceptionText) override; + void WriteObject( const SQObjectPtr &obj, CUtlBuffer* pBuffer, WriteStateMap& writeState ); + + // Do not implicitly add/remove ref + void WriteObject( const SQObject &obj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) + { + WriteObject( (const SQObjectPtr&)obj, pBuffer, writeState ); + } + + void WriteObject( SQTable *pObj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) + { + SQObject obj; + obj._type = OT_TABLE; + obj._unVal.pUserPointer = pObj; + WriteObject( (const SQObjectPtr&)obj, pBuffer, writeState ); + } + + void WriteObject( SQClass *pObj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) + { + SQObject obj; + obj._type = OT_CLASS; + obj._unVal.pUserPointer = pObj; + WriteObject( (const SQObjectPtr&)obj, pBuffer, writeState ); + } + + void WriteObject( SQWeakRef *pObj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) + { + SQObject obj; + obj._type = OT_WEAKREF; + obj._unVal.pUserPointer = pObj; + WriteObject( (const SQObjectPtr&)obj, pBuffer, writeState ); + } + + void WriteObject( SQFunctionProto *pObj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) + { + SQObject obj; + obj._type = OT_FUNCPROTO; + obj._unVal.pUserPointer = pObj; + WriteObject( (const SQObjectPtr&)obj, pBuffer, writeState ); + } + + void ReadObject( SQObjectPtr &obj, CUtlBuffer* pBuffer, ReadStateMap& readState ); + + // Do not implicity add/remove ref + void ReadObject( SQObject &obj, CUtlBuffer* pBuffer, ReadStateMap& readState ) + { + obj._type = OT_NULL; + obj._unVal.pUserPointer = 0; + ReadObject( (SQObjectPtr&)obj, pBuffer, readState ); + } + + void WriteVM( SQVM *pThis, CUtlBuffer *pBuffer, WriteStateMap &writeState ); + void ReadVM( SQVM *pThis, CUtlBuffer *pBuffer, ReadStateMap &readState ); - void WriteObject(CUtlBuffer* pBuffer, WriteStateMap& writeState, SQInteger idx); - void ReadObject(CUtlBuffer* pBuffer, ReadStateMap& readState); HSQUIRRELVM vm_ = nullptr; HSQOBJECT lastError_; HSQOBJECT vectorClass_; @@ -1076,7 +1100,7 @@ struct ClassInstanceData void* instance; ScriptClassDesc_t* desc; - CUtlString instanceId; + CUtlConstString instanceId; // Indicates this game-created instance is a weak reference and can be destructed (Blixibon) bool allowDestruct; @@ -1135,8 +1159,8 @@ void PushVariant(HSQUIRRELVM vm, const ScriptVariant_t& value) break; case FIELD_VECTOR: { - SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getforeignptr(vm); - assert(pSquirrelVM); + SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getsharedforeignptr(vm); + Assert(pSquirrelVM); sq_pushobject(vm, pSquirrelVM->vectorClass_); sq_createinstance(vm, -1); SQUserPointer p; @@ -1398,8 +1422,8 @@ SQInteger function_stub(HSQUIRRELVM vm) ScriptVariant_t retval; - SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getforeignptr(vm); - assert(pSquirrelVM); + SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getsharedforeignptr(vm); + Assert(pSquirrelVM); sq_resetobject(&pSquirrelVM->lastError_); @@ -1451,8 +1475,8 @@ SQInteger constructor_stub(HSQUIRRELVM vm) return sqstd_throwerrorf(vm, "Unable to construct instances of %s", pClassDesc->m_pszScriptName); } - SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getforeignptr(vm); - assert(pSquirrelVM); + SquirrelVM* pSquirrelVM = (SquirrelVM*)sq_getsharedforeignptr(vm); + Assert(pSquirrelVM); sq_resetobject(&pSquirrelVM->lastError_); @@ -1703,7 +1727,7 @@ struct SquirrelSafeCheck if ( top_ != diff ) { Assert(!"Squirrel VM stack is not consistent"); - Error("Squirrel VM stack is not consistent\n"); + Error("\tSquirrel VM stack is not consistent\n"); } // TODO: Handle error state checks @@ -1732,7 +1756,7 @@ void errorfunc(HSQUIRRELVM SQ_UNUSED_ARG(v), const SQChar* format, ...) va_start(args, format); V_vsnprintf(buffer, sizeof(buffer), format, args); va_end(args); - Warning("%s", buffer); + Warning("\t%s", buffer); } const char * ScriptDataTypeToName(ScriptDataType_t datatype) @@ -1984,7 +2008,7 @@ bool SquirrelVM::Init() if (vm_ == nullptr) return false; - sq_setforeignptr(vm_, this); + sq_setsharedforeignptr(vm_, this); sq_resetobject(&lastError_); sq_setprintfunc(vm_, printfunc, errorfunc); @@ -2536,7 +2560,7 @@ bool SquirrelVM::RegisterClass(ScriptClassDesc_t* pClassDesc) char typemask[64]; if (!CreateParamCheck(scriptFunction, typemask)) { - Warning("Unable to create param check for %s.%s\n", + Warning("\tUnable to create param check for %s.%s\n", pClassDesc->m_pszClassname, scriptFunction.m_desc.m_pszFunction); break; } @@ -3158,6 +3182,9 @@ bool SquirrelVM::ArrayAppend(HSCRIPT hArray, const ScriptVariant_t &val) return ret; } +//------------------------------------------------------------- +//------------------------------------------------------------- + enum ClassType { VectorClassType = 0, @@ -3165,876 +3192,1342 @@ enum ClassType ScriptClassType = 2 }; -SQInteger closure_write(SQUserPointer file, SQUserPointer p, SQInteger size) -{ - ((CUtlBuffer*)file)->Put(p, size); - return size; -} +// Use iterator as SQTable::_nodes is private +#define FOREACH_SQTABLE( pTable, key, val )\ + SQInteger i = 0;\ + SQObjectPtr pi = i;\ + for ( ; (i = pTable->Next( false, pi, key, val )) != -1; pi._unVal.nInteger = i ) -void SquirrelVM::WriteObject(CUtlBuffer* pBuffer, WriteStateMap& writeState, SQInteger idx) -{ - SquirrelSafeCheck safeCheck(vm_); - HSQOBJECT obj; - sq_resetobject(&obj); - sq_getstackobj(vm_, idx, &obj); +#define NATIVE_NAME_READBUF_SIZE 128 + +void SquirrelVM::WriteObject( const SQObjectPtr &obj, CUtlBuffer* pBuffer, WriteStateMap& writeState ) +{ + pBuffer->PutInt( obj._type ); - switch (obj._type) + switch ( obj._type ) { case OT_NULL: - { - pBuffer->PutInt(OT_NULL); break; - } + case OT_INTEGER: - { - pBuffer->PutInt(OT_INTEGER); - pBuffer->PutInt64(sq_objtointeger(&obj)); +#ifdef _SQ64 + pBuffer->PutInt64( obj._unVal.nInteger ); +#else + pBuffer->PutInt( obj._unVal.nInteger ); +#endif break; - } + case OT_FLOAT: - { - pBuffer->PutInt(OT_FLOAT); - pBuffer->PutFloat(sq_objtofloat(&obj)); +#ifdef SQUSEDOUBLE + pBuffer->PutDouble( obj._unVal.fFloat ); +#else + pBuffer->PutFloat( obj._unVal.fFloat ); +#endif break; - } + case OT_BOOL: - { - pBuffer->PutInt(OT_BOOL); - pBuffer->PutChar(sq_objtobool(&obj)); + Assert( ( obj._unVal.nInteger & -2 ) == 0 ); + pBuffer->PutChar( obj._unVal.nInteger ); break; - } + case OT_STRING: - { - pBuffer->PutInt(OT_STRING); - const char* val = nullptr; - SQInteger size = 0; - sq_getstringandsize(vm_, idx, &val, &size); - pBuffer->PutInt(size); - pBuffer->Put(val, size); + pBuffer->PutInt( obj._unVal.pString->_len ); + pBuffer->Put( obj._unVal.pString->_val, obj._unVal.pString->_len ); break; - } + case OT_TABLE: { - pBuffer->PutInt(OT_TABLE); - if (writeState.CheckCache(pBuffer, obj._unVal.pTable)) - { + SQTable *pThis = obj._unVal.pTable; + + if ( writeState.CheckCache( pThis, pBuffer ) ) break; + + int count = pThis->CountUsed(); + DBG_CODE_NOSCOPE( int nCountPut = pBuffer->TellPut(); ) + pBuffer->PutInt( count ); + + pBuffer->PutChar( pThis->_delegate != NULL ); + if ( pThis->_delegate ) + { + WriteObject( pThis->_delegate, pBuffer, writeState ); } - sq_getdelegate(vm_, idx); - WriteObject(pBuffer, writeState, -1); - sq_poptop(vm_); - int count = sq_getsize(vm_, idx); - sq_push(vm_, idx); - sq_pushnull(vm_); - pBuffer->PutInt(count); - while (SQ_SUCCEEDED(sq_next(vm_, -2))) + { - WriteObject(pBuffer, writeState, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); - --count; + SQObjectPtr key, val; + FOREACH_SQTABLE( pThis, key, val ) + { + WriteObject( key, pBuffer, writeState ); + WriteObject( val, pBuffer, writeState ); + DBG_CODE( count--; ); + } } - sq_pop(vm_, 2); - Assert(count == 0); + +#ifdef _DEBUG + if ( count ) + { + int prev = *(int*)( (char*)pBuffer->Base() + nCountPut ); + *(int*)( (char*)pBuffer->Base() + nCountPut ) = prev - count; + Warning( "Table serialisation error, changed count %d->%d\n", prev, prev - count ); + Assert(0); + } +#endif break; } case OT_ARRAY: { - pBuffer->PutInt(OT_ARRAY); - if (writeState.CheckCache(pBuffer, obj._unVal.pArray)) - { + SQArray *pThis = obj._unVal.pArray; + + if ( writeState.CheckCache( pThis, pBuffer ) ) break; + + int count = pThis->_values.size(); + DBG_CODE_NOSCOPE( + int counter = count; + int nCountPut = pBuffer->TellPut(); + ) + pBuffer->PutInt( count ); + + for ( int i = 0; i < count; ++i ) + { + WriteObject( pThis->_values[i], pBuffer, writeState ); + DBG_CODE( counter--; ); } - int count = sq_getsize(vm_, idx); - pBuffer->PutInt(count); - sq_push(vm_, idx); - sq_pushnull(vm_); - while (SQ_SUCCEEDED(sq_next(vm_, -2))) + +#ifdef _DEBUG + if ( counter ) { - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); - --count; + int prev = *(int*)( (char*)pBuffer->Base() + nCountPut ); + *(int*)( (char*)pBuffer->Base() + nCountPut ) = prev - counter; + Warning( "Array serialisation error, changed count %d->%d\n", prev, prev - count ); + Assert(0); } - sq_pop(vm_, 2); - Assert(count == 0); +#endif break; } case OT_CLOSURE: { - pBuffer->PutInt(OT_CLOSURE); - if (writeState.CheckCache(pBuffer, obj._unVal.pClosure)) - { + SQClosure *pThis = obj._unVal.pClosure; + + if ( writeState.CheckCache( pThis, pBuffer ) ) break; + + Assert( pThis->_function ); + + WriteObject( pThis->_function, pBuffer, writeState ); + + pBuffer->PutChar( pThis->_root != NULL ); + if ( pThis->_root ) + { + WriteObject( pThis->_root, pBuffer, writeState ); } - SQInteger nparams = 0, nfreevars = 0; - sq_getclosureinfo(vm_, idx, &nparams, &nfreevars); - if (nfreevars == 0 && _closure(obj)->_function->_defaultparams == 0) + pBuffer->PutChar( pThis->_env != NULL ); + if ( pThis->_env ) { - pBuffer->PutChar(0); + WriteObject( pThis->_env, pBuffer, writeState ); + } - sq_push(vm_, idx); - if (SQ_FAILED(sq_writeclosure(vm_, closure_write, pBuffer))) - { - Error("Failed to write closure"); - } - sq_pop(vm_, 1); + // NOTE: Used for class functions to access the base class via 'base' keyword. + // This is assigned in SQClass::NewSlot(). + // The alternative to writing SQClosure::_base would be always using SQClass::NewSlot() on class restore. + pBuffer->PutChar( pThis->_base != NULL ); + if ( pThis->_base ) + { + WriteObject( pThis->_base, pBuffer, writeState ); } - else + + int count = pThis->_function->_noutervalues; + pBuffer->PutInt( count ); + for ( int i = 0; i < count; ++i ) { - // Unfortunately we can't use sq_writeclosure because it doesn't work well with - // outer variables + WriteObject( pThis->_outervalues[i], pBuffer, writeState ); + } - pBuffer->PutChar(1); + count = pThis->_function->_ndefaultparams; + pBuffer->PutInt( count ); + for ( int i = 0; i < count; ++i ) + { + WriteObject( pThis->_defaultparams[i], pBuffer, writeState ); + } - if (!_closure(obj)->Save(vm_, pBuffer, closure_write)) - { - Error("Failed to write closure\n"); - } + break; + } + // TODO: Nameless and non-global native closures + // if _name == NULL and _noutervalues == 0 then it is member IsValid etc. + // if _name != NULL and _outervalues[0] == USERPOINTER then global or member functions + // if this is a non-bound (!_env) member native closure, it will be written but won't be read, + // or wrong closure will be read if a closure with the same name exists in the root table. + // + // An identifier can be added to script descriptions to determine the type of this native closure to read/write + case OT_NATIVECLOSURE: + { + SQNativeClosure *pThis = obj._unVal.pNativeClosure; - int noutervalues = _closure(obj)->_function->_noutervalues; - for (int i = 0; i < noutervalues; ++i) - { - sq_pushobject(vm_, _closure(obj)->_outervalues[i]); - WriteObject(pBuffer, writeState, -1); - sq_poptop(vm_); - } +#ifdef _DEBUG + bool bAsserted = false; + + if ( pThis->_noutervalues && pThis->_name._type == OT_STRING && pThis->_name._unVal.pString ) + { + Assert( pThis->_noutervalues == 1 ); + Assert( pThis->_outervalues[0]._type == OT_USERPOINTER ); - int ndefaultparams = _closure(obj)->_function->_ndefaultparams; - for (int i = 0; i < ndefaultparams; ++i) + const SQUserPointer userpointer = pThis->_outervalues[0]._unVal.pUserPointer; + const CUtlVector< ScriptClassDesc_t* > &classes = ScriptClassDesc_t::AllClassesDesc(); + FOR_EACH_VEC( classes, i ) { - sq_pushobject(vm_, _closure(obj)->_defaultparams[i]); - WriteObject(pBuffer, writeState, -1); - sq_poptop(vm_); + const CUtlVector< ScriptFunctionBinding_t > &funcs = classes[i]->m_FunctionBindings; + FOR_EACH_VEC( funcs, j ) + { + if ( &funcs[j] == userpointer ) + { + AssertMsg( 0, "SquirrelVM: Native closure is not saved! '%s' -> %s::%s", + pThis->_name._unVal.pString->_val, + classes[i]->m_pszScriptName, + funcs[j].m_desc.m_pszScriptName ); + bAsserted = true; + goto done; + } + } } + done:; + } +#endif + + if ( pThis->_name._type == OT_STRING && pThis->_name._unVal.pString && !pThis->_env ) + { + Assert( pThis->_name._unVal.pString->_len < NATIVE_NAME_READBUF_SIZE ); + pBuffer->Put( pThis->_name._unVal.pString->_val, pThis->_name._unVal.pString->_len + 1 ); + break; } - if (_closure(obj)->_env) +#ifdef _DEBUG + if ( pThis->_name._type == OT_STRING && pThis->_name._unVal.pString ) { - sq_pushobject(vm_, _closure(obj)->_env->_obj); + if ( !bAsserted ) + AssertMsg( 0, "SquirrelVM: Native closure is not saved! '%s'", pThis->_name._unVal.pString->_val ); } else { - sq_pushnull(vm_); + AssertMsg( 0, "SquirrelVM: Native closure is not saved!" ); } - WriteObject(pBuffer, writeState, -1); - sq_poptop(vm_); +#endif + + Assert( *(int*)pBuffer->PeekPut( -(int)sizeof(int) ) == OT_NATIVECLOSURE ); + *(int*)pBuffer->PeekPut( -(int)sizeof(int) ) = OT_NULL; break; } - case OT_NATIVECLOSURE: + case OT_FUNCPROTO: { - pBuffer->PutInt(OT_NATIVECLOSURE); - sq_getclosurename(vm_, idx); + SQFunctionProto *pThis = obj._unVal.pFunctionProto; - const char* name = nullptr; - sq_getstring(vm_, -1, &name); - pBuffer->PutString(name); + if ( writeState.CheckCache( pThis, pBuffer ) ) + break; - sq_pop(vm_, 1); - break; - } - case OT_CLASS: - { - pBuffer->PutInt(OT_CLASS); - if (writeState.CheckCache(pBuffer, obj._unVal.pClass)) + // NOTE: SQFunctionProto::Save cannot save non-primitive literals. Save everything manually! + pBuffer->PutInt( pThis->_nliterals ); + pBuffer->PutInt( pThis->_nparameters ); + pBuffer->PutInt( pThis->_noutervalues ); + pBuffer->PutInt( pThis->_nlocalvarinfos ); + pBuffer->PutInt( pThis->_nlineinfos ); + pBuffer->PutInt( pThis->_ndefaultparams ); + pBuffer->PutInt( pThis->_ninstructions ); + pBuffer->PutInt( pThis->_nfunctions ); + + WriteObject( pThis->_sourcename, pBuffer, writeState ); + WriteObject( pThis->_name, pBuffer, writeState ); + + for ( int i = 0; i < pThis->_nliterals; ++i ) { - break; + WriteObject( pThis->_literals[i], pBuffer, writeState ); } - SQUserPointer typetag = nullptr; - sq_gettypetag(vm_, idx, &typetag); - if (typetag == TYPETAG_VECTOR) + + for ( int i = 0; i < pThis->_nparameters; ++i ) { - pBuffer->PutInt(VectorClassType); + WriteObject( pThis->_parameters[i], pBuffer, writeState ); } - else if (typetag != nullptr) + + for ( int i = 0; i < pThis->_noutervalues; ++i ) { - // Seems so dangerous to treat typetag as ScriptClassDesc_t* - // however we don't really have an option without some sort of tagged - // pointer. - pBuffer->PutInt(NativeClassType); - pBuffer->PutString(((ScriptClassDesc_t*)typetag)->m_pszScriptName); + SQOuterVar &p = pThis->_outervalues[i]; + pBuffer->PutUnsignedInt( p._type ); + WriteObject( p._src, pBuffer, writeState ); + WriteObject( p._name, pBuffer, writeState ); } - else + + for ( int i = 0; i < pThis->_nlocalvarinfos; ++i ) { - // HACK: We can't easily identify when the type is a builtin to exclude - // so we just check against the only class we need to deal with at the moment - // which is "regexp" - const char* builtinName = nullptr; - if (_class(obj) == _class(regexpClass_)) - { - builtinName = "regexp"; - } + SQLocalVarInfo &p = pThis->_localvarinfos[i]; + WriteObject( p._name, pBuffer, writeState ); + pBuffer->PutUnsignedInt( p._pos ); + pBuffer->PutUnsignedInt( p._start_op ); + pBuffer->PutUnsignedInt( p._end_op ); + } - if (builtinName) - { - pBuffer->PutInt(NativeClassType); - pBuffer->PutString(builtinName); - break; - } + pBuffer->Put( pThis->_lineinfos, sizeof(SQLineInfo) * pThis->_nlineinfos ); + pBuffer->Put( pThis->_defaultparams, sizeof(SQInteger) * pThis->_ndefaultparams ); + pBuffer->Put( pThis->_instructions, sizeof(SQInstruction) * pThis->_ninstructions ); - pBuffer->PutInt(ScriptClassType); + for ( int i = 0; i < pThis->_nfunctions; ++i ) + { + WriteObject( pThis->_functions[i], pBuffer, writeState ); + } - sq_getbase(vm_, idx); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 1); + pBuffer->PutInt( pThis->_stacksize ); + pBuffer->PutChar( pThis->_bgenerator ); + pBuffer->PutInt( pThis->_varparams ); - sq_push(vm_, idx); - sq_pushnull(vm_); - sq_getattributes(vm_, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 1); + break; + } + case OT_CLASS: + { + SQClass *pThis = obj._unVal.pClass; + + if ( writeState.CheckCache( pThis, pBuffer ) ) + break; + + SQUserPointer typetag = pThis->_typetag; - sq_pushnull(vm_); - while (SQ_SUCCEEDED(sq_next(vm_, -2))) + if ( typetag != NULL ) + { + if ( typetag == TYPETAG_VECTOR ) { - pBuffer->PutChar(1); - // TODO: Member Attributes - WriteObject(pBuffer, writeState, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); + pBuffer->PutChar( VectorClassType ); } - sq_pop(vm_, 2); - + else { - // HACK: Meta-methods are not included in an iterator of OT_CLASS - SQObjectPtrVec& metamethods = *(_ss(vm_)->_metamethods); - for (int i = 0; i < MT_LAST; ++i) - { - if (sq_type(_class(obj)->_metamethods[i]) != OT_NULL) - { - pBuffer->PutChar(1); - sq_pushobject(vm_, metamethods[i]); - sq_pushobject(vm_, _class(obj)->_metamethods[i]); - WriteObject(pBuffer, writeState, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); - } - } + ScriptClassDesc_t *pDesc = (ScriptClassDesc_t*)typetag; + pBuffer->PutChar( NativeClassType ); + pBuffer->PutString( pDesc->m_pszScriptName ); + Assert( strlen(pDesc->m_pszScriptName) < NATIVE_NAME_READBUF_SIZE ); } - pBuffer->PutChar(0); + break; } - break; - } - case OT_INSTANCE: - { - pBuffer->PutInt(OT_INSTANCE); - if (writeState.CheckCache(pBuffer, obj._unVal.pInstance)) + + if ( pThis == _class(regexpClass_) ) { + pBuffer->PutChar( NativeClassType ); + pBuffer->PutString( "regexp" ); + break; } - sq_getclass(vm_, idx); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 1); - if (_instance(obj)->_class == _class(regexpClass_)) + pBuffer->PutChar( ScriptClassType ); + + pBuffer->PutChar( pThis->_base != NULL ); + if ( pThis->_base ) { - sq_push(vm_, idx); - sq_pushstring(vm_, "pattern_", -1); - sq_rawget(vm_, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); - break; + WriteObject( pThis->_base, pBuffer, writeState ); } + // FIXME: This is inefficient for inheritance, broken for native class inheritance + + WriteObject( pThis->_members, pBuffer, writeState ); + + int count = pThis->_defaultvalues.size(); + pBuffer->PutInt( count ); + + for ( int i = 0; i < count; ++i ) { - // HACK: No way to get the default values part from accessing the class directly - SQUnsignedInteger nvalues = _instance(obj)->_class->_defaultvalues.size(); - for (SQUnsignedInteger n = 0; n < nvalues; n++) { - sq_pushobject(vm_, _instance(obj)->_values[n]); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 1); - } + WriteObject( pThis->_defaultvalues[i].val, pBuffer, writeState ); + } + + count = pThis->_methods.size(); + pBuffer->PutInt( count ); + + for ( int i = 0; i < count; ++i ) + { + WriteObject( pThis->_methods[i].val, pBuffer, writeState ); } - SQUserPointer typetag; - sq_gettypetag(vm_, idx, &typetag); + // only write valid metmathods instead of writing 18 nulls every time + int mask = 0; + int nMaskPut = pBuffer->TellPut(); + pBuffer->PutInt( mask ); + + // all metamethods can fit in an int32 mask + Assert( SQMetaMethod::MT_LAST <= (sizeof(int) << 3) ); + + for ( unsigned i = 0; i < SQMetaMethod::MT_LAST; ++i ) + { + if ( pThis->_metamethods[i]._type != OT_NULL ) + { + mask |= 1 << i; + WriteObject( pThis->_metamethods[i], pBuffer, writeState ); + } + } - if (typetag == TYPETAG_VECTOR) + if ( mask ) { - Vector* v = nullptr; - sq_getinstanceup(vm_, idx, (SQUserPointer*)&v, TYPETAG_VECTOR); - Assert(v); - pBuffer->PutFloat(v->x); - pBuffer->PutFloat(v->y); - pBuffer->PutFloat(v->z); + *(int*)( (char*)pBuffer->Base() + nMaskPut ) = mask; } - else if (typetag) + + pBuffer->PutInt( pThis->_constructoridx ); + + break; + } + case OT_INSTANCE: + { + SQInstance *pThis = obj._unVal.pInstance; + + if ( writeState.CheckCache( pThis, pBuffer ) ) + break; + + WriteObject( pThis->_class, pBuffer, writeState ); + + if ( pThis->_class == _class(regexpClass_) ) { - ClassInstanceData* pClassInstanceData; - sq_getinstanceup(vm_, idx, (SQUserPointer*)&pClassInstanceData, typetag); + SQObjectPtr key = SQString::Create( _ss(vm_), "pattern_" ); + SQObjectPtr val; + pThis->Get( key, val ); + WriteObject( val, pBuffer, writeState ); + + break; + } - if (pClassInstanceData) + SQUserPointer typetag = pThis->_class->_typetag; + if ( typetag ) + { + if ( typetag == TYPETAG_VECTOR ) { - if (pClassInstanceData->desc->m_pszDescription[0] == SCRIPT_SINGLETON[0]) - { - // Do nothing, singleton should be created from just the class - } - else if (!pClassInstanceData->instanceId.IsEmpty()) + Vector *v = (Vector *)pThis->_userpointer; + Assert(v); + pBuffer->PutFloat( v->x ); + pBuffer->PutFloat( v->y ); + pBuffer->PutFloat( v->z ); + } + else + { + ClassInstanceData *pData = (ClassInstanceData *)pThis->_userpointer; + if ( pData ) { - pBuffer->PutString(pClassInstanceData->instanceId); + if ( pData->desc->m_pszDescription[0] == SCRIPT_SINGLETON[0] ) + { + // Do nothing, singleton should be created from just the class + } + else if ( !pData->instanceId.IsEmpty() ) + { + Assert( strlen(pData->instanceId.Get()) < NATIVE_NAME_READBUF_SIZE ); + pBuffer->PutString( pData->instanceId ); + pBuffer->PutChar( pData->allowDestruct ? 1 : 0 ); + } + else + { + DevWarning( "SquirrelVM::WriteObject: no instanceID for '%s', unable to serialize\n", + pData->desc->m_pszClassname ); - pBuffer->PutChar(pClassInstanceData->allowDestruct ? 1 : 0); + pBuffer->PutString( "" ); + } } else { - DevWarning("SquirrelVM::WriteObject: Unable to find instanceID for object of type %s, unable to serialize\n", - pClassInstanceData->desc->m_pszClassname); - pBuffer->PutString(""); + pBuffer->PutString( "" ); } } - else - { - pBuffer->PutString(""); - } + + break; + } + + // NOTE: move this up if native classes can have default values + int count = pThis->_class->_defaultvalues.size(); + pBuffer->PutInt( count ); + for ( int i = 0; i < count; ++i ) + { + WriteObject( pThis->_values[i], pBuffer, writeState ); } break; } case OT_WEAKREF: { - pBuffer->PutInt(OT_WEAKREF); - sq_getweakrefval(vm_, idx); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 1); + SQWeakRef *pThis = obj._unVal.pWeakRef; + WriteObject( pThis->_obj, pBuffer, writeState ); break; } - case OT_FUNCPROTO: //internal usage only + case OT_OUTER: { - pBuffer->PutInt(OT_FUNCPROTO); + SQOuter *pThis = obj._unVal.pOuter; - if (writeState.CheckCache(pBuffer, obj._unVal.pFunctionProto)) - { + if ( writeState.CheckCache( pThis, pBuffer ) ) break; - } - _funcproto(obj)->Save(vm_, pBuffer, closure_write); + Assert( pThis->_valptr == &pThis->_value ); // otherwise untested + + WriteObject( pThis->_value, pBuffer, writeState ); + break; } - case OT_OUTER: //internal usage only + case OT_THREAD: { - pBuffer->PutInt(OT_OUTER); + SQVM *pThis = obj._unVal.pThread; - if (writeState.CheckCache(pBuffer, obj._unVal.pOuter)) - { + if ( writeState.CheckCache( pThis, pBuffer ) ) break; - } - sq_pushobject(vm_, *_outer(obj)->_valptr); - WriteObject(pBuffer, writeState, -1); - sq_poptop(vm_); + pBuffer->PutInt( pThis->_stack.size() ); + pBuffer->PutInt( pThis->_callsstacksize ); - break; - } - // case OT_USERDATA: - // case OT_GENERATOR: - // case OT_USERPOINTER: - // case OT_THREAD: - // - default: - Warning("SquirrelVM::WriteObject: Unexpected type %d", sq_gettype(vm_, idx)); - // Save a null instead - pBuffer->PutInt(OT_NULL); - } -} + if ( pThis->_callsstacksize ) + { + int stackidx = -1; -void SquirrelVM::WriteState(CUtlBuffer* pBuffer) -{ - SquirrelSafeCheck safeCheck(vm_); + for ( int i = pThis->_callsstacksize; i--; ) + { + const SQVM::CallInfo *ci = &pThis->_callsstack[i]; - WriteStateMap writeState; + if ( pThis->ci == ci ) + stackidx = i; - sq_pushroottable(vm_); + Assert( !ci->_generator ); + Assert( ci->_ip && ci->_ip >= ci->_closure._unVal.pClosure->_function->_instructions ); + Assert( pThis->_etraps.size() >= (SQUnsignedInteger)ci->_etraps ); + Assert( ci->_closure._type == OT_CLOSURE && ci->_closure._unVal.pClosure ); - // Not really a check cache, but adds the root - HSQOBJECT obj; - sq_resetobject(&obj); - sq_getstackobj(vm_, -1, &obj); - writeState.CheckCache(pBuffer, _table(obj)); + WriteObject( ci->_closure, pBuffer, writeState ); - int count = sq_getsize(vm_, 1); - sq_pushnull(vm_); - pBuffer->PutInt(count); + int offset = (int)ci->_ip - (int)ci->_closure._unVal.pClosure->_function->_instructions; + pBuffer->PutInt( offset ); + pBuffer->PutInt( ci->_etraps ); + pBuffer->PutInt( ci->_prevstkbase ); + pBuffer->PutInt( ci->_prevtop ); + pBuffer->PutInt( ci->_target ); + pBuffer->PutInt( ci->_ncalls ); + pBuffer->PutChar( ci->_root ); - while (SQ_SUCCEEDED(sq_next(vm_, -2))) + for ( int j = ci->_etraps; j--; ) + { + const SQExceptionTrap &et = pThis->_etraps[j]; + pBuffer->PutInt( et._extarget ); + pBuffer->PutInt( et._stackbase ); + pBuffer->PutInt( et._stacksize ); + Assert( et._ip == ci->_ip ); + } + } + + Assert( stackidx >= 0 && stackidx < pThis->_callsstacksize ); + pBuffer->PutInt( stackidx ); + } + + pBuffer->PutInt( pThis->_nnativecalls ); + pBuffer->PutInt( pThis->_nmetamethodscall ); + + pBuffer->PutChar( pThis->_suspended ); + pBuffer->PutChar( pThis->_suspended_root ); + pBuffer->PutInt( pThis->_suspended_target ); + pBuffer->PutInt( pThis->_suspended_traps ); + + WriteVM( pThis, pBuffer, writeState ); + + break; + } + case OT_GENERATOR: { - WriteObject(pBuffer, writeState, -2); - WriteObject(pBuffer, writeState, -1); - sq_pop(vm_, 2); - --count; + SQGenerator *pThis = obj._unVal.pGenerator; + + if ( writeState.CheckCache( pThis, pBuffer ) ) + break; + + pBuffer->PutChar( pThis->_state ); + + if ( pThis->_state == SQGenerator::SQGeneratorState::eDead ) + break; + + WriteObject( pThis->_closure, pBuffer, writeState ); + + const SQVM::CallInfo &ci = pThis->_ci; + + Assert( !ci._generator ); + Assert( pThis->_closure._unVal.pClosure == ci._closure._unVal.pClosure ); + Assert( ci._ip && ci._ip >= ci._closure._unVal.pClosure->_function->_instructions ); + Assert( pThis->_etraps.size() >= (SQUnsignedInteger)ci._etraps ); + + int offset = (int)ci._ip - (int)ci._closure._unVal.pClosure->_function->_instructions; + pBuffer->PutInt( offset ); + pBuffer->PutInt( ci._etraps ); + pBuffer->PutInt( ci._prevstkbase ); + pBuffer->PutInt( ci._prevtop ); + pBuffer->PutInt( ci._target ); + pBuffer->PutInt( ci._ncalls ); + pBuffer->PutChar( ci._root ); + + for ( int j = ci._etraps; j--; ) + { + const SQExceptionTrap &et = pThis->_etraps[j]; + pBuffer->PutInt( et._extarget ); + pBuffer->PutInt( et._stackbase ); + pBuffer->PutInt( et._stacksize ); + Assert( et._ip == ci._ip ); + } + + int stacksize = pThis->_stack.size(); + pBuffer->PutInt( stacksize ); + for ( int i = 0; i < stacksize; ++i ) + { + WriteObject( pThis->_stack[i], pBuffer, writeState ); + } + + break; + } + case OT_USERDATA: + case OT_USERPOINTER: + Assert(0); + break; + default: + AssertMsgAlways( 0, "SquirrelVM::WriteObject: unknown type" ); } - sq_pop(vm_, 2); - Assert(count == 0); } -SQInteger closure_read(SQUserPointer file, SQUserPointer buf, SQInteger size) -{ - CUtlBuffer* pBuffer = (CUtlBuffer*)file; - pBuffer->Get(buf, size); - return pBuffer->IsValid() ? size : -1; -} -void SquirrelVM::ReadObject(CUtlBuffer* pBuffer, ReadStateMap& readState) +void SquirrelVM::ReadObject( SQObjectPtr &pObj, CUtlBuffer* pBuffer, ReadStateMap& readState ) { - SquirrelSafeCheck safeCheck(vm_, 1); + SQObject obj; + obj._type = (SQObjectType)pBuffer->GetInt(); + DBG_CODE( obj._unVal.raw = 0xCC; ); - int thisType = pBuffer->GetInt(); - - switch (thisType) + switch ( obj._type ) { case OT_NULL: - { - sq_pushnull(vm_); + obj._unVal.raw = 0; break; - } + case OT_INTEGER: - { - sq_pushinteger(vm_, pBuffer->GetInt64()); +#ifdef _SQ64 + obj._unVal.nInteger = (SQInteger)pBuffer->GetInt64(); +#else + obj._unVal.nInteger = (SQInteger)pBuffer->GetInt(); +#endif break; - } + case OT_FLOAT: - { - sq_pushfloat(vm_, pBuffer->GetFloat()); +#ifdef SQUSEDOUBLE + obj._unVal.fFloat = (SQFloat)pBuffer->GetDouble(); +#else + obj._unVal.fFloat = (SQFloat)pBuffer->GetFloat(); +#endif break; - } + case OT_BOOL: - { - sq_pushbool(vm_, pBuffer->GetChar()); + obj._unVal.nInteger = pBuffer->GetChar(); + Assert( ( obj._unVal.nInteger & -2 ) == 0 ); break; - } + case OT_STRING: { - int size = pBuffer->GetInt(); - char* buffer = new char[size + 1]; - pBuffer->Get(buffer, size); - buffer[size] = 0; - sq_pushstring(vm_, buffer, size); - delete[] buffer; + int len = pBuffer->GetInt(); + char *psz; + + if ( len < 1024 ) + { + psz = (char*)stackalloc( len ); + } + else + { + psz = (char*)malloc( len ); + } + + pBuffer->Get( psz, len ); + + obj._unVal.pString = SQString::Create( _ss(vm_), psz, len ); + + if ( len >= 1024 ) + { + free( psz ); + } + break; } case OT_TABLE: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; - } - ReadObject(pBuffer, readState); + SQTable *pThis; int count = pBuffer->GetInt(); - sq_newtableex(vm_, count); - readState.StoreTopInCache(marker); - sq_push(vm_, -2); - sq_setdelegate(vm_, -2); + // NOTE: Hack for VM load - do not release the current roottable + // which would remove native funcs which are looked up from the root + if ( pObj._unVal.pTable != vm_->_roottable._unVal.pTable ) + { + pThis = SQTable::Create( _ss(vm_), count ); + } + else + { + pThis = pObj._unVal.pTable; + } - sq_remove(vm_, -2); + obj._unVal.pTable = pThis; + readState.StoreInCache( marker, obj ); - for (int i = 0; i < count; ++i) + if ( pBuffer->GetChar() ) { - ReadObject(pBuffer, readState); - ReadObject(pBuffer, readState); - sq_rawset(vm_, -3); + SQObject delegate; + ReadObject( delegate, pBuffer, readState ); + pThis->_delegate = delegate._unVal.pTable; + } + + SQObjectPtr key, val; + while ( count-- ) + { + ReadObject( key, pBuffer, readState ); + ReadObject( val, pBuffer, readState ); + Assert( key._type != OT_NULL ); + pThis->NewSlot( key, val ); } break; } case OT_ARRAY: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; - } int count = pBuffer->GetInt(); - sq_newarray(vm_, count); - readState.StoreTopInCache(marker); - for (int i = 0; i < count; ++i) + SQArray *pThis = SQArray::Create( _ss(vm_), count ); + obj._unVal.pArray = pThis; + readState.StoreInCache( marker, obj ); + + for ( int i = 0; i < count; ++i ) { - sq_pushinteger(vm_, i); - ReadObject(pBuffer, readState); - sq_rawset(vm_, -3); + ReadObject( pThis->_values[i], pBuffer, readState ); } + break; } case OT_CLOSURE: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; - } - if (pBuffer->GetChar() == 0) - { - if (SQ_FAILED(sq_readclosure(vm_, closure_read, pBuffer))) - { - Error("Failed to read closure\n"); - sq_pushnull(vm_); - break; - } + SQObjectPtr func, root; + ReadObject( func, pBuffer, readState ); + Assert( func._type == OT_FUNCPROTO && func._unVal.pFunctionProto ); - readState.StoreTopInCache(marker); + if ( pBuffer->GetChar() ) + { + ReadObject( root, pBuffer, readState ); + Assert( root._type != OT_NULL && root._unVal.pWeakRef ); } else { - SQObjectPtr ret; - if (!SQClosure::Load(vm_, pBuffer, closure_read, ret)) - { - Error("Failed to read closure\n"); - sq_pushnull(vm_); - break; - } + root = vm_->_roottable._unVal.pTable->GetWeakRef( OT_TABLE ); + } - vm_->Push(ret); - readState.StoreTopInCache(marker); + SQClosure *pThis = SQClosure::Create( _ss(vm_), func._unVal.pFunctionProto, root._unVal.pWeakRef ); + obj._unVal.pClosure = pThis; + readState.StoreInCache( marker, obj ); - int noutervalues = _closure(ret)->_function->_noutervalues; - for (int i = 0; i < noutervalues; ++i) - { - ReadObject(pBuffer, readState); - HSQOBJECT obj; - sq_resetobject(&obj); - sq_getstackobj(vm_, -1, &obj); - _closure(ret)->_outervalues[i] = obj; - sq_poptop(vm_); - } + if ( pBuffer->GetChar() ) + { + SQObject env; + ReadObject( env, pBuffer, readState ); + pThis->_env = env._unVal.pWeakRef; + } - int ndefaultparams = _closure(ret)->_function->_ndefaultparams; - for (int i = 0; i < ndefaultparams; ++i) - { - ReadObject(pBuffer, readState); - HSQOBJECT obj; - sq_resetobject(&obj); - sq_getstackobj(vm_, -1, &obj); - _closure(ret)->_defaultparams[i] = obj; - sq_poptop(vm_); - } + if ( pBuffer->GetChar() ) + { + SQObjectPtr base; + ReadObject( base, pBuffer, readState ); + pThis->_base = base._unVal.pClass; } - ReadObject(pBuffer, readState); - HSQOBJECT env; - sq_resetobject(&env); - sq_getstackobj(vm_, -1, &env); - if (!sq_isnull(env)) + int count = pBuffer->GetInt(); + for ( int i = 0; i < count; ++i ) { - HSQOBJECT obj; - sq_getstackobj(vm_, -2, &obj); - if (_closure(obj) == nullptr) - Warning("Closure is null\n"); - else - _closure(obj)->_env = _refcounted(env)->GetWeakRef(sq_type(env)); + ReadObject( pThis->_outervalues[i], pBuffer, readState ); + } + + count = pBuffer->GetInt(); + for ( int i = 0; i < count; ++i ) + { + ReadObject( pThis->_defaultparams[i], pBuffer, readState ); } - sq_poptop(vm_); break; } case OT_NATIVECLOSURE: { - char closureName[128] = ""; - pBuffer->GetString(closureName, sizeof(closureName)); + char psz[NATIVE_NAME_READBUF_SIZE] = ""; + pBuffer->GetString( psz, sizeof(psz) ); - sq_pushroottable(vm_); - sq_pushstring(vm_, closureName, -1); - if (SQ_FAILED(sq_get(vm_, -2))) + SQObjectPtr key = SQString::Create( _ss(vm_), psz ); + SQObjectPtr val; + + if ( !vm_->_roottable._unVal.pTable->Get( key, val ) ) { - Warning("SquirrelVM::ReadObject: Failed to find native closure\n"); - sq_pop(vm_, 1); - sq_pushnull(vm_); + Warning( "\tSquirrelVM::ReadObject: failed to find native closure '%s'\n", psz ); + obj._type = OT_NULL; + obj._unVal.raw = 0; + break; } - sq_remove(vm_, -2); + +#ifdef _DEBUG + // If it's a script closure which references this native closure, + // these references will stack up on each load-save + if ( val._type != OT_NATIVECLOSURE ) + Warning( "SquirrelVM::ReadObject: '%s' is not nativeclosure\n", psz ); +#endif + + AssertMsg( val._type == OT_NATIVECLOSURE || val._type == OT_CLOSURE, "'%s' is not a closure", psz ); + + obj._type = val._type; + obj._unVal.pNativeClosure = val._unVal.pNativeClosure; break; } - case OT_CLASS: + case OT_FUNCPROTO: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; + + int nliterals = pBuffer->GetInt(); + int nparameters = pBuffer->GetInt(); + int noutervalues = pBuffer->GetInt(); + int nlocalvarinfos = pBuffer->GetInt(); + int nlineinfos = pBuffer->GetInt(); + int ndefaultparams = pBuffer->GetInt(); + int ninstructions = pBuffer->GetInt(); + int nfunctions = pBuffer->GetInt(); + + SQFunctionProto *pThis = SQFunctionProto::Create( _ss(vm_), ninstructions, nliterals, nparameters, + nfunctions, noutervalues, nlineinfos, nlocalvarinfos, ndefaultparams ); + obj._unVal.pFunctionProto = pThis; + readState.StoreInCache( marker, obj ); + + ReadObject( pThis->_sourcename, pBuffer, readState ); + ReadObject( pThis->_name, pBuffer, readState ); + + for ( int i = 0; i < pThis->_nliterals; ++i ) + { + ReadObject( pThis->_literals[i], pBuffer, readState ); + } + + for ( int i = 0; i < pThis->_nparameters; ++i ) + { + ReadObject( pThis->_parameters[i], pBuffer, readState ); + } + + for ( int i = 0; i < pThis->_noutervalues; ++i ) + { + SQOuterVar &p = pThis->_outervalues[i]; + p._type = (SQOuterType)pBuffer->GetUnsignedInt(); + ReadObject( p._src, pBuffer, readState ); + ReadObject( p._name, pBuffer, readState ); + } + + for ( int i = 0; i < pThis->_nlocalvarinfos; ++i ) + { + SQLocalVarInfo &p = pThis->_localvarinfos[i]; + ReadObject( p._name, pBuffer, readState ); + p._pos = pBuffer->GetUnsignedInt(); + p._start_op = pBuffer->GetUnsignedInt(); + p._end_op = pBuffer->GetUnsignedInt(); + } + + pBuffer->Get( pThis->_lineinfos, sizeof(SQLineInfo) * pThis->_nlineinfos ); + pBuffer->Get( pThis->_defaultparams, sizeof(SQInteger) * pThis->_ndefaultparams ); + pBuffer->Get( pThis->_instructions, sizeof(SQInstruction) * pThis->_ninstructions ); + + for ( int i = 0; i < pThis->_nfunctions; ++i ) + { + ReadObject( pThis->_functions[i], pBuffer, readState ); } - ClassType classType = (ClassType)pBuffer->GetInt(); + pThis->_stacksize = pBuffer->GetInt(); + pThis->_bgenerator = ( pBuffer->GetChar() != 0 ); + pThis->_varparams = pBuffer->GetInt(); - if (classType == VectorClassType) + break; + } + case OT_CLASS: + { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) + break; + + ClassType type = (ClassType)pBuffer->GetChar(); + + if ( type == VectorClassType ) { - sq_pushobject(vm_, vectorClass_); - readState.StoreTopInCache(marker); + obj._unVal.pClass = vectorClass_._unVal.pClass; + readState.StoreInCache( marker, obj ); } - else if (classType == NativeClassType) + else if ( type == NativeClassType ) { - char className[128] = ""; - pBuffer->GetString(className, sizeof(className)); + char psz[NATIVE_NAME_READBUF_SIZE] = ""; + pBuffer->GetString( psz, sizeof(psz) ); - sq_pushroottable(vm_); - sq_pushstring(vm_, className, -1); - if (SQ_FAILED(sq_get(vm_, -2))) + SQObjectPtr key = SQString::Create( _ss(vm_), psz ); + SQObjectPtr val; + + if ( !vm_->_roottable._unVal.pTable->Get( key, val ) ) { - Warning("SquirrelVM::ReadObject: Failed to find native class: %s\n", className); - sq_pushnull(vm_); + Warning( "\tSquirrelVM::ReadObject: failed to find native class '%s'\n", psz ); + obj._type = OT_NULL; + obj._unVal.raw = 0; + break; } - sq_remove(vm_, -2); - readState.StoreTopInCache(marker); + + Assert( val._type == OT_CLASS ); + + obj._unVal.pClass = val._unVal.pClass; + readState.StoreInCache( marker, obj ); } - else if (classType == ScriptClassType) + else if ( type == ScriptClassType ) { - ReadObject(pBuffer, readState); - bool hasBase = sq_gettype(vm_, -1) != OT_NULL; - if (!hasBase) + SQObjectPtr base, members; + + if ( pBuffer->GetChar() ) + { + ReadObject( base, pBuffer, readState ); + Assert( base._type == OT_CLASS ); + } + + SQClass *pThis = SQClass::Create( _ss(vm_), base._unVal.pClass ); + obj._unVal.pClass = pThis; + readState.StoreInCache( marker, obj ); + + ReadObject( members, pBuffer, readState ); + + Assert( members._type == OT_TABLE ); + + // Replace with restored members + pThis->_members->Release(); + pThis->_members = members._unVal.pTable; + __ObjAddRef( pThis->_members ); + + int count = pBuffer->GetInt(); + pThis->_defaultvalues.resize( count ); + + for ( int i = 0; i < count; ++i ) { - sq_poptop(vm_); + ReadObject( pThis->_defaultvalues[i].val, pBuffer, readState ); } - sq_newclass(vm_, hasBase); - readState.StoreTopInCache(marker); + count = pBuffer->GetInt(); + pThis->_methods.resize( count ); - sq_pushnull(vm_); - ReadObject(pBuffer, readState); - sq_setattributes(vm_, -3); - sq_poptop(vm_); // Returns the old attributes + for ( int i = 0; i < count; ++i ) + { + ReadObject( pThis->_methods[i].val, pBuffer, readState ); + } - while (pBuffer->GetChar()) + int mask = pBuffer->GetInt(); + if ( mask ) { - // TODO: Member Attributes - ReadObject(pBuffer, readState); - ReadObject(pBuffer, readState); - sq_newslot(vm_, -3, false); + for ( unsigned i = 0; i < SQMetaMethod::MT_LAST; ++i ) + if ( mask & (1 << i) ) + ReadObject( pThis->_metamethods[i], pBuffer, readState ); } + + pThis->_constructoridx = pBuffer->GetInt(); + + Assert( pThis->_constructoridx == -1 || (SQUnsignedInteger)pThis->_constructoridx < pThis->_methods.size() ); } else { - Error("SquirrelVM::ReadObject: Unknown class type\n"); - sq_pushnull(vm_); + Assert( !"SquirrelVM::ReadObject: unknown class type" ); } + break; } case OT_INSTANCE: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; - } - ReadObject(pBuffer, readState); + SQInstance *pThis; - HSQOBJECT klass; - sq_resetobject(&klass); - sq_getstackobj(vm_, -1, &klass); - if (_class(klass) == _class(regexpClass_)) - { - sq_pushnull(vm_); - ReadObject(pBuffer, readState); - sq_call(vm_, 2, SQTrue, SQFalse); + SQObjectPtr pClass; + ReadObject( pClass, pBuffer, readState ); - readState.StoreTopInCache(marker); + Assert( pClass._type == OT_CLASS && pClass._unVal.pClass ); + + if ( _class(pClass) == _class(regexpClass_) ) + { + SQObjectPtr key = SQString::Create( _ss(vm_), "pattern_" ); + SQObjectPtr val; + ReadObject( val, pBuffer, readState ); - sq_remove(vm_, -2); + pThis = _class(pClass)->CreateInstance(); + pThis->Set( key, val ); + obj._unVal.pInstance = pThis; + readState.StoreInCache( marker, obj ); break; } - SQUserPointer typetag; - sq_gettypetag(vm_, -1, &typetag); + SQUserPointer typetag = _class(pClass)->_typetag; - if (typetag && typetag != TYPETAG_VECTOR && - ((ScriptClassDesc_t*)typetag)->m_pszDescription[0] == SCRIPT_SINGLETON[0]) + // singleton + if ( typetag && typetag != TYPETAG_VECTOR ) { - sq_poptop(vm_); - - Assert(sq_isclass(klass)); - - // singleton, lets find an equivlent in the root - bool foundSingleton = false; - sq_pushroottable(vm_); - sq_pushnull(vm_); - HSQOBJECT singleton; - sq_resetobject(&singleton); - while (SQ_SUCCEEDED(sq_next(vm_, -2))) + ScriptClassDesc_t *pDesc = (ScriptClassDesc_t *)typetag; + if ( pDesc->m_pszDescription[0] == SCRIPT_SINGLETON[0] ) { - sq_getstackobj(vm_, -1, &singleton); - if (sq_isinstance(singleton) && _instance(singleton)->_class == _class(klass)) + bool bFoundSingleton = false; + + SQObjectPtr key, val; + FOREACH_SQTABLE( vm_->_roottable._unVal.pTable, key, val ) { - foundSingleton = true; + if ( sq_isinstance(val) && _instance(val)->_class == _class(pClass) ) + { + pThis = val._unVal.pInstance; + obj._unVal.pInstance = pThis; + readState.StoreInCache( marker, obj ); - readState.StoreInCache(marker, singleton); - sq_addref(vm_, &singleton); - sq_pop(vm_, 2); - break; + bFoundSingleton = true; + break; + } } - sq_pop(vm_, 2); + + if ( !bFoundSingleton ) + { + Warning( "SquirrelVM::ReadObject: failed to find native singleton of '%s'\n", pDesc->m_pszClassname ); + Assert(0); + obj._type = OT_NULL; + obj._unVal.raw = 0; + } + + break; } - sq_pop(vm_, 2); + } + + pThis = SQInstance::Create( _ss(vm_), _class(pClass) ); + obj._unVal.pInstance = pThis; + readState.StoreInCache( marker, obj ); - if (!foundSingleton) + if ( typetag ) + { + if ( typetag == TYPETAG_VECTOR ) { - Warning("SquirrelVM::ReadObject: Failed to find singleton for %s\n", - ((ScriptClassDesc_t*)typetag)->m_pszScriptName); + float x = pBuffer->GetFloat(); + float y = pBuffer->GetFloat(); + float z = pBuffer->GetFloat(); + new ( pThis->_userpointer ) Vector( x, y, z ); } + else + { + ScriptClassDesc_t *pDesc = (ScriptClassDesc_t *)typetag; - sq_pushobject(vm_, singleton); - break; - } + char pszInstanceName[NATIVE_NAME_READBUF_SIZE] = ""; + pBuffer->GetString( pszInstanceName, sizeof(pszInstanceName) ); + if ( pszInstanceName[0] ) + { + bool allowDestruct = ( pBuffer->GetChar() != 0 ); - HSQOBJECT obj; - sq_createinstance(vm_, -1); - sq_getstackobj(vm_, -1, &obj); - sq_addref(vm_, &obj); - readState.StoreInCache(marker, obj); + HSQOBJECT *hInstance = new HSQOBJECT; + hInstance->_type = OT_INSTANCE; + hInstance->_unVal.pInstance = pThis; - sq_remove(vm_, -2); + Assert( pDesc->pHelper ); - { - // HACK: No way to get the default values part from accessing the class directly - SQUnsignedInteger nvalues = _instance(obj)->_class->_defaultvalues.size(); - for (SQUnsignedInteger n = 0; n < nvalues; n++) { - ReadObject(pBuffer, readState); - HSQOBJECT val; - sq_resetobject(&val); - sq_getstackobj(vm_, -1, &val); - _instance(obj)->_values[n] = val; - sq_pop(vm_, 1); + void *pInstance = pDesc->pHelper->BindOnRead( (HSCRIPT)hInstance, NULL, pszInstanceName ); + if ( pInstance ) + { + sq_addref( vm_, hInstance ); + new( pThis->_userpointer ) ClassInstanceData( pInstance, pDesc, pszInstanceName, allowDestruct ); + pThis->_hook = allowDestruct ? &destructor_stub : &destructor_stub_instance; + } + else + { + delete hInstance; + pThis->_userpointer = NULL; + } + } + else + { + pThis->_userpointer = NULL; + } } + + break; } - if (typetag == TYPETAG_VECTOR) + int count = pBuffer->GetInt(); +#ifdef _DEBUG + int size = pThis->_class->_defaultvalues.size(); + if ( count != size ) { - float x = pBuffer->GetFloat(); - float y = pBuffer->GetFloat(); - float z = pBuffer->GetFloat(); - SQUserPointer p; - sq_getinstanceup(vm_, -1, &p, 0); - new(p) Vector(x, y, z); + Warning("SquirrelVM::ReadObject: Non-matching class default value count!\n"); + Assert(0); } - else if (typetag) +#endif + for ( int i = 0; i < count; ++i ) + { + ReadObject( pThis->_values[i], pBuffer, readState ); + } + + break; + } + case OT_WEAKREF: + { + SQObject ref; + ReadObject( ref, pBuffer, readState ); + if ( !ref._unVal.pRefCounted ) { - ScriptClassDesc_t* pClassDesc = (ScriptClassDesc_t*)typetag; + obj._type = OT_NULL; + obj._unVal.raw = 0; + break; + } + + Assert( ISREFCOUNTED( ref._type ) ); + Assert( ref._unVal.pRefCounted->_uiRef > 0 ); + ref._unVal.pRefCounted->_uiRef--; + + SQWeakRef *pThis = ref._unVal.pRefCounted->GetWeakRef( ref._type ); + obj._unVal.pWeakRef = pThis; + + break; + } + case OT_OUTER: + { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) + break; + + SQOuter *pThis = SQOuter::Create( _ss(vm_), NULL ); + obj._unVal.pOuter = pThis; + readState.StoreInCache( marker, obj ); + + ReadObject( pThis->_value, pBuffer, readState ); + pThis->_valptr = &(pThis->_value); + + break; + } + case OT_THREAD: + { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) + break; - char instanceName[128] = ""; - pBuffer->GetString(instanceName, sizeof(instanceName)); + SQVM *pThis = sq_newthread( vm_, pBuffer->GetInt() ); + pThis->_uiRef++; + vm_->Pop(); + pThis->_uiRef--; + obj._unVal.pThread = pThis; + readState.StoreInCache( marker, obj ); - HSQOBJECT* hinstance = new HSQOBJECT; - sq_resetobject(hinstance); - sq_getstackobj(vm_, -1, hinstance); - sq_addref(vm_, hinstance); + pThis->_callsstacksize = pBuffer->GetInt(); - if (*instanceName) + if ( pThis->_callsstacksize ) + { + if ( pThis->_callsstacksize >= pThis->_alloccallsstacksize ) + pThis->GrowCallStack(); + + for ( int i = pThis->_callsstacksize; i--; ) { - bool allowDestruct = (pBuffer->GetChar() == 1); + SQVM::CallInfo *ci = &pThis->_callsstack[i]; + + SQObjectPtr closure; + ReadObject( closure, pBuffer, readState ); + Assert( closure._type == OT_CLOSURE && closure._unVal.pClosure ); - auto instance = pClassDesc->pHelper->BindOnRead((HSCRIPT)hinstance, nullptr, instanceName); - if (instance == nullptr) + int offset = pBuffer->GetInt(); + int funcsize = sizeof(SQInstruction) * closure._unVal.pClosure->_function->_ninstructions; + int start = (int)(closure._unVal.pClosure->_function->_instructions); + int pos = start + offset; + ci->_ip = (SQInstruction*)pos; + + Assert( pos < (start + funcsize) ); + + // don't read past boundary + if ( pos >= (start + funcsize) ) { - sq_release(vm_, hinstance); - delete hinstance; - sq_poptop(vm_); - sq_pushnull(vm_); - break; + ci->_ip = (SQInstruction*)start; } + ci->_literals = closure._unVal.pClosure->_function->_literals; + ci->_closure = closure; + ci->_generator = NULL; + ci->_etraps = pBuffer->GetInt(); + ci->_prevstkbase = pBuffer->GetInt(); + ci->_prevtop = pBuffer->GetInt(); + ci->_target = pBuffer->GetInt(); + ci->_ncalls = pBuffer->GetInt(); + ci->_root = pBuffer->GetChar(); + + pThis->_etraps.resize( ci->_etraps ); + + for ( int j = ci->_etraps; j--; ) { - SQUserPointer p; - sq_getinstanceup(vm_, -1, &p, 0); - new(p) ClassInstanceData(instance, pClassDesc, instanceName, allowDestruct); + SQExceptionTrap &et = pThis->_etraps[j]; + et._extarget = pBuffer->GetInt(); + et._stackbase = pBuffer->GetInt(); + et._stacksize = pBuffer->GetInt(); + et._ip = ci->_ip; } - sq_setreleasehook(vm_, -1, allowDestruct ? &destructor_stub : &destructor_stub_instance); - } - else - { - sq_setinstanceup(vm_, -1, nullptr); } + + int stackidx = pBuffer->GetInt(); + Assert( stackidx >= 0 && stackidx < pThis->_callsstacksize ); + pThis->ci = &pThis->_callsstack[ stackidx ]; } + pThis->_nnativecalls = pBuffer->GetInt(); + pThis->_nmetamethodscall = pBuffer->GetInt(); + + pThis->_suspended = pBuffer->GetChar(); + pThis->_suspended_root = pBuffer->GetChar(); + pThis->_suspended_target = pBuffer->GetInt(); + pThis->_suspended_traps = pBuffer->GetInt(); + + ReadVM( pThis, pBuffer, readState ); + break; } - case OT_WEAKREF: - { - ReadObject(pBuffer, readState); - sq_weakref(vm_, -1); - break; - } - case OT_FUNCPROTO: //internal usage only + case OT_GENERATOR: { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) - { + int marker; + if ( readState.CheckCache( &obj, pBuffer, &marker ) ) break; - } - SQObjectPtr ret; - if (!SQFunctionProto::Load(vm_, pBuffer, closure_read, ret)) + int state = pBuffer->GetChar(); + if ( state == SQGenerator::SQGeneratorState::eDead ) { - Error("Failed to deserialize OT_FUNCPROTO\n"); - sq_pushnull(vm_); + // SQGenerator doesn't allow creating dead generators, write null. + // This is much simpler than creating a dummy closure only to tell the user it's dead. + obj._type = OT_NULL; + obj._unVal.raw = 0; break; } - vm_->Push(ret); - readState.StoreTopInCache(marker); - } - case OT_OUTER: //internal usage only - { - int marker = 0; - if (readState.CheckCache(pBuffer, vm_, &marker)) + SQObjectPtr closure; + ReadObject( closure, pBuffer, readState ); + Assert( closure._type == OT_CLOSURE && closure._unVal.pClosure ); + + SQGenerator *pThis = SQGenerator::Create( _ss(vm_), closure._unVal.pClosure ); + obj._unVal.pGenerator = pThis; + readState.StoreInCache( marker, obj ); + + pThis->_state = (SQGenerator::SQGeneratorState)state; + + SQVM::CallInfo &ci = pThis->_ci; + + int offset = pBuffer->GetInt(); + int funcsize = sizeof(SQInstruction) * closure._unVal.pClosure->_function->_ninstructions; + int start = (int)(closure._unVal.pClosure->_function->_instructions); + int pos = start + offset; + ci._ip = (SQInstruction*)pos; + + Assert( pos < (start + funcsize) ); + + // don't read past boundary + if ( pos >= (start + funcsize) ) { - break; + ci._ip = (SQInstruction*)start; } - SQOuter* outer = SQOuter::Create(_ss(vm_), nullptr); - vm_->Push(outer); - readState.StoreTopInCache(marker); + ci._literals = closure._unVal.pClosure->_function->_literals; + ci._closure = closure; + ci._generator = NULL; + ci._etraps = pBuffer->GetInt(); + ci._prevstkbase = pBuffer->GetInt(); + ci._prevtop = pBuffer->GetInt(); + ci._target = pBuffer->GetInt(); + ci._ncalls = pBuffer->GetInt(); + ci._root = pBuffer->GetChar(); + + pThis->_etraps.resize( ci._etraps ); - ReadObject(pBuffer, readState); - HSQOBJECT inner; - sq_resetobject(&inner); - sq_getstackobj(vm_, -1, &inner); - outer->_value = inner; - outer->_valptr = &(outer->_value); - sq_poptop(vm_); + for ( int j = ci._etraps; j--; ) + { + SQExceptionTrap &et = pThis->_etraps[j]; + et._extarget = pBuffer->GetInt(); + et._stackbase = pBuffer->GetInt(); + et._stacksize = pBuffer->GetInt(); + et._ip = ci._ip; + } + + int stacksize = pBuffer->GetInt(); + pThis->_stack.resize( stacksize ); + for ( int i = 0; i < stacksize; ++i ) + { + ReadObject( pThis->_stack[i], pBuffer, readState ); + } break; } - // case OT_USERDATA: - // case OT_GENERATOR: - // case OT_USERPOINTER: - // case OT_THREAD: - // + case OT_USERDATA: + case OT_USERPOINTER: + { + Assert(0); + break; + } default: - Error("SquirrelVM::ReadObject: Unexpected type %d", thisType); + AssertMsgAlways( 0, "SquirrelVM::ReadObject: serialisation error" ); } + + Assert( !ISREFCOUNTED(obj._type) || obj._unVal.raw != 0xCC ); + + pObj = obj; } -void SquirrelVM::ReadState(CUtlBuffer* pBuffer) +void SquirrelVM::WriteVM( SQVM *pThis, CUtlBuffer *pBuffer, WriteStateMap &writeState ) { - SquirrelSafeCheck safeCheck(vm_); + // Let others access the current VM inside ReadObject + SQVM *pPrevVM = vm_; + vm_ = pThis; - ReadStateMap readState(vm_); - - sq_pushroottable(vm_); + Assert( pThis->_roottable._unVal.pTable->_uiRef > 0 ); - HSQOBJECT obj; - int marker = 0; - readState.CheckCache(pBuffer, vm_, &marker); - sq_getstackobj(vm_, -1, &obj); - sq_addref(vm_, &obj); - readState.StoreInCache(marker, obj); + WriteObject( pThis->_roottable, pBuffer, writeState ); - int count = pBuffer->GetInt(); + Assert( pThis->_roottable._unVal.pTable->_uiRef > 0 ); - for (int i = 0; i < count; ++i) + pBuffer->PutInt( pThis->_top ); + pBuffer->PutInt( pThis->_stackbase ); + pBuffer->PutInt( pThis->_stack.size() ); + for ( int i = 0; i < pThis->_top; ++i ) // write up to top { - ReadObject(pBuffer, readState); - ReadObject(pBuffer, readState); + WriteObject( pThis->_stack[i], pBuffer, writeState ); + } - sq_rawset(vm_, -3); + vm_ = pPrevVM; // restore +} + +void SquirrelVM::ReadVM( SQVM *pThis, CUtlBuffer *pBuffer, ReadStateMap &readState ) +{ + // Let others access the current VM inside ReadObject + SQVM *pPrevVM = vm_; + vm_ = pThis; + + ReadObject( pThis->_roottable, pBuffer, readState ); + + Assert( pThis->_roottable._unVal.pTable->_uiRef > 0 ); + + pThis->_top = pBuffer->GetInt(); + pThis->_stackbase = pBuffer->GetInt(); + pThis->_stack.resize( pBuffer->GetInt() ); + for ( int i = 0; i < pThis->_top; ++i ) + { + ReadObject( pThis->_stack[i], pBuffer, readState ); } - sq_pop(vm_, 1); + vm_ = pPrevVM; // restore +} + +void SquirrelVM::WriteState( CUtlBuffer* pBuffer ) +{ + // If the main VM can be suspended, WriteVM/ReadVM would need to include the code inside OT_THREAD r/w + Assert( !vm_->ci ); + + WriteStateMap writeState; + WriteVM( vm_, pBuffer, writeState ); +} + +void SquirrelVM::ReadState( CUtlBuffer* pBuffer ) +{ + ReadStateMap readState; + ReadVM( vm_, pBuffer, readState ); } void SquirrelVM::RemoveOrphanInstances()