merge
904
CMakeLists.txt
|
@ -7,455 +7,497 @@ separate_arguments(OC_CXX_FLAGS)
|
|||
set(OC_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG})
|
||||
separate_arguments(OC_CXX_FLAGS_DEBUG)
|
||||
|
||||
if(WIN32)
|
||||
SET(additional_clonk_sources engine/src/C4FileClasses.cpp engine/res/engine.rc engine/res/resource.h)
|
||||
endif()
|
||||
add_executable(clonk WIN32 MACOSX_BUNDLE
|
||||
${additional_clonk_sources}
|
||||
engine/src/C4AList.cpp
|
||||
engine/src/C4Action.cpp
|
||||
engine/src/C4Application.cpp
|
||||
engine/src/C4Aul.cpp
|
||||
engine/src/C4AulExec.cpp
|
||||
engine/src/C4AulLink.cpp
|
||||
engine/src/C4AulParse.cpp
|
||||
engine/src/C4ChatDlg.cpp
|
||||
engine/src/C4Client.cpp
|
||||
engine/src/C4Command.cpp
|
||||
engine/src/C4ComponentHost.cpp
|
||||
engine/src/C4Config.cpp
|
||||
engine/src/C4Console.cpp
|
||||
engine/src/C4Control.cpp
|
||||
engine/src/C4Def.cpp
|
||||
engine/src/C4DefGraphics.cpp
|
||||
engine/src/C4DevmodeDlg.cpp
|
||||
engine/src/C4DownloadDlg.cpp
|
||||
engine/src/C4EditCursor.cpp
|
||||
engine/src/C4Effect.cpp
|
||||
engine/src/C4Extra.cpp
|
||||
engine/src/C4Facet.cpp
|
||||
engine/src/C4FacetEx.cpp
|
||||
engine/src/C4FindObject.cpp
|
||||
engine/src/C4FileMonitor.cpp
|
||||
engine/src/C4FileSelDlg.cpp
|
||||
engine/src/C4Folder.cpp
|
||||
engine/src/C4Fonts.cpp
|
||||
engine/src/C4FullScreen.cpp
|
||||
engine/src/C4Game.cpp
|
||||
engine/src/C4GameControl.cpp
|
||||
engine/src/C4GameControlNetwork.cpp
|
||||
engine/src/C4GameDialogs.cpp
|
||||
engine/src/C4GameLobby.cpp
|
||||
engine/src/C4GameMessage.cpp
|
||||
engine/src/C4GameObjects.cpp
|
||||
engine/src/C4GameOptions.cpp
|
||||
engine/src/C4GameOverDlg.cpp
|
||||
engine/src/C4GamePadCon.cpp
|
||||
engine/src/C4GameParameters.cpp
|
||||
engine/src/C4GameSave.cpp
|
||||
engine/src/C4GraphicsResource.cpp
|
||||
engine/src/C4GraphicsSystem.cpp
|
||||
engine/src/C4Group.cpp
|
||||
engine/src/C4GroupSet.cpp
|
||||
engine/src/C4Gui.cpp
|
||||
engine/src/C4GuiButton.cpp
|
||||
engine/src/C4GuiCheckBox.cpp
|
||||
engine/src/C4GuiComboBox.cpp
|
||||
engine/src/C4GuiContainers.cpp
|
||||
engine/src/C4GuiDialogs.cpp
|
||||
engine/src/C4GuiEdit.cpp
|
||||
engine/src/C4GuiLabels.cpp
|
||||
engine/src/C4GuiListBox.cpp
|
||||
engine/src/C4GuiMenu.cpp
|
||||
engine/src/C4GuiTabular.cpp
|
||||
engine/src/C4IDList.cpp
|
||||
engine/src/C4Id.cpp
|
||||
engine/src/C4InfoCore.cpp
|
||||
engine/src/C4InputValidation.cpp
|
||||
engine/src/C4InteractiveThread.cpp
|
||||
engine/src/C4KeyboardInput.cpp
|
||||
engine/src/C4Landscape.cpp
|
||||
engine/src/C4LangStringTable.cpp
|
||||
engine/src/C4Language.cpp
|
||||
engine/src/C4League.cpp
|
||||
engine/src/C4LoaderScreen.cpp
|
||||
engine/src/C4Log.cpp
|
||||
engine/src/C4LogBuf.cpp
|
||||
engine/src/C4MainMenu.cpp
|
||||
engine/src/C4Map.cpp
|
||||
engine/src/C4MapCreatorS2.cpp
|
||||
engine/src/C4MassMover.cpp
|
||||
engine/src/C4Material.cpp
|
||||
engine/src/C4MaterialList.cpp
|
||||
engine/src/C4Menu.cpp
|
||||
engine/src/C4MessageBoard.cpp
|
||||
engine/src/C4MessageInput.cpp
|
||||
engine/src/C4MouseControl.cpp
|
||||
engine/src/C4Movement.cpp
|
||||
engine/src/C4MusicFile.cpp
|
||||
engine/src/C4MusicSystem.cpp
|
||||
engine/src/C4NameList.cpp
|
||||
engine/src/C4NetIO.cpp
|
||||
engine/src/C4Network2.cpp
|
||||
engine/src/C4Network2Client.cpp
|
||||
engine/src/C4Network2Dialogs.cpp
|
||||
engine/src/C4Network2Discover.cpp
|
||||
engine/src/C4Network2IO.cpp
|
||||
engine/src/C4Network2IRC.cpp
|
||||
engine/src/C4Network2Players.cpp
|
||||
engine/src/C4Network2Reference.cpp
|
||||
engine/src/C4Network2Res.cpp
|
||||
engine/src/C4Network2ResDlg.cpp
|
||||
engine/src/C4Network2Stats.cpp
|
||||
engine/src/C4Object.cpp
|
||||
engine/src/C4ObjectCom.cpp
|
||||
engine/src/C4ObjectMenu.cpp
|
||||
engine/src/C4ObjectInfo.cpp
|
||||
engine/src/C4ObjectInfoList.cpp
|
||||
engine/src/C4ObjectList.cpp
|
||||
engine/src/C4ObjectListDlg.cpp
|
||||
engine/src/C4PXS.cpp
|
||||
engine/src/C4Packet2.cpp
|
||||
engine/src/C4Particles.cpp
|
||||
engine/src/C4PathFinder.cpp
|
||||
engine/src/C4Player.cpp
|
||||
engine/src/C4PlayerControl.cpp
|
||||
engine/src/C4PlayerInfo.cpp
|
||||
engine/src/C4PlayerInfoConflicts.cpp
|
||||
engine/src/C4PlayerInfoListBox.cpp
|
||||
engine/src/C4PlayerList.cpp
|
||||
engine/src/C4PropertyDlg.cpp
|
||||
engine/src/C4Random.cpp
|
||||
engine/src/C4RankSystem.cpp
|
||||
engine/src/C4Record.cpp
|
||||
engine/src/C4Region.cpp
|
||||
engine/src/C4RTF.cpp
|
||||
engine/src/C4Scenario.cpp
|
||||
engine/src/C4Scoreboard.cpp
|
||||
engine/src/C4Script.cpp
|
||||
engine/src/C4ScriptHost.cpp
|
||||
engine/src/C4Sector.cpp
|
||||
engine/src/C4Shape.cpp
|
||||
engine/src/C4Sky.cpp
|
||||
engine/src/C4SolidMask.cpp
|
||||
engine/src/C4SoundSystem.cpp
|
||||
engine/src/C4Startup.cpp
|
||||
engine/src/C4StartupAboutDlg.cpp
|
||||
engine/src/C4StartupMainDlg.cpp
|
||||
engine/src/C4StartupNetDlg.cpp
|
||||
engine/src/C4StartupOptionsDlg.cpp
|
||||
engine/src/C4StartupPlrSelDlg.cpp
|
||||
engine/src/C4StartupScenSelDlg.cpp
|
||||
engine/src/C4Stat.cpp
|
||||
engine/src/C4StringTable.cpp
|
||||
engine/src/C4Surface.cpp
|
||||
engine/src/C4SurfaceFile.cpp
|
||||
engine/src/C4Teams.cpp
|
||||
engine/src/C4Texture.cpp
|
||||
engine/src/C4ToolsDlg.cpp
|
||||
engine/src/C4TransferZone.cpp
|
||||
engine/src/C4UpdateDlg.cpp
|
||||
engine/src/C4UpperBoard.cpp
|
||||
engine/src/C4Value.cpp
|
||||
engine/src/C4ValueList.cpp
|
||||
engine/src/C4ValueMap.cpp
|
||||
engine/src/C4Video.cpp
|
||||
engine/src/C4VideoPlayback.cpp
|
||||
engine/src/C4Viewport.cpp
|
||||
engine/src/C4Weather.cpp
|
||||
engine/src/C4WinMain.cpp
|
||||
engine/sec/C4ConfigShareware.cpp
|
||||
engine/sec/C4ConfigShareware.h
|
||||
engine/sec/C4SecurityCertificates.cpp
|
||||
engine/sec/C4SecurityCertificates.h
|
||||
engine/inc/C4AList.h
|
||||
engine/inc/C4Application.h
|
||||
engine/inc/C4Aul.h
|
||||
engine/inc/C4ChatDlg.h
|
||||
engine/inc/C4Command.h
|
||||
engine/inc/C4Client.h
|
||||
engine/inc/C4ComponentHost.h
|
||||
engine/inc/C4Components.h
|
||||
engine/inc/C4Config.h
|
||||
engine/inc/C4Console.h
|
||||
engine/inc/C4Constants.h
|
||||
engine/inc/C4Control.h
|
||||
engine/inc/C4DefGraphics.h
|
||||
engine/inc/C4Def.h
|
||||
engine/inc/C4DevmodeDlg.h
|
||||
engine/inc/C4DownloadDlg.h
|
||||
engine/inc/C4EditCursor.h
|
||||
engine/inc/C4Effects.h
|
||||
engine/inc/C4Extra.h
|
||||
engine/inc/C4FacetEx.h
|
||||
engine/inc/C4Facet.h
|
||||
engine/inc/C4FileClasses.h
|
||||
engine/inc/C4FileMonitor.h
|
||||
engine/inc/C4FileSelDlg.h
|
||||
engine/inc/C4FindObject.h
|
||||
engine/inc/C4Folder.h
|
||||
engine/inc/C4Fonts.h
|
||||
engine/inc/C4FullScreen.h
|
||||
engine/inc/C4Game.h
|
||||
engine/inc/C4GameControl.h
|
||||
engine/inc/C4GameControlNetwork.h
|
||||
engine/inc/C4GameDialogs.h
|
||||
engine/inc/C4GameLobby.h
|
||||
engine/inc/C4GameMessage.h
|
||||
engine/inc/C4GameObjects.h
|
||||
engine/inc/C4GameOptions.h
|
||||
engine/inc/C4GameOverDlg.h
|
||||
engine/inc/C4GamePadCon.h
|
||||
engine/inc/C4GameParameters.h
|
||||
engine/inc/C4GameSave.h
|
||||
engine/inc/C4GameVersion.h
|
||||
engine/inc/C4GraphicsResource.h
|
||||
engine/inc/C4GraphicsSystem.h
|
||||
engine/inc/C4Group.h
|
||||
engine/inc/C4GroupSet.h
|
||||
engine/inc/C4Gui.h
|
||||
engine/inc/C4Id.h
|
||||
engine/inc/C4IDList.h
|
||||
engine/inc/C4Include.h
|
||||
engine/inc/C4InfoCore.h
|
||||
engine/inc/C4InputValidation.h
|
||||
engine/inc/C4InteractiveThread.h
|
||||
engine/inc/C4KeyboardInput.h
|
||||
engine/inc/C4Landscape.h
|
||||
engine/inc/C4LangStringTable.h
|
||||
engine/inc/C4Language.h
|
||||
engine/inc/C4League.h
|
||||
engine/inc/C4LoaderScreen.h
|
||||
engine/inc/C4LogBuf.h
|
||||
engine/inc/C4Log.h
|
||||
engine/inc/C4MainMenu.h
|
||||
engine/inc/C4MapCreatorS2.h
|
||||
engine/inc/C4Map.h
|
||||
engine/inc/C4MassMover.h
|
||||
engine/inc/C4Material.h
|
||||
engine/inc/C4MaterialList.h
|
||||
engine/inc/C4Menu.h
|
||||
engine/inc/C4MessageBoard.h
|
||||
engine/inc/C4MessageInput.h
|
||||
engine/inc/C4MouseControl.h
|
||||
engine/inc/C4MusicFile.h
|
||||
engine/inc/C4MusicSystem.h
|
||||
engine/inc/C4NameList.h
|
||||
engine/inc/C4NetIO.h
|
||||
engine/inc/C4Network2Client.h
|
||||
engine/inc/C4Network2Dialogs.h
|
||||
engine/inc/C4Network2Discover.h
|
||||
engine/inc/C4Network2.h
|
||||
engine/inc/C4Network2IO.h
|
||||
engine/inc/C4Network2IRC.h
|
||||
engine/inc/C4Network2Players.h
|
||||
engine/inc/C4Network2Reference.h
|
||||
engine/inc/C4Network2Res.h
|
||||
engine/inc/C4Network2Stats.h
|
||||
engine/inc/C4ObjectCom.h
|
||||
engine/inc/C4Object.h
|
||||
engine/inc/C4ObjectInfo.h
|
||||
engine/inc/C4ObjectInfoList.h
|
||||
engine/inc/C4ObjectMenu.h
|
||||
engine/inc/C4ObjectList.h
|
||||
engine/inc/C4ObjectListDlg.h
|
||||
engine/inc/C4PacketBase.h
|
||||
engine/inc/C4Particles.h
|
||||
engine/inc/C4PathFinder.h
|
||||
engine/inc/C4Physics.h
|
||||
engine/inc/C4Player.h
|
||||
engine/inc/C4PlayerInfo.h
|
||||
engine/inc/C4PlayerInfoListBox.h
|
||||
engine/inc/C4PlayerList.h
|
||||
engine/inc/C4PropertyDlg.h
|
||||
engine/inc/C4Prototypes.h
|
||||
engine/inc/C4PXS.h
|
||||
engine/inc/C4Random.h
|
||||
engine/inc/C4RankSystem.h
|
||||
engine/inc/C4Record.h
|
||||
engine/inc/C4Region.h
|
||||
engine/inc/C4RTF.H
|
||||
engine/inc/C4Scenario.h
|
||||
engine/inc/C4Scoreboard.h
|
||||
engine/inc/C4Script.h
|
||||
engine/inc/C4ScriptHost.h
|
||||
engine/inc/C4Sector.h
|
||||
engine/inc/C4Shape.h
|
||||
engine/inc/C4Sky.h
|
||||
engine/inc/C4SolidMask.h
|
||||
engine/inc/C4SoundSystem.h
|
||||
engine/inc/C4Startup.h
|
||||
engine/inc/C4StartupAboutDlg.h
|
||||
engine/inc/C4StartupMainDlg.h
|
||||
engine/inc/C4StartupNetDlg.h
|
||||
engine/inc/C4StartupOptionsDlg.h
|
||||
engine/inc/C4StartupPlrSelDlg.h
|
||||
engine/inc/C4StartupScenSelDlg.h
|
||||
engine/inc/C4Stat.h
|
||||
engine/inc/C4StringTable.h
|
||||
engine/inc/C4SurfaceFile.h
|
||||
engine/inc/C4Surface.h
|
||||
engine/inc/C4Teams.h
|
||||
engine/inc/C4Texture.h
|
||||
engine/inc/C4ToolsDlg.h
|
||||
engine/inc/C4TransferZone.h
|
||||
engine/inc/C4UpdateDlg.h
|
||||
engine/inc/C4UpperBoard.h
|
||||
engine/inc/C4UserMessages.h
|
||||
engine/inc/C4Value.h
|
||||
engine/inc/C4ValueList.h
|
||||
engine/inc/C4ValueMap.h
|
||||
engine/inc/C4Version.h
|
||||
engine/inc/C4Video.h
|
||||
engine/inc/C4VideoPlayback.h
|
||||
engine/inc/C4Viewport.h
|
||||
engine/inc/C4Weather.h
|
||||
engine/inc/C4RoundResults.h
|
||||
engine/src/C4RoundResults.cpp
|
||||
engine/res/Brush.h
|
||||
engine/res/c4x.xpm
|
||||
engine/res/Cursor.h
|
||||
engine/res/Dynamic.h
|
||||
engine/res/Exact.h
|
||||
engine/res/Fill.h
|
||||
engine/res/Halt.h
|
||||
engine/res/Ift.h
|
||||
engine/res/Line.h
|
||||
engine/res/Mouse.h
|
||||
engine/res/NoIft.h
|
||||
engine/res/Picker.h
|
||||
engine/res/Play.h
|
||||
engine/res/Rect.h
|
||||
engine/res/Static.h
|
||||
engine/src/C4PropList.cpp
|
||||
engine/inc/C4PropList.h
|
||||
)
|
||||
|
||||
add_executable(c4group
|
||||
group/c4group_ng.cpp
|
||||
engine/src/C4Group.cpp
|
||||
engine/src/C4InputValidation.cpp
|
||||
engine/sec/C4SecurityCertificates.cpp
|
||||
engine/src/C4Update.cpp
|
||||
engine/inc/C4Update.h
|
||||
engine/inc/C4Group.h
|
||||
engine/inc/C4Version.h
|
||||
standard/src/Standard.cpp
|
||||
standard/src/CStdFile.cpp
|
||||
standard/src/StdMarkup.cpp
|
||||
standard/src/StdBuf.cpp
|
||||
standard/src/StdCompiler.cpp
|
||||
standard/src/StdFile.cpp
|
||||
standard/src/StdRegistry.cpp
|
||||
standard/src/StdResStr2.cpp
|
||||
standard/src/StdConfig.cpp
|
||||
standard/zlib/gzio.c
|
||||
standard/zlib/zutil.h
|
||||
set(OC_CLONK_SOURCES
|
||||
src/C4Application.cpp
|
||||
src/C4Application.h
|
||||
src/C4FullScreen.cpp
|
||||
src/C4FullScreen.h
|
||||
src/C4Game.cpp
|
||||
src/C4Game.h
|
||||
src/C4GraphicsSystem.cpp
|
||||
src/C4GraphicsSystem.h
|
||||
src/c4group/C4Components.h
|
||||
src/c4group/C4Extra.cpp
|
||||
src/c4group/C4Extra.h
|
||||
src/c4group/C4Group.cpp
|
||||
src/c4group/C4Group.h
|
||||
src/c4group/C4GroupSet.cpp
|
||||
src/c4group/C4GroupSet.h
|
||||
src/c4group/C4Language.cpp
|
||||
src/c4group/C4Language.h
|
||||
src/c4group/C4Update.cpp
|
||||
src/c4group/C4Update.h
|
||||
src/c4group/CStdFile.cpp
|
||||
src/c4group/CStdFile.h
|
||||
src/C4Include.h
|
||||
src/C4Prototypes.h
|
||||
src/C4Version.h
|
||||
src/C4WinMain.cpp
|
||||
src/config/C4Config.cpp
|
||||
src/config/C4Config.h
|
||||
src/config/C4ConfigShareware.cpp
|
||||
src/config/C4ConfigShareware.h
|
||||
src/config/C4SecurityCertificates.cpp
|
||||
src/config/C4SecurityCertificates.h
|
||||
src/control/C4Control.cpp
|
||||
src/control/C4Control.h
|
||||
src/control/C4GameControl.cpp
|
||||
src/control/C4GameControl.h
|
||||
src/control/C4GameParameters.cpp
|
||||
src/control/C4GameParameters.h
|
||||
src/control/C4GameSave.cpp
|
||||
src/control/C4GameSave.h
|
||||
src/control/C4PlayerControl.cpp
|
||||
src/control/C4PlayerControl.h
|
||||
src/control/C4PlayerInfoConflicts.cpp
|
||||
src/control/C4PlayerInfo.cpp
|
||||
src/control/C4PlayerInfo.h
|
||||
src/control/C4Record.cpp
|
||||
src/control/C4Record.h
|
||||
src/control/C4RoundResults.cpp
|
||||
src/control/C4RoundResults.h
|
||||
src/control/C4Teams.cpp
|
||||
src/control/C4Teams.h
|
||||
src/editor/C4Console.cpp
|
||||
src/editor/C4Console.h
|
||||
src/editor/C4DevmodeDlg.cpp
|
||||
src/editor/C4DevmodeDlg.h
|
||||
src/editor/C4EditCursor.cpp
|
||||
src/editor/C4EditCursor.h
|
||||
src/editor/C4ObjectListDlg.cpp
|
||||
src/editor/C4ObjectListDlg.h
|
||||
src/editor/C4PropertyDlg.cpp
|
||||
src/editor/C4PropertyDlg.h
|
||||
src/editor/C4ToolsDlg.cpp
|
||||
src/editor/C4ToolsDlg.h
|
||||
src/game/C4Constants.h
|
||||
src/game/C4GameVersion.h
|
||||
src/game/C4Physics.h
|
||||
src/game/landscape/C4Landscape.cpp
|
||||
src/game/landscape/C4Landscape.h
|
||||
src/game/landscape/C4Map.cpp
|
||||
src/game/landscape/C4MapCreatorS2.cpp
|
||||
src/game/landscape/C4MapCreatorS2.h
|
||||
src/game/landscape/C4Map.h
|
||||
src/game/landscape/C4MassMover.cpp
|
||||
src/game/landscape/C4MassMover.h
|
||||
src/game/landscape/C4Material.cpp
|
||||
src/game/landscape/C4Material.h
|
||||
src/game/landscape/C4MaterialList.cpp
|
||||
src/game/landscape/C4MaterialList.h
|
||||
src/game/landscape/C4Particles.cpp
|
||||
src/game/landscape/C4Particles.h
|
||||
src/game/landscape/C4PathFinder.cpp
|
||||
src/game/landscape/C4PathFinder.h
|
||||
src/game/landscape/C4PXS.cpp
|
||||
src/game/landscape/C4PXS.h
|
||||
src/game/landscape/C4Region.cpp
|
||||
src/game/landscape/C4Region.h
|
||||
src/game/landscape/C4Scenario.cpp
|
||||
src/game/landscape/C4Scenario.h
|
||||
src/game/landscape/C4Sky.cpp
|
||||
src/game/landscape/C4Sky.h
|
||||
src/game/landscape/C4SolidMask.cpp
|
||||
src/game/landscape/C4SolidMask.h
|
||||
src/game/landscape/C4Texture.cpp
|
||||
src/game/landscape/C4Texture.h
|
||||
src/game/landscape/C4Weather.cpp
|
||||
src/game/landscape/C4Weather.h
|
||||
src/game/object/C4Action.cpp
|
||||
src/game/object/C4Command.cpp
|
||||
src/game/object/C4Command.h
|
||||
src/game/object/C4Def.cpp
|
||||
src/game/object/C4DefGraphics.cpp
|
||||
src/game/object/C4DefGraphics.h
|
||||
src/game/object/C4Def.h
|
||||
src/game/object/C4GameObjects.cpp
|
||||
src/game/object/C4GameObjects.h
|
||||
src/game/object/C4Id.cpp
|
||||
src/game/object/C4Id.h
|
||||
src/game/object/C4IDList.cpp
|
||||
src/game/object/C4IDList.h
|
||||
src/game/object/C4InfoCore.cpp
|
||||
src/game/object/C4InfoCore.h
|
||||
src/game/object/C4Movement.cpp
|
||||
src/game/object/C4ObjectCom.cpp
|
||||
src/game/object/C4ObjectCom.h
|
||||
src/game/object/C4Object.cpp
|
||||
src/game/object/C4Object.h
|
||||
src/game/object/C4ObjectInfo.cpp
|
||||
src/game/object/C4ObjectInfo.h
|
||||
src/game/object/C4ObjectInfoList.cpp
|
||||
src/game/object/C4ObjectInfoList.h
|
||||
src/game/object/C4ObjectList.cpp
|
||||
src/game/object/C4ObjectList.h
|
||||
src/game/object/C4ObjectMenu.cpp
|
||||
src/game/object/C4ObjectMenu.h
|
||||
src/game/object/C4Sector.cpp
|
||||
src/game/object/C4Sector.h
|
||||
src/game/object/C4Shape.cpp
|
||||
src/game/object/C4Shape.h
|
||||
src/game/player/C4Player.cpp
|
||||
src/game/player/C4Player.h
|
||||
src/game/player/C4PlayerList.cpp
|
||||
src/game/player/C4PlayerList.h
|
||||
src/game/player/C4RankSystem.cpp
|
||||
src/game/player/C4RankSystem.h
|
||||
src/game/script/C4Effect.cpp
|
||||
src/game/script/C4Effects.h
|
||||
src/game/script/C4FindObject.cpp
|
||||
src/game/script/C4FindObject.h
|
||||
src/game/script/C4Script.cpp
|
||||
src/game/script/C4Script.h
|
||||
src/game/script/C4TransferZone.cpp
|
||||
src/game/script/C4TransferZone.h
|
||||
src/gui/C4ChatDlg.cpp
|
||||
src/gui/C4ChatDlg.h
|
||||
src/gui/C4DownloadDlg.cpp
|
||||
src/gui/C4DownloadDlg.h
|
||||
src/gui/C4FileSelDlg.cpp
|
||||
src/gui/C4FileSelDlg.h
|
||||
src/gui/C4Folder.cpp
|
||||
src/gui/C4Folder.h
|
||||
src/gui/C4GameDialogs.cpp
|
||||
src/gui/C4GameDialogs.h
|
||||
src/gui/C4GameLobby.cpp
|
||||
src/gui/C4GameLobby.h
|
||||
src/gui/C4GameMessage.cpp
|
||||
src/gui/C4GameMessage.h
|
||||
src/gui/C4GameOptions.cpp
|
||||
src/gui/C4GameOptions.h
|
||||
src/gui/C4GameOverDlg.cpp
|
||||
src/gui/C4GameOverDlg.h
|
||||
src/gui/C4GuiButton.cpp
|
||||
src/gui/C4GuiCheckBox.cpp
|
||||
src/gui/C4GuiComboBox.cpp
|
||||
src/gui/C4GuiContainers.cpp
|
||||
src/gui/C4Gui.cpp
|
||||
src/gui/C4GuiDialogs.cpp
|
||||
src/gui/C4GuiEdit.cpp
|
||||
src/gui/C4Gui.h
|
||||
src/gui/C4GuiLabels.cpp
|
||||
src/gui/C4GuiListBox.cpp
|
||||
src/gui/C4GuiMenu.cpp
|
||||
src/gui/C4GuiTabular.cpp
|
||||
src/gui/C4KeyboardInput.cpp
|
||||
src/gui/C4KeyboardInput.h
|
||||
src/gui/C4LoaderScreen.cpp
|
||||
src/gui/C4LoaderScreen.h
|
||||
src/gui/C4MainMenu.cpp
|
||||
src/gui/C4MainMenu.h
|
||||
src/gui/C4Menu.cpp
|
||||
src/gui/C4Menu.h
|
||||
src/gui/C4MessageBoard.cpp
|
||||
src/gui/C4MessageBoard.h
|
||||
src/gui/C4MessageInput.cpp
|
||||
src/gui/C4MessageInput.h
|
||||
src/gui/C4MouseControl.cpp
|
||||
src/gui/C4MouseControl.h
|
||||
src/gui/C4PlayerInfoListBox.cpp
|
||||
src/gui/C4PlayerInfoListBox.h
|
||||
src/gui/C4Scoreboard.cpp
|
||||
src/gui/C4Scoreboard.h
|
||||
src/gui/C4StartupAboutDlg.cpp
|
||||
src/gui/C4StartupAboutDlg.h
|
||||
src/gui/C4Startup.cpp
|
||||
src/gui/C4Startup.h
|
||||
src/gui/C4StartupMainDlg.cpp
|
||||
src/gui/C4StartupMainDlg.h
|
||||
src/gui/C4StartupNetDlg.cpp
|
||||
src/gui/C4StartupNetDlg.h
|
||||
src/gui/C4StartupOptionsDlg.cpp
|
||||
src/gui/C4StartupOptionsDlg.h
|
||||
src/gui/C4StartupPlrSelDlg.cpp
|
||||
src/gui/C4StartupPlrSelDlg.h
|
||||
src/gui/C4StartupScenSelDlg.cpp
|
||||
src/gui/C4StartupScenSelDlg.h
|
||||
src/gui/C4UpdateDlg.cpp
|
||||
src/gui/C4UpdateDlg.h
|
||||
src/gui/C4UpperBoard.cpp
|
||||
src/gui/C4UpperBoard.h
|
||||
src/gui/C4UserMessages.h
|
||||
src/gui/C4Viewport.cpp
|
||||
src/gui/C4Viewport.h
|
||||
src/lib/C4ComponentHost.cpp
|
||||
src/lib/C4ComponentHost.h
|
||||
src/lib/C4InputValidation.cpp
|
||||
src/lib/C4InputValidation.h
|
||||
src/lib/C4LangStringTable.cpp
|
||||
src/lib/C4LangStringTable.h
|
||||
src/lib/C4LogBuf.cpp
|
||||
src/lib/C4LogBuf.h
|
||||
src/lib/C4Log.cpp
|
||||
src/lib/C4Log.h
|
||||
src/lib/C4NameList.cpp
|
||||
src/lib/C4NameList.h
|
||||
src/lib/C4Random.cpp
|
||||
src/lib/C4Random.h
|
||||
src/lib/C4RTF.cpp
|
||||
src/lib/C4RTF.H
|
||||
src/lib/C4Stat.cpp
|
||||
src/lib/C4Stat.h
|
||||
src/lib/Fixed.cpp
|
||||
src/lib/Fixed.h
|
||||
src/lib/PathFinder.cpp
|
||||
src/lib/PathFinder.h
|
||||
src/lib/Standard.cpp
|
||||
src/lib/Standard.h
|
||||
src/lib/StdAdaptors.h
|
||||
src/lib/StdBase64.cpp
|
||||
src/lib/StdBase64.h
|
||||
src/lib/StdBuf.cpp
|
||||
src/lib/StdBuf.h
|
||||
src/lib/StdColors.h
|
||||
src/lib/StdCompiler.cpp
|
||||
src/lib/StdCompiler.h
|
||||
src/lib/StdMarkup.cpp
|
||||
src/lib/StdMarkup.h
|
||||
src/lib/StdResStr2.cpp
|
||||
src/lib/StdResStr2.h
|
||||
src/lib/StdResStr.h
|
||||
src/lib/texture/C4Facet.cpp
|
||||
src/lib/texture/C4FacetEx.cpp
|
||||
src/lib/texture/C4FacetEx.h
|
||||
src/lib/texture/C4Facet.h
|
||||
src/lib/texture/C4GraphicsResource.cpp
|
||||
src/lib/texture/C4GraphicsResource.h
|
||||
src/lib/texture/C4Surface.cpp
|
||||
src/lib/texture/C4SurfaceFile.cpp
|
||||
src/lib/texture/C4SurfaceFile.h
|
||||
src/lib/texture/C4Surface.h
|
||||
src/lib/texture/StdPNG.cpp
|
||||
src/lib/texture/StdPNG.h
|
||||
src/network/C4Client.cpp
|
||||
src/network/C4Client.h
|
||||
src/network/C4GameControlNetwork.cpp
|
||||
src/network/C4GameControlNetwork.h
|
||||
src/network/C4InteractiveThread.cpp
|
||||
src/network/C4InteractiveThread.h
|
||||
src/network/C4League.cpp
|
||||
src/network/C4League.h
|
||||
src/network/C4NetIO.cpp
|
||||
src/network/C4NetIO.h
|
||||
src/network/C4Network2Client.cpp
|
||||
src/network/C4Network2Client.h
|
||||
src/network/C4Network2.cpp
|
||||
src/network/C4Network2Dialogs.cpp
|
||||
src/network/C4Network2Dialogs.h
|
||||
src/network/C4Network2Discover.cpp
|
||||
src/network/C4Network2Discover.h
|
||||
src/network/C4Network2.h
|
||||
src/network/C4Network2IO.cpp
|
||||
src/network/C4Network2IO.h
|
||||
src/network/C4Network2IRC.cpp
|
||||
src/network/C4Network2IRC.h
|
||||
src/network/C4Network2Players.cpp
|
||||
src/network/C4Network2Players.h
|
||||
src/network/C4Network2Reference.cpp
|
||||
src/network/C4Network2Reference.h
|
||||
src/network/C4Network2Res.cpp
|
||||
src/network/C4Network2ResDlg.cpp
|
||||
src/network/C4Network2Res.h
|
||||
src/network/C4Network2Stats.cpp
|
||||
src/network/C4Network2Stats.h
|
||||
src/network/C4Packet2.cpp
|
||||
src/network/C4PacketBase.h
|
||||
src/platform/Bitmap256.cpp
|
||||
src/platform/Bitmap256.h
|
||||
src/platform/C4FileClasses.h
|
||||
src/platform/C4FileMonitor.cpp
|
||||
src/platform/C4FileMonitor.h
|
||||
src/platform/C4Fonts.cpp
|
||||
src/platform/C4Fonts.h
|
||||
src/platform/C4GamePadCon.cpp
|
||||
src/platform/C4GamePadCon.h
|
||||
src/platform/C4MusicFile.cpp
|
||||
src/platform/C4MusicFile.h
|
||||
src/platform/C4MusicSystem.cpp
|
||||
src/platform/C4MusicSystem.h
|
||||
src/platform/C4SoundSystem.cpp
|
||||
src/platform/C4SoundSystem.h
|
||||
src/platform/C4Video.cpp
|
||||
src/platform/C4Video.h
|
||||
src/platform/C4VideoPlayback.cpp
|
||||
src/platform/C4VideoPlayback.h
|
||||
src/platform/DInputX.cpp
|
||||
src/platform/DInputX.h
|
||||
src/platform/DSoundX.cpp
|
||||
src/platform/DSoundX.h
|
||||
src/platform/Midi.cpp
|
||||
src/platform/Midi.h
|
||||
src/platform/OpenURL.cpp
|
||||
src/platform/StdConfig.cpp
|
||||
src/platform/StdConfig.h
|
||||
src/platform/StdD3D.cpp
|
||||
src/platform/StdD3D.h
|
||||
src/platform/StdD3DShader.cpp
|
||||
src/platform/StdD3DShader.h
|
||||
src/platform/StdDDraw2.cpp
|
||||
src/platform/StdDDraw2.h
|
||||
src/platform/StdFacet.h
|
||||
src/platform/StdFile.cpp
|
||||
src/platform/StdFile.h
|
||||
src/platform/StdFont.cpp
|
||||
src/platform/StdFont.h
|
||||
src/platform/StdGL.cpp
|
||||
src/platform/StdGLCtx.cpp
|
||||
src/platform/StdGL.h
|
||||
src/platform/StdNoGfx.cpp
|
||||
src/platform/StdNoGfx.h
|
||||
src/platform/StdRegistry.cpp
|
||||
src/platform/StdRegistry.h
|
||||
src/platform/StdScheduler.cpp
|
||||
src/platform/StdScheduler.h
|
||||
src/platform/StdSurface2.cpp
|
||||
src/platform/StdSurface2.h
|
||||
src/platform/StdSurface8.cpp
|
||||
src/platform/StdSurface8.h
|
||||
src/platform/StdSync.h
|
||||
src/platform/StdVideo.cpp
|
||||
src/platform/StdVideo.h
|
||||
src/platform/StdWindow.h
|
||||
src/script/C4AList.cpp
|
||||
src/script/C4AList.h
|
||||
src/script/C4Aul.cpp
|
||||
src/script/C4AulExec.cpp
|
||||
src/script/C4Aul.h
|
||||
src/script/C4AulLink.cpp
|
||||
src/script/C4AulParse.cpp
|
||||
src/script/C4PropList.cpp
|
||||
src/script/C4PropList.h
|
||||
src/script/C4ScriptHost.cpp
|
||||
src/script/C4ScriptHost.h
|
||||
src/script/C4StringTable.cpp
|
||||
src/script/C4StringTable.h
|
||||
src/script/C4Value.cpp
|
||||
src/script/C4Value.h
|
||||
src/script/C4ValueList.cpp
|
||||
src/script/C4ValueList.h
|
||||
src/script/C4ValueMap.cpp
|
||||
src/script/C4ValueMap.h
|
||||
src/zlib/gzio.c
|
||||
src/zlib/zutil.h
|
||||
)
|
||||
mark_as_advanced(OC_CLONK_SOURCES)
|
||||
mark_as_advanced(OC_SYSTEM_SORUCES)
|
||||
|
||||
if(WIN32)
|
||||
SET(additional_system_sources
|
||||
standard/src/StdWindow.cpp
|
||||
standard/src/StdJoystick.cpp
|
||||
standard/inc/StdJoystick.h
|
||||
list(APPEND OC_CLONK_SOURCES
|
||||
src/platform/C4FileClasses.cpp
|
||||
src/res/engine.rc
|
||||
src/res/resource.h
|
||||
)
|
||||
list(APPEND OC_SYSTEM_SOURCES
|
||||
src/platform/StdWindow.cpp
|
||||
src/platform/StdJoystick.cpp
|
||||
src/platform/StdJoystick.h
|
||||
src/platform/C4FileClasses.cpp
|
||||
src/res/engine.rc
|
||||
src/res/resource.h
|
||||
)
|
||||
elseif(USE_SDL)
|
||||
SET(additional_system_sources
|
||||
standard/src/StdSDLApp.cpp
|
||||
standard/src/StdSDLWindow.cpp
|
||||
list(APPEND OC_SYSTEM_SOURCES
|
||||
src/platform/StdSDLApp.cpp
|
||||
src/platform/StdSDLWindow.cpp
|
||||
)
|
||||
elseif(USE_X11)
|
||||
SET(additional_system_sources
|
||||
standard/src/StdXApp.cpp
|
||||
standard/src/StdXWindow.cpp
|
||||
standard/src/StdXPrivate.h
|
||||
list(APPEND OC_SYSTEM_SOURCES
|
||||
src/platform/StdXApp.cpp
|
||||
src/platform/StdXWindow.cpp
|
||||
src/platform/StdXPrivate.h
|
||||
)
|
||||
endif()
|
||||
if(APPLE)
|
||||
list(APPEND OC_SYSTEM_SOURCES
|
||||
src/platform/MacUtility.mm
|
||||
)
|
||||
endif()
|
||||
if(USE_GTK)
|
||||
SET(additional_system_sources
|
||||
${additional_system_sources}
|
||||
standard/src/StdGtkWindow.cpp
|
||||
standard/inc/StdGtkWindow.h
|
||||
list(APPEND OC_CLONK_SOURCES
|
||||
src/res/Brush.h
|
||||
src/res/Cursor.h
|
||||
src/res/Dynamic.h
|
||||
src/res/Exact.h
|
||||
src/res/Fill.h
|
||||
src/res/Halt.h
|
||||
src/res/Ift.h
|
||||
src/res/Line.h
|
||||
src/res/Mouse.h
|
||||
src/res/NoIft.h
|
||||
src/res/Picker.h
|
||||
src/res/Play.h
|
||||
src/res/Rect.h
|
||||
src/res/resource.h
|
||||
src/res/Static.h
|
||||
)
|
||||
|
||||
list(APPEND OC_SYSTEM_SOURCES
|
||||
src/platform/StdGtkWindow.cpp
|
||||
src/platform/StdGtkWindow.h
|
||||
)
|
||||
endif()
|
||||
add_library(standard STATIC
|
||||
${additional_system_sources}
|
||||
standard/src/Bitmap256.cpp
|
||||
standard/src/CStdFile.cpp
|
||||
standard/src/Fixed.cpp
|
||||
standard/src/Midi.cpp
|
||||
standard/src/OpenURL.cpp
|
||||
standard/src/PathFinder.cpp
|
||||
standard/src/Standard.cpp
|
||||
standard/src/StdBase64.cpp
|
||||
standard/src/StdBuf.cpp
|
||||
standard/src/StdConfig.cpp
|
||||
standard/src/StdCompiler.cpp
|
||||
standard/src/StdD3D.cpp
|
||||
standard/src/StdD3DShader.cpp
|
||||
standard/src/StdDDraw2.cpp
|
||||
standard/src/StdFile.cpp
|
||||
standard/src/StdFont.cpp
|
||||
standard/src/StdGL.cpp
|
||||
standard/src/StdGLCtx.cpp
|
||||
standard/src/StdMarkup.cpp
|
||||
standard/src/StdNoGfx.cpp
|
||||
standard/src/StdPNG.cpp
|
||||
standard/src/StdRegistry.cpp
|
||||
standard/src/StdResStr2.cpp
|
||||
standard/src/StdScheduler.cpp
|
||||
standard/src/StdSurface2.cpp
|
||||
standard/src/StdSurface8.cpp
|
||||
standard/src/StdVideo.cpp
|
||||
standard/inc/Bitmap256.h
|
||||
standard/inc/CStdFile.h
|
||||
standard/inc/DInputX.h
|
||||
standard/inc/DSoundX.h
|
||||
standard/inc/Fixed.h
|
||||
standard/inc/Midi.h
|
||||
standard/inc/PathFinder.h
|
||||
standard/inc/Standard.h
|
||||
standard/inc/StdAdaptors.h
|
||||
standard/inc/StdBase64.h
|
||||
standard/inc/StdBuf.h
|
||||
standard/inc/StdColors.h
|
||||
standard/inc/StdConfig.h
|
||||
standard/inc/StdCompiler.h
|
||||
standard/inc/StdD3D.h
|
||||
standard/inc/StdD3DShader.h
|
||||
standard/inc/StdDDraw2.h
|
||||
standard/inc/StdFacet.h
|
||||
standard/inc/StdFile.h
|
||||
standard/inc/StdFont.h
|
||||
standard/inc/StdGL.h
|
||||
standard/inc/StdMarkup.h
|
||||
standard/inc/StdNoGfx.h
|
||||
standard/inc/StdPNG.h
|
||||
standard/inc/StdRandom.h
|
||||
standard/inc/StdRegistry.h
|
||||
standard/inc/StdResStr2.h
|
||||
standard/inc/StdResStr.h
|
||||
standard/inc/StdScheduler.h
|
||||
standard/inc/StdSurface2.h
|
||||
standard/inc/StdSurface8.h
|
||||
standard/inc/StdSync.h
|
||||
standard/inc/StdVideo.h
|
||||
standard/inc/StdWindow.h
|
||||
standard/zlib/gzio.c
|
||||
standard/zlib/zutil.h
|
||||
|
||||
add_executable(clonk WIN32 MACOSX_BUNDLE
|
||||
${OC_CLONK_SOURCES}
|
||||
${OC_SYSTEM_SOURCES}
|
||||
)
|
||||
|
||||
source_group("Unsorted" .*)
|
||||
source_group("Library\\Platform abstraction" src/platform/.*)
|
||||
source_group("Library\\Utility" src/lib/.*)
|
||||
source_group("Library\\C4Group" src/c4group/.*)
|
||||
source_group("Library\\Graphics" src/lib/texture/.*)
|
||||
source_group("GUI" src/gui/.*)
|
||||
source_group("Network" src/network/.*)
|
||||
source_group("Game\\Objects" src/game/object/.*)
|
||||
source_group("Game\\Scenario" src/game/landscape/.*)
|
||||
source_group("Game\\Player" src/game/player/.*)
|
||||
source_group("Game\\Script" src/game/script/.*)
|
||||
source_group("Scripting" src/script/.*)
|
||||
source_group("Config" src/config/.*)
|
||||
source_group("Control" src/control/.*)
|
||||
source_group("Editing" src/editor/.*)
|
||||
|
||||
add_executable(c4group
|
||||
src/c4group/c4group_ng.cpp
|
||||
src/c4group/C4Group.cpp
|
||||
src/lib/C4InputValidation.cpp
|
||||
src/config/C4SecurityCertificates.cpp
|
||||
src/c4group/C4Update.cpp
|
||||
src/lib/Standard.cpp
|
||||
src/c4group/CStdFile.cpp
|
||||
src/lib/StdMarkup.cpp
|
||||
src/lib/StdBuf.cpp
|
||||
src/lib/StdCompiler.cpp
|
||||
src/platform/StdFile.cpp
|
||||
src/platform/StdRegistry.cpp
|
||||
src/lib/StdResStr2.cpp
|
||||
src/platform/StdConfig.cpp
|
||||
src/zlib/gzio.c
|
||||
)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/standard
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/standard/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/engine/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/engine/sec
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/engine
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/c4group
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/network
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/lib
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/platform
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/config
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/res
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/control
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/gui
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/editor
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/game/landscape
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/game/player
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/game/script
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/game
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/game/object
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/lib/texture
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/script
|
||||
)
|
||||
target_link_libraries(clonk standard)
|
||||
|
||||
set_property(TARGET clonk standard APPEND PROPERTY COMPILE_DEFINITIONS C4ENGINE GLEW_STATIC)
|
||||
set_property(TARGET clonk APPEND PROPERTY COMPILE_DEFINITIONS C4ENGINE GLEW_STATIC)
|
||||
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG _DEBUG)
|
||||
include(CheckIncludeFileCXX)
|
||||
CHECK_INCLUDE_FILE_CXX(direct.h HAVE_DIRECT_H)
|
||||
|
|
1039
Makefile.am
|
@ -16,7 +16,7 @@ dnl Process this file with autoconf to produce a configure script.
|
|||
AC_PREREQ(2.59)
|
||||
AC_INIT(clonk, m4_format([[[%s.%s.%s.%s]]], m4_include(version)))
|
||||
AC_COPYRIGHT([©2005-2009 Günther Brammer])
|
||||
AC_CONFIG_SRCDIR([engine/src/C4Map.cpp])
|
||||
AC_CONFIG_SRCDIR([/src/C4Game.cpp])
|
||||
AC_CONFIG_AUX_DIR([autotools])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
|
||||
<!DOCTYPE funcs SYSTEM "../../../clonk.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
||||
<funcs>
|
||||
<func>
|
||||
<title>CrewMember</title>
|
||||
<category>Objekte</category><subcat>Mannschaft</subcat>
|
||||
<version>4.6.5.0 CP</version>
|
||||
<syntax>
|
||||
<rtype>bool</rtype>
|
||||
<params>
|
||||
<param><type>id</type><name>id</name><desc>Zu prüfende Objektdefinition.</desc></param>
|
||||
</params>
|
||||
</syntax>
|
||||
<desc>Liefert den Wert von "CrewMember" aus der DefCore von id.</desc>
|
||||
<related>
|
||||
<funclink>GetDefCoreVal</funclink>
|
||||
</related>
|
||||
</func>
|
||||
<author>jwk</author><date>April <!-- 1337 -->2002</date>
|
||||
</funcs>
|
10566
engine/engine.vc9.vcproj
|
@ -1,15 +0,0 @@
|
|||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Developer Studio generated include file.
|
||||
// Used by Resource.rc
|
||||
//
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1000
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
|
@ -0,0 +1,4 @@
|
|||
[DefCore]
|
||||
id=HUDC
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack | C4D_Environment
|
After Width: | Height: | Size: 124 B |
|
@ -0,0 +1,2 @@
|
|||
DE:Controller
|
||||
US:Controller
|
|
@ -0,0 +1,100 @@
|
|||
#strict 2
|
||||
|
||||
/*
|
||||
Per-Player Controller
|
||||
|
||||
Creates and removes the crew selectors as well as reorders them and
|
||||
manages when a crew changes it's controller
|
||||
*/
|
||||
|
||||
|
||||
// following callbacks missing:
|
||||
// OnClonkUnRecruitment - clonk gets de-recruited from a crew
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
// find all clonks of this crew which do not have a selector yet (and can have one)
|
||||
for(var i=GetCrewCount(GetOwner())-1; i >= 0; --i)
|
||||
{
|
||||
var crew = GetCrew(GetOwner(),i);
|
||||
if(!(crew->HUDSelectable())) continue;
|
||||
|
||||
var sel = crew->GetSelector();
|
||||
if(!sel)
|
||||
CreateSelectorFor(crew);
|
||||
}
|
||||
|
||||
// reorder the crew selectors
|
||||
ReorderCrewSelectors();
|
||||
}
|
||||
|
||||
protected func OnClonkRecruitment(object clonk, int plr)
|
||||
{
|
||||
// not my business
|
||||
if(plr != GetOwner()) return;
|
||||
|
||||
if(!(clonk->HUDSelectable())) return;
|
||||
|
||||
// if the clonk already has a hud, it means that he belonged to another
|
||||
// crew. So we need another handling here in this case.
|
||||
var sel;
|
||||
if(sel = clonk->GetSelector())
|
||||
{
|
||||
var owner = sel->GetOwner();
|
||||
sel->UpdateController();
|
||||
|
||||
// reorder stuff in the other one
|
||||
var othercontroller = FindObject(Find_ID(GetID()), Find_Owner(owner));
|
||||
othercontroller->ReorderCrewSelectors();
|
||||
}
|
||||
// create new crew selector
|
||||
else
|
||||
{
|
||||
CreateSelectorFor(clonk);
|
||||
}
|
||||
|
||||
// reorder the crew selectors
|
||||
ReorderCrewSelectors();
|
||||
}
|
||||
|
||||
protected func OnClonkDeath(object clonk, int killer)
|
||||
{
|
||||
if(GetController(clonk) != GetOwner()) return;
|
||||
|
||||
if(!(clonk->HUDSelectable())) return;
|
||||
|
||||
// notify the hud
|
||||
clonk->GetSelector()->CrewGone();
|
||||
|
||||
// and reorder
|
||||
ReorderCrewSelectors();
|
||||
}
|
||||
|
||||
private func CreateSelectorFor(object clonk)
|
||||
{
|
||||
var selector = CreateObject(CSLR,10,10,-1);
|
||||
selector->SetCrew(clonk);
|
||||
clonk->SetSelector(selector);
|
||||
return selector;
|
||||
}
|
||||
|
||||
public func ReorderCrewSelectors()
|
||||
{
|
||||
// somehow new crew gets sorted at the beginning
|
||||
// because we dont want that, the for loop starts from the end
|
||||
var j = 0;
|
||||
for(var i=GetCrewCount(GetOwner())-1; i >= 0; --i)
|
||||
{
|
||||
var crew = GetCrew(GetOwner(),i);
|
||||
var sel = crew->GetSelector();
|
||||
if(sel)
|
||||
{
|
||||
sel->SetPosition(32 + j * (GetDefWidth(CSLR) + spacing) + GetDefWidth(CSLR)/2, 16+GetDefHeight(CSLR)/2);
|
||||
if(j+1 == 10) sel->SetHotkey(0);
|
||||
else sel->SetHotkey(j+1);
|
||||
}
|
||||
|
||||
var spacing = 12;
|
||||
j++;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
[DefCore]
|
||||
id=BAR0
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack
|
||||
Width=110
|
||||
Height=19
|
||||
Offset=-55,-10
|
||||
Rotate=1
|
After Width: | Height: | Size: 138 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 964 B |
|
@ -0,0 +1,2 @@
|
|||
DE:Leiste
|
||||
US:Bar
|
|
@ -0,0 +1,72 @@
|
|||
#strict 2
|
||||
|
||||
/*
|
||||
Progress-Bar element
|
||||
|
||||
This object can show an unlimited amount of progress bars in different
|
||||
locations, sizes and colors. Using this basic funcionality, one could create
|
||||
floating health bars attached to clonks or include the bars as layers into
|
||||
(HUD) objects.
|
||||
*/
|
||||
|
||||
local offsx, offsy, layer, width, height;
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
offsx = CreateArray();
|
||||
offsy = CreateArray();
|
||||
width = CreateArray();
|
||||
height = CreateArray();
|
||||
layer = CreateArray();
|
||||
}
|
||||
|
||||
public func SetBarOffset(int x, int y, int num)
|
||||
{
|
||||
offsx[num] = x;
|
||||
offsy[num] = y;
|
||||
}
|
||||
|
||||
public func RemoveBarLayers(int la)
|
||||
{
|
||||
// remove layers
|
||||
SetGraphics(nil,nil,nil,la);
|
||||
SetGraphics(nil,nil,nil,la+1);
|
||||
}
|
||||
|
||||
public func SetBarLayers(int la, int num)
|
||||
{
|
||||
RemoveBarLayers(la);
|
||||
|
||||
// new layers
|
||||
layer[num] = la;
|
||||
SetGraphics("Empty",nil,BAR0,layer[num],GFXOV_MODE_Base);
|
||||
SetGraphics("Bar",nil,BAR0,layer[num]+1,GFXOV_MODE_Base);
|
||||
}
|
||||
|
||||
public func SetBarDimensions(int wdt, int hgt, int num)
|
||||
{
|
||||
width[num] = 1000 * wdt / GetDefWidth(BAR0);
|
||||
height[num] = 1000 * hgt / GetDefHeight(BAR0);
|
||||
}
|
||||
|
||||
public func SetBarProgress(int promille, int num)
|
||||
{
|
||||
// not existing
|
||||
if(GetLength(layer) <= num) return false;
|
||||
|
||||
// width/height not set == 1000
|
||||
if(!width[num]) width[num] = 1000;
|
||||
if(!height[num]) height[num] = 1000;
|
||||
|
||||
var w = GetDefWidth(BAR0)/2;
|
||||
|
||||
// the bar does not start on the left side of the graphics... correct this
|
||||
var graphicscorrect = 100;
|
||||
|
||||
var baroffset = offsx[num]*1000 - width[num]*w * (1000-promille)/(1000+graphicscorrect);
|
||||
|
||||
SetObjDrawTransform(width[num],0,offsx[num]*1000, 0, height[num], offsy[num]*1000,nil, layer[num]);
|
||||
SetObjDrawTransform((promille * width[num])/1000,0, baroffset, 0, height[num], offsy[num]*1000, nil, layer[num]+1);
|
||||
|
||||
return true;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
[DefCore]
|
||||
id=CSLR
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack | C4D_IgnoreFoW | C4D_Foreground | C4D_Parallax | C4D_MouseSelect
|
||||
Width=64
|
||||
Height=64
|
||||
Offset=-32,-32
|
After Width: | Height: | Size: 152 B |
|
@ -0,0 +1,2 @@
|
|||
DE:Crew selektieren
|
||||
US:Select crew
|
|
@ -0,0 +1,287 @@
|
|||
#strict 2
|
||||
#include BAR0
|
||||
|
||||
/*
|
||||
Crew selector HUD
|
||||
|
||||
For each crew member, one of these HUD elements exist in the top bar.
|
||||
It shows the rank, health, breath and magic bars as well as the title
|
||||
(or portrait) and is clickable. If clicked, the associated crew member
|
||||
get's selected.
|
||||
HUD elements are passive, they don't update their status by themselves
|
||||
but rely on the HUD controller to be notified of any changes.
|
||||
|
||||
*/
|
||||
|
||||
local crew, breathbar, magicbar, hotkey;
|
||||
|
||||
public func BarSpacing() { return -5; }
|
||||
public func HealthBarHeight() { return 12; }
|
||||
public func BreathBarHeight() { return 7; }
|
||||
public func MagicBarHeight() { return 7; }
|
||||
|
||||
/*
|
||||
usage of layers:
|
||||
-----------------
|
||||
layer 0 - unused
|
||||
layer 1 - title
|
||||
layer 2,3 - health bar
|
||||
layer 4,5 - breath bar
|
||||
layer 6,7 - magic bar
|
||||
|
||||
layer 10,11 - rank
|
||||
layer 12 - hotkey
|
||||
*/
|
||||
|
||||
/*
|
||||
The crew selector needs to be notified when
|
||||
-------------------
|
||||
...his clonk...
|
||||
+ changes his energy -> UpdateHealthBar()
|
||||
+ changes his breath -> UpdateBreathBar()
|
||||
+ changes his magic energy -> UpdateMagicBar()
|
||||
+ (temporarily) changes his physical (energy, breath, magic energy) -> see above
|
||||
+ gains a rank -> UpdateRank()
|
||||
+ is selected/is deselected as cursor -> UpdateSelectionStatus()
|
||||
+ changes it's title graphic (either by SetGraphics or by ChangeDef) -> UpdateTitleGraphic()
|
||||
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
_inherited();
|
||||
|
||||
breathbar = false;
|
||||
magicbar = false;
|
||||
hotkey = false;
|
||||
|
||||
// parallaxity
|
||||
this["Parallaxity"] = [0,0];
|
||||
|
||||
// visibility
|
||||
this["Visibility"] = VIS_None;
|
||||
|
||||
// health bar
|
||||
SetBarLayers(2,0);
|
||||
SetBarOffset(0,BarOffset(0),0);
|
||||
SetBarDimensions(GetDefWidth(GetID()),HealthBarHeight(),0);
|
||||
SetClrModulation(RGB(200,0,0),nil,3);
|
||||
}
|
||||
|
||||
public func MouseSelection(int plr)
|
||||
{
|
||||
if(!crew) return false;
|
||||
if(plr != GetOwner()) return false;
|
||||
|
||||
// select this clonk
|
||||
SetCursor(plr, crew);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public func SetCrew(object c)
|
||||
{
|
||||
crew = c;
|
||||
UpdateHealthBar();
|
||||
UpdateBreathBar();
|
||||
UpdateMagicBar();
|
||||
UpdateTitleGraphic();
|
||||
UpdateRank();
|
||||
UpdateController();
|
||||
UpdateSelectionStatus();
|
||||
|
||||
this["Visibility"] = VIS_Owner;
|
||||
|
||||
//ScheduleCall(0,"SetCrew",1,0,c);
|
||||
}
|
||||
|
||||
public func SetHotkey(int num)
|
||||
{
|
||||
if(num < 0 || num > 9)
|
||||
{
|
||||
SetGraphics(nil,nil,nil,12);
|
||||
hotkey = false;
|
||||
return;
|
||||
}
|
||||
|
||||
hotkey = true;
|
||||
var name = Format("%d",num);
|
||||
SetGraphics(name,nil,NUMB,12,GFXOV_MODE_IngamePicture);
|
||||
SetObjDrawTransform(300,0,16000,0,300,-30000, nil, 12);
|
||||
SetClrModulation(HSL(0,0,180),nil,12);
|
||||
}
|
||||
|
||||
public func CrewGone()
|
||||
{
|
||||
RemoveObject();
|
||||
}
|
||||
|
||||
public func UpdateController()
|
||||
{
|
||||
if(!crew) return;
|
||||
// visibility
|
||||
SetOwner(crew->GetController());
|
||||
}
|
||||
|
||||
public func UpdateSelectionStatus()
|
||||
{
|
||||
if(!crew) return;
|
||||
if(!hotkey) return;
|
||||
|
||||
if(crew == GetCursor(GetOwner()))
|
||||
SetClrModulation(HSL(0,0,250),nil,12);
|
||||
else
|
||||
SetClrModulation(HSL(0,0,180),nil,12);
|
||||
}
|
||||
|
||||
public func UpdateRank()
|
||||
{
|
||||
if(!crew) return;
|
||||
|
||||
var rank = crew->GetRank();
|
||||
var nrank = rank % 25;
|
||||
var brank = rank / 25;
|
||||
|
||||
var rankx = -1000 * GetDefWidth(GetID())/2 + 10000;
|
||||
var ranky = -15000;
|
||||
|
||||
SetGraphics(nil,nil,RANK,10,GFXOV_MODE_Action,Format("Rank%d",nrank));
|
||||
SetObjDrawTransform(1000,0,rankx,0,1000,ranky, nil, 10);
|
||||
|
||||
// extra rank (the star if the clonk is too experienced for normal ranks)
|
||||
if(brank > 0)
|
||||
{
|
||||
SetGraphics(nil,nil,RANK,11,GFXOV_MODE_Action,Format("RankExtra%d",brank));
|
||||
SetObjDrawTransform(1000,0,rankx-6000,0,1000,ranky-4000, nil, 11);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetGraphics(nil,nil,nil,11);
|
||||
}
|
||||
}
|
||||
|
||||
public func UpdateTitleGraphic()
|
||||
{
|
||||
if(!crew) return;
|
||||
|
||||
SetGraphics(nil,nil,crew->GetID(),1,GFXOV_MODE_Object,nil,nil,crew);
|
||||
|
||||
//SetGraphics(nil,nil,crew->GetID(),1,GFXOV_MODE_IngamePicture);
|
||||
|
||||
// doesn't work:
|
||||
//SetColorDw(crew->GetColorDw());
|
||||
}
|
||||
|
||||
public func UpdateHealthBar()
|
||||
{
|
||||
if(!crew) return;
|
||||
var phys = crew->GetPhysical("Energy");
|
||||
var promille;
|
||||
if(phys == 0) promille = 0;
|
||||
else promille = 1000 * crew->GetEnergy() / (phys / 1000);
|
||||
|
||||
SetBarProgress(promille,0);
|
||||
}
|
||||
|
||||
public func UpdateBreathBar()
|
||||
{
|
||||
if(!crew) return;
|
||||
var phys = crew->GetPhysical("Breath");
|
||||
var promille;
|
||||
if(phys == 0) promille = 0;
|
||||
else promille = 1000 * crew->GetBreath() / (phys / 1000);
|
||||
|
||||
// remove breath bar if full breath
|
||||
if(promille == 1000)
|
||||
{
|
||||
if(breathbar)
|
||||
RemoveBreathBar();
|
||||
}
|
||||
// add breath bar if there is none
|
||||
else
|
||||
{
|
||||
if(!breathbar)
|
||||
AddBreathBar();
|
||||
|
||||
SetBarProgress(promille,1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public func UpdateMagicBar()
|
||||
{
|
||||
if(!crew) return;
|
||||
var phys = crew->GetPhysical("Magic");
|
||||
var promille = 0;
|
||||
if(phys != 0) promille = 1000 * crew->GetMagicEnergy() / (phys / 1000);
|
||||
|
||||
// remove magic bar if no physical magic!
|
||||
if(phys == 0)
|
||||
{
|
||||
if(magicbar)
|
||||
RemoveMagicBar();
|
||||
}
|
||||
// add magic bar if there is none
|
||||
else
|
||||
{
|
||||
if(!magicbar)
|
||||
AddMagicBar();
|
||||
|
||||
SetBarProgress(promille,2);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private func BarOffset(int num)
|
||||
{
|
||||
var offset = GetDefWidth(GetID())/2 + HealthBarHeight()/2 + num * BarSpacing() + num;
|
||||
if(num > 0) offset += HealthBarHeight();
|
||||
if(num > 1) offset += BreathBarHeight();
|
||||
return offset;
|
||||
}
|
||||
|
||||
private func AddBreathBar()
|
||||
{
|
||||
// breath bar
|
||||
SetBarLayers(4,1);
|
||||
SetBarOffset(0,BarOffset(1),1);
|
||||
SetBarDimensions(GetDefWidth(GetID()),BreathBarHeight(),1);
|
||||
SetClrModulation(RGB(0,200,200),nil,5);
|
||||
|
||||
breathbar = true;
|
||||
|
||||
// update position of magic bar (if any)
|
||||
if(magicbar)
|
||||
SetBarOffset(0,BarOffset(2),2);
|
||||
}
|
||||
|
||||
private func RemoveBreathBar()
|
||||
{
|
||||
RemoveBarLayers(4);
|
||||
|
||||
breathbar = false;
|
||||
|
||||
// update position of magic bar (if any)
|
||||
if(magicbar)
|
||||
SetBarOffset(0,BarOffset(1),2);
|
||||
}
|
||||
|
||||
private func AddMagicBar()
|
||||
{
|
||||
var num = 1;
|
||||
if(breathbar) num = 2;
|
||||
|
||||
SetBarLayers(6,2);
|
||||
SetBarOffset(0,BarOffset(num),2);
|
||||
SetBarDimensions(GetDefWidth(GetID()),MagicBarHeight(),2);
|
||||
SetClrModulation(RGB(0,0,200),nil,7);
|
||||
|
||||
magicbar = true;
|
||||
}
|
||||
|
||||
private func RemoveMagicBar()
|
||||
{
|
||||
RemoveBarLayers(6);
|
||||
|
||||
magicbar = false;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
DE:Elemente
|
||||
US:Elements
|
|
@ -0,0 +1,4 @@
|
|||
[DefCore]
|
||||
id=HUDS
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack
|
After Width: | Height: | Size: 124 B |
|
@ -0,0 +1,2 @@
|
|||
DE:HUD selektierbar
|
||||
US:HUD selectable
|
|
@ -0,0 +1,28 @@
|
|||
#strict 2
|
||||
#appendto CLNK
|
||||
|
||||
local selector;
|
||||
|
||||
public func SetSelector(object sel)
|
||||
{
|
||||
selector = sel;
|
||||
}
|
||||
|
||||
public func GetSelector()
|
||||
{
|
||||
return selector;
|
||||
}
|
||||
|
||||
public func HUDSelectable()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// bootstrap the hud
|
||||
protected func Recruitment(int iPlr)
|
||||
{
|
||||
if(!FindObject(Find_ID(HUDC),Find_Owner(iPlr)))
|
||||
CreateObject(HUDC,10,10,iPlr);
|
||||
|
||||
return _inherited(...);
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
DE:Funktionalitäten
|
||||
US:Functionalities
|
|
@ -0,0 +1,2 @@
|
|||
DE:Ressourcen
|
||||
US:Resources
|
|
@ -0,0 +1,8 @@
|
|||
[DefCore]
|
||||
id=NUMB
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack
|
||||
Picture=0,0,64,64
|
||||
Width=64
|
||||
Height=64
|
||||
Offset=-32,-32
|
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
|
@ -0,0 +1,2 @@
|
|||
DE:Ziffer
|
||||
US:Number
|
|
@ -0,0 +1,115 @@
|
|||
[Action]
|
||||
Name=Rank0
|
||||
Facet=0,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank1
|
||||
Facet=16,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank2
|
||||
Facet=32,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank3
|
||||
Facet=48,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank4
|
||||
Facet=64,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank5
|
||||
Facet=80,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank6
|
||||
Facet=96,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank7
|
||||
Facet=112,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank8
|
||||
Facet=128,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank9
|
||||
Facet=144,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank10
|
||||
Facet=160,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank11
|
||||
Facet=176,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank12
|
||||
Facet=192,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank13
|
||||
Facet=208,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank14
|
||||
Facet=224,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank15
|
||||
Facet=240,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank16
|
||||
Facet=256,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank17
|
||||
Facet=272,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank18
|
||||
Facet=288,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank19
|
||||
Facet=304,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank20
|
||||
Facet=320,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank21
|
||||
Facet=336,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank22
|
||||
Facet=352,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank23
|
||||
Facet=368,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=Rank24
|
||||
Facet=384,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=RankExtra1
|
||||
Facet=400,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=RankExtra2
|
||||
Facet=416,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=RankExtra3
|
||||
Facet=432,0,16,16
|
||||
|
||||
[Action]
|
||||
Name=RankExtra4
|
||||
Facet=448,0,16,16
|
|
@ -0,0 +1,8 @@
|
|||
[DefCore]
|
||||
id=RANK
|
||||
Version=4,9,5
|
||||
Category=C4D_StaticBack
|
||||
Picture=0,0,16,16
|
||||
Width=16
|
||||
Height=16
|
||||
Offset=-8,-8
|
After Width: | Height: | Size: 9.2 KiB |
|
@ -0,0 +1,2 @@
|
|||
DE:Zeichen
|
||||
US:Character
|
|
@ -0,0 +1,37 @@
|
|||
#strict 2
|
||||
|
||||
func Definition(def) {
|
||||
def["ActMap"] = {
|
||||
|
||||
Rank0 = { Prototype = Action, Name = "Rank0", X = 0, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank1 = { Prototype = Action, Name = "Rank1", X = 16, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank2 = { Prototype = Action, Name = "Rank2", X = 32, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank3 = { Prototype = Action, Name = "Rank3", X = 48, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank4 = { Prototype = Action, Name = "Rank4", X = 64, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank5 = { Prototype = Action, Name = "Rank5", X = 80, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank6 = { Prototype = Action, Name = "Rank6", X = 96, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank7 = { Prototype = Action, Name = "Rank7", X = 112, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank8 = { Prototype = Action, Name = "Rank8", X = 128, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank9 = { Prototype = Action, Name = "Rank9", X = 144, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank10 = { Prototype = Action, Name = "Rank10", X = 160, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank11 = { Prototype = Action, Name = "Rank11", X = 176, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank12 = { Prototype = Action, Name = "Rank12", X = 192, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank13 = { Prototype = Action, Name = "Rank13", X = 208, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank14 = { Prototype = Action, Name = "Rank14", X = 224, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank15 = { Prototype = Action, Name = "Rank15", X = 240, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank16 = { Prototype = Action, Name = "Rank16", X = 256, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank17 = { Prototype = Action, Name = "Rank17", X = 272, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank18 = { Prototype = Action, Name = "Rank18", X = 288, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank19 = { Prototype = Action, Name = "Rank19", X = 304, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank20 = { Prototype = Action, Name = "Rank20", X = 320, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank21 = { Prototype = Action, Name = "Rank21", X = 336, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank22 = { Prototype = Action, Name = "Rank22", X = 352, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank23 = { Prototype = Action, Name = "Rank23", X = 368, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
Rank24 = { Prototype = Action, Name = "Rank24", X = 384, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
RankExtra1 = { Prototype = Action, Name = "RankExtra1", X = 400, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
RankExtra2 = { Prototype = Action, Name = "RankExtra2", X = 416, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
RankExtra3 = { Prototype = Action, Name = "RankExtra3", X = 432, Y = 0, Wdt = 16, Hgt = 16 },
|
||||
RankExtra4 = { Prototype = Action, Name = "RankExtra4", X = 448, Y = 0, Wdt = 16, Hgt = 16 }
|
||||
|
||||
};
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
C4D_HUD:
|
||||
+ parallax
|
||||
+ über allem, über fow
|
||||
+ für mausklicks, maus-drag-and-drops etc zugänglich
|
||||
+ bekommt die GameCallEx calls mit
|
||||
+ kein Zoom!
|
||||
|
||||
----
|
||||
Funktion: SetViewportBorder(top/bottom, pixels) - verkleinert den Viewport so dass Platz ist für HUD-Elemente die nix verdecken
|
||||
|
||||
|
||||
-----
|
||||
|
|
@ -804,7 +804,7 @@ BOOL C4Game::Execute() // Returns true if the game is over
|
|||
// show stat each 1000 ticks
|
||||
if(!(FrameCounter % 1000))
|
||||
{
|
||||
C4ST_SHOWPARTSTAT
|
||||
C4ST_SHOWPARTSTAT(FrameCounter)
|
||||
C4ST_RESETPART
|
||||
}
|
||||
|
|
@ -24,6 +24,8 @@
|
|||
#include <C4GroupSet.h>
|
||||
|
||||
#include <C4Game.h>
|
||||
#include <C4Components.h>
|
||||
#include <C4Group.h>
|
||||
#include <C4Log.h>
|
||||
|
||||
C4GroupSetNode::C4GroupSetNode(C4GroupSet &rParent, C4GroupSetNode *pPrev, C4Group &rGroup, bool fGrpOwned, int32_t id)
|
|
@ -9,7 +9,7 @@
|
|||
//
|
||||
#include "afxres.h"
|
||||
|
||||
#include "..\engine\inc\C4Version.h"
|
||||
#include "C4Version.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|