├── src ├── Inc │ ├── steam_appid.txt │ ├── Utility.h │ ├── Utility.hxx │ ├── VerRes.rc │ ├── assert.h │ ├── IBN.H │ └── SlmVer.h ├── Lib │ ├── OggVorbis │ │ ├── x64 │ │ │ └── not_built │ │ ├── file.lib │ │ ├── ogg.lib │ │ ├── vorbis.lib │ │ ├── file_nonsse2.lib │ │ ├── ogg_nonsse2.lib │ │ └── vorbis_nonsse2.lib │ ├── steam │ │ ├── isteammasterserverupdater.h │ │ ├── isteamvideo.h │ │ ├── steam_api.dll │ │ ├── steam_api.lib │ │ ├── steamtypes.h │ │ ├── isteaminventory.h │ │ ├── steam_gameserver.h │ │ ├── steamhttpenums.h │ │ ├── isteamgamecoordinator.h │ │ ├── isteamgameserverstats.h │ │ ├── steamencryptedappticket.h │ │ ├── isteamps3overlayrenderer.h │ │ ├── lib │ │ │ ├── win32 │ │ │ │ ├── sdkencryptedappticket.dll │ │ │ │ └── sdkencryptedappticket.lib │ │ │ ├── win64 │ │ │ │ ├── sdkencryptedappticket64.dll │ │ │ │ └── sdkencryptedappticket64.lib │ │ │ ├── linux32 │ │ │ │ └── libsdkencryptedappticket.so │ │ │ ├── linux64 │ │ │ │ └── libsdkencryptedappticket.so │ │ │ └── osx32 │ │ │ │ └── libsdkencryptedappticket.dylib │ │ └── steamuniverse.h │ ├── lua │ │ ├── liblua53.a │ │ ├── lua53.dll │ │ ├── lua53.lib │ │ ├── LICENSE.txt │ │ └── include │ │ │ └── lua.hpp │ ├── DirectPlay │ │ ├── dxguid.lib │ │ └── x64 │ │ │ └── dxguid.lib │ └── AllegianceSecurity │ │ ├── AllegianceSecurity.lib │ │ └── AllegianceSecurityd.lib ├── Pigs │ ├── 1 │ │ └── Piglets │ │ │ └── Piglets.csproj │ ├── Scripts │ │ ├── Zeroes_4.bin │ │ ├── Zeroes_8.bin │ │ ├── Zeroes_16.bin │ │ ├── Zeroes_32.bin │ │ ├── immed.js │ │ ├── Zeroes_64.bin │ │ ├── MSComCt2.CAB │ │ ├── EventViewer.htm │ │ ├── EventViewerX.htm │ │ ├── session.js │ │ ├── Zeroes_128.bin │ │ ├── Zeroes_256.bin │ │ ├── debugger.vbs │ │ ├── Zeroes_512.bin │ │ └── debugger.js │ ├── Piglets │ │ ├── include │ │ │ └── eliza.js │ │ ├── progress.xls │ │ ├── colltest.js │ │ ├── colltest.ts │ │ ├── colltest.js.map │ │ ├── Piglets.csproj │ │ └── aaa.pig │ ├── PigGuid │ │ └── PigGUID.c │ ├── PigsLib │ │ ├── AGC.tlb │ │ ├── PigsLib.def │ │ ├── PigsLibPS.def │ │ ├── SrcInc.cpp │ │ ├── SrcInc.h │ │ ├── pch.cpp │ │ ├── PigsLib.rc2 │ │ ├── Resource.h │ │ ├── PigObject.rgs │ │ └── PigMissionParams.rgs │ ├── PigSrv │ │ ├── PigSrv.aps │ │ ├── PigSrv.ico │ │ ├── events.htm │ │ ├── EventsDB.htm │ │ ├── PigSvrps.def │ │ ├── PigSrv.h │ │ ├── pch.cpp │ │ ├── SrcInc.cpp │ │ ├── SrcInc.h │ │ ├── Pig.rgs │ │ ├── PigObject.rgs │ │ ├── PigSrv.rc2 │ │ ├── PigShip.rgs │ │ ├── PigTimer.rgs │ │ ├── Pigs.rgs │ │ ├── PigShipEvent.rgs │ │ ├── PigBehaviorStack.rgs │ │ ├── PigBehaviorScript.rgs │ │ ├── PigSrv.rgs │ │ ├── PigBehaviorHost.rgs │ │ ├── PigHullTypes.rgs │ │ ├── MissParms.js │ │ ├── PigBehaviorScriptType.rgs │ │ ├── PigBehavior.h │ │ ├── thrust.js │ │ ├── PigBehaviorType.h │ │ └── PigSession.rgs │ ├── PigConfig │ │ ├── images.bmp │ │ ├── PigConfig.aps │ │ ├── PigConfig.ico │ │ ├── PigConfig.rc │ │ ├── pch.cpp │ │ └── PigConfig.rc2 │ ├── PigClient │ │ └── PigClient │ │ │ ├── pig-face.png │ │ │ ├── Properties │ │ │ └── Settings.settings │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── App.config │ │ │ ├── packages.config │ │ │ ├── LaunchCommand.cs │ │ │ └── Setup.txt │ ├── PigAccts │ │ ├── PigAccts.rgs │ │ ├── PigAcctsPS.def │ │ ├── test.vbs │ │ ├── PigAccts.h │ │ ├── pch.cpp │ │ ├── SrcInc.h │ │ ├── SrcInc.cpp │ │ ├── PigAccts.rc2 │ │ ├── PigAccount.rgs │ │ ├── resource.h │ │ └── PigAccountDispenser.rgs │ ├── PigJSDocGenerator │ │ ├── Entities │ │ │ ├── EnumValue.cs │ │ │ ├── Interface.cs │ │ │ ├── Parameter.cs │ │ │ └── Signature.cs │ │ └── App.config │ └── PigSrv.reg ├── Reloader │ ├── pch.cpp │ ├── Reloader.rc │ ├── pch.h │ └── resource.h ├── cvh │ ├── pch.cpp │ └── pch.h ├── _Utility │ ├── pch.cpp │ └── FileLoader.h ├── mdlc │ └── pch.cpp ├── sharemem │ ├── pch.cpp │ └── pch.h ├── training │ ├── pch.cpp │ ├── training.CF │ ├── training.PI │ ├── training.PR │ ├── training.PS │ ├── training.WK │ ├── mission3.cpp │ ├── mission5.cpp │ ├── specification │ │ ├── TRAININGFINAL.xls │ │ ├── tm_sound_spec.doc │ │ ├── TMSpecTemplate.doc │ │ ├── tm_1_introduction.doc │ │ ├── tm_2_basic_flight.doc │ │ ├── tm_5_command_view.doc │ │ ├── tm_3_basic_weaponry.doc │ │ ├── tm_4_enemy_engagement.doc │ │ ├── tm_6_practice_arena.doc │ │ └── tm_sound_spec_final_rob.doc │ ├── notcondition.h │ └── falsecondition.h ├── WinTrek │ ├── gamesite.cpp │ ├── clientdrones.cpp │ ├── trekapp.cpp │ ├── teamscreen.cpp │ ├── gamesite.h │ ├── pch.cpp │ ├── treksound.h │ ├── SteamClans.h │ ├── sectorvw.h │ ├── passworddialog.h │ ├── gametypes.h │ ├── wintrekp.h │ ├── load.h │ └── logon.h ├── AGC │ ├── AGCGuid.c │ ├── guid.cpp │ ├── AGC.def │ ├── AGCShips.cpp │ ├── AGCAlephs.cpp │ ├── AGCModels.cpp │ ├── AGCProbes.cpp │ ├── AGCTeams.cpp │ ├── AGCVersionInfo.cpp │ ├── AGCSectors.cpp │ ├── AGCStations.cpp │ ├── AGCAsteroids.cpp │ ├── AGCEventIDRange.cpp │ ├── AGCEventIDRanges.cpp │ ├── Pre-build.bat │ ├── pch.cpp │ ├── AGCGame.rgs │ ├── AGCShip.rgs │ ├── AGCTeam.rgs │ ├── AGCShips.rgs │ ├── AGCTeams.rgs │ ├── AGCAleph.rgs │ ├── AGCAlephs.rgs │ ├── AGCModel.rgs │ ├── AGCModels.rgs │ ├── AGCProbe.rgs │ ├── AGCProbes.rgs │ ├── AGCSector.rgs │ ├── AGCSectors.rgs │ ├── AGCStation.rgs │ ├── AGCAsteroid.rgs │ ├── AGCHullType.rgs │ ├── AGCStations.rgs │ ├── AGCAsteroids.rgs │ ├── AGCHullTypes.rgs │ ├── AGCGlobal.rgs │ ├── AGCVersionInfo.rgs │ ├── agcevent.rgs │ ├── AGCVector.rgs │ ├── TCStrings.rgs │ ├── TCNullStream.rgs │ ├── AGCCommand.rgs │ ├── AGCGameParameters.rgs │ ├── AGCEventIDRange.rgs │ ├── AGCOrientation.rgs │ ├── AGCEventIDRanges.rgs │ ├── AGCEventLogger.rgs │ ├── AGCDBParams.rgs │ ├── AdminSessionHelper.rgs │ ├── TCMarshalByValue.rgs │ ├── AGCAleph.cpp │ ├── AGCShip.cpp │ ├── AGCGame.cpp │ ├── AGCModel.cpp │ ├── AGCProbe.cpp │ ├── AGCStation.cpp │ ├── AGCAsteroid.cpp │ └── TCUtility.rgs ├── Igc │ ├── igc.h │ ├── sounds.h │ ├── igc.def │ ├── private.cpp │ └── private.h ├── lobby │ ├── lobby.ico │ ├── alllobby.rc2 │ ├── lobby.h │ ├── resource.h │ ├── LobbyAppSite.h │ ├── lobqguids.cpp │ ├── pch.cpp │ ├── alllobby.rc │ ├── lobby.rgs │ ├── counters.h │ └── CSteamValidation.h ├── AllSrvUI │ ├── Flags.ico │ ├── Lives.ico │ ├── Skill.ico │ ├── zone.bmp │ ├── AllSrvUI.rc │ ├── MaxTeam.ico │ ├── MinTeam.ico │ ├── AllSrvUI.cpp │ ├── AllSrvUI.ico │ ├── Conquest.ico │ ├── CountDown.ico │ ├── DeathMatch.ico │ ├── Inbalance.ico │ ├── Prosperity.ico │ ├── StartMoney.ico │ ├── TeamCount.ico │ ├── TotalMoney.ico │ ├── ArtifactRun.ico │ └── StdAfx.cpp ├── FedSrv │ ├── Status.htm │ ├── fedsrv.ico │ ├── pch.cpp │ ├── AdminGame.rgs │ ├── AdminShip.rgs │ ├── AdminUser.rgs │ ├── srvqguids.cpp │ ├── AdminGames.rgs │ ├── AdminUsers.rgs │ ├── AdminServer.rgs │ ├── CSteamUserGroupStatus.h │ ├── AllSrv32.rgs │ └── allsrv.rgs ├── test │ ├── Inc │ │ ├── UnkDoc.idl │ │ └── Allegiance.h │ ├── TCAtl │ │ ├── Persist.h │ │ ├── EditWindow.h │ │ ├── EventsCP.h │ │ ├── ObjectMap.h │ │ ├── PageEntry.h │ │ ├── DualEventsCP.h │ │ ├── ComboBoxWindow.h │ │ ├── PropertyClass.cpp │ │ ├── PropertyClass.h │ │ ├── PropertyPageImpl.h │ │ ├── PropertyPageBase.cpp │ │ └── Message.txt │ ├── TCLib │ │ ├── StrManip.h │ │ ├── LookupTable.h │ │ ├── WorkerThread.h │ │ ├── UtilityThread.cpp │ │ ├── UtilityThread.h │ │ ├── WorkerThread.cpp │ │ ├── PropertyPageSite.cpp │ │ ├── pch.cpp │ │ └── RelPath.h │ └── TCObj │ │ ├── TCObjPS.def │ │ ├── TCObj.def │ │ ├── SrcInc.cpp │ │ ├── SrcInc.h │ │ ├── pch.cpp │ │ ├── TCObj.rc2 │ │ ├── TCStrings.rgs │ │ ├── resource.h │ │ ├── TCNullStream.rgs │ │ ├── TCMarshalByValue.rgs │ │ └── TCUtility.rgs ├── Wopr │ ├── Wopr │ │ ├── LaunchWithoutYellowCom.bat │ │ ├── packages.config │ │ ├── Constants │ │ │ ├── ServerType.cs │ │ │ ├── BuoyType.cs │ │ │ ├── TechpathType.cs │ │ │ ├── StrategyID.cs │ │ │ ├── ShipType.cs │ │ │ ├── CommandType.cs │ │ │ ├── InvestResult.cs │ │ │ ├── MissionStage.cs │ │ │ ├── StationType.cs │ │ │ ├── PilotType.cs │ │ │ ├── Civilization.cs │ │ │ ├── ShipState.cs │ │ │ ├── EquipmentType.cs │ │ │ ├── CommandID.cs │ │ │ └── ItemType.cs │ │ ├── Entities │ │ │ ├── ISupportReadingFromStreams.cs │ │ │ ├── TeamDirectorPlayerInfo.cs │ │ │ ├── InflightConstructor.cs │ │ │ ├── StaticCoreInfo.cs │ │ │ └── ServerInfo.cs │ │ ├── App.config │ │ ├── README.md │ │ └── Loadouts │ │ │ └── ScoutProbeLoadout.cs │ ├── AllegianceInterop │ │ ├── app.ico │ │ ├── app.rc │ │ ├── Resource.h │ │ ├── stdafx.cpp │ │ ├── stdafx.h │ │ ├── AssemblyInfo.cpp │ │ ├── AllegianceInterop.h │ │ ├── AllegianceInterop.cpp │ │ ├── ManagedObject.cpp │ │ ├── ISupportManagedByteArrays.h │ │ ├── SimpleClient.cpp │ │ ├── clintlibWrapper.cpp │ │ ├── SimpleClient.h │ │ └── clintlibWrapper.h │ └── AllegianceInteropClassGenerator │ │ └── App.config ├── AllegianceRelicenseLetter.pdf ├── Lang │ ├── NonIntl │ │ └── allegiance │ │ │ └── trek.ico │ └── Usa │ │ └── allegiance │ │ └── allegiance.rc2 ├── engine │ ├── connectionmap.xml │ ├── connections.xml │ ├── stdafx.cpp │ ├── bspgeo.h │ ├── stdafx.h │ ├── settings.xml │ ├── xfile.h │ ├── paneimage.h │ ├── LogFile.h │ ├── VideoSettingsDX9.h │ └── pixel.h ├── guids │ └── guids.cpp ├── soundengine │ ├── soundengine.h │ └── CMakeLists.txt ├── AutoUpdate │ ├── AutoUpdate.rgs │ ├── pch.h │ ├── pch.cpp │ ├── AutoUpdate.rc2 │ ├── AutoUpdate.rc3 │ └── resource.h ├── CMakeLists.txt ├── effect │ ├── debrisgeo.h │ ├── efsound.h │ ├── CMakeLists.txt │ ├── efart.h │ ├── starimage.h │ └── efpopup.h ├── Zone │ ├── Zone.h │ └── Medal.h ├── ui │ ├── ns_file.hpp │ └── Exposer.h └── clintlib │ ├── pch.cpp │ ├── badwords.h │ └── pch.h ├── artwork ├── fire.ffe ├── bounce.ffe ├── e_fire.png ├── e_firebmp.mdl ├── e_smoke.png ├── e_tele.png ├── e_telebmp.mdl ├── explode.ffe ├── ripicon.png ├── teamred.png ├── teamyel.png ├── tester.igc ├── e_booster.png ├── e_damage.png ├── e_damagebmp.mdl ├── e_smokebmp.mdl ├── gamescreen.png ├── teamblue.png ├── teamgreen.png ├── teamgrey.png ├── teampurple.png ├── teamselred.png ├── teamselyel.png ├── teamwhite.png ├── e_boosterbmp.mdl ├── headergames.png ├── missionbrief.mdl ├── ripiconbmp.mdl ├── teambluebmp.mdl ├── teamgreybmp.mdl ├── teamredbmp.mdl ├── teamselblue.png ├── teamselgreen.png ├── teamselgrey.png ├── teamselwhite.png ├── teamyelbmp.mdl ├── teamgreenbmp.mdl ├── teamselpurple.png ├── teamwhitebmp.mdl ├── teampurplebmp.mdl ├── teamselbluebmp.mdl ├── teamselgreybmp.mdl ├── teamselredbmp.mdl ├── teamselyelbmp.mdl ├── combomaxdronescount.png ├── missionbriefbkgndbmp.mdl ├── teamselgreenbmp.mdl ├── teamselpurplebmp.mdl └── teamselwhitebmp.mdl ├── VS2005 └── README.txt ├── VS2010 ├── Reloader.vcxproj.user ├── mdledit.vcxproj.filters ├── AutoUpdate.vcxproj.user └── Allegiance.vcxproj.user ├── appveyor.yml ├── .gitattributes ├── CMakeLists.txt ├── cmake ├── toolchain-mingw32.cmake └── toolchain-mingw64.cmake ├── VS2017 └── How To Run a Local Lobby and Server.txt └── VS2022 └── Shared.props /src/Inc/steam_appid.txt: -------------------------------------------------------------------------------- 1 | 700480 -------------------------------------------------------------------------------- /src/Lib/OggVorbis/x64/not_built: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_4.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_8.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Reloader/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" -------------------------------------------------------------------------------- /src/cvh/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" -------------------------------------------------------------------------------- /src/_Utility/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /src/mdlc/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | -------------------------------------------------------------------------------- /src/sharemem/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /src/training/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_16.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/WinTrek/gamesite.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /src/Inc/Utility.h: -------------------------------------------------------------------------------- 1 | #include "../_Utility/Utility.h" 2 | 3 | -------------------------------------------------------------------------------- /src/Inc/Utility.hxx: -------------------------------------------------------------------------------- 1 | #include "..\_Utility\Utility.hxx" 2 | -------------------------------------------------------------------------------- /src/Pigs/Piglets/include/eliza.js: -------------------------------------------------------------------------------- 1 | // We don't have a chat bot :( -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_32.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/AGC/AGCGuid.c: -------------------------------------------------------------------------------- 1 | #include "AGCIDL_i.c" 2 | #include "AGC_i.c" 3 | 4 | -------------------------------------------------------------------------------- /src/AGC/guid.cpp: -------------------------------------------------------------------------------- 1 | #include "AGCIDL_i.c" 2 | #include "AGC_i.c" 3 | 4 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/immed.js: -------------------------------------------------------------------------------- 1 | // Jump straight into the debugger 2 | debugger; -------------------------------------------------------------------------------- /src/WinTrek/clientdrones.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | #include "drones.cpp" 3 | -------------------------------------------------------------------------------- /src/Igc/igc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Igc/igc.h -------------------------------------------------------------------------------- /src/Pigs/PigGuid/PigGUID.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | -------------------------------------------------------------------------------- /artwork/fire.ffe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/fire.ffe -------------------------------------------------------------------------------- /src/Igc/sounds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Igc/sounds.h -------------------------------------------------------------------------------- /src/Inc/VerRes.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Inc/VerRes.rc -------------------------------------------------------------------------------- /src/Lib/steam/isteammasterserverupdater.h: -------------------------------------------------------------------------------- 1 | #error "This file isn't used any more" 2 | -------------------------------------------------------------------------------- /artwork/bounce.ffe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/bounce.ffe -------------------------------------------------------------------------------- /artwork/e_fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/e_fire.png -------------------------------------------------------------------------------- /artwork/e_firebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | e_firebmp = ImportImageFromFile("e_fire.png", true); -------------------------------------------------------------------------------- /artwork/e_smoke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/e_smoke.png -------------------------------------------------------------------------------- /artwork/e_tele.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/e_tele.png -------------------------------------------------------------------------------- /artwork/e_telebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | e_telebmp = ImportImageFromFile("e_tele.png", true); -------------------------------------------------------------------------------- /artwork/explode.ffe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/explode.ffe -------------------------------------------------------------------------------- /artwork/ripicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/ripicon.png -------------------------------------------------------------------------------- /artwork/teamred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamred.png -------------------------------------------------------------------------------- /artwork/teamyel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamyel.png -------------------------------------------------------------------------------- /artwork/tester.igc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/tester.igc -------------------------------------------------------------------------------- /src/lobby/lobby.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/lobby/lobby.ico -------------------------------------------------------------------------------- /artwork/e_booster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/e_booster.png -------------------------------------------------------------------------------- /artwork/e_damage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/e_damage.png -------------------------------------------------------------------------------- /artwork/e_damagebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | e_damagebmp = ImportImageFromFile("e_damage.png", true); -------------------------------------------------------------------------------- /artwork/e_smokebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | e_smokebmp = ImportImageFromFile("e_smoke.png", true); -------------------------------------------------------------------------------- /artwork/gamescreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/gamescreen.png -------------------------------------------------------------------------------- /artwork/teamblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamblue.png -------------------------------------------------------------------------------- /artwork/teamgreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamgreen.png -------------------------------------------------------------------------------- /artwork/teamgrey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamgrey.png -------------------------------------------------------------------------------- /artwork/teampurple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teampurple.png -------------------------------------------------------------------------------- /artwork/teamselred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselred.png -------------------------------------------------------------------------------- /artwork/teamselyel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselyel.png -------------------------------------------------------------------------------- /artwork/teamwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamwhite.png -------------------------------------------------------------------------------- /src/AllSrvUI/Flags.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Flags.ico -------------------------------------------------------------------------------- /src/AllSrvUI/Lives.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Lives.ico -------------------------------------------------------------------------------- /src/AllSrvUI/Skill.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Skill.ico -------------------------------------------------------------------------------- /src/AllSrvUI/zone.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/zone.bmp -------------------------------------------------------------------------------- /src/FedSrv/Status.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/FedSrv/Status.htm -------------------------------------------------------------------------------- /src/FedSrv/fedsrv.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/FedSrv/fedsrv.ico -------------------------------------------------------------------------------- /src/Inc/assert.h: -------------------------------------------------------------------------------- 1 | // Empty include file so that no-one defines assert! 2 | #include 3 | -------------------------------------------------------------------------------- /src/Lib/lua/liblua53.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/lua/liblua53.a -------------------------------------------------------------------------------- /src/Lib/lua/lua53.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/lua/lua53.dll -------------------------------------------------------------------------------- /src/Lib/lua/lua53.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/lua/lua53.lib -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_64.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lobby/alllobby.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/lobby/alllobby.rc2 -------------------------------------------------------------------------------- /artwork/e_boosterbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | e_boosterbmp = ImportImageFromFile("e_booster.png", true); -------------------------------------------------------------------------------- /artwork/headergames.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/headergames.png -------------------------------------------------------------------------------- /artwork/missionbrief.mdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/missionbrief.mdl -------------------------------------------------------------------------------- /artwork/ripiconbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | ripiconbmp = ImportImageFromFile("ripicon.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teambluebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teambluebmp = ImportImageFromFile("teamblue.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamgreybmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamgreybmp = ImportImageFromFile("teamgrey.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamredbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamredbmp = ImportImageFromFile("teamred.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselblue.png -------------------------------------------------------------------------------- /artwork/teamselgreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselgreen.png -------------------------------------------------------------------------------- /artwork/teamselgrey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselgrey.png -------------------------------------------------------------------------------- /artwork/teamselwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselwhite.png -------------------------------------------------------------------------------- /artwork/teamyelbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamyelbmp = ImportImageFromFile("teamyel.png", true); 3 | -------------------------------------------------------------------------------- /src/AllSrvUI/AllSrvUI.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/AllSrvUI.rc -------------------------------------------------------------------------------- /src/AllSrvUI/MaxTeam.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/MaxTeam.ico -------------------------------------------------------------------------------- /src/AllSrvUI/MinTeam.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/MinTeam.ico -------------------------------------------------------------------------------- /src/Lib/lua/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/lua/LICENSE.txt -------------------------------------------------------------------------------- /src/Pigs/PigsLib/AGC.tlb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigsLib/AGC.tlb -------------------------------------------------------------------------------- /src/Reloader/Reloader.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Reloader/Reloader.rc -------------------------------------------------------------------------------- /src/WinTrek/trekapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/WinTrek/trekapp.cpp -------------------------------------------------------------------------------- /src/test/Inc/UnkDoc.idl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/Inc/UnkDoc.idl -------------------------------------------------------------------------------- /src/test/TCAtl/Persist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/Persist.h -------------------------------------------------------------------------------- /src/training/training.CF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/training.CF -------------------------------------------------------------------------------- /src/training/training.PI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/training.PI -------------------------------------------------------------------------------- /src/training/training.PR: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/training.PR -------------------------------------------------------------------------------- /src/training/training.PS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/training.PS -------------------------------------------------------------------------------- /src/training/training.WK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/training.WK -------------------------------------------------------------------------------- /artwork/teamgreenbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamgreenbmp = ImportImageFromFile("teamgreen.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselpurple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/teamselpurple.png -------------------------------------------------------------------------------- /artwork/teamwhitebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamwhitebmp = ImportImageFromFile("teamwhite.png", true); 3 | -------------------------------------------------------------------------------- /src/AllSrvUI/AllSrvUI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/AllSrvUI.cpp -------------------------------------------------------------------------------- /src/AllSrvUI/AllSrvUI.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/AllSrvUI.ico -------------------------------------------------------------------------------- /src/AllSrvUI/Conquest.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Conquest.ico -------------------------------------------------------------------------------- /src/AllSrvUI/CountDown.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/CountDown.ico -------------------------------------------------------------------------------- /src/AllSrvUI/DeathMatch.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/DeathMatch.ico -------------------------------------------------------------------------------- /src/AllSrvUI/Inbalance.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Inbalance.ico -------------------------------------------------------------------------------- /src/AllSrvUI/Prosperity.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/Prosperity.ico -------------------------------------------------------------------------------- /src/AllSrvUI/StartMoney.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/StartMoney.ico -------------------------------------------------------------------------------- /src/AllSrvUI/TeamCount.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/TeamCount.ico -------------------------------------------------------------------------------- /src/AllSrvUI/TotalMoney.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/TotalMoney.ico -------------------------------------------------------------------------------- /src/Lib/OggVorbis/file.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/file.lib -------------------------------------------------------------------------------- /src/Lib/OggVorbis/ogg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/ogg.lib -------------------------------------------------------------------------------- /src/Lib/steam/isteamvideo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/isteamvideo.h -------------------------------------------------------------------------------- /src/Lib/steam/steam_api.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steam_api.dll -------------------------------------------------------------------------------- /src/Lib/steam/steam_api.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steam_api.lib -------------------------------------------------------------------------------- /src/Lib/steam/steamtypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steamtypes.h -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSrv.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigSrv/PigSrv.aps -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSrv.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigSrv/PigSrv.ico -------------------------------------------------------------------------------- /src/Pigs/PigSrv/events.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigSrv/events.htm -------------------------------------------------------------------------------- /src/WinTrek/teamscreen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/WinTrek/teamscreen.cpp -------------------------------------------------------------------------------- /src/lobby/lobby.h: -------------------------------------------------------------------------------- 1 | /* MIDL: this ALWAYS GENERATED file contains the definitions for the interfaces */ 2 | -------------------------------------------------------------------------------- /src/test/TCAtl/EditWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/EditWindow.h -------------------------------------------------------------------------------- /src/test/TCAtl/EventsCP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/EventsCP.h -------------------------------------------------------------------------------- /src/test/TCAtl/ObjectMap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/ObjectMap.h -------------------------------------------------------------------------------- /src/test/TCAtl/PageEntry.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/PageEntry.h -------------------------------------------------------------------------------- /src/test/TCLib/StrManip.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/StrManip.h -------------------------------------------------------------------------------- /src/training/mission3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/mission3.cpp -------------------------------------------------------------------------------- /src/training/mission5.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/mission5.cpp -------------------------------------------------------------------------------- /artwork/teampurplebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teampurplebmp = ImportImageFromFile("teampurple.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselbluebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselbluebmp = ImportImageFromFile("teamselblue.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselgreybmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselgreybmp = ImportImageFromFile("teamselgrey.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselredbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselredbmp = ImportImageFromFile("teamselred.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselyelbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselyelbmp = ImportImageFromFile("teamselyel.png", true); 3 | -------------------------------------------------------------------------------- /src/AllSrvUI/ArtifactRun.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllSrvUI/ArtifactRun.ico -------------------------------------------------------------------------------- /src/Lib/DirectPlay/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/DirectPlay/dxguid.lib -------------------------------------------------------------------------------- /src/Lib/OggVorbis/vorbis.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/vorbis.lib -------------------------------------------------------------------------------- /src/Pigs/PigConfig/images.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigConfig/images.bmp -------------------------------------------------------------------------------- /src/Pigs/PigSrv/EventsDB.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigSrv/EventsDB.htm -------------------------------------------------------------------------------- /src/Pigs/Piglets/progress.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/Piglets/progress.xls -------------------------------------------------------------------------------- /src/Pigs/Scripts/MSComCt2.CAB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/Scripts/MSComCt2.CAB -------------------------------------------------------------------------------- /src/Wopr/Wopr/LaunchWithoutYellowCom.bat: -------------------------------------------------------------------------------- 1 | xcopy /s /y /q bin\FZDebug\* temp\Debug\ 2 | 3 | temp\Debug\wopr.exe -y -------------------------------------------------------------------------------- /src/test/TCAtl/DualEventsCP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/DualEventsCP.h -------------------------------------------------------------------------------- /src/test/TCLib/LookupTable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/LookupTable.h -------------------------------------------------------------------------------- /src/test/TCLib/WorkerThread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/WorkerThread.h -------------------------------------------------------------------------------- /artwork/combomaxdronescount.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/combomaxdronescount.png -------------------------------------------------------------------------------- /artwork/missionbriefbkgndbmp.mdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/artwork/missionbriefbkgndbmp.mdl -------------------------------------------------------------------------------- /artwork/teamselgreenbmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselgreenbmp = ImportImageFromFile("teamselgreen.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselpurplebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselpurplebmp = ImportImageFromFile("teamselpurple.png", true); 3 | -------------------------------------------------------------------------------- /artwork/teamselwhitebmp.mdl: -------------------------------------------------------------------------------- 1 | use "model"; 2 | teamselwhitebmp = ImportImageFromFile("teamselwhite.png", true); 3 | -------------------------------------------------------------------------------- /src/Lib/steam/isteaminventory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/isteaminventory.h -------------------------------------------------------------------------------- /src/Lib/steam/steam_gameserver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steam_gameserver.h -------------------------------------------------------------------------------- /src/Lib/steam/steamhttpenums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steamhttpenums.h -------------------------------------------------------------------------------- /src/Pigs/PigConfig/PigConfig.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigConfig/PigConfig.aps -------------------------------------------------------------------------------- /src/Pigs/PigConfig/PigConfig.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigConfig/PigConfig.ico -------------------------------------------------------------------------------- /src/Pigs/PigConfig/PigConfig.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigConfig/PigConfig.rc -------------------------------------------------------------------------------- /src/Pigs/Scripts/EventViewer.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/Scripts/EventViewer.htm -------------------------------------------------------------------------------- /src/test/TCAtl/ComboBoxWindow.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/ComboBoxWindow.h -------------------------------------------------------------------------------- /src/test/TCAtl/PropertyClass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/PropertyClass.cpp -------------------------------------------------------------------------------- /src/test/TCAtl/PropertyClass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/PropertyClass.h -------------------------------------------------------------------------------- /src/test/TCLib/UtilityThread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/UtilityThread.cpp -------------------------------------------------------------------------------- /src/test/TCLib/UtilityThread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/UtilityThread.h -------------------------------------------------------------------------------- /src/test/TCLib/WorkerThread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/WorkerThread.cpp -------------------------------------------------------------------------------- /src/AllegianceRelicenseLetter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/AllegianceRelicenseLetter.pdf -------------------------------------------------------------------------------- /src/Lib/DirectPlay/x64/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/DirectPlay/x64/dxguid.lib -------------------------------------------------------------------------------- /src/Lib/OggVorbis/file_nonsse2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/file_nonsse2.lib -------------------------------------------------------------------------------- /src/Lib/OggVorbis/ogg_nonsse2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/ogg_nonsse2.lib -------------------------------------------------------------------------------- /src/Pigs/Scripts/EventViewerX.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/Scripts/EventViewerX.htm -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/app.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/app.ico -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/app.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/app.rc -------------------------------------------------------------------------------- /src/test/TCAtl/PropertyPageImpl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/PropertyPageImpl.h -------------------------------------------------------------------------------- /src/Lang/NonIntl/allegiance/trek.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lang/NonIntl/allegiance/trek.ico -------------------------------------------------------------------------------- /src/Lib/OggVorbis/vorbis_nonsse2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/OggVorbis/vorbis_nonsse2.lib -------------------------------------------------------------------------------- /src/Lib/steam/isteamgamecoordinator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/isteamgamecoordinator.h -------------------------------------------------------------------------------- /src/Lib/steam/isteamgameserverstats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/isteamgameserverstats.h -------------------------------------------------------------------------------- /src/Pigs/Scripts/session.js: -------------------------------------------------------------------------------- 1 | // Connect to the Pig Server 2 | var app = new ActiveXObject("Pigs.Session"); 3 | 4 | debugger; -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/Resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/Resource.h -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/stdafx.cpp -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/stdafx.h -------------------------------------------------------------------------------- /src/engine/connectionmap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/engine/connections.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/sharemem/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | -------------------------------------------------------------------------------- /src/test/TCAtl/PropertyPageBase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCAtl/PropertyPageBase.cpp -------------------------------------------------------------------------------- /src/test/TCLib/PropertyPageSite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/test/TCLib/PropertyPageSite.cpp -------------------------------------------------------------------------------- /src/Lang/Usa/allegiance/allegiance.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lang/Usa/allegiance/allegiance.rc2 -------------------------------------------------------------------------------- /src/Lib/steam/steamencryptedappticket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/steamencryptedappticket.h -------------------------------------------------------------------------------- /src/test/TCAtl/Message.txt: -------------------------------------------------------------------------------- 1 | TCAtl: This project has nothing to build. 2 | It only serves as a placeholder for the files it contains. -------------------------------------------------------------------------------- /src/Lib/steam/isteamps3overlayrenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/isteamps3overlayrenderer.h -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/pig-face.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Pigs/PigClient/PigClient/pig-face.png -------------------------------------------------------------------------------- /src/Pigs/Piglets/colltest.js: -------------------------------------------------------------------------------- 1 | function OnReceiveChat(strText, objShip) { 2 | var a = 2; 3 | } 4 | //# sourceMappingURL=colltest.js.map -------------------------------------------------------------------------------- /src/Pigs/Piglets/colltest.ts: -------------------------------------------------------------------------------- 1 | function OnReceiveChat(strText: string, objShip: number): void { 2 | 3 | var a: number = 2; 4 | 5 | } -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/AssemblyInfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/AssemblyInfo.cpp -------------------------------------------------------------------------------- /src/training/specification/TRAININGFINAL.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/TRAININGFINAL.xls -------------------------------------------------------------------------------- /src/training/specification/tm_sound_spec.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_sound_spec.doc -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/AllegianceInterop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/AllegianceInterop.h -------------------------------------------------------------------------------- /src/training/specification/TMSpecTemplate.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/TMSpecTemplate.doc -------------------------------------------------------------------------------- /src/Lib/AllegianceSecurity/AllegianceSecurity.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/AllegianceSecurity/AllegianceSecurity.lib -------------------------------------------------------------------------------- /src/Lib/steam/lib/win32/sdkencryptedappticket.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/win32/sdkencryptedappticket.dll -------------------------------------------------------------------------------- /src/Lib/steam/lib/win32/sdkencryptedappticket.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/win32/sdkencryptedappticket.lib -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/AllegianceInterop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Wopr/AllegianceInterop/AllegianceInterop.cpp -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/ManagedObject.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "ManagedObject.h" 3 | 4 | namespace AllegianceInterop { 5 | 6 | 7 | } -------------------------------------------------------------------------------- /src/training/specification/tm_1_introduction.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_1_introduction.doc -------------------------------------------------------------------------------- /src/training/specification/tm_2_basic_flight.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_2_basic_flight.doc -------------------------------------------------------------------------------- /src/training/specification/tm_5_command_view.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_5_command_view.doc -------------------------------------------------------------------------------- /src/Lib/AllegianceSecurity/AllegianceSecurityd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/AllegianceSecurity/AllegianceSecurityd.lib -------------------------------------------------------------------------------- /src/Lib/steam/lib/win64/sdkencryptedappticket64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/win64/sdkencryptedappticket64.dll -------------------------------------------------------------------------------- /src/Lib/steam/lib/win64/sdkencryptedappticket64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/win64/sdkencryptedappticket64.lib -------------------------------------------------------------------------------- /src/cvh/pch.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | -------------------------------------------------------------------------------- /src/training/specification/tm_3_basic_weaponry.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_3_basic_weaponry.doc -------------------------------------------------------------------------------- /src/training/specification/tm_4_enemy_engagement.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_4_enemy_engagement.doc -------------------------------------------------------------------------------- /src/training/specification/tm_6_practice_arena.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_6_practice_arena.doc -------------------------------------------------------------------------------- /VS2005/README.txt: -------------------------------------------------------------------------------- 1 | Depreciation Warning: 2 | 3 | These project files are no longer being maintained. 4 | Upgrade to Visual Studio 2008 or Visual Studio 2010. -------------------------------------------------------------------------------- /src/Lib/steam/lib/linux32/libsdkencryptedappticket.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/linux32/libsdkencryptedappticket.so -------------------------------------------------------------------------------- /src/Lib/steam/lib/linux64/libsdkencryptedappticket.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/linux64/libsdkencryptedappticket.so -------------------------------------------------------------------------------- /src/Lib/steam/lib/osx32/libsdkencryptedappticket.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/Lib/steam/lib/osx32/libsdkencryptedappticket.dylib -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_128.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/training/specification/tm_sound_spec_final_rob.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kgersen/Allegiance/HEAD/src/training/specification/tm_sound_spec_final_rob.doc -------------------------------------------------------------------------------- /VS2010/Reloader.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/lobby/resource.h: -------------------------------------------------------------------------------- 1 | // Used by Lobby.rc 2 | 3 | #define IDS_SERVICENAME 100 4 | #define IDS_SERVICEDESC 101 5 | 6 | #define IDR_Lobby 100 7 | 8 | #define ICO_LOBBY 101 9 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/guids/guids.cpp: -------------------------------------------------------------------------------- 1 | #define INITGUID 2 | 3 | #define DBINITCONSTANTS // Initialize OLE constants... 4 | 5 | #include 6 | #include 7 | 8 | #include "guids.h" 9 | -------------------------------------------------------------------------------- /src/soundengine/soundengine.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "zlib.h" 4 | 5 | #include "soundbase.h" 6 | #include "soundutil.h" 7 | #include "soundtemplates.h" 8 | 9 | using namespace SoundEngine; -------------------------------------------------------------------------------- /src/Pigs/Piglets/colltest.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"colltest.js","sourceRoot":"","sources":["colltest.ts"],"names":[],"mappings":"AAAA,uBAAuB,OAAe,EAAE,OAAe;IAEnD,IAAI,CAAC,GAAW,CAAC,CAAC;AAEtB,CAAC"} -------------------------------------------------------------------------------- /src/test/TCLib/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp : source file that includes just the standard includes 2 | // TCLib.pch will be the pre-compiled header 3 | // pch.obj will contain the pre-compiled type information 4 | 5 | #include "pch.h" 6 | 7 | -------------------------------------------------------------------------------- /src/Reloader/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/AllSrvUI/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // AllSrvUI.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/Wopr/AllegianceInteropClassGenerator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/AutoUpdate/AutoUpdate.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {BB44CBB1-9D4D-47C4-9C45-00AA56B13A97} = s 'AutoUpdate' 6 | 'AutoUpdate.EXE' 7 | { 8 | val AppID = s {BB44CBB1-9D4D-47C4-9C45-00AA56B13A97} 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Lib/lua/include/lua.hpp: -------------------------------------------------------------------------------- 1 | // lua.hpp 2 | // Lua header files for C++ 3 | // <> not supplied automatically because Lua also compiles as C++ 4 | 5 | extern "C" { 6 | #include "lua.h" 7 | #include "lualib.h" 8 | #include "lauxlib.h" 9 | } 10 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Igc/igc.def: -------------------------------------------------------------------------------- 1 | ; igc.def : Declares the module parameters. 2 | 3 | LIBRARY "igc.DLL" 4 | 5 | EXPORTS 6 | DllCanUnloadNow @1 PRIVATE 7 | DllGetClassObject @2 PRIVATE 8 | DllRegisterServer @3 PRIVATE 9 | DllUnregisterServer @4 PRIVATE 10 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.0.{build} 2 | image: Visual Studio 2017 3 | configuration: 4 | - FZDebug 5 | - FZRetail 6 | before_build: 7 | - nuget restore VS2017/Allegiance.sln 8 | build: 9 | project: VS2017/Allegiance.sln 10 | parallel: true 11 | verbosity: minimal 12 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAccts.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {9BA731AE-E7CB-11d2-A508-00C04F68DEB0} = s 'Pig Account Server' 6 | 'PigAccts.EXE' 7 | { 8 | val AppID = s {9BA731AE-E7CB-11d2-A508-00C04F68DEB0} 9 | } 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/WinTrek/gamesite.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _GAMESITE_H_ 3 | #define _GAMESITE_H_ 4 | 5 | int GameSite::MessageBox(const ZString& strText, const ZString& strCaption, UINT nType) 6 | { 7 | return GetWindow()->MessageBox(strText, strCaption, nType); 8 | } 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /src/Pigs/1/Piglets/Piglets.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard1.4 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_256.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/WinTrek/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | #ifdef _ATL_STATIC_REGISTRY 4 | #include 5 | //#include Imago removed (again) 6 | #endif 7 | 8 | #ifdef TREK_OCX 9 | //#include 10 | #include 11 | //#include 12 | #endif 13 | -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_SUBDIRECTORY(zlib) 2 | ADD_SUBDIRECTORY(soundengine) 3 | ADD_SUBDIRECTORY(engine) 4 | ADD_SUBDIRECTORY(effect) 5 | #ADD_SUBDIRECTORY(_Utility) 6 | ADD_SUBDIRECTORY(Igc) 7 | #ADD_SUBDIRECTORY(training) 8 | #ADD_SUBDIRECTORY(clintlib) 9 | #ADD_SUBDIRECTORY(WinTrek) 10 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/PigsLib.def: -------------------------------------------------------------------------------- 1 | ; PigsLib.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "PigsLib" 4 | 5 | EXPORTS 6 | DllCanUnloadNow PRIVATE 7 | DllGetClassObject PRIVATE 8 | DllRegisterServer PRIVATE 9 | DllUnregisterServer PRIVATE 10 | 11 | -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/ISupportManagedByteArrays.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | using namespace System; 4 | 5 | namespace AllegianceInterop { 6 | 7 | public interface class ISupportManagedByteArrays 8 | { 9 | public: 10 | array ^ ToManagedByteArray(); 11 | }; 12 | 13 | } -------------------------------------------------------------------------------- /src/Inc/IBN.H: -------------------------------------------------------------------------------- 1 | // INCBUILDNUM can be used when rebuilding w/o a full ssync. 2 | // eg: from 1.00.nnnn.0 to 1.00.nnnn.1, etc. 3 | // 4 | // INCBUILDNUM must be hand-set (ie: it is not done by slm automatically) 5 | 6 | 7 | #define INCBUILDNUM 0 // incremental build numbers for patches on build machine 8 | -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/SimpleClient.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "SimpleClient.h" 3 | 4 | 5 | SimpleClient::SimpleClient() 6 | { 7 | } 8 | 9 | HRESULT SimpleClient::OnAppMessage(FedMessaging * pthis, CFMConnection & cnxnFrom, FEDMESSAGE * pfm) 10 | { 11 | return E_NOTIMPL; 12 | } 13 | -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/clintlibWrapper.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "clintlibWrapper.h" 3 | 4 | using namespace System; 5 | 6 | namespace AllegianceInterop 7 | { 8 | MissionInfoWrapper::MissionInfoWrapper(::MissionInfo * instance) 9 | { 10 | m_instance = instance; 11 | } 12 | 13 | } -------------------------------------------------------------------------------- /src/effect/debrisgeo.h: -------------------------------------------------------------------------------- 1 | #ifndef _DebrisGeo_h_ 2 | #define _DebrisGeo_h_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // DebrisGeo header 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/Pigs/PigConfig/pch.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // pch.cpp : source file that includes just the standard includes 3 | // pch.pch will be the pre-compiled header 4 | // pch.obj will contain the pre-compiled type information 5 | 6 | #include "pch.h" 7 | 8 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSvrps.def: -------------------------------------------------------------------------------- 1 | 2 | LIBRARY "PigSrvPS" 3 | 4 | DESCRIPTION 'Proxy/Stub DLL' 5 | 6 | EXPORTS 7 | DllGetClassObject @1 PRIVATE 8 | DllCanUnloadNow @2 PRIVATE 9 | GetProxyDllInfo @3 PRIVATE 10 | DllRegisterServer @4 PRIVATE 11 | DllUnregisterServer @5 PRIVATE 12 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/ServerType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum ServerType 10 | { 11 | Lobby, 12 | Server 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/AGC/AGC.def: -------------------------------------------------------------------------------- 1 | ; AGC.def : Declares the module parameters. 2 | 3 | LIBRARY "AGC.DLL" 4 | 5 | EXPORTS 6 | DllCanUnloadNow PRIVATE 7 | DllGetClassObject PRIVATE 8 | DllRegisterServer PRIVATE 9 | DllUnregisterServer PRIVATE 10 | DllRegisterAGC 11 | DllUnregisterAGC 12 | 13 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAcctsPS.def: -------------------------------------------------------------------------------- 1 | 2 | LIBRARY "PigAcctsPS" 3 | 4 | DESCRIPTION 'Proxy/Stub DLL' 5 | 6 | EXPORTS 7 | DllGetClassObject @1 PRIVATE 8 | DllCanUnloadNow @2 PRIVATE 9 | GetProxyDllInfo @3 PRIVATE 10 | DllRegisterServer @4 PRIVATE 11 | DllUnregisterServer @5 PRIVATE 12 | -------------------------------------------------------------------------------- /src/engine/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // Engine.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/test.vbs: -------------------------------------------------------------------------------- 1 | Set accts = CreateObject("Pigs.AccountDispenser") 2 | 3 | ' Jump into the debugger 4 | Stop 5 | 6 | 7 | Sub List(names) 8 | 9 | c = 0 10 | For Each name In names 11 | WScript.Echo name 12 | c = c + 1 13 | Next 14 | WScript.Echo c & " names listed" 15 | 16 | End Sub 17 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/BuoyType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum BuoyType 10 | { 11 | c_buoyWaypoint = 0, 12 | c_buoyCluster = 1 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/TCObj/TCObjPS.def: -------------------------------------------------------------------------------- 1 | 2 | LIBRARY "TCObjPS" 3 | 4 | DESCRIPTION 'Proxy/Stub DLL' 5 | 6 | EXPORTS 7 | DllGetClassObject @1 PRIVATE 8 | DllCanUnloadNow @2 PRIVATE 9 | GetProxyDllInfo @3 PRIVATE 10 | DllRegisterServer @4 PRIVATE 11 | DllUnregisterServer @5 PRIVATE 12 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/PigsLibPS.def: -------------------------------------------------------------------------------- 1 | 2 | LIBRARY "PigsLibPS" 3 | 4 | DESCRIPTION 'Proxy/Stub DLL' 5 | 6 | EXPORTS 7 | DllGetClassObject @1 PRIVATE 8 | DllCanUnloadNow @2 PRIVATE 9 | GetProxyDllInfo @3 PRIVATE 10 | DllRegisterServer @4 PRIVATE 11 | DllUnregisterServer @5 PRIVATE 12 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/TechpathType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | enum TechpathType 10 | { 11 | Supremacy, 12 | Expansion, 13 | Tactical 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Zone/Zone.h: -------------------------------------------------------------------------------- 1 | #ifndef ZONE_INC 2 | #define ZONE_INC 3 | 4 | 5 | const int c_cbURLDB = 255; 6 | const int c_cbSquadDescriptionDB = 510; 7 | const int c_cbLogDB = 500; 8 | 9 | const int c_cbZoneNameDB = 30; // size of zone names 10 | 11 | 12 | #include "Member.h" 13 | #include "Squad.h" 14 | 15 | #include "Medal.h" 16 | 17 | 18 | #endif -------------------------------------------------------------------------------- /src/test/TCObj/TCObj.def: -------------------------------------------------------------------------------- 1 | ; TCObj.def : Declares the module parameters for the DLL. 2 | ; Imago 6/10 removed ordinal and description warnings 3 | 4 | LIBRARY "TCObj" 5 | 6 | EXPORTS 7 | DllCanUnloadNow PRIVATE 8 | DllGetClassObject PRIVATE 9 | DllRegisterServer PRIVATE 10 | DllUnregisterServer PRIVATE 11 | 12 | -------------------------------------------------------------------------------- /src/Pigs/PigJSDocGenerator/Entities/EnumValue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace PigJSDocGenerator.Entities 8 | { 9 | public class EnumValue 10 | { 11 | public string Name; 12 | public string Value; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/SimpleClient.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "messagecore.h" 4 | 5 | 6 | class SimpleClient : public IFedMessagingSite 7 | { 8 | public: 9 | SimpleClient(); 10 | 11 | // Inherited via IFedMessagingSite 12 | virtual HRESULT OnAppMessage(FedMessaging * pthis, CFMConnection & cnxnFrom, FEDMESSAGE * pfm) override; 13 | }; 14 | 15 | -------------------------------------------------------------------------------- /src/Pigs/PigJSDocGenerator/Entities/Interface.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace PigJSDocGenerator.Entities 8 | { 9 | public class Interface 10 | { 11 | public string Name; 12 | public string HelpString; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSrv.h: -------------------------------------------------------------------------------- 1 | #ifndef __PigSrv_h__ 2 | #define __PigSrv_h__ 3 | 4 | #pragma once 5 | 6 | ///////////////////////////////////////////////////////////////////////////// 7 | 8 | #include 9 | #include 10 | 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | 14 | #endif // !__PigSrv_h__ 15 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/StrategyID.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum StrategyID 10 | { 11 | ConnectToGame, 12 | CommanderResearchAndExpand, 13 | ScoutExploreMap 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/engine/bspgeo.h: -------------------------------------------------------------------------------- 1 | #ifndef _bspgeo_h_ 2 | #define _bspgeo_h_ 3 | 4 | #include 5 | 6 | class Geo; 7 | 8 | ////////////////////////////////////////////////////////////////////////////// 9 | // 10 | // BSP Geo 11 | // 12 | ////////////////////////////////////////////////////////////////////////////// 13 | 14 | TRef CreateBSPGeo(); 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAccts.h: -------------------------------------------------------------------------------- 1 | #ifndef __PigAccts_h__ 2 | #define __PigAccts_h__ 3 | 4 | #pragma once 5 | 6 | ///////////////////////////////////////////////////////////////////////////// 7 | 8 | #include 9 | #include 10 | 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | 14 | #endif // !__PigAccts_h__ 15 | -------------------------------------------------------------------------------- /src/AutoUpdate/pch.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define _WIN32_WINNT 0x0A00 4 | 5 | #define __MODULE__ "AutoUpdate" 6 | 7 | #include 8 | extern CComModule _Module; 9 | #include 10 | #include 11 | 12 | #include 13 | 14 | 15 | #include "zlib.h" 16 | #include "Utility.h" 17 | #include "zreg.h" 18 | #include "AutoDownload.h" 19 | 20 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp : source file that includes just the standard includes 2 | // pch.pch will be the pre-compiled header 3 | // pch.obj will contain the pre-compiled type information 4 | 5 | #include "pch.h" 6 | 7 | #ifdef _ATL_STATIC_REGISTRY 8 | #include 9 | // #include 10 | #endif 11 | 12 | // #include 13 | 14 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/pch.cpp: -------------------------------------------------------------------------------- 1 | // pch.cpp : source file that includes just the standard includes 2 | // pch.pch will be the pre-compiled header 3 | // pch.obj will contain the pre-compiled type information 4 | 5 | #include "pch.h" 6 | 7 | #ifdef _ATL_STATIC_REGISTRY 8 | #include 9 | //#include 10 | #endif 11 | 12 | //#include 13 | 14 | -------------------------------------------------------------------------------- /src/engine/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | 9 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 10 | 11 | // TODO: reference additional headers your program requires here 12 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | [HKEY_CLASSES_ROOT\AppID\{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}] 4 | @="Pig Server" 5 | "ArtPath"="C:\\Program Files (x86)\\Steam\\steamapps\\common\\Allegiance\\Artwork" 6 | "MissionServer"="127.0.0.1" 7 | "MaxPigs"=dword:00000032 8 | "AccountServer"="." 9 | "ZoneAuthServer"="" 10 | "ZoneAuthTimeout"=dword:0330edb0 11 | 12 | -------------------------------------------------------------------------------- /src/AGC/AGCShips.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCShips.cpp : Implementation of the CAGCShips class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCShips.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCShips 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCShips) 13 | 14 | -------------------------------------------------------------------------------- /src/AGC/AGCAlephs.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AdminAGCAlephs.cpp : Implementation of CAGCAlephs 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCAlephs.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCAlephs 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCAlephs) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/AGC/AGCModels.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AdminAGCModels.cpp : Implementation of CAGCModels 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCModels.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCModels 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCModels) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/AGC/AGCProbes.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AdminAGCProbes.cpp : Implementation of CAGCProbes 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCProbes.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCProbes 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCProbes) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/AGC/AGCTeams.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCTeams.cpp : Implementation of the CAGCTeams class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCTeams.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCTeams 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCTeams) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Igc/private.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ** Copyright (C) 1996, 1997 Microsoft Corporation. All Rights Reserved. 3 | ** 4 | ** File: private.cpp 5 | ** 6 | ** Author: 7 | ** 8 | ** Description: 9 | ** Implementation file for all things that are internal to the IGC library 10 | ** but not part of any one class. 11 | ** 12 | ** History: 13 | */ 14 | #include "pch.h" 15 | #include "private.h" 16 | -------------------------------------------------------------------------------- /src/Igc/private.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Copyright (C) 1996, 1997 Microsoft Corporation. All Rights Reserved. 3 | ** 4 | ** File: private.h 5 | ** 6 | ** Author: 7 | ** 8 | ** Description: 9 | ** Header file for all things that are internal to the IGC library 10 | ** but not part of any one class. 11 | ** 12 | ** History: 13 | */ 14 | 15 | #ifndef private_h 16 | #define private_h 17 | #endif 18 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/ShipType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum ShipType 10 | { 11 | Scout, 12 | Fighter, 13 | Interceptor, 14 | StealthFighter, 15 | Bomber, 16 | Gunship 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/AGC/AGCVersionInfo.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCVersionInfo.cpp : Implementation of the CAGCVersionInfo class. 3 | 4 | #include "pch.h" 5 | #include "AGCVersionInfo.h" 6 | 7 | 8 | ///////////////////////////////////////////////////////////////////////////// 9 | // CAGCVersionInfo 10 | 11 | TC_OBJECT_EXTERN_IMPL(CAGCVersionInfo) 12 | 13 | -------------------------------------------------------------------------------- /src/WinTrek/treksound.h: -------------------------------------------------------------------------------- 1 | #ifndef _treksound_H_ 2 | #define _treksound_H_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // effect sounds 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | TRef CreateSoundNameSpace( 11 | Modeler* pmodeler, 12 | INameSpace* pnsParent 13 | ); 14 | 15 | #endif -------------------------------------------------------------------------------- /src/AGC/AGCSectors.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCSectors.cpp : Implementation of the CAGCSectors class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCSectors.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCSectors 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCSectors) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Pigs/Piglets/Piglets.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard1.4 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | aaa.pig 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Entities/ISupportReadingFromStreams.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Wopr.Entities 9 | { 10 | public interface ISupportReadingFromStreams 11 | { 12 | void Read(BinaryReader br); 13 | 14 | int GetByteSizeOfEntity(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Set the default behavior, in case people don't have core.autocrlf set. 2 | * text=auto 3 | 4 | # Explicitly declare text files you want to always be normalized and converted 5 | # to native line endings on checkout. 6 | *.c text 7 | *.cpp text 8 | *.h text 9 | *.pch text 10 | 11 | # Declare files that will always have CRLF line endings on checkout. 12 | *.sln text eol=crlf 13 | *.vcxproj text eol=crlf -------------------------------------------------------------------------------- /src/AGC/AGCStations.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCStations.cpp : Implementation of the CAGCStations class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCStations.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCStations 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCStations) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/CommandType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum CommandType 10 | { 11 | c_cmdQueued = 0, 12 | c_cmdAccepted = 1, 13 | c_cmdCurrent = 2, 14 | c_cmdPlan = 3, 15 | c_cmdMax = 4 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/AGC/AGCAsteroids.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCAsteroids.cpp : Implementation of the CAGCAsteroids class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCAsteroids.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCAsteroids 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCAsteroids) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/AGC/AGCEventIDRange.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCEventIDRange.cpp : Implementation of the CAGCEventIDRange class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCEventIDRange.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CEventIDRange 11 | 12 | TC_OBJECT_EXTERN_IMPL(CAGCEventIDRange) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/InvestResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum InvestResult 10 | { 11 | Succeeded, 12 | InsufficientFunds, 13 | AlreadyInProgress, 14 | InvalidTechName, 15 | NotAvailableYet 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/AGC/AGCEventIDRanges.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCEventIDRanges.cpp : Implementation of the CAGCEventIDRanges class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCEventIDRanges.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CEventIDRanges 11 | 12 | TC_OBJECT_EXTERN_IMPL(CAGCEventIDRanges) 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace PigClient 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/engine/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 9 | 10 | false 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/SrcInc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | ///////////////////////////////////////////////////////////////////////////// 4 | // This file should contain the include files for all source code-based 5 | // libraries used in the project. Any corresponding CPP files for the 6 | // libraries should be placed in SrcInc.cpp. 7 | // 8 | 9 | #include 10 | #include <..\TCAtl\ObjectMap.h> 11 | #include <..\TCAtl\UserAcct.h> 12 | 13 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/MissionStage.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | // From igc.h 10 | public enum MissionStage 11 | { 12 | STAGE_NOTSTARTED, 13 | STAGE_STARTING, 14 | STAGE_STARTED, 15 | STAGE_OVER, 16 | STAGE_TERMINATE 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/SrcInc.cpp: -------------------------------------------------------------------------------- 1 | 2 | ///////////////////////////////////////////////////////////////////////////// 3 | // This file should contain the CPP files for all source code-based 4 | // libraries used in the project. Any corresponding header files for the 5 | // libraries should be placed in SrcInc.h. 6 | // 7 | 8 | #include "pch.h" 9 | #include 10 | #include <..\TCAtl\TCNullStreamImpl.cpp> 11 | #include <..\TCAtl\UserAcct.cpp> 12 | -------------------------------------------------------------------------------- /src/Pigs/PigJSDocGenerator/Entities/Parameter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace PigJSDocGenerator.Entities 8 | { 9 | public class Parameter 10 | { 11 | public string Name; 12 | public string Type; 13 | public bool IsOutput = false; 14 | public bool IsReturnValue = false; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Entities/TeamDirectorPlayerInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Entities 8 | { 9 | public class TeamDirectorPlayerInfo 10 | { 11 | public string PlayerName; 12 | public short SideIndex; 13 | public bool IsCommander; 14 | public bool IsGameController; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/effect/efsound.h: -------------------------------------------------------------------------------- 1 | #ifndef _efsound_H_ 2 | #define _efsound_H_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // effect sounds 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class INameSpace; 11 | class Modeler; 12 | void AddSoundFactories( 13 | INameSpace* pns, 14 | Modeler* pmodeler 15 | ); 16 | 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/engine/xfile.h: -------------------------------------------------------------------------------- 1 | #ifndef _xfile_h_ 2 | #define _xfile_h_ 3 | 4 | #include "value.h" 5 | 6 | class Geo; 7 | class Modeler; 8 | 9 | ////////////////////////////////////////////////////////////////////////////// 10 | // 11 | // 12 | // 13 | ////////////////////////////////////////////////////////////////////////////// 14 | 15 | TRef ImportXFile(Modeler* pmodeler, ZFile* pfile, Number* pnumberFrame, bool& bAnimation); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/ui/ns_file.hpp: -------------------------------------------------------------------------------- 1 | 2 | #pragma once 3 | 4 | #include "ui.h" 5 | #include "items.hpp" 6 | 7 | class FileNamespace { 8 | public: 9 | static void AddNamespace(sol::state* m_pLua, Loader* pLoader) { 10 | sol::table table = m_pLua->create_table(); 11 | table["LoadLua"] = [pLoader](std::string path) { 12 | return pLoader->LoadScript(path); 13 | }; 14 | 15 | m_pLua->set("File", table); 16 | } 17 | }; -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | CMAKE_MINIMUM_REQUIRED(VERSION 3.1) 2 | 3 | PROJECT(Allegiance) 4 | 5 | OPTION(USE_STEAM "Use steam" OFF) 6 | 7 | MACRO(SET_MODULE MODULE_NAME) 8 | ADD_DEFINITIONS(-D__MODULE__="${MODULE_NAME}") 9 | INCLUDE_DIRECTORIES(../Inc) 10 | IF (USE_STEAM) 11 | INCLUDE_DIRECTORIES(../Lib/steam) 12 | ELSE() 13 | ADD_DEFINITIONS(-DNO_STEAM) 14 | ENDIF() 15 | ENDMACRO() 16 | 17 | 18 | ADD_SUBDIRECTORY(src) 19 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/SrcInc.cpp: -------------------------------------------------------------------------------- 1 | 2 | ///////////////////////////////////////////////////////////////////////////// 3 | // This file should contain the CPP files for all source code-based 4 | // libraries used in the project. Any corresponding header files for the 5 | // libraries should be placed in SrcInc.h. 6 | // 7 | 8 | #include "pch.h" 9 | #include 10 | #include <..\TCAtl\PropertyClass.cpp> 11 | #include <..\TCAtl\TCNullStreamImpl.cpp> 12 | -------------------------------------------------------------------------------- /src/test/TCObj/SrcInc.cpp: -------------------------------------------------------------------------------- 1 | 2 | ///////////////////////////////////////////////////////////////////////////// 3 | // This file should contain the CPP files for all source code-based 4 | // libraries used in the project. Any corresponding header files for the 5 | // libraries should be placed in SrcInc.h. 6 | // 7 | 8 | #include "pch.h" 9 | #include 10 | #include <..\TCAtl\PropertyClass.cpp> 11 | #include <..\TCAtl\TCNullStreamImpl.cpp> 12 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/StationType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum StationType 10 | { 11 | Outpost, 12 | Teleport, 13 | Refinery, 14 | Garrison, 15 | Tactical, 16 | Supremacy, 17 | Expansion, 18 | ShipYard 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/engine/paneimage.h: -------------------------------------------------------------------------------- 1 | #ifndef _PaneImage_H_ 2 | #define _PaneImage_H_ 3 | 4 | #include 5 | 6 | class Engine; 7 | class Image; 8 | class Pane; 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // 12 | // PaneImage 13 | // 14 | ///////////////////////////////////////////////////////////////////////////// 15 | 16 | TRef CreatePaneImage(Engine* pengine, bool bColorKey, Pane* ppane); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/Reloader/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Reloader.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /src/soundengine/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_DEFINITIONS(-D__MODULE__="SoundEngine") 2 | INCLUDE_DIRECTORIES(../Inc ../zlib) 3 | 4 | SET(SoundEngine_SRC 5 | ds3dbuffer.cpp 6 | ds3dengine.cpp 7 | ds3dutil.cpp 8 | ds3dvirtualbuffer.cpp 9 | dummysound.cpp 10 | soundbase.cpp 11 | soundtemplates.cpp 12 | soundutil.cpp 13 | ) 14 | 15 | ADD_LIBRARY(SoundEngine ${SoundEngine_SRC}) 16 | SET_PROPERTY(TARGET SoundEngine PROPERTY CXX_STANDARD 14) 17 | -------------------------------------------------------------------------------- /cmake/toolchain-mingw32.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Windows) 2 | set(TOOLCHAIN_PREFIX i686-w64-mingw32) 3 | 4 | set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) 5 | set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) 6 | set(CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres) 7 | 8 | set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX}) 9 | 10 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 11 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 12 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 13 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/PilotType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum PilotType 10 | { 11 | c_ptMiner = 0, 12 | c_ptWingman = 2, 13 | c_ptLayer = 5, 14 | c_ptBuilder = 6, 15 | c_ptCarrier = 9, 16 | c_ptPlayer = 10, 17 | c_ptCheatPlayer = 11 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Entities/InflightConstructor.cs: -------------------------------------------------------------------------------- 1 | using AllegianceInterop; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Wopr.Constants; 8 | 9 | namespace Wopr.Entities 10 | { 11 | public class InflightConstructor 12 | { 13 | public IclusterIGCWrapper Cluster; 14 | public IshipIGCWrapper Ship; 15 | public StationType StationType; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /cmake/toolchain-mingw64.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Windows) 2 | set(TOOLCHAIN_PREFIX x86_64-w64-mingw32) 3 | 4 | set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) 5 | set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) 6 | set(CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres) 7 | 8 | set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX}) 9 | 10 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 11 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 12 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 13 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/SrcInc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | ///////////////////////////////////////////////////////////////////////////// 4 | // This file should contain the include files for all source code-based 5 | // libraries used in the project. Any corresponding CPP files for the 6 | // libraries should be placed in SrcInc.cpp. 7 | // 8 | 9 | #include 10 | #include <..\TCAtl\PropertyClass.h> 11 | #include <..\TCAtl\TCNullStreamImpl.h> 12 | #include <..\TCAtl\ObjectMap.h> 13 | 14 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/pch.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // pch.cpp : source file that includes just the standard includes 3 | // pch.pch will be the pre-compiled header 4 | // pch.obj will contain the pre-compiled type information 5 | 6 | #include "pch.h" 7 | 8 | #ifdef _ATL_STATIC_REGISTRY 9 | #include 10 | // #include 11 | #endif 12 | 13 | //#include 14 | //#include 15 | 16 | -------------------------------------------------------------------------------- /src/_Utility/FileLoader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "tref.h" 4 | #include "base.h" 5 | #include "vector" 6 | #include "memory" 7 | 8 | class IFileLoader { 9 | public: 10 | 11 | virtual bool HasFile(const ZString& path) = 0; 12 | virtual ZString GetFilePath(const ZString& path) = 0; 13 | virtual TRef GetFile(const ZString& path) = 0; 14 | }; 15 | 16 | std::shared_ptr CreateSecureFileLoader(const std::vector& vPaths, const ZString& pathSecure); -------------------------------------------------------------------------------- /src/lobby/LobbyAppSite.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef __LobbyAppSite_h__ 4 | #define __LobbyAppSite_h__ 5 | 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // LobbyAppSite.h 8 | // 9 | 10 | class ATL_NO_VTABLE ILobbyAppSite 11 | { 12 | public: 13 | virtual int LogEvent(WORD wType, int id, ...) = 0; 14 | }; 15 | 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | 19 | #endif // !__LobbyAppSite_h__ 20 | -------------------------------------------------------------------------------- /src/test/TCObj/SrcInc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | ///////////////////////////////////////////////////////////////////////////// 4 | // This file should contain the include files for all source code-based 5 | // libraries used in the project. Any corresponding CPP files for the 6 | // libraries should be placed in SrcInc.cpp. 7 | // 8 | 9 | #include 10 | #include <..\TCAtl\PropertyClass.h> 11 | #include <..\TCAtl\TCNullStreamImpl.h> 12 | #include <..\TCAtl\ObjectMap.h> 13 | 14 | -------------------------------------------------------------------------------- /src/test/TCObj/pch.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // pch.cpp : source file that includes just the standard includes 3 | // TCObj.pch will be the pre-compiled header 4 | // pch.obj will contain the pre-compiled type information 5 | 6 | #include "pch.h" 7 | 8 | #ifdef _ATL_STATIC_REGISTRY 9 | #include 10 | //#include 11 | #endif 12 | 13 | //#include 14 | //#include 15 | 16 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/SrcInc.cpp: -------------------------------------------------------------------------------- 1 | 2 | ///////////////////////////////////////////////////////////////////////////// 3 | // This file should contain the CPP files for all source code-based 4 | // libraries used in the project. Any corresponding header files for the 5 | // libraries should be placed in SrcInc.h. 6 | // 7 | 8 | #include "pch.h" 9 | #include 10 | #include <..\TCAtl\PropertyClass.cpp> 11 | #include <..\TCAtl\TCNullStreamImpl.cpp> 12 | #include <..\TCAtl\UserAcct.cpp> 13 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/debugger.vbs: -------------------------------------------------------------------------------- 1 | ' Connect to the Pig Server 2 | Set app = CreateObject("Pigs.Session") 3 | 4 | ' Get the collection of pigs 5 | Set pigs = app.Pigs 6 | 7 | ' Get the first pig in the collection 8 | Dim pig, ship 9 | If pigs.Count Then 10 | Set pig = pigs(0) 11 | Set ship = pig.ship 12 | Else 13 | Set pig = Nothing 14 | Set ship = Nothing 15 | End If 16 | 17 | Set pig = itPigs.item() 18 | 19 | ' Jump straight into the debugger 20 | Stop 21 | 22 | -------------------------------------------------------------------------------- /src/engine/LogFile.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class CLogFile 6 | { 7 | private: 8 | HANDLE m_hLogFile; 9 | char m_szFilePath[ MAX_PATH ]; 10 | char m_szFileName[ MAX_PATH ]; 11 | char m_szTimeStamp[256]; 12 | 13 | public: 14 | CLogFile(const char *szLogName ); 15 | ~CLogFile(void); 16 | 17 | void CloseLogFile(); 18 | void OutputString( const char * szString ); 19 | void OutputStringV( const char * szFormat, ... ); 20 | char * GetTimeStampString(); 21 | }; 22 | -------------------------------------------------------------------------------- /src/AutoUpdate/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | 3 | CComModule _Module; 4 | 5 | // #include 6 | 7 | ///////////////////////////////////////////////////////////////////////////// 8 | /* 9 | void _debugf(const char* format, ...) 10 | { 11 | const size_t size = 256; 12 | char bfr[size]; 13 | 14 | va_list vl; 15 | va_start(vl, format); 16 | _vsnprintf(bfr, size, format, vl); 17 | va_end(vl); 18 | 19 | debugf(bfr); 20 | } 21 | */ 22 | //Imago removed 6/10 23 | -------------------------------------------------------------------------------- /VS2017/How To Run a Local Lobby and Server.txt: -------------------------------------------------------------------------------- 1 | Get SteamCMD from: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip 2 | Unzip it to C:\Steam 3 | run c:\Steam\SteamCMD 4 | Run these steamCMDs from inside SteamCMD: 5 | login anonymous 6 | force_install_dir c:\Allegiance\Server 7 | app_update 730810 8 | 9 | Go to C:\Allegiance\Server 10 | Follow instructions in the readme. 11 | 12 | 13 | The batch files are looking for files in these paths, so it would be easiest not to modify them. -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/Civilization.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | // Matched up to CivID in the cores. 10 | // TODO: Add the rest should we get AIs done for these base ones. 11 | public enum Civilization : short 12 | { 13 | Belters = 101, 14 | //Bios = 35, 15 | Gigacorp = 18, 16 | IronCoalition = 25 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/SrcInc.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | ///////////////////////////////////////////////////////////////////////////// 4 | // This file should contain the include files for all source code-based 5 | // libraries used in the project. Any corresponding CPP files for the 6 | // libraries should be placed in SrcInc.cpp. 7 | // 8 | 9 | #include 10 | #include <..\TCAtl\PropertyClass.h> 11 | #include <..\TCAtl\TCNullStreamImpl.h> 12 | #include <..\TCAtl\ObjectMap.h> 13 | #include <..\TCAtl\UserAcct.h> 14 | 15 | -------------------------------------------------------------------------------- /src/lobby/lobqguids.cpp: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------- 2 | LobQGuids.cpp 3 | 4 | Guids for LobQueries 5 | 6 | Owner: 7 | 8 | Copyright 1986-2000 Microsoft Corporation, All Rights Reserved 9 | *-----------------------------------------------------------------------*/ 10 | 11 | #include "pch.h" 12 | 13 | #define SQLGUID(X) GUID X::s_guid = GUID_NULL; 14 | 15 | //Imago removed - 7/5/08 16 | //#ifdef USEAUTH 17 | SQLGUID(CQLobbyLogon) 18 | //#endif 19 | 20 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/Zeroes_512.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/AGC/Pre-build.bat: -------------------------------------------------------------------------------- 1 | cscript /e:jscript /NoLogo ..\src\AGC\XMLXForm.js ..\src\AGC\AGCEvents.xml ..\src\AGC\AGCEventsCPP.xsl %1AGCEventsCPP.h 2 | cscript /e:jscript /NoLogo ..\src\AGC\XMLXForm.js ..\src\AGC\AGCEvents.xml ..\src\AGC\AGCEventsRC2.xsl %1AGCEventsRC2.rc2 3 | cscript /e:jscript /NoLogo ..\src\AGC\XMLXForm.js ..\src\AGC\AGCEvents.xml ..\src\AGC\AGCEventsRCH.xsl %1AGCEventsRCH.h 4 | cscript /e:jscript /NoLogo ..\src\AGC\XMLXForm.js ..\src\AGC\AGCEvents.xml ..\src\AGC\AGCEventsMC.xsl %1AGCEventsMC.mc 5 | mc.exe -r %1 -h %1 %1AGCEventsMC.mc 6 | -------------------------------------------------------------------------------- /src/clintlib/pch.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ** Copyright (C) 1996, 1997 Microsoft Corporation. All Rights Reserved. 3 | ** 4 | ** File: stdafx.cpp 5 | ** 6 | ** Author: 7 | ** 8 | ** Description: 9 | ** The standard ATL stdafx file. This file was initially created by 10 | ** the ATL wizard. 11 | ** 12 | ** History: 13 | */ 14 | // stdafx.cpp : source file that includes just the standard includes 15 | // stdafx.pch will be the pre-compiled header 16 | // stdafx.obj will contain the pre-compiled type information 17 | 18 | #include "pch.h" 19 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/ShipState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum ShipState 10 | { 11 | c_ssDead = 1, //A nice enumeration of all the things it could have been doing 12 | c_ssDocked = 2, //when it was last seen (if only briefly) 13 | c_ssFlying = 3, 14 | c_ssObserver = 4, 15 | c_ssTurret = 5 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/clintlib/badwords.h: -------------------------------------------------------------------------------- 1 | #ifndef _BADWORDS_H_ 2 | #define _BADWORDS_H_ 3 | 4 | //------------------------------------------------------------------------------ 5 | // functions to handle bad words 6 | //------------------------------------------------------------------------------ 7 | void LoadBadWords (void); 8 | ZString CensorBadWords (const ZString& string); 9 | void ToggleCensorDisplay (void); 10 | bool CensorDisplay (void); 11 | 12 | //------------------------------------------------------------------------------ 13 | 14 | #endif // _BADWORDS_H_ -------------------------------------------------------------------------------- /src/Wopr/AllegianceInterop/clintlibWrapper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "clintlib.h" 4 | 5 | using namespace System; 6 | 7 | namespace AllegianceInterop 8 | { 9 | public ref class MissionInfoWrapper 10 | { 11 | public: 12 | ::MissionInfo * m_instance; 13 | 14 | public: 15 | MissionInfoWrapper(::MissionInfo * instance); 16 | 17 | String ^ Name() { return gcnew String(m_instance->Name()); } 18 | String ^ Description() { return gcnew String(m_instance->Description()); } 19 | int GetCookie() { return m_instance->GetCookie(); } 20 | }; 21 | } -------------------------------------------------------------------------------- /src/AGC/pch.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // pch.cpp : source file that includes just the standard includes 3 | // pch.pch will be the pre-compiled header 4 | // pch.obj will contain the pre-compiled type information 5 | 6 | #include "pch.h" 7 | 8 | //#include 9 | #include 10 | #include <..\TCAtl\PropertyClass.cpp> 11 | #include <..\TCAtl\TCNullStreamImpl.cpp> 12 | 13 | #ifdef _ATL_STATIC_REGISTRY 14 | #include 15 | // #include Imago removed (again) 16 | #endif 17 | -------------------------------------------------------------------------------- /src/AGC/AGCGame.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCGame.1 = s 'AGCGame Class' 4 | { 5 | CLSID = s '{4F860D2E-0A42-11D3-8B58-00C04F681633}' 6 | } 7 | AGC.AGCGame = s 'AGCGame Class' 8 | { 9 | CLSID = s '{4F860D2E-0A42-11D3-8B58-00C04F681633}' 10 | CurVer = s 'AGC.AGCGame.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {4F860D2E-0A42-11D3-8B58-00C04F681633} = s 'AGCGame Class' 15 | { 16 | ProgID = s 'AGC.AGCGame.1' 17 | VersionIndependentProgID = s 'AGC.AGCGame' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCShip.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCShip.1 = s 'AGCShip Class' 4 | { 5 | CLSID = s '{5C271C62-0A42-11D3-8B58-00C04F681633}' 6 | } 7 | AGC.AGCShip = s 'AGCShip Class' 8 | { 9 | CLSID = s '{5C271C62-0A42-11D3-8B58-00C04F681633}' 10 | CurVer = s 'AGC.AGCShip.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {5C271C62-0A42-11D3-8B58-00C04F681633} = s 'AGCShip Class' 15 | { 16 | ProgID = s 'AGC.AGCShip.1' 17 | VersionIndependentProgID = s 'AGC.AGCShip' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCTeam.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCTeam.1 = s 'AGCTeam Class' 4 | { 5 | CLSID = s '{5C2B1828-EBA5-11D2-8B4B-00C04F681633}' 6 | } 7 | AGC.AGCTeam = s 'AGCTeam Class' 8 | { 9 | CLSID = s '{5C2B1828-EBA5-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AGC.AGCTeam.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {5C2B1828-EBA5-11D2-8B4B-00C04F681633} = s 'AGCTeam Class' 15 | { 16 | ProgID = s 'AGC.AGCTeam.1' 17 | VersionIndependentProgID = s 'AGC.AGCTeam' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/EquipmentType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum EquipmentType : short 10 | { 11 | ET_Turret = -2, 12 | NA = -1, 13 | ET_ChaffLauncher = 0, 14 | ET_Weapon = 1, 15 | ET_Magazine = 2, 16 | ET_Dispenser = 3, 17 | ET_Shield = 4, 18 | ET_Cloak = 5, 19 | ET_Pack = 6, 20 | ET_Afterburner = 7, 21 | ET_MAX = 8 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/lobby/pch.cpp: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------- 2 | * pch.cpp 3 | * 4 | * Precompiled header for fedsrv 5 | * 6 | * Owner: 7 | * 8 | * Copyright 1986-1998 Microsoft Corporation, All Rights Reserved 9 | *-----------------------------------------------------------------------*/ 10 | 11 | #include "pch.h" 12 | 13 | #include 14 | 15 | #ifdef _ATL_STATIC_REGISTRY 16 | #include 17 | //#include Imago removed (again) 18 | #endif 19 | 20 | //#include 21 | #include <../TCAtl/UserAcct.cpp> 22 | -------------------------------------------------------------------------------- /src/AGC/AGCShips.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCShips.1 = s 'AGCShips Class' 4 | { 5 | CLSID = s '{5BEA791C-1EBF-11d3-8B63-00C04F681633}' 6 | } 7 | AGC.AGCShips = s 'AGCShips Class' 8 | { 9 | CLSID = s '{5BEA791C-1EBF-11d3-8B63-00C04F681633}' 10 | CurVer = s 'AGC.AGCShips.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {5BEA791C-1EBF-11d3-8B63-00C04F681633} = s 'AGCShips Class' 15 | { 16 | ProgID = s 'AGC.AGCShips.1' 17 | VersionIndependentProgID = s 'AGC.AGCShips' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCTeams.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCTeams.1 = s 'AGCTeams Class' 4 | { 5 | CLSID = s '{7151948E-EBA5-11D2-8B4B-00C04F681633}' 6 | } 7 | AGC.AGCTeams = s 'AGCTeams Class' 8 | { 9 | CLSID = s '{7151948E-EBA5-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AGC.AGCTeams.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {7151948E-EBA5-11D2-8B4B-00C04F681633} = s 'AGCTeams Class' 15 | { 16 | ProgID = s 'AGC.AGCTeams.1' 17 | VersionIndependentProgID = s 'AGC.AGCTeams' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/FedSrv/pch.cpp: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------- 2 | * pch.cpp 3 | * 4 | * Precompiled header for fedsrv 5 | * 6 | * Owner: 7 | * 8 | * Copyright 1986-1998 Microsoft Corporation, All Rights Reserved 9 | *-----------------------------------------------------------------------*/ 10 | 11 | #include "pch.h" 12 | 13 | #include 14 | 15 | #ifdef _ATL_STATIC_REGISTRY 16 | #include 17 | //#include Imago removed (again) 18 | #endif 19 | 20 | //#include 21 | 22 | #include <../TCAtl/UserAcct.cpp> 23 | -------------------------------------------------------------------------------- /src/training/notcondition.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved. 3 | ** 4 | ** File: notcondition.h 5 | ** 6 | ** Author: 7 | ** 8 | ** Description: 9 | ** Header file for the training library "notcondition" interface. 10 | ** 11 | ** History: 12 | */ 13 | #ifndef _NOT_CONDITION_H_ 14 | #define _NOT_CONDITION_H_ 15 | 16 | #ifndef _PREDICATE_H_ 17 | #include "Predicate.h" 18 | #endif //_PREDICATE_H_ 19 | 20 | namespace Training 21 | { 22 | #define NotCondition(pCondition) Predicate (pCondition, false) 23 | } 24 | 25 | #endif //_NOT_CONDITION_H_ 26 | -------------------------------------------------------------------------------- /src/AGC/AGCAleph.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCAleph.1 = s 'AGCAleph Class' 4 | { 5 | CLSID = s '{46AF05A8-0325-11D3-8B57-00C04F681633}' 6 | } 7 | AGC.AGCAleph = s 'AGCAleph Class' 8 | { 9 | CLSID = s '{46AF05A8-0325-11D3-8B57-00C04F681633}' 10 | CurVer = s 'AGC.AGCAleph.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {46AF05A8-0325-11D3-8B57-00C04F681633} = s 'AGCAleph Class' 15 | { 16 | ProgID = s 'AGC.AGCAleph.1' 17 | VersionIndependentProgID = s 'AGC.AGCAleph' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCAlephs.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCAlephs.1 = s 'AGCAlephs Class' 4 | { 5 | CLSID = s '{991B6C06-026B-11D3-8B55-00C04F681633}' 6 | } 7 | AGC.AGCAlephs = s 'AGCAlephs Class' 8 | { 9 | CLSID = s '{991B6C06-026B-11D3-8B55-00C04F681633}' 10 | CurVer = s 'AGC.AGCAlephs.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {991B6C06-026B-11D3-8B55-00C04F681633} = s 'AGCAlephs Class' 15 | { 16 | ProgID = s 'AGC.AGCAlephs.1' 17 | VersionIndependentProgID = s 'AGC.AGCAlephs' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCModel.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCModel.1 = s 'AGCModel Class' 4 | { 5 | CLSID = s '{DF2F4B4D-0A42-11D3-8B58-00C04F681633}' 6 | } 7 | AGC.AGCModel = s 'AGCModel Class' 8 | { 9 | CLSID = s '{DF2F4B4D-0A42-11D3-8B58-00C04F681633}' 10 | CurVer = s 'AGC.AGCModel.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {DF2F4B4D-0A42-11D3-8B58-00C04F681633} = s 'AGCModel Class' 15 | { 16 | ProgID = s 'AGC.AGCModel.1' 17 | VersionIndependentProgID = s 'AGC.AGCModel' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCModels.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCModels.1 = s 'AGCModels Class' 4 | { 5 | CLSID = s '{FF8126CC-1ED2-43c5-B07E-D7B2E8487EE5}' 6 | } 7 | AGC.AGCModels = s 'AGCModels Class' 8 | { 9 | CLSID = s '{FF8126CC-1ED2-43c5-B07E-D7B2E8487EE5}' 10 | CurVer = s 'AGC.AGCModels.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {FF8126CC-1ED2-43c5-B07E-D7B2E8487EE5} = s 'AGCModels Class' 15 | { 16 | ProgID = s 'AGC.AGCModels.1' 17 | VersionIndependentProgID = s 'AGC.AGCModels' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCProbe.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCProbe.1 = s 'AGCProbe Class' 4 | { 5 | CLSID = s '{A23C1044-ED2D-4f80-813B-FBB5DE7B8CFB}' 6 | } 7 | AGC.AGCProbe = s 'AGCProbe Class' 8 | { 9 | CLSID = s '{A23C1044-ED2D-4f80-813B-FBB5DE7B8CFB}' 10 | CurVer = s 'AGC.AGCProbe.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {A23C1044-ED2D-4f80-813B-FBB5DE7B8CFB} = s 'AGCProbe Class' 15 | { 16 | ProgID = s 'AGC.AGCProbe.1' 17 | VersionIndependentProgID = s 'AGC.AGCProbe' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCProbes.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCProbes.1 = s 'AGCProbes Class' 4 | { 5 | CLSID = s '{BB92CE8C-CC20-497a-B7CC-26F29E1D8877}' 6 | } 7 | AGC.AGCProbes = s 'AGCProbes Class' 8 | { 9 | CLSID = s '{BB92CE8C-CC20-497a-B7CC-26F29E1D8877}' 10 | CurVer = s 'AGC.AGCProbes.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {BB92CE8C-CC20-497a-B7CC-26F29E1D8877} = s 'AGCProbes Class' 15 | { 16 | ProgID = s 'AGC.AGCProbes.1' 17 | VersionIndependentProgID = s 'AGC.AGCProbes' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCSector.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCSector.1 = s 'AGCSector Class' 4 | { 5 | CLSID = s '{338DA8FE-EBA5-11D2-8B4B-00C04F681633}' 6 | } 7 | AGC.AGCSector = s 'AGCSector Class' 8 | { 9 | CLSID = s '{338DA8FE-EBA5-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AGC.AGCSector.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {338DA8FE-EBA5-11D2-8B4B-00C04F681633} = s 'AGCSector Class' 15 | { 16 | ProgID = s 'AGC.AGCSector.1' 17 | VersionIndependentProgID = s 'AGC.AGCSector' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Pigs/PigJSDocGenerator/Entities/Signature.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace PigJSDocGenerator.Entities 8 | { 9 | public class Signature 10 | { 11 | public bool GetProperty = false; 12 | public bool SetProperty = false; 13 | public bool IsFunction = false; 14 | public string Name; 15 | public List Paramaters = new List(); 16 | public string ReturnType; 17 | public string HelpString; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/test/TCLib/RelPath.h: -------------------------------------------------------------------------------- 1 | #ifndef __RelPath_h__ 2 | #define __RelPath_h__ 3 | 4 | ///////////////////////////////////////////////////////////////////////////// 5 | // RelPath.h : Declarations of relative pathname functions. 6 | // 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // Relative Path Creation 11 | 12 | bool TCMakeRelativePath(LPCTSTR pszPath, LPCTSTR pszFrom, LPTSTR pszDest, 13 | int cchMaxDest, bool bBeginWithDot); 14 | 15 | 16 | ///////////////////////////////////////////////////////////////////////////// 17 | 18 | #endif // !__RelPath_h__ 19 | -------------------------------------------------------------------------------- /src/WinTrek/SteamClans.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifdef STEAM_APP_ID 3 | 4 | // BT - STEAM 5 | 6 | class SteamClans 7 | { 8 | private: 9 | TVector m_availableCallsignTags; 10 | bool m_officerDataReceived = false; 11 | 12 | void OnClanOfficerListResponse(ClanOfficerListResponse_t *pCallback, bool bIOFailure); 13 | CCallResult< SteamClans, ClanOfficerListResponse_t > m_SteamCallResultClanOfficerListResponse; 14 | 15 | public: 16 | SteamClans(); 17 | 18 | TVector * GetAvailableCallsignTags(); 19 | }; 20 | 21 | #endif -------------------------------------------------------------------------------- /src/lobby/alllobby.rc: -------------------------------------------------------------------------------- 1 | //Microsoft Visual C++ generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | ///////////////////////////////////////////////////////////////////////////// 6 | // 7 | // String Table 8 | // 9 | 10 | STRINGTABLE DISCARDABLE 11 | BEGIN 12 | IDS_SERVICENAME "AllLobby" 13 | IDS_SERVICEDESC "MS Allegiance Lobby Server" 14 | END 15 | 16 | ///////////////////////////////////////////////////////////////////////////// 17 | 18 | IDR_Lobby REGISTRY "Lobby.rgs" 19 | 20 | 21 | ICO_LOBBY ICON DISCARDABLE "lobby.ico" 22 | 23 | #include "alllobby.rc2" 24 | -------------------------------------------------------------------------------- /src/AGC/AGCSectors.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCSectors.1 = s 'AGCSectors Class' 4 | { 5 | CLSID = s '{4214FD6E-EBA5-11D2-8B4B-00C04F681633}' 6 | } 7 | AGC.AGCSectors = s 'AGCSectors Class' 8 | { 9 | CLSID = s '{4214FD6E-EBA5-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AGC.AGCSectors.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {4214FD6E-EBA5-11D2-8B4B-00C04F681633} = s 'AGCSectors Class' 15 | { 16 | ProgID = s 'AGC.AGCSectors.1' 17 | VersionIndependentProgID = s 'AGC.AGCSectors' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCStation.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCStation.1 = s 'AGCStation Class' 4 | { 5 | CLSID = s '{88400BB2-026B-11D3-8B55-00C04F681633}' 6 | } 7 | AGC.AGCStation = s 'AGCStation Class' 8 | { 9 | CLSID = s '{88400BB2-026B-11D3-8B55-00C04F681633}' 10 | CurVer = s 'AGC.AGCStation.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {88400BB2-026B-11D3-8B55-00C04F681633} = s 'AGCStation Class' 15 | { 16 | ProgID = s 'AGC.AGCStation.1' 17 | VersionIndependentProgID = s 'AGC.AGCStation' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/WinTrek/sectorvw.h: -------------------------------------------------------------------------------- 1 | #ifndef SECTORVW_H 2 | #define SECTORVW_H 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // SectorViewImage 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class SectorViewImage : public WrapImage { 11 | protected: 12 | SectorViewImage() : 13 | WrapImage(Image::GetEmpty()) 14 | { 15 | } 16 | 17 | public: 18 | static TRef Create(Engine* pengine); 19 | 20 | virtual void SetWindowSize(const Point& point) = 0; 21 | 22 | }; 23 | 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /src/AGC/AGCAsteroid.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCAsteroid.1 = s 'AGCAsteroid Class' 4 | { 5 | CLSID = s '{12430BFC-38B5-11d3-A51D-00C04F68DEB0}' 6 | } 7 | AGC.AGCAsteroid = s 'AGCAsteroid Class' 8 | { 9 | CLSID = s '{12430BFC-38B5-11d3-A51D-00C04F68DEB0}' 10 | CurVer = s 'AGC.AGCAsteroid.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {12430BFC-38B5-11d3-A51D-00C04F68DEB0} = s 'AGCAsteroid Class' 15 | { 16 | ProgID = s 'AGC.AGCAsteroid.1' 17 | VersionIndependentProgID = s 'AGC.AGCAsteroid' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCHullType.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCHullType.1 = s 'AGCHullType Class' 4 | { 5 | CLSID = s '{6E5B27C8-2ED9-11d3-A51C-00C04F68DEB0}' 6 | } 7 | AGC.AGCHullType = s 'AGCHullType Class' 8 | { 9 | CLSID = s '{6E5B27C8-2ED9-11d3-A51C-00C04F68DEB0}' 10 | CurVer = s 'AGC.AGCHullType.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {6E5B27C8-2ED9-11d3-A51C-00C04F68DEB0} = s 'AGCHullType Class' 15 | { 16 | ProgID = s 'AGC.AGCHullType.1' 17 | VersionIndependentProgID = s 'AGC.AGCHullType' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCStations.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCStations.1 = s 'AGCStations Class' 4 | { 5 | CLSID = s '{7A0159B4-0272-11D3-8B55-00C04F681633}' 6 | } 7 | AGC.AGCStations = s 'AGCStations Class' 8 | { 9 | CLSID = s '{7A0159B4-0272-11D3-8B55-00C04F681633}' 10 | CurVer = s 'AGC.AGCStations.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {7A0159B4-0272-11D3-8B55-00C04F681633} = s 'AGCStations Class' 15 | { 16 | ProgID = s 'AGC.AGCStations.1' 17 | VersionIndependentProgID = s 'AGC.AGCStations' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/WinTrek/passworddialog.h: -------------------------------------------------------------------------------- 1 | #ifndef _passworddialog_h_ 2 | #define _passworddialog_h_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // Password Dialog 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class PasswordDialogSink 11 | { 12 | public: 13 | virtual void OnCancelPassword() = 0; 14 | virtual void OnPassword(ZString strPassword) = 0; 15 | }; 16 | 17 | TRef CreatePasswordPopup(PasswordDialogSink* psink, const ZString& strPassword, MissionInfo* pmission = NULL); 18 | 19 | #endif _passworddialog_h_ 20 | -------------------------------------------------------------------------------- /src/engine/VideoSettingsDX9.h: -------------------------------------------------------------------------------- 1 | #ifndef _VIDEOSETTINGS_H_ 2 | #define _VIDEOSETTINGS_H_ 3 | 4 | #include 5 | #include 6 | 7 | #include "Configuration.h" 8 | 9 | //Imago added bool bStartFullscreen, bool bRaise 6/29/09, only prompts when "Safe Mode" and restored the -windowed command line switch 10 | //Rock: Removed bRaise, maybe reintroduce when it would be used again. Config instead of registry path. 11 | bool PromptUserForVideoSettings(bool bStartFullscreen, int iAdapter, HINSTANCE hInstance, PathString & szArtPath, TRef config ); 12 | 13 | #endif // _VIDEOSETTINGS_H_ 14 | -------------------------------------------------------------------------------- /src/AGC/AGCAsteroids.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCAsteroids.1 = s 'AGCAsteroids Class' 4 | { 5 | CLSID = s '{12430BFD-38B5-11d3-A51D-00C04F68DEB0}' 6 | } 7 | AGC.AGCAsteroids = s 'AGCAsteroids Class' 8 | { 9 | CLSID = s '{12430BFD-38B5-11d3-A51D-00C04F68DEB0}' 10 | CurVer = s 'AGC.AGCAsteroids.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {12430BFD-38B5-11d3-A51D-00C04F68DEB0} = s 'AGCAsteroids Class' 15 | { 16 | ProgID = s 'AGC.AGCAsteroids.1' 17 | VersionIndependentProgID = s 'AGC.AGCAsteroids' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/AGC/AGCHullTypes.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCHullTypes.1 = s 'AGCHullTypes Class' 4 | { 5 | CLSID = s '{E428B8B2-2ED9-11d3-A51C-00C04F68DEB0}' 6 | } 7 | AGC.AGCHullTypes = s 'AGCHullTypes Class' 8 | { 9 | CLSID = s '{E428B8B2-2ED9-11d3-A51C-00C04F68DEB0}' 10 | CurVer = s 'AGC.AGCHullTypes.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {E428B8B2-2ED9-11d3-A51C-00C04F68DEB0} = s 'AGCHullTypes Class' 15 | { 16 | ProgID = s 'AGC.AGCHullTypes.1' 17 | VersionIndependentProgID = s 'AGC.AGCHullTypes' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/Zone/Medal.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | class IMedalBase // inherited by IZoneMedal 6 | { 7 | public: 8 | virtual void SetName(const char * szName) = 0; 9 | virtual void SetDescription(const char * m_szDescription) = 0; 10 | virtual void SetRanking(int nRanking) = 0; // used for sorting 11 | virtual void SetImageFileName(const char * szFileName) = 0; 12 | 13 | virtual char * GetName() = 0; 14 | virtual char * GetDescription() = 0; 15 | virtual int GetRanking() = 0; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Entities/StaticCoreInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.IO; 7 | 8 | namespace Wopr.Entities 9 | { 10 | public class StaticCoreInfo : MessageElement 11 | { 12 | public string cbIGCFile; // c_cbFileName = 13 13 | 14 | internal static StaticCoreInfo Read(BinaryReader br) 15 | { 16 | StaticCoreInfo returnValue = new StaticCoreInfo(); 17 | 18 | returnValue.cbIGCFile = ReadString(br, 13); 19 | 20 | return returnValue; 21 | } 22 | }; 23 | } 24 | -------------------------------------------------------------------------------- /src/Pigs/PigConfig/PigConfig.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PigConfig.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | #define SZFILEDESCRIPTION "Allegiance Pig Server Configuration Utility" 16 | #define SZORIGFILENAME "PigConfig.exe" 17 | #define SZINTERNALNAME "PigConfig" 18 | 19 | -------------------------------------------------------------------------------- /src/ui/Exposer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define SOL_CHECK_ARGUMENTS 1 4 | #define SOL_ENABLE_INTEROP 1 5 | 6 | #include "sol.hpp" 7 | 8 | class Exposer { 9 | protected: 10 | std::shared_ptr m_pobject; 11 | 12 | public: 13 | Exposer(std::shared_ptr& pobject) : m_pobject(pobject) { 14 | } 15 | 16 | template 17 | Exposer(T object) { 18 | m_pobject = std::make_shared(object); 19 | } 20 | 21 | virtual sol::object ExposeSolObject(lua_State* L) = 0; 22 | 23 | template 24 | operator const T&() const { 25 | return *std::static_pointer_cast(m_pobject); 26 | } 27 | }; -------------------------------------------------------------------------------- /src/WinTrek/gametypes.h: -------------------------------------------------------------------------------- 1 | #ifndef GAMETYPES_H 2 | #define GAMETYPES_H 3 | 4 | ///////////////////////////////////////////////////////////////////////////// 5 | // 6 | // ImageStringPane 7 | // 8 | ///////////////////////////////////////////////////////////////////////////// 9 | class GameType : public IObject 10 | { 11 | public: 12 | virtual ZString GetName() = 0; 13 | virtual bool IsGameType(const MissionParams& misparams) = 0; 14 | virtual void Apply(MissionParams& misparams) = 0; 15 | 16 | static TRef FindType(const MissionParams& misparams); 17 | static TList >& GetGameTypes(); 18 | }; 19 | 20 | #endif GAMETYPES_H -------------------------------------------------------------------------------- /src/WinTrek/wintrekp.h: -------------------------------------------------------------------------------- 1 | #ifndef _WinTrekP_H__ 2 | #define _WinTrekP_H__ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // Wintrek Private Headers 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class ThingSitePrivate : public ThingSite { 11 | public: 12 | virtual void UpdateScreenPosition( 13 | const Point& pointScreenPosition, 14 | float fScreenRadius, 15 | float distanceToEdge, 16 | unsigned char ucRadarState 17 | ) { 18 | } 19 | virtual TRef GetSoundSource(void) = 0; 20 | }; 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /VS2022/Shared.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | stdcpp17 9 | ..\src;%(AdditionalIncludeDirectories) 10 | __MODULE__="$(ProjectName)";%(PreprocessorDefinitions) 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/FedSrv/AdminGame.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.Game.1 = s 'Game Class' 4 | { 5 | CLSID = s '{9F17114A-E6CE-11D2-8B4B-00C04F681633}' 6 | } 7 | AllSrv.Game = s 'Game Class' 8 | { 9 | CLSID = s '{9F17114A-E6CE-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AllSrv.Game.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {9F17114A-E6CE-11D2-8B4B-00C04F681633} = s 'Game Class' 15 | { 16 | ProgID = s 'AllSrv.Game.1' 17 | VersionIndependentProgID = s 'AllSrv.Game' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/FedSrv/AdminShip.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.Ship.1 = s 'Ship Class' 4 | { 5 | CLSID = s '{3E389806-2DB4-11d3-8B66-00C04F681633}' 6 | } 7 | AllSrv.Ship = s 'Ship Class' 8 | { 9 | CLSID = s '{3E389806-2DB4-11d3-8B66-00C04F681633}' 10 | CurVer = s 'AllSrv.Ship.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {3E389806-2DB4-11d3-8B66-00C04F681633} = s 'Ship Class' 15 | { 16 | ProgID = s 'AllSrv.Ship.1' 17 | VersionIndependentProgID = s 'AllSrv.Ship' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/FedSrv/AdminUser.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.User.1 = s 'User Class' 4 | { 5 | CLSID = s '{E71EA5B8-EBA4-11D2-8B4B-00C04F681633}' 6 | } 7 | AllSrv.User = s 'User Class' 8 | { 9 | CLSID = s '{E71EA5B8-EBA4-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AllSrv.User.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {E71EA5B8-EBA4-11D2-8B4B-00C04F681633} = s 'User Class' 15 | { 16 | ProgID = s 'AllSrv.User.1' 17 | VersionIndependentProgID = s 'AllSrv.User' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/FedSrv/srvqguids.cpp: -------------------------------------------------------------------------------- 1 | /*------------------------------------------------------------------------- 2 | srvqguids.cpp 3 | 4 | Guids for srvqueries 5 | 6 | Owner: 7 | 8 | Copyright 1986-2000 Microsoft Corporation, All Rights Reserved 9 | *-----------------------------------------------------------------------*/ 10 | 11 | #include "pch.h" 12 | 13 | #define SQLGUID(X) GUID X::s_guid = GUID_NULL; 14 | 15 | SQLGUID(CQLogonStats) 16 | SQLGUID(CQCharSquads) 17 | SQLGUID(CQCharStats) 18 | SQLGUID(CQReportSquadGame) 19 | SQLGUID(CQGameResults) 20 | SQLGUID(CQTeamResults) 21 | SQLGUID(CQPlayerResults) 22 | SQLGUID(CQGetInvitationList) 23 | SQLGUID(CQLogEvent) 24 | 25 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/Pig.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.Pig.1 = s 'Pig Player Class' 4 | { 5 | CLSID = s '{15219788-D562-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.Pig = s 'Pig Player Class' 8 | { 9 | CLSID = s '{15219788-D562-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.Pig.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {15219788-D562-11d2-9646-00C04F68DEB0} = s 'Pig Player Class' 15 | { 16 | ProgID = s 'Pigs.Pig.1' 17 | VersionIndependentProgID = s 'Pigs.Pig' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigObject.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.$$Object$$.1 = s 'Pig $$Friendly$$ Class' 4 | { 5 | CLSID = s '{$$CLSID_Object$$}' 6 | } 7 | Pigs.$$Object$$ = s 'Pig $$Friendly$$ Class' 8 | { 9 | CLSID = s '{$$CLSID_Object$$}' 10 | CurVer = s 'Pigs.$$Object$$.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {$$CLSID_Object$$} = s 'Pig $$Friendly$$ Class' 15 | { 16 | ProgID = s 'Pigs.$$Object$$.1' 17 | VersionIndependentProgID = s 'Pigs.$$Object$$' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSrv.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PigSrv.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | #define SZFILEDESCRIPTION "Allegiance Pig Server Component Objects" 16 | #define SZORIGFILENAME "PigSrv.exe" 17 | #define SZINTERNALNAME "PigSrv" 18 | 19 | #include "..\..\Inc\VerRes.rc" 20 | 21 | -------------------------------------------------------------------------------- /src/engine/pixel.h: -------------------------------------------------------------------------------- 1 | #ifndef _pixel_h_ 2 | #define _pixel_h_ 3 | 4 | #include 5 | 6 | ////////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Pixel 9 | // 10 | ////////////////////////////////////////////////////////////////////////////// 11 | 12 | class Pixel { 13 | private: 14 | uint32_t m_dw; 15 | 16 | Pixel(uint32_t dw) : 17 | m_dw(dw) 18 | { 19 | } 20 | 21 | public: 22 | Pixel(const Pixel& pixel) : 23 | m_dw(pixel.m_dw) 24 | { 25 | } 26 | 27 | static Pixel Create(uint32_t dw) { return Pixel(dw); } 28 | 29 | uint32_t Value() const { return m_dw; } 30 | }; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/test/TCObj/TCObj.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // TCObj.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | #define SZFILEDESCRIPTION "Allegiance Test Common Component Objects" 16 | #define SZORIGFILENAME "TCObj.dll" 17 | #define SZINTERNALNAME "TCObj" 18 | 19 | #include "..\..\Inc\VerRes.rc" 20 | 21 | -------------------------------------------------------------------------------- /src/AGC/AGCGlobal.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCGlobal.1 = s 'AGCGlobal Class' 4 | { 5 | CLSID = s '{08118086-1FE1-11d3-AF03-0000F810C3F4}' 6 | } 7 | AGC.AGCGlobal = s 'AGCGlobal Class' 8 | { 9 | CLSID = s '{08118086-1FE1-11d3-AF03-0000F810C3F4}' 10 | CurVer = s 'AGC.AGCGlobal.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {08118086-1FE1-11d3-AF03-0000F810C3F4} = s 'AGC Global Class' 15 | { 16 | ProgID = s 'AGC.AGCGlobal.1' 17 | VersionIndependentProgID = s 'AGC.AGCGlobal' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigShip.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.Ship.1 = s 'Pig Ship Class' 4 | { 5 | CLSID = s '{E57D7452-E3AC-11d2-A507-00C04F68DEB0}' 6 | } 7 | Pigs.Ship = s 'Pig Ship Class' 8 | { 9 | CLSID = s '{E57D7452-E3AC-11d2-A507-00C04F68DEB0}' 10 | CurVer = s 'Pigs.Ship.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {E57D7452-E3AC-11d2-A507-00C04F68DEB0} = s 'Pig Ship Class' 15 | { 16 | ProgID = s 'Pigs.Ship.1' 17 | VersionIndependentProgID = s 'Pigs.Ship' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/PigsLib.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PigsLib.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | #define SZFILEDESCRIPTION "Allegiance PigsLib Component Objects" 16 | #define SZORIGFILENAME "PigsLib.dll" 17 | #define SZINTERNALNAME "PigsLib" 18 | 19 | //#include "..\..\Inc\VerRes.rc" 20 | 21 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/CommandID.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum CommandID 10 | { 11 | c_cidDoNothing = -3, 12 | c_cidMyAccepted = -2, 13 | c_cidNone = -1, 14 | c_cidDefault = 0, 15 | c_cidAttack = 1, 16 | c_cidCapture = 2, 17 | c_cidDefend = 3, 18 | c_cidPickup = 4, 19 | c_cidGoto = 5, 20 | c_cidRepair = 6, 21 | c_cidJoin = 7, 22 | c_cidMine = 8, 23 | c_cidBuild = 9, 24 | 25 | c_cidMax = 10 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/FedSrv/AdminGames.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.Games.1 = s 'Games Class' 4 | { 5 | CLSID = s '{67757064-E6FC-11D2-8B4B-00C04F681633}' 6 | } 7 | AllSrv.Games = s 'Games Class' 8 | { 9 | CLSID = s '{67757064-E6FC-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AllSrv.Games.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {67757064-E6FC-11D2-8B4B-00C04F681633} = s 'Games Class' 15 | { 16 | ProgID = s 'AllSrv.Games.1' 17 | VersionIndependentProgID = s 'AllSrv.Games' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/FedSrv/AdminUsers.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.Users.1 = s 'Users Class' 4 | { 5 | CLSID = s '{0BD51B94-EBA5-11D2-8B4B-00C04F681633}' 6 | } 7 | AllSrv.Users = s 'Users Class' 8 | { 9 | CLSID = s '{0BD51B94-EBA5-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AllSrv.Users.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {0BD51B94-EBA5-11D2-8B4B-00C04F681633} = s 'Users Class' 15 | { 16 | ProgID = s 'AllSrv.Users.1' 17 | VersionIndependentProgID = s 'AllSrv.Users' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAccts.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PigAccts.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | #define SZFILEDESCRIPTION "Allegiance PigAccts Component Objects" 16 | #define SZORIGFILENAME "PigAccts.exe" 17 | #define SZINTERNALNAME "PigAccts" 18 | 19 | //#include "..\..\Inc\VerRes.rc" 20 | 21 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigTimer.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.Timer.1 = s 'Pig Timer Class' 4 | { 5 | CLSID = s '{75A3CFA0-D306-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.Timer = s 'Pig Timer Class' 8 | { 9 | CLSID = s '{75A3CFA0-D306-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.Timer.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {75A3CFA0-D306-11d2-9646-00C04F68DEB0} = s 'Pig Timer Class' 15 | { 16 | ProgID = s 'Pigs.Timer.1' 17 | VersionIndependentProgID = s 'Pigs.Timer' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/FedSrv/AdminServer.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.Server.1 = s 'Server Class' 4 | { 5 | CLSID = s '{5B5ED2A6-E7C0-11D2-8B4B-00C04F681633}' 6 | } 7 | AllSrv.Server = s 'Server Class' 8 | { 9 | CLSID = s '{5B5ED2A6-E7C0-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AllSrv.Server.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {5B5ED2A6-E7C0-11D2-8B4B-00C04F681633} = s 'Server Class' 15 | { 16 | ProgID = s 'AllSrv.Server.1' 17 | VersionIndependentProgID = s 'AllSrv.Server' 18 | ForceRemove 'Programmable' 19 | val AppID = s '{E4E8767E-DFDB-11d2-8B46-00C04F681633}' 20 | 'TypeLib' = s '{BB5FC41C-DDA4-11d2-8B46-00C04F681633}' 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Pigs/PigJSDocGenerator/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/Pigs.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.Pigs.1 = s 'Pigs Collection Class' 4 | { 5 | CLSID = s '{DC2A26D8-DDC0-11d2-A507-00C04F68DEB0}' 6 | } 7 | Pigs.Pigs = s 'Pigs Collection Class' 8 | { 9 | CLSID = s '{DC2A26D8-DDC0-11d2-A507-00C04F68DEB0}' 10 | CurVer = s 'Pigs.Pigs.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {DC2A26D8-DDC0-11d2-A507-00C04F68DEB0} = s 'Pigs Collection Class' 15 | { 16 | ProgID = s 'Pigs.Pigs.1' 17 | VersionIndependentProgID = s 'Pigs.Pigs' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/Scripts/debugger.js: -------------------------------------------------------------------------------- 1 | // TODO: Create the Session Information object 2 | //var info = new ActiveXObject("TCObj.SessionInfo"); 3 | //info.ApplicationName = WScript.ScriptFullName; 4 | 5 | // Connect to the Pig Server 6 | var app = new ActiveXObject("Pigs.Session"); 7 | // TODO: app.SessionInfo = objInfo; 8 | 9 | // Get the collection of pigs 10 | var pigs = app.Pigs; 11 | 12 | // Get an iterator on the collection of pigs 13 | var itPigs = new Enumerator(pigs); 14 | 15 | // Get the first pig in the iterator 16 | var pig = itPigs.item(); 17 | 18 | // Get the first pig's ship 19 | var ship = pig ? pig.Ship : null; 20 | 21 | // Jump straight into the debugger 22 | debugger; 23 | -------------------------------------------------------------------------------- /src/AGC/AGCVersionInfo.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCVersionInfo = s 'AGCVersionInfo Class' 4 | { 5 | CLSID = s '{9942F23D-B460-4bf0-8B2C-7B003A43F37C}' 6 | } 7 | NoRemove CLSID 8 | { 9 | ForceRemove {9942F23D-B460-4bf0-8B2C-7B003A43F37C} = s 'AGCVersionInfo Class' 10 | { 11 | val AppID = s '{9942F23D-B460-4bf0-8B2C-7B003A43F37C}' 12 | ProgID = s 'AGC.AGCVersionInfo' 13 | InprocServer32 = s '%MODULE%' 14 | { 15 | val ThreadingModel = s 'Both' 16 | } 17 | } 18 | } 19 | NoRemove APPID 20 | { 21 | ForceRemove {9942F23D-B460-4bf0-8B2C-7B003A43F37C} = s 'AGCVersionInfo Class' 22 | { 23 | val DllSurrogate = s '' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Lib/steam/steamuniverse.h: -------------------------------------------------------------------------------- 1 | //========= Copyright � 1996-2008, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | //============================================================================= 6 | 7 | #ifndef STEAMUNIVERSE_H 8 | #define STEAMUNIVERSE_H 9 | #ifdef _WIN32 10 | #pragma once 11 | #endif 12 | 13 | 14 | // Steam universes. Each universe is a self-contained Steam instance. 15 | enum EUniverse 16 | { 17 | k_EUniverseInvalid = 0, 18 | k_EUniversePublic = 1, 19 | k_EUniverseBeta = 2, 20 | k_EUniverseInternal = 3, 21 | k_EUniverseDev = 4, 22 | // k_EUniverseRC = 5, // no such universe anymore 23 | k_EUniverseMax 24 | }; 25 | 26 | 27 | #endif // STEAMUNIVERSE_H 28 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAccount.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.Account.1 = s 'Pig Account Class' 4 | { 5 | CLSID = s '{9C627DCC-E7DC-11d2-A508-00C04F68DEB0}' 6 | } 7 | Pigs.Account = s 'Pig Account Class' 8 | { 9 | CLSID = s '{9C627DCC-E7DC-11d2-A508-00C04F68DEB0}' 10 | CurVer = s 'Pigs.Account.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {9C627DCC-E7DC-11d2-A508-00C04F68DEB0} = s 'Pig Account Class' 15 | { 16 | ProgID = s 'Pigs.Account.1' 17 | VersionIndependentProgID = s 'Pigs.Account' 18 | val AppID = s '{9BA731AE-E7CB-11d2-A508-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/AutoUpdate/AutoUpdate.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // ALLSRVUI.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | #define SZFILEDESCRIPTION "Allegiance Auto Update Utility" 15 | #define SZORIGFILENAME "AutoUpdate.exe" 16 | #define SZINTERNALNAME "AutoUpdate" 17 | 18 | ///////////////////////////////////////////////////////////////////////////// 19 | -------------------------------------------------------------------------------- /src/Inc/SlmVer.h: -------------------------------------------------------------------------------- 1 | // mmf modified version, these set FileVersion and ProductVersion used by VerRes.rc 2 | #define rmj 1 3 | #define rmm 9 // Imago (R#) 4 | #define rel 1040143.00 // mmf added to designate release number for a given build 5 | 6 | #define rup 301135 // mmf make sure this has 6 digits otherwise version number conversion for esc display may fail, 7 | // rup is specified in octal, so for instance 11/9/2010 (US format) 8 | // Year: 2010 - use last two digits: 10, convert to octal = 12. 9 | // Month: 11 - convert to octal = 13 10 | // Day: 9 - convert to octal = 11 11 | // Actual rup value = 121311. 12 | 13 | #define szVerName "" 14 | #define szVerUser "CURTC3" 15 | -------------------------------------------------------------------------------- /src/training/falsecondition.h: -------------------------------------------------------------------------------- 1 | /* 2 | ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved. 3 | ** 4 | ** File: falsecondition.h 5 | ** 6 | ** Author: 7 | ** 8 | ** Description: 9 | ** Header file for the training library "falsecondition" interface. 10 | ** 11 | ** History: 12 | */ 13 | #ifndef _FALSE_CONDITION_H_ 14 | #define _FALSE_CONDITION_H_ 15 | 16 | #ifndef _NOT_CONDITION_H_ 17 | #include "NotCondition.h" 18 | #endif //_NOT_CONDITION_H_ 19 | 20 | #ifndef _TRUE_CONDITION_H_ 21 | #include "TrueCondition.h" 22 | #endif //_TRUE_CONDITION_H_ 23 | 24 | namespace Training 25 | { 26 | #define FalseCondition NotCondition (new TrueCondition) 27 | } 28 | 29 | #endif //_FALSE_CONDITION_H_ 30 | -------------------------------------------------------------------------------- /src/FedSrv/CSteamUserGroupStatus.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CSteamUserGroupStatus 4 | { 5 | private: 6 | CSteamID m_userID; 7 | CSteamID m_groupID; 8 | 9 | bool m_isMember = false; 10 | bool m_isOfficer = false; 11 | bool m_requestComplete = false; 12 | 13 | void GetUserGroupStatus(bool &isMember, bool &isOfficer); 14 | 15 | STEAM_GAMESERVER_CALLBACK(CSteamUserGroupStatus, OnUserGroupStatus, GSClientGroupStatus_t); 16 | 17 | public: 18 | CSteamUserGroupStatus(CSteamID userID, CSteamID groupID); 19 | 20 | static bool IsMemberOfModeratorsGroup(const char *steamID); 21 | 22 | static bool IsMemberOfDevelopersGroup(const char *strSteamID); 23 | static bool IsMemberOfDevelopersGroup(CSteamID steamID); 24 | 25 | }; -------------------------------------------------------------------------------- /src/WinTrek/load.h: -------------------------------------------------------------------------------- 1 | #ifndef _loadout_h_ 2 | #define _loadout_h_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // Loadout 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class Loadout : public Screen { 11 | public: 12 | virtual void UpdateHullType(void) = 0; 13 | virtual Pane* GetPane() = 0; 14 | }; 15 | 16 | ////////////////////////////////////////////////////////////////////////////// 17 | // 18 | // Constructor 19 | // 20 | ////////////////////////////////////////////////////////////////////////////// 21 | 22 | TRef CreateLoadout(Modeler* pmodeler, Number* ptime); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigShipEvent.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.ShipEvent.1 = s 'Pig Ship Event Class' 4 | { 5 | CLSID = s '{4F16D144-EF2F-11d2-A50D-00C04F68DEB0}' 6 | } 7 | Pigs.ShipEvent = s 'Pig Ship Event Class' 8 | { 9 | CLSID = s '{4F16D144-EF2F-11d2-A50D-00C04F68DEB0}' 10 | CurVer = s 'Pigs.ShipEvent.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {4F16D144-EF2F-11d2-A50D-00C04F68DEB0} = s 'Pig Ship Event Class' 15 | { 16 | ProgID = s 'Pigs.ShipEvent.1' 17 | VersionIndependentProgID = s 'Pigs.ShipEvent' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/effect/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_DEFINITIONS(-D__MODULE__="Effect" -DFixPermedia=1) 2 | 3 | INCLUDE_DIRECTORIES(../Inc ../zlib ../engine ../soundengine) 4 | 5 | SET(effect_SRC 6 | alephgeo.cpp 7 | combopane.cpp 8 | conegeo.cpp 9 | debrisgeo.cpp 10 | efapp.cpp 11 | efgeo.cpp 12 | efimage.cpp 13 | efpane.cpp 14 | efpopup.cpp 15 | efwindow.cpp 16 | explosion.cpp 17 | framedata.cpp 18 | gamestate.cpp 19 | help.cpp 20 | listpane.cpp 21 | mmlpopup.cpp 22 | navpane.cpp 23 | pagepane.cpp 24 | particlegeo.cpp 25 | starimage.cpp 26 | thinggeo.cpp 27 | ) 28 | 29 | ADD_LIBRARY(effect ${effect_SRC}) 30 | SET_PROPERTY(TARGET effect PROPERTY CXX_STANDARD 14) 31 | -------------------------------------------------------------------------------- /VS2010/mdledit.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {c6a62383-c2b6-4493-a5c0-3e828ace3cac} 6 | 7 | 8 | 9 | 10 | Resources 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehaviorStack.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.BehaviorStack.1 = s 'Pig Behavior Stack Class' 4 | { 5 | CLSID = s '{4E9FF98A-364D-11d3-A51D-00C04F68DEB0}' 6 | } 7 | Pigs.BehaviorStack = s 'Pig Behavior Stack Class' 8 | { 9 | CLSID = s '{4E9FF98A-364D-11d3-A51D-00C04F68DEB0}' 10 | CurVer = s 'Pigs.BehaviorStack.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {4E9FF98A-364D-11d3-A51D-00C04F68DEB0} = s 'Pig Behavior Stack Class' 15 | { 16 | ProgID = s 'Pigs.BehaviorStack.1' 17 | VersionIndependentProgID = s 'Pigs.BehaviorStack' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/Resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by PigsLib.rc 4 | // 5 | #define IDS_E_TEAMCOUNT 4108 6 | #define IDS_E_MAXTEAMPLAYERS 4109 7 | #define IDS_E_MINTEAMPLAYERS 4110 8 | #define IDS_E_MINMAXREVERSED 4111 9 | 10 | #define IDR_PigMissionParams 2000 11 | 12 | // Next default values for new objects 13 | // 14 | #ifdef APSTUDIO_INVOKED 15 | #ifndef APSTUDIO_READONLY_SYMBOLS 16 | #define _APS_NEXT_RESOURCE_VALUE 2002 17 | #define _APS_NEXT_COMMAND_VALUE 32768 18 | #define _APS_NEXT_CONTROL_VALUE 3000 19 | #define _APS_NEXT_SYMED_VALUE 101 20 | #endif 21 | #endif 22 | -------------------------------------------------------------------------------- /src/AGC/agcevent.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCEvent.1 = s 'AGCEvent Class' 4 | { 5 | CLSID = s '{AA18A676-14A7-11d3-8B5F-00C04F681633}' 6 | } 7 | AGC.AGCEvent = s 'AGCEvent Class' 8 | { 9 | CLSID = s '{AA18A676-14A7-11d3-8B5F-00C04F681633}' 10 | CurVer = s 'AGC.AGCEvent.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {AA18A676-14A7-11d3-8B5F-00C04F681633} = s 'AGCEvent Class' 15 | { 16 | ProgID = s 'AGC.AGCEvent.1' 17 | VersionIndependentProgID = s 'AGC.AGCEvent' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Pigs/Piglets/aaa.pig: -------------------------------------------------------------------------------- 1 | 2 | //imagotrigger@gmail.com 10/14 imago.pig originally from manuel.pig and mark.pig Microsoft 3 | 4 | 5 | // These files provide an intellisense bridge to COM. Use PigJSDocGenerator to update the intellisense if you modify an IDL file. --> 6 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/FedSrv/AllSrv32.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {E4E8767E-DFDB-11d2-8B46-00C04F681633} = s 'AllSrv' 6 | 'AllSrv.EXE' 7 | { 8 | val AppID = s {E4E8767E-DFDB-11d2-8B46-00C04F681633} 9 | } 10 | } 11 | } 12 | HKLM 13 | { 14 | NoRemove SYSTEM 15 | { 16 | NoRemove CurrentControlSet 17 | { 18 | NoRemove Services 19 | { 20 | NoRemove EventLog 21 | { 22 | NoRemove Application 23 | { 24 | 'AllSrv' 25 | { 26 | val EventMessageFile = s '%AGCMODULE%' 27 | val TypesSupported = d '7' 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/FedSrv/allsrv.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {E4E8767E-DFDB-11d2-8B46-00C04F681633} = s 'AllSrv' 6 | 'AllSrv.EXE' 7 | { 8 | val AppID = s {E4E8767E-DFDB-11d2-8B46-00C04F681633} 9 | } 10 | } 11 | } 12 | HKLM 13 | { 14 | NoRemove SYSTEM 15 | { 16 | NoRemove CurrentControlSet 17 | { 18 | NoRemove Services 19 | { 20 | NoRemove EventLog 21 | { 22 | NoRemove Application 23 | { 24 | 'AllSrv' 25 | { 26 | val EventMessageFile = s '%AGCMODULE%' 27 | val TypesSupported = d '7' 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehaviorScript.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.BehaviorScript.1 = s 'Pig Behavior Script Class' 4 | { 5 | CLSID = s '{29E0A265-CC16-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.BehaviorScript = s 'Pig Behavior Script Class' 8 | { 9 | CLSID = s '{29E0A265-CC16-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.BehaviorScript.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {29E0A265-CC16-11d2-9646-00C04F68DEB0} = s 'Pig Behavior Script Class' 15 | { 16 | ProgID = s 'Pigs.BehaviorScript.1' 17 | VersionIndependentProgID = s 'Pigs.BehaviorScript' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/lobby/lobby.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {EFD52202-45CB-454D-B477-33BC5C29BDF1} = s 'AllLobby' 6 | 'AllLobby.EXE' 7 | { 8 | val AppID = s {EFD52202-45CB-454D-B477-33BC5C29BDF1} 9 | } 10 | } 11 | } 12 | HKLM 13 | { 14 | NoRemove SYSTEM 15 | { 16 | NoRemove CurrentControlSet 17 | { 18 | NoRemove Services 19 | { 20 | NoRemove EventLog 21 | { 22 | NoRemove Application 23 | { 24 | 'AllLobby' 25 | { 26 | val EventMessageFile = s '%MODULE%' 27 | val TypesSupported = d '7' 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/AGC/AGCVector.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCVector.1 = s 'AGCVector Class' 4 | { 5 | CLSID = s '{12249214-13B5-11d3-8B5E-00C04F681633}' 6 | } 7 | AGC.AGCVector = s 'AGCVector Class' 8 | { 9 | CLSID = s '{12249214-13B5-11d3-8B5E-00C04F681633}' 10 | CurVer = s 'AGC.AGCVector.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {12249214-13B5-11d3-8B5E-00C04F681633} = s 'AGCVector Class' 15 | { 16 | ProgID = s 'AGC.AGCVector.1' 17 | VersionIndependentProgID = s 'AGC.AGCVector' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/AGC/TCStrings.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.Strings.1 = s 'Strings collection' 4 | { 5 | CLSID = s '{8962E245-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.Strings = s 'Strings collection' 8 | { 9 | CLSID = s '{8962E245-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.Strings.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E245-CD81-11d2-9646-00C04F68DEB0} = s 'Strings collection' 15 | { 16 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 17 | ProgID = s 'TCObj.Strings.1' 18 | VersionIndependentProgID = s 'TCObj.Strings' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSrv.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | NoRemove AppID 4 | { 5 | {F132B4E3-C6EF-11D2-85C9-00C04F68DEB0} = s 'Pig Server' 6 | 'PigSrv.EXE' 7 | { 8 | val AppID = s {F132B4E3-C6EF-11D2-85C9-00C04F68DEB0} 9 | } 10 | } 11 | } 12 | HKLM 13 | { 14 | NoRemove SYSTEM 15 | { 16 | NoRemove CurrentControlSet 17 | { 18 | NoRemove Services 19 | { 20 | NoRemove EventLog 21 | { 22 | NoRemove Application 23 | { 24 | 'PigSrv' 25 | { 26 | val EventMessageFile = s '%AGCMODULE%' 27 | val TypesSupported = d '7' 28 | } 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehaviorHost.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.BehaviorHost.1 = s 'Pig Behavior Host Class' 4 | { 5 | CLSID = s '{8962E24C-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.BehaviorHost = s 'Pig Behavior Host Class' 8 | { 9 | CLSID = s '{8962E24C-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.BehaviorHost.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E24C-CD81-11d2-9646-00C04F68DEB0} = s 'Pig Behavior Host Class' 15 | { 16 | ProgID = s 'Pigs.BehaviorHost.1' 17 | VersionIndependentProgID = s 'Pigs.BehaviorHost' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigHullTypes.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.HullTypes.1 = s 'Pig Hull Type Collection Class' 4 | { 5 | CLSID = s '{E1A2D508-F8FD-11d2-A50F-00C04F68DEB0}' 6 | } 7 | Pigs.HullTypes = s 'Pig Hull Type Collection Class' 8 | { 9 | CLSID = s '{E1A2D508-F8FD-11d2-A50F-00C04F68DEB0}' 10 | CurVer = s 'Pigs.HullTypes.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {E1A2D508-F8FD-11d2-A50F-00C04F68DEB0} = s 'Pig Hull Type Collection Class' 15 | { 16 | ProgID = s 'Pigs.HullTypes.1' 17 | VersionIndependentProgID = s 'Pigs.HullTypes' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/test/TCObj/TCStrings.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.Strings.1 = s 'Strings collection' 4 | { 5 | CLSID = s '{8962E245-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.Strings = s 'Strings collection' 8 | { 9 | CLSID = s '{8962E245-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.Strings.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E245-CD81-11d2-9646-00C04F68DEB0} = s 'Strings collection' 15 | { 16 | TypeLib = s '{8962E243-CD81-11d2-9646-00C04F68DEB0}' 17 | ProgID = s 'TCObj.Strings.1' 18 | VersionIndependentProgID = s 'TCObj.Strings' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/MissParms.js: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // Create the Mission Parameters object 3 | var objMissParms = new ActiveXObject("Pigs.MissionParams"); 4 | 5 | objMissParms.TeamCount = 2; 6 | objMissParms.MaxTeamPlayers = 16; 7 | objMissParms.MinTeamPlayers = 1; 8 | objMissParms.MapType = 0; 9 | 10 | objMissParms.Validate(); 11 | 12 | 13 | // Display the properties 14 | 15 | WScript.Echo("TeamCount = " + objMissParms.TeamCount + "\n" 16 | + "MaxTeamPlayers = " + objMissParms.MaxTeamPlayers + "\n" 17 | + "MinTeamPlayers = " + objMissParms.MinTeamPlayers + "\n" 18 | + "MapType = " + objMissParms.MapType); 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/test/TCObj/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by TCObj.rc 4 | // 5 | #define IDR_TCStrings 100 6 | #define IDR_TCMarshalByValue 101 7 | #define IDR_TCNullStream 102 8 | #define IDR_TCPropBagOnRegKey 103 9 | #define IDR_REGISTRY1 2000 10 | #define IDR_TCUtility 2000 11 | 12 | // Next default values for new objects 13 | // 14 | #ifdef APSTUDIO_INVOKED 15 | #ifndef APSTUDIO_READONLY_SYMBOLS 16 | #define _APS_NEXT_RESOURCE_VALUE 2001 17 | #define _APS_NEXT_COMMAND_VALUE 32768 18 | #define _APS_NEXT_CONTROL_VALUE 3000 19 | #define _APS_NEXT_SYMED_VALUE 104 20 | #endif 21 | #endif 22 | -------------------------------------------------------------------------------- /src/AGC/TCNullStream.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.NullStream.1 = s 'Null IStream Object' 4 | { 5 | CLSID = s '{8962E248-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.NullStream = s 'Null IStream Object' 8 | { 9 | CLSID = s '{8962E248-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.NullStream.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E248-CD81-11d2-9646-00C04F68DEB0} = s 'Null IStream Object' 15 | { 16 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 17 | ProgID = s 'TCObj.NullStream.1' 18 | VersionIndependentProgID = s 'TCObj.NullStream' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/WinTrek/logon.h: -------------------------------------------------------------------------------- 1 | #ifndef _logon_h_ 2 | #define _logon_h_ 3 | 4 | ////////////////////////////////////////////////////////////////////////////// 5 | // 6 | // logon 7 | // 8 | ////////////////////////////////////////////////////////////////////////////// 9 | 10 | class LogonSite : public IObject { 11 | public: 12 | virtual void OnLogon(const ZString& strName, const ZString& strPassword, BOOL fRememberPW) = 0; 13 | virtual void OnAbort() = 0; 14 | }; 15 | 16 | enum LogonType 17 | { 18 | LogonAllegianceZone, 19 | LogonFreeZone, 20 | LogonLAN, 21 | }; 22 | 23 | TRef CreateLogonPopup(Modeler* pmodeler, LogonSite* psite, LogonType lt, 24 | LPCSTR szPrompt, LPCSTR szName, LPCSTR szPW, BOOL fRememberPW); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Entities/ServerInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.IO; 7 | 8 | namespace Wopr.Entities 9 | { 10 | public class ServerInfo 11 | { 12 | public ServerCoreInfo mStatic; 13 | public int ping; 14 | public bool bOfficial; 15 | 16 | public static ServerInfo Read(BinaryReader br) 17 | { 18 | ServerInfo returnValue = new ServerInfo(); 19 | 20 | returnValue.mStatic = ServerCoreInfo.Read(br); 21 | returnValue.ping = br.ReadInt32(); 22 | returnValue.bOfficial = br.ReadByte() > 0x00; 23 | 24 | return returnValue; 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/AGC/AGCCommand.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.Command.1 = s 'Active Game Core Command Class' 4 | { 5 | CLSID = s '{4272AD82-FF3F-11d2-A50F-00C04F68DEB0}' 6 | } 7 | AGC.Command = s 'Active Game Core Command Class' 8 | { 9 | CLSID = s '{4272AD82-FF3F-11d2-A50F-00C04F68DEB0}' 10 | CurVer = s 'AGC.Command.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {4272AD82-FF3F-11d2-A50F-00C04F68DEB0} = s 'Active Game Core Command Class' 15 | { 16 | ProgID = s 'AGC.Command.1' 17 | VersionIndependentProgID = s 'AGC.Command' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/AGC/AGCGameParameters.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.GameParameters.1 = s 'AGCGameParameters Class' 4 | { 5 | CLSID = s '{F9E52A78-EBA4-11D2-8B4B-00C04F681633}' 6 | } 7 | AGC.GameParameters = s 'AGCGameParameters Class' 8 | { 9 | CLSID = s '{F9E52A78-EBA4-11D2-8B4B-00C04F681633}' 10 | CurVer = s 'AGC.AGCGameParameters.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {F9E52A78-EBA4-11D2-8B4B-00C04F681633} = s 'AGCGameParameters Class' 15 | { 16 | ProgID = s 'AGC.AGCGameParameters.1' 17 | VersionIndependentProgID = s 'AGC.AGCGameParameters' 18 | InprocServer32 = s '%MODULE%' 19 | { 20 | val ThreadingModel = s 'Both' 21 | } 22 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 23 | } 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /src/AutoUpdate/AutoUpdate.rc3: -------------------------------------------------------------------------------- 1 | // 2 | // AutoUpdate.RC3 - Imago 6/10 - needed for AdminSession to gracefully shutdown servers 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | #define SZFILEDESCRIPTION "Allegiance Auto Update Utility" 15 | #define SZORIGFILENAME "AutoUpdate.exe" 16 | #define SZINTERNALNAME "AutoUpdate" 17 | 18 | ///////////////////////////////////////////////////////////////////////////// 19 | 20 | #include "..\Inc\VerRes.rc" 21 | 22 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehaviorScriptType.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.BehaviorScriptType.1 = s 'Pig Behavior Script Type Class' 4 | { 5 | CLSID = s '{75A3CFA1-D306-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.BehaviorScriptType = s 'Pig Behavior Script Type Class' 8 | { 9 | CLSID = s '{75A3CFA1-D306-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.BehaviorScriptType.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {75A3CFA1-D306-11d2-9646-00C04F68DEB0} = s 'Pig Behavior Script Type Class' 15 | { 16 | ProgID = s 'Pigs.BehaviorScriptType.1' 17 | VersionIndependentProgID = s 'Pigs.BehaviorScriptType' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/test/TCObj/TCNullStream.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.NullStream.1 = s 'Null IStream Object' 4 | { 5 | CLSID = s '{8962E248-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.NullStream = s 'Null IStream Object' 8 | { 9 | CLSID = s '{8962E248-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.NullStream.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E248-CD81-11d2-9646-00C04F68DEB0} = s 'Null IStream Object' 15 | { 16 | TypeLib = s '{8962E243-CD81-11d2-9646-00C04F68DEB0}' 17 | ProgID = s 'TCObj.NullStream.1' 18 | VersionIndependentProgID = s 'TCObj.NullStream' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /VS2010/AutoUpdate.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | S:AllSrv.exe BD3EF51 204 http://fazdev.alleg.net /FAZ/AU C:/AMD 5 | WindowsLocalDebugger 6 | 7 | 8 | S:AllSrv.exe 63AF06C2 204 "http://fazde v.alleg.net" "/FAZ/AU" "C:/AMD crap" 9 | WindowsLocalDebugger 10 | 11 | -------------------------------------------------------------------------------- /src/AGC/AGCEventIDRange.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.EventIDRange.1 = s 'AGC Event ID Range Class' 4 | { 5 | CLSID = s '{1537A87B-910E-4258-9C77-79554AA3C839}' 6 | } 7 | AGC.EventIDRange = s 'AGC Event ID Range Class' 8 | { 9 | CLSID = s '{1537A87B-910E-4258-9C77-79554AA3C839}' 10 | CurVer = s 'AGC.EventIDRange.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {1537A87B-910E-4258-9C77-79554AA3C839} = s 'AGC Event ID Range Class' 15 | { 16 | ProgID = s 'AGC.EventIDRange.1' 17 | VersionIndependentProgID = s 'AGC.EventIDRange' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/AGC/AGCOrientation.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.AGCOrientation.1 = s 'AGCOrientation Class' 4 | { 5 | CLSID = s '{C8204960-3999-11d3-A51D-00C04F68DEB0}' 6 | } 7 | AGC.AGCOrientation = s 'AGCOrientation Class' 8 | { 9 | CLSID = s '{C8204960-3999-11d3-A51D-00C04F68DEB0}' 10 | CurVer = s 'AGC.AGCOrientation.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {C8204960-3999-11d3-A51D-00C04F68DEB0} = s 'AGCOrientation Class' 15 | { 16 | ProgID = s 'AGC.AGCOrientation.1' 17 | VersionIndependentProgID = s 'AGC.AGCOrientation' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/PigObject.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.$$Object$$.1 = s 'Pig $$Friendly$$ Class' 4 | { 5 | CLSID = s '{$$CLSID_Object$$}' 6 | } 7 | Pigs.$$Object$$ = s 'Pig $$Friendly$$ Class' 8 | { 9 | CLSID = s '{$$CLSID_Object$$}' 10 | CurVer = s 'Pigs.$$Object$$.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {$$CLSID_Object$$} = s 'Pig $$Friendly$$ Class' 15 | { 16 | ProgID = s 'Pigs.$$Object$$.1' 17 | VersionIndependentProgID = s 'Pigs.$$Object$$' 18 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 19 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 20 | InprocServer32 = s '%MODULE%' 21 | { 22 | val ThreadingModel = s 'Both' 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/test/Inc/Allegiance.h: -------------------------------------------------------------------------------- 1 | #ifndef __Allegiance_h__ 2 | #define __Allegiance_h__ 3 | 4 | ///////////////////////////////////////////////////////////////////////////// 5 | 6 | #include 7 | #include <..\engine\engine.h> 8 | #include <..\effect\effect.h> 9 | #include <..\igc\igc.h> 10 | #include <..\Zone\Zone.h> 11 | //#include <..\zone\zauth.h> 12 | #include <..\igc\mapmakerigc.h> 13 | #include 14 | #include 15 | #include 16 | //#include 17 | #include <..\clintlib\clintlib.h> 18 | #include <..\clintlib\AutoDownload.h> 19 | //#include <..\drones\actionlib.h> 20 | #include <..\igc\shipigc.h> 21 | 22 | 23 | ///////////////////////////////////////////////////////////////////////////// 24 | 25 | #endif // !__Allegiance_h__ 26 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/LaunchCommand.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Input; 3 | using PigsLib; 4 | 5 | namespace PigClient 6 | { 7 | 8 | public class CommandWrapper : ICommand 9 | { 10 | private Action _execute; 11 | private Func _canExecute; 12 | 13 | public CommandWrapper(Action execute, Func canExecute) 14 | { 15 | _execute = execute; 16 | _canExecute = canExecute; 17 | } 18 | 19 | public event EventHandler CanExecuteChanged; 20 | 21 | public bool CanExecute(object parameter) 22 | { 23 | return _canExecute(); 24 | } 25 | 26 | public void Execute(object parameter) 27 | { 28 | _execute(); 29 | } 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Constants/ItemType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Constants 8 | { 9 | public enum ItemType 10 | { 11 | // Dispenser items 12 | EwsProbe, 13 | ProxMine, 14 | 15 | // Consumables 16 | Ammunition, 17 | Fuel, 18 | Counter, 19 | 20 | // Missiles 21 | MrmMissile, 22 | 23 | // Weapons 24 | Gatling, 25 | Nanite 26 | 27 | //public const string EwsProbe = "EWS Probe"; 28 | //public const string ProxMine = "Proximity Mine"; 29 | //public const string Ammunition = "Ammunition"; 30 | //public const string Fuel = "Fuel"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/clintlib/pch.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | #include 5 | //#include 6 | #include 7 | 8 | // BT - STEAM 9 | #include "steam_api.h" 10 | 11 | // 12 | // Headers for fed code. 13 | // 14 | #define __MODULE__ "clintlib" 15 | 16 | #include "guids.h" 17 | #include "zlib.h" 18 | #include "utility.h" 19 | #include "igc.h" 20 | #include "Zone.h" 21 | #include "messagesAll.h" 22 | #include "messages.h" 23 | #include "messagesLC.h" 24 | #include "ClubMessages.h" // KG changed location 25 | #include "AutoDownload.h" 26 | 27 | #include "AllegianceSecurity.h" // BT - STEAM 28 | 29 | #ifdef USEAUTH 30 | #include "zauth.h" 31 | #endif 32 | #include "clintlib.h" 33 | 34 | // removed engine dep since color codes are in zlib now 35 | //#include "engine.h" 36 | -------------------------------------------------------------------------------- /src/AGC/AGCEventIDRanges.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.EventIDRanges.1 = s 'AGC Event ID Range Set Class' 4 | { 5 | CLSID = s '{C63EFD2A-8763-44f4-A1CF-BEFB992482DA}' 6 | } 7 | AGC.EventIDRanges = s 'AGC Event ID Range Set Class' 8 | { 9 | CLSID = s '{C63EFD2A-8763-44f4-A1CF-BEFB992482DA}' 10 | CurVer = s 'AGC.EventIDRanges.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {C63EFD2A-8763-44f4-A1CF-BEFB992482DA} = s 'AGC Event ID Range Set Class' 15 | { 16 | ProgID = s 'AGC.EventIDRanges.1' 17 | VersionIndependentProgID = s 'AGC.EventIDRanges' 18 | ForceRemove 'Programmable' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehavior.h: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // PigBehavior.h : Declaration of the CPigBehavior class 3 | 4 | #pragma once 5 | 6 | #ifndef __PigBehavior_h__ 7 | #define __PigBehavior_h__ 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CPigBehavior 12 | // 13 | // Defines the base functionality of pig behavior classes. 14 | // 15 | // Currently, scripted behaviors are the only types supported by the PigSrv 16 | // object model. So, CPigBehavior has only one class derived from it - the 17 | // CPigBehaviorScript class. 18 | // 19 | class CPigBehavior 20 | { 21 | }; 22 | 23 | 24 | ///////////////////////////////////////////////////////////////////////////// 25 | 26 | #endif //__PigBehavior_h__ 27 | -------------------------------------------------------------------------------- /src/effect/efart.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _EFFECTS_ARTWORK_H_ 3 | #define _EFFECTS_ARTWORK_H_ 4 | 5 | #define AWF_EFFECT_ALEPH_STAR "f02bmp" 6 | 7 | #define AWF_EFFECT_MUZZLE_FLARE "f103bmp" 8 | #define AWF_EFFECT_LENS_FLARE_STAR_AURA "f105bmp" 9 | #define AWF_EFFECT_LENS_FLARE_MID_RING "f104bmp" 10 | #define AWF_EFFECT_LENS_FLARE_END_RING "f106bmp" 11 | 12 | #define AWF_EFFECT_AFTERBURNER_GLOW "f101bmp" 13 | 14 | #define AWF_EFFECT_STROBE "f101bmp" 15 | 16 | #define AWF_EFFECT_TANGENT "f103bmp" 17 | #define AWF_EFFECT_NORMAL "fx11bmp" 18 | #define AWF_EFFECT_BIT "utl10" 19 | 20 | #define AWF_EFFECT_TRAIL "trailbmp" 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/AGC/AGCEventLogger.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.EventLogger.1 = s 'Active Game Core Event Logger Class' 4 | { 5 | CLSID = s '{9EBFAA09-2793-4a50-8F57-1D7B26A307F3}' 6 | } 7 | AGC.EventLogger = s 'Active Game Core Event Logger Class' 8 | { 9 | CLSID = s '{9EBFAA09-2793-4a50-8F57-1D7B26A307F3}' 10 | CurVer = s 'AGC.EventLogger.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {9EBFAA09-2793-4a50-8F57-1D7B26A307F3} = s 'Active Game Core Event Logger Class' 15 | { 16 | ProgID = s 'AGC.EventLogger.1' 17 | VersionIndependentProgID = s 'AGC.EventLogger' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Free' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/AutoUpdate/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by AutoUpdate.rc 4 | // 5 | #define IDS_PROJNAME 100 6 | #define IDR_AutoUpdate 100 7 | #define IDD_AUTOUPDATE 101 8 | #define IDC_PROGRESS_FILELIST 202 9 | #define IDC_PROGRESS_ANALYZE 203 10 | #define IDC_PROGRESS_DOWNLOAD 204 11 | #define IDC_STATIC_FILENAME 205 12 | 13 | // Next default values for new objects 14 | // 15 | #ifdef APSTUDIO_INVOKED 16 | #ifndef APSTUDIO_READONLY_SYMBOLS 17 | #define _APS_NEXT_RESOURCE_VALUE 201 18 | #define _APS_NEXT_COMMAND_VALUE 32768 19 | #define _APS_NEXT_CONTROL_VALUE 206 20 | #define _APS_NEXT_SYMED_VALUE 102 21 | #endif 22 | #endif 23 | -------------------------------------------------------------------------------- /src/Pigs/PigClient/PigClient/Setup.txt: -------------------------------------------------------------------------------- 1 | regsvr32 .\AGC\AGC.dll /u 2 | regsvr32 .\AGC\AGC.dll 3 | regsvr32 .\Test\TCObj\TCObj.dll /u 4 | regsvr32 .\Test\TCObj\TCObj.dll 5 | regsvr32 .\Pigs\PigsLib\PigsLib.dll /u 6 | regsvr32 .\Pigs\PigsLib\PigsLib.dll 7 | PigAccts.exe -RegServer [USER] [PASS] 8 | PigSrv.exe -RegServer [USER] [PASS] 9 | 10 | Create Scripts directory at /PigSrv 11 | Copy *.pig into Scripts 12 | 13 | // AppID = Pigs 14 | // {F132B4E3-C6EF-11D2-85C9-00C04F68DEB0} 15 | // HKCR/AppID/{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}/ArtPath 16 | // HKCR/AppID/{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}/MissionServer property 17 | // HKCR/AppID/{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}/Account 18 | // HKCR/AppID/{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}/ZoneAuthServer 19 | // HKCR/AppID/{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}/MaxPigs -------------------------------------------------------------------------------- /src/AGC/AGCDBParams.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AGC.DBParams.1 = s 'Active Game Core Database Parameters Class' 4 | { 5 | CLSID = s '{85A50536-6442-41bc-B011-2BFD93CFB5A3}' 6 | } 7 | AGC.DBParams = s 'Active Game Core Database Parameters Class' 8 | { 9 | CLSID = s '{85A50536-6442-41bc-B011-2BFD93CFB5A3}' 10 | CurVer = s 'AGC.DBParams.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {85A50536-6442-41bc-B011-2BFD93CFB5A3} = s 'Active Game Core Database Parameters Class' 15 | { 16 | ProgID = s 'AGC.DBParams.1' 17 | VersionIndependentProgID = s 'AGC.DBParams' 18 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by PigAccts.rc 4 | // 5 | #define IDS_PROJNAME 100 6 | #define IDS_SYNTAX_9X 101 7 | #define IDS_SYNTAX_NT 102 8 | #define IDR_PigAccts 200 9 | #define IDR_PigAccountDispenser 201 10 | #define IDR_PigAccount 202 11 | #define IDS_E_NONE_AVAILABLE 0x2000 12 | 13 | // Next default values for new objects 14 | // 15 | #ifdef APSTUDIO_INVOKED 16 | #ifndef APSTUDIO_READONLY_SYMBOLS 17 | #define _APS_NEXT_RESOURCE_VALUE 203 18 | #define _APS_NEXT_COMMAND_VALUE 32768 19 | #define _APS_NEXT_CONTROL_VALUE 201 20 | #define _APS_NEXT_SYMED_VALUE 102 21 | #endif 22 | #endif 23 | -------------------------------------------------------------------------------- /src/lobby/counters.h: -------------------------------------------------------------------------------- 1 | #ifndef _COUNTERS_H_ 2 | #define _COUNTERS_H_ 3 | 4 | typedef struct _LOBBY_COUNTERS 5 | { 6 | DWORD cLogins; 7 | DWORD cLogoffs; 8 | DWORD cPlayersMissions; 9 | DWORD cPlayersLobby; 10 | DWORD cPlayersDropped; 11 | DWORD cInboundQueueLength; 12 | DWORD cInboundQueueSize; 13 | DWORD cOutboundQueueLength; 14 | DWORD cOutboundQueueSize; 15 | DWORD timeInnerLoop; 16 | DWORD cMissions; 17 | DWORD cServers; 18 | } LOBBY_COUNTERS, *PLOBBY_COUNTERS; 19 | 20 | typedef struct _PER_SERVER_COUNTERS 21 | { 22 | DWORD cPlayers; 23 | DWORD cMissions; 24 | DWORD percentLoad; // based on how many players they said they can handle 25 | DWORD dummy; // 8 byte alignment 26 | } PER_SERVER_COUNTERS, *PPER_SERVER_COUNTERS; 27 | 28 | 29 | #endif 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/AGC/AdminSessionHelper.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | AllSrv.AdminSessionHelper.1 = s 'AdminSessionHelper Class' 4 | { 5 | CLSID = s '{859E6E3A-875D-4b0d-8775-E7C533E9EBEF}' 6 | } 7 | AllSrv.AdminSessionHelper = s 'AdminSessionHelper Class' 8 | { 9 | CLSID = s '{859E6E3A-875D-4b0d-8775-E7C533E9EBEF}' 10 | CurVer = s 'AllSrv.AdminSessionHelper.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {859E6E3A-875D-4b0d-8775-E7C533E9EBEF} = s 'AdminSessionHelper Class' 15 | { 16 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 17 | ProgID = s 'TCObj.Utility.1' 18 | VersionIndependentProgID = s 'AllSrv.AdminSessionHelper' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/AGC/TCMarshalByValue.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.MarshalByValue.1 = s 'Marshal By Value Helper Object' 4 | { 5 | CLSID = s '{8962E244-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.MarshalByValue = s 'Marshal By Value Helper Object' 8 | { 9 | CLSID = s '{8962E244-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.MarshalByValue.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E244-CD81-11d2-9646-00C04F68DEB0} = s 'Marshal By Value Helper Object' 15 | { 16 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 17 | ProgID = s 'TCObj.MarshalByValue.1' 18 | VersionIndependentProgID = s 'TCObj.MarshalByValue' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/thrust.js: -------------------------------------------------------------------------------- 1 | 2 | ///////////////////////////////////////////////////////////////////////////// 3 | // Create the Session Information object 4 | 5 | //var objInfo = new ActiveXObject("Pigs.SessionInfo"); 6 | //objInfo.ApplicationName = WScript.ScriptFullName; 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // Connect to the Pig Server 11 | 12 | var objSession = new ActiveXObject("Pigs.Session"); 13 | //objSession.SessionInfo = objInfo; 14 | 15 | 16 | ///////////////////////////////////////////////////////////////////////////// 17 | // Get the pig 18 | 19 | var objPig = objSession.Pigs("jtasler-nt-000"); 20 | WScript.Echo(objPig + ": State is \"" + objPig.PigStateName + "\""); 21 | 22 | // Thrust the pig forward 23 | objPig.Ship.Thrust(5); 24 | -------------------------------------------------------------------------------- /src/Pigs/PigsLib/PigMissionParams.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.MissionParams.1 = s 'Pig Mission Parameters Class' 4 | { 5 | CLSID = s '{15219787-D562-11d2-9646-00C04F68DEB0}' 6 | } 7 | Pigs.MissionParams = s 'Pig Mission Parameters Class' 8 | { 9 | CLSID = s '{15219787-D562-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'Pigs.MissionParams.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {15219787-D562-11d2-9646-00C04F68DEB0} = s 'Pig Mission Parameters Class' 15 | { 16 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 17 | ProgID = s 'Pigs.MissionParams.1' 18 | VersionIndependentProgID = s 'Pigs.MissionParams' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/AGC/AGCAleph.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCAleph.cpp : Implementation of CAGCAleph 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCAleph.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCAleph 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCAleph) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCAleph::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCAleph 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /src/AGC/AGCShip.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCShip.cpp : Implementation of CAGCShip 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCShip.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCShip 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCShip) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCShip::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCShip 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /VS2010/Allegiance.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | WindowsLocalDebugger 5 | -windowed -noautoupdate -nomovies -multi -debug -mdllog -windowlog -callsign=*PorkMuffins@BS 6 | 7 | 8 | WindowsLocalDebugger 9 | -windowed -noautoupdate -nomovies -multi -debug -mdllog -windowlog -callsign=*PorkMuffins@BS 10 | 11 | -------------------------------------------------------------------------------- /src/Pigs/PigAccts/PigAccountDispenser.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs.AccountDispenser.1 = s 'Pig Account Dispenser Class' 4 | { 5 | CLSID = s '{8D6763CA-E7CB-11d2-A508-00C04F68DEB0}' 6 | } 7 | Pigs.AccountDispenser = s 'Pig Account Dispenser Class' 8 | { 9 | CLSID = s '{8D6763CA-E7CB-11d2-A508-00C04F68DEB0}' 10 | CurVer = s 'Pigs.AccountDispenser.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8D6763CA-E7CB-11d2-A508-00C04F68DEB0} = s 'Pig Account Dispenser Class' 15 | { 16 | ProgID = s 'Pigs.AccountDispenser.1' 17 | VersionIndependentProgID = s 'Pigs.AccountDispenser' 18 | ForceRemove 'Programmable' 19 | LocalServer32 = s '%MODULE%' 20 | val AppID = s '{9BA731AE-E7CB-11d2-A508-00C04F68DEB0}' 21 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/README.md: -------------------------------------------------------------------------------- 1 | If AllegianceInterop.dll fails to load, then chances are the MSVCRT runtime is not up to date. Install the latest run time from: 2 | 3 | https://aka.ms/vs/17/release/vc_redist.x86.exe 4 | https://aka.ms/vs/17/release/vc_redist.x64.exe 5 | 6 | (WOPR is usually x86, but you can install both.) 7 | 8 | If AllegianceInterop.dll still fails to load, use dependency walker to see what it's missing, then put those .DLLs into the same directory as WOPR. 9 | 10 | If WOPR hangs when starting, check that BotAuthenticationGuid is set on both the machine running WOPR and on the game server in 11 | SOFTWARE\WOW3264Node\Microsoft\Microsoft Games\Allegiance\1.4\Server\BotAuthenticationGuid 12 | 13 | If you are trying to run WOPR on a debug build, put the MSVCRTD* dlls into the same directory as WOPR. 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/lobby/CSteamValidation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CSteamValidation 4 | { 5 | 6 | private: 7 | DWORD m_dwThreadID; 8 | CSQLQuery * m_sqlQuery; 9 | CQLobbyLogonData * m_lobbyLogonData; 10 | int m_characterID; 11 | bool m_bAuthenticationComplete = false; 12 | 13 | public: 14 | CSteamValidation(DWORD dwThreadID, int characterID, CSQLQuery * pQuery, CQLobbyLogonData * pqd); 15 | 16 | void BeginSteamAuthentication(); 17 | 18 | private: 19 | // Tells us a client has been authenticated and approved to play by Steam (passes auth, license check, VAC status, etc...) 20 | STEAM_GAMESERVER_CALLBACK(CSteamValidation, OnValidateAuthTicketResponse, ValidateAuthTicketResponse_t); 21 | 22 | void OnValidateAuthTicketResponse(CSteamID m_SteamID, EAuthSessionResponse eAuthSessionResponse, CSteamID ownerSteamID); 23 | 24 | 25 | }; -------------------------------------------------------------------------------- /src/test/TCObj/TCMarshalByValue.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCObj.MarshalByValue.1 = s 'Marshal By Value Helper Object' 4 | { 5 | CLSID = s '{8962E244-CD81-11d2-9646-00C04F68DEB0}' 6 | } 7 | TCObj.MarshalByValue = s 'Marshal By Value Helper Object' 8 | { 9 | CLSID = s '{8962E244-CD81-11d2-9646-00C04F68DEB0}' 10 | CurVer = s 'TCObj.MarshalByValue.1' 11 | } 12 | NoRemove CLSID 13 | { 14 | ForceRemove {8962E244-CD81-11d2-9646-00C04F68DEB0} = s 'Marshal By Value Helper Object' 15 | { 16 | TypeLib = s '{8962E243-CD81-11d2-9646-00C04F68DEB0}' 17 | ProgID = s 'TCObj.MarshalByValue.1' 18 | VersionIndependentProgID = s 'TCObj.MarshalByValue' 19 | InprocServer32 = s '%MODULE%' 20 | { 21 | val ThreadingModel = s 'Both' 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/AGC/AGCGame.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCGame.cpp : Implementation of CAGCGame 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCGame.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCGame 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCGame) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCGame::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCGame 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/AGC/AGCModel.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCModel.cpp : Implementation of the CAGCModel class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCModel.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCModel 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCModel) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCModel::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCModel 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /src/AGC/AGCProbe.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCProbe.cpp : Implementation of the CAGCProbe class. 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCProbe.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCProbe 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCProbe) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCProbe::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCProbe 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /src/effect/starimage.h: -------------------------------------------------------------------------------- 1 | #ifndef _StarImage_h_ 2 | #define _StarImage_h_ 3 | 4 | #include 5 | 6 | ////////////////////////////////////////////////////////////////////////////// 7 | // 8 | // StarImage header 9 | // 10 | ////////////////////////////////////////////////////////////////////////////// 11 | 12 | class Viewport; 13 | class StarImage : public Image { 14 | protected: 15 | StarImage(Viewport* pviewport) : 16 | Image(pviewport) 17 | { 18 | } 19 | 20 | public: 21 | static TRef Create(Viewport* pviewport, short count); 22 | 23 | virtual void SetCount(unsigned int seed, short count) = 0; 24 | virtual void Render(Context* pcontext) = 0; 25 | 26 | // 27 | // Value methods 28 | // 29 | 30 | ZString GetFunctionName() { return "StarImage"; } 31 | }; 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/AGC/AGCStation.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCStation.cpp : Implementation of CAGCStation 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCStation.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCStation 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCStation) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportsErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCStation::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCStation 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /src/AGC/AGCAsteroid.cpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // AGCAsteroid.cpp : Implementation of CAGCAsteroid 3 | // 4 | 5 | #include "pch.h" 6 | #include "AGCAsteroid.h" 7 | 8 | 9 | ///////////////////////////////////////////////////////////////////////////// 10 | // CAGCAsteroid 11 | 12 | TC_OBJECT_EXTERN_NON_CREATEABLE_IMPL(CAGCAsteroid) 13 | 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // ISupportsErrorInfo Interface Methods 17 | 18 | STDMETHODIMP CAGCAsteroid::InterfaceSupportsErrorInfo(REFIID riid) 19 | { 20 | static const IID* arr[] = 21 | { 22 | &IID_IAGCAsteroid 23 | }; 24 | for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++) 25 | { 26 | if (InlineIsEqualGUID(*arr[i],riid)) 27 | return S_OK; 28 | } 29 | return S_FALSE; 30 | } 31 | 32 | -------------------------------------------------------------------------------- /src/AGC/TCUtility.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCUtil = s 'Utility object' 4 | { 5 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 6 | } 7 | TCObj.Utility.1 = s 'Utility object' 8 | { 9 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 10 | } 11 | TCObj.Utility = s 'Utility object' 12 | { 13 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 14 | CurVer = s 'TCObj.Utility.1' 15 | } 16 | NoRemove CLSID 17 | { 18 | ForceRemove {E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0} = s 'Utility object' 19 | { 20 | 'TypeLib' = s '{AB33E136-0A3E-11D3-8B58-00C04F681633}' 21 | ProgID = s 'TCObj.Utility.1' 22 | VersionIndependentProgID = s 'TCObj.Utility' 23 | InprocServer32 = s '%MODULE%' 24 | { 25 | val ThreadingModel = s 'Both' 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigBehaviorType.h: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // PigBehaviorType.h : Declaration of the CPigBehaviorType class 3 | 4 | #pragma once 5 | 6 | #ifndef __PigBehaviorType_h__ 7 | #define __PigBehaviorType_h__ 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // CPigBehaviorType 12 | // 13 | // Defines the base functionality of pig behavior type classes. 14 | // 15 | // Currently, scripted behaviors are the only types supported by the PigSrv 16 | // object model. So, CPigBehaviorType has only one class derived from it - 17 | // the CPigBehaviorScriptType class. 18 | // 19 | class CPigBehaviorType 20 | { 21 | }; 22 | 23 | 24 | ///////////////////////////////////////////////////////////////////////////// 25 | 26 | #endif //__PigBehaviorType_h__ 27 | -------------------------------------------------------------------------------- /src/Wopr/Wopr/Loadouts/ScoutProbeLoadout.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Wopr.Loadouts 8 | { 9 | public class ScoutProbeLoadout : LoadoutBase 10 | { 11 | public ScoutProbeLoadout() 12 | { 13 | Weapon1 = Wopr.Constants.ItemType.Gatling; 14 | 15 | Missiles = Wopr.Constants.ItemType.MrmMissile; 16 | 17 | Dispenser = Wopr.Constants.ItemType.EwsProbe; 18 | 19 | Cargo1 = Wopr.Constants.ItemType.EwsProbe; 20 | Cargo2 = Wopr.Constants.ItemType.EwsProbe; 21 | Cargo3 = Wopr.Constants.ItemType.EwsProbe; 22 | Cargo4 = Wopr.Constants.ItemType.EwsProbe; 23 | Cargo5 = Wopr.Constants.ItemType.Nanite; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/effect/efpopup.h: -------------------------------------------------------------------------------- 1 | #ifndef _efpopup_H_ 2 | #define _efpopup_H_ 3 | 4 | #include 5 | 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Message Box 9 | // 10 | ///////////////////////////////////////////////////////////////////////////// 11 | class IntegerEventSourceImpl; 12 | class Modeler; 13 | class ButtonPane; 14 | class IMessageBox : public IPopup 15 | { 16 | public: 17 | virtual IntegerEventSourceImpl* GetEventSource() = 0; 18 | }; 19 | 20 | TRef CreateMessageBox( 21 | ITimerEventSource* ptimerEventSource, 22 | Modeler* pmodeler, 23 | const ZString& str, 24 | ButtonPane* pbuttonIn, 25 | bool fAddDefaultButton, 26 | ButtonPane* pbuttonCancel, 27 | float paintDelay 28 | ); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /src/Pigs/PigSrv/PigSession.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | Pigs = s 'Pig Session Class' 4 | { 5 | CLSID = s '{9BCD384E-C6F2-11D2-85C9-00C04F68DEB0}' 6 | } 7 | Pigs.Session.1 = s 'Pig Session Class' 8 | { 9 | CLSID = s '{9BCD384E-C6F2-11D2-85C9-00C04F68DEB0}' 10 | } 11 | Pigs.Session = s 'Pig Session Class' 12 | { 13 | CLSID = s '{9BCD384E-C6F2-11D2-85C9-00C04F68DEB0}' 14 | CurVer = s 'Pigs.Session.1' 15 | } 16 | NoRemove CLSID 17 | { 18 | ForceRemove {9BCD384E-C6F2-11D2-85C9-00C04F68DEB0} = s 'Pig Session Class' 19 | { 20 | ProgID = s 'Pigs.Session.1' 21 | VersionIndependentProgID = s 'Pigs.Session' 22 | ForceRemove 'Programmable' 23 | LocalServer32 = s '%MODULE%' 24 | val AppID = s '{F132B4E3-C6EF-11D2-85C9-00C04F68DEB0}' 25 | 'TypeLib' = s '{F132B4E2-C6EF-11D2-85C9-00C04F68DEB0}' 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/test/TCObj/TCUtility.rgs: -------------------------------------------------------------------------------- 1 | HKCR 2 | { 3 | TCUtil = s 'Utility object' 4 | { 5 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 6 | } 7 | TCObj.Utility.1 = s 'Utility object' 8 | { 9 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 10 | } 11 | TCObj.Utility = s 'Utility object' 12 | { 13 | CLSID = s '{E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0}' 14 | CurVer = s 'TCObj.Utility.1' 15 | } 16 | NoRemove CLSID 17 | { 18 | ForceRemove {E9EE9E82-ED3A-11d2-A50B-00C04F68DEB0} = s 'Utility object' 19 | { 20 | TypeLib = s '{8962E243-CD81-11d2-9646-00C04F68DEB0}' 21 | ProgID = s 'TCObj.Utility.1' 22 | VersionIndependentProgID = s 'TCObj.Utility' 23 | InprocServer32 = s '%MODULE%' 24 | { 25 | val ThreadingModel = s 'Both' 26 | } 27 | } 28 | } 29 | } 30 | --------------------------------------------------------------------------------