Browse Source

HL:Invasion Attempt to ammend build system scripts other than cmake

invasion
Roy Shapiro 2 years ago
parent
commit
6b229861a1
  1. 8
      CMakeLists.txt
  2. 47
      cl_dll/Android.mk
  3. 39
      cl_dll/compile.bat
  4. 39
      cl_dll/wscript
  5. 78
      contrib/iZarif/premake5.lua
  6. 223
      dlls/Android.mk
  7. 35
      dlls/compile.bat
  8. 75
      dlls/wscript

8
CMakeLists.txt

@ -1,6 +1,8 @@
# #
# Copyright (c) 2016 Alibek Omarov # Copyright (c) 2016 Alibek Omarov
# #
# Edited by Roy for HL:Invasion
#
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights # in the Software without restriction, including without limitation the rights
@ -38,7 +40,7 @@ project (HLSDK-XASH3D)
#-------------- #--------------
# USER DEFINES \ # USER DEFINES \
################\ ################\
option(USE_VGUI "Enable VGUI1." OFF) option(USE_VGUI "Enable VGUI1." ON)
option(USE_VGUI2 "Enable VGUI2. UNDONE" OFF) option(USE_VGUI2 "Enable VGUI2. UNDONE" OFF)
option(USE_NOVGUI_MOTD "Prefer non-VGUI MOTD when USE_VGUI is enabled" OFF) option(USE_NOVGUI_MOTD "Prefer non-VGUI MOTD when USE_VGUI is enabled" OFF)
option(USE_NOVGUI_SCOREBOARD "Prefer non-VGUI Scoreboard when USE_VGUI is enabled" OFF) option(USE_NOVGUI_SCOREBOARD "Prefer non-VGUI Scoreboard when USE_VGUI is enabled" OFF)
@ -46,6 +48,8 @@ option(USE_VOICEMGR "Enable VOICE MANAGER." OFF)
option(BUILD_CLIENT "Build client dll" ON) option(BUILD_CLIENT "Build client dll" ON)
option(BUILD_SERVER "Build server dll" ON) option(BUILD_SERVER "Build server dll" ON)
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF) option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)
option(USE_GSTREAMER "Enable GStreamer." OFF)
option(USE_FMOD "Enable FMOD." OFF)
if (CMAKE_SIZEOF_VOID_P EQUAL 4 OR if (CMAKE_SIZEOF_VOID_P EQUAL 4 OR
((WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux") ((WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
@ -69,7 +73,7 @@ option(HLDEMO_BUILD "Enable Demo Build" OFF)
set(GAMEDIR "valve" CACHE STRING "Gamedir path") set(GAMEDIR "valve" CACHE STRING "Gamedir path")
set(SERVER_INSTALL_DIR "dlls" CACHE STRING "Where put server dll") set(SERVER_INSTALL_DIR "dlls" CACHE STRING "Where put server dll")
set(CLIENT_INSTALL_DIR "cl_dlls" CACHE STRING "Where put client dll") set(CLIENT_INSTALL_DIR "cl_dlls" CACHE STRING "Where put client dll")
set(SERVER_LIBRARY_NAME "hl" CACHE STRING "Library name for PC platforms") set(SERVER_LIBRARY_NAME "invasion" CACHE STRING "Library name for PC platforms")
message(STATUS "Half-Life") message(STATUS "Half-Life")
#----------------- #-----------------

47
cl_dll/Android.mk

@ -1,5 +1,8 @@
#hlsdk-2.3 client port for android #hlsdk-2.3 client port for android
#Copyright (c) mittorn #Copyright (c) mittorn
#Edited by Roy for HL:Invasion
#Warning: Completely UNTESTED!
#Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
@ -24,27 +27,25 @@ LOCAL_CFLAGS += -DCLIENT_DLL=1
SRCS= SRCS=
SRCS_C= SRCS_C=
SRCS+=../dlls/crossbow.cpp SRCS+=./clientbriquet.cpp
SRCS+=../dlls/crowbar.cpp SRCS+=./clientfog.cpp
SRCS+=../dlls/egon.cpp SRCS+=./clientlflammes.cpp
SRCS+=./ev_hldm.cpp SRCS+=./ev_hldm.cpp
SRCS+=../dlls/gauss.cpp SRCS+=./GameStudioModelRenderer.cpp
SRCS+=../dlls/handgrenade.cpp
SRCS+=./hl/hl_baseentity.cpp SRCS+=./hl/hl_baseentity.cpp
SRCS+=./hl/hl_events.cpp SRCS+=./hl/hl_events.cpp
SRCS+=./hl/hl_objects.cpp SRCS+=./hl/hl_objects.cpp
SRCS+=./hl/hl_weapons.cpp SRCS+=./hl/hl_weapons.cpp
SRCS+=../dlls/hornetgun.cpp
SRCS+=../dlls/mp5.cpp
SRCS+=../dlls/python.cpp
SRCS+=../dlls/rpg.cpp
SRCS+=../dlls/satchel.cpp
SRCS+=../dlls/shotgun.cpp
SRCS+=../dlls/squeakgrenade.cpp
SRCS+=../dlls/tripmine.cpp
SRCS+=../dlls/glock.cpp SRCS+=../dlls/glock.cpp
#SRCS+=../game_shared/voice_banmgr.cpp SRCS+=./hud_tank.cpp
#SRCS+=../game_shared/voice_status.cpp SRCS+=./hudradio.cpp
SRCS+=./hudrpg.cpp
SRCS+=./hudzoom.cpp
SRCS+=./lensflare.cpp
SRCS+=./nvg.cpp
SRCS+=./particules.cpp
SRCS+=./studio_util.cpp
SRCS+=./StudioModelRenderer.cpp
SRCS+=./ammo.cpp SRCS+=./ammo.cpp
SRCS+=./ammo_secondary.cpp SRCS+=./ammo_secondary.cpp
SRCS+=./ammohistory.cpp SRCS+=./ammohistory.cpp
@ -57,40 +58,34 @@ SRCS+=./entity.cpp
SRCS+=./ev_common.cpp SRCS+=./ev_common.cpp
SRCS+=./events.cpp SRCS+=./events.cpp
SRCS+=./flashlight.cpp SRCS+=./flashlight.cpp
SRCS+=./GameStudioModelRenderer.cpp
SRCS+=./geiger.cpp SRCS+=./geiger.cpp
SRCS+=./health.cpp SRCS+=./health.cpp
SRCS+=./hud.cpp SRCS+=./hud.cpp
SRCS+=./hud_msg.cpp SRCS+=./hud_msg.cpp
SRCS+=./hud_redraw.cpp SRCS+=./hud_redraw.cpp
#SRCS+=./hud_servers.cpp
SRCS+=./hud_spectator.cpp SRCS+=./hud_spectator.cpp
SRCS+=./hud_update.cpp SRCS+=./hud_update.cpp
SRCS+=./in_camera.cpp SRCS+=./in_camera.cpp
SRCS+=./input.cpp SRCS+=./input.cpp
SRCS+=./input_goldsource.cpp SRCS+=./input_goldsource.cpp
SRCS+=./input_mouse.cpp SRCS+=./input_mouse.cpp
#SRCS+=./inputw32.cpp SRCS+=./input_xash3d.cpp
SRCS+=./menu.cpp SRCS+=./menu.cpp
SRCS+=./message.cpp SRCS+=./message.cpp
SRCS+=./overview.cpp SRCS+=./overview.cpp
SRCS+=./parsemsg.cpp SRCS+=./parsemsg.cpp
SRCS_C+=../pm_shared/pm_debug.c SRCS+=./parsemsg.h
SRCS_C+=../pm_shared/pm_math.c SRCS_C+=./../pm_shared/pm_debug.c
SRCS_C+=../pm_shared/pm_shared.c SRCS_C+=./../pm_shared/pm_math.c
SRCS_C+=./../pm_shared/pm_shared.c
SRCS+=./saytext.cpp SRCS+=./saytext.cpp
SRCS+=./status_icons.cpp SRCS+=./status_icons.cpp
SRCS+=./statusbar.cpp SRCS+=./statusbar.cpp
SRCS+=./studio_util.cpp
SRCS+=./StudioModelRenderer.cpp
SRCS+=./text_message.cpp SRCS+=./text_message.cpp
SRCS+=./train.cpp SRCS+=./train.cpp
SRCS+=./tri.cpp SRCS+=./tri.cpp
SRCS+=./util.cpp SRCS+=./util.cpp
SRCS+=./view.cpp SRCS+=./view.cpp
SRCS+=./input_xash3d.cpp
SRCS+=./scoreboard.cpp
SRCS+=./MOTD.cpp
INCLUDES = -I../common -I. -I../game_shared -I../pm_shared -I../engine -I../dlls -I../utils/false_vgui/include INCLUDES = -I../common -I. -I../game_shared -I../pm_shared -I../engine -I../dlls -I../utils/false_vgui/include
DEFINES = -Wno-write-strings -DLINUX -D_LINUX -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -DCLIENT_DLL -w -D_snprintf=snprintf DEFINES = -Wno-write-strings -DLINUX -D_LINUX -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DCLIENT_WEAPONS -DCLIENT_DLL -w -D_snprintf=snprintf

39
cl_dll/compile.bat

@ -1,4 +1,7 @@
@echo off @echo off
@rem "Edited by Roy for HL:Invasion"
@rem "Warning: Completely UNTESTED!"
@rem "Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)"
echo Setting environment for minimal Visual C++ 6 echo Setting environment for minimal Visual C++ 6
set INCLUDE=%MSVCDir%\VC98\Include set INCLUDE=%MSVCDir%\VC98\Include
set LIB=%MSVCDir%\VC98\Lib set LIB=%MSVCDir%\VC98\Lib
@ -8,25 +11,25 @@ echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original set XASH3DSRC=..\..\Xash3D_original
set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../utils/false_vgui/include set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../utils/false_vgui/include
set SOURCES=../dlls/crossbow.cpp ^ set SOURCES=clientbriquet.cpp ^
../dlls/crowbar.cpp ^ clientfog.cpp ^
../dlls/egon.cpp ^ clientlflammes.cpp ^
../dlls/gauss.cpp ^
../dlls/handgrenade.cpp ^
../dlls/hornetgun.cpp ^
../dlls/mp5.cpp ^
../dlls/python.cpp ^
../dlls/rpg.cpp ^
../dlls/satchel.cpp ^
../dlls/shotgun.cpp ^
../dlls/squeakgrenade.cpp ^
../dlls/tripmine.cpp ^
../dlls/glock.cpp ^
ev_hldm.cpp ^ ev_hldm.cpp ^
GameStudioModelRenderer.cpp ^
hl/hl_baseentity.cpp ^ hl/hl_baseentity.cpp ^
hl/hl_events.cpp ^ hl/hl_events.cpp ^
hl/hl_objects.cpp ^ hl/hl_objects.cpp ^
hl/hl_weapons.cpp ^ hl/hl_weapons.cpp ^
../dlls/glock.cpp ^
hud_tank.cpp ^
hudradio.cpp ^
hudrpg.cpp ^
hudzoom.cpp ^
lensflare.cpp ^
nvg.cpp ^
particules.cpp ^
studio_util.cpp ^
StudioModelRenderer.cpp ^
ammo.cpp ^ ammo.cpp ^
ammo_secondary.cpp ^ ammo_secondary.cpp ^
ammohistory.cpp ^ ammohistory.cpp ^
@ -39,7 +42,6 @@ set SOURCES=../dlls/crossbow.cpp ^
ev_common.cpp ^ ev_common.cpp ^
events.cpp ^ events.cpp ^
flashlight.cpp ^ flashlight.cpp ^
GameStudioModelRenderer.cpp ^
geiger.cpp ^ geiger.cpp ^
health.cpp ^ health.cpp ^
hud.cpp ^ hud.cpp ^
@ -56,21 +58,18 @@ set SOURCES=../dlls/crossbow.cpp ^
message.cpp ^ message.cpp ^
overview.cpp ^ overview.cpp ^
parsemsg.cpp ^ parsemsg.cpp ^
parsemsg.h ^
../pm_shared/pm_debug.c ^ ../pm_shared/pm_debug.c ^
../pm_shared/pm_math.c ^ ../pm_shared/pm_math.c ^
../pm_shared/pm_shared.c ^ ../pm_shared/pm_shared.c ^
saytext.cpp ^ saytext.cpp ^
status_icons.cpp ^ status_icons.cpp ^
statusbar.cpp ^ statusbar.cpp ^
studio_util.cpp ^
StudioModelRenderer.cpp ^
text_message.cpp ^ text_message.cpp ^
train.cpp ^ train.cpp ^
tri.cpp ^ tri.cpp ^
util.cpp ^ util.cpp ^
view.cpp ^ view.cpp
scoreboard.cpp ^
MOTD.cpp
set DEFINES=/DCLIENT_DLL /DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DGOLDSOURCE_SUPPORT set DEFINES=/DCLIENT_DLL /DCLIENT_WEAPONS /Dsnprintf=_snprintf /DNO_VOICEGAMEMGR /DGOLDSOURCE_SUPPORT
set LIBS=user32.lib Winmm.lib set LIBS=user32.lib Winmm.lib
set OUTNAME=client.dll set OUTNAME=client.dll

39
cl_dll/wscript

@ -1,6 +1,9 @@
#! /usr/bin/env python #! /usr/bin/env python
# encoding: utf-8 # encoding: utf-8
# a1batross, mittorn, 2018 # a1batross, mittorn, 2018
# Edited by Roy for HL:Invasion
# Warning: Completely UNTESTED!
# Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)
from waflib import Utils from waflib import Utils
import os import os
@ -27,24 +30,26 @@ def build(bld):
'hl/*.cpp' 'hl/*.cpp'
]) ])
source += bld.path.parent.ant_glob([ source += bld.path.parent.ant_glob([
'dlls/crossbow.cpp', 'dlls/glock.cpp'
'dlls/crowbar.cpp',
'dlls/egon.cpp',
'dlls/gauss.cpp',
'dlls/glock.cpp',
'dlls/handgrenade.cpp',
'dlls/hornetgun.cpp',
'dlls/mp5.cpp',
'dlls/python.cpp',
'dlls/rpg.cpp',
'dlls/satchel.cpp',
'dlls/shotgun.cpp',
'dlls/squeakgrenade.cpp',
'dlls/tripmine.cpp'
]) ])
source += [ source += [
'clientbriquet.cpp',
'clientfog.cpp',
'clientlflammes.cpp',
'ev_hldm.cpp',
'GameStudioModelRenderer.cpp', 'GameStudioModelRenderer.cpp',
'MOTD.cpp', 'hl/hl_baseentity.cpp',
'hl/hl_events.cpp',
'hl/hl_objects.cpp',
'hl/hl_weapons.cpp',
'hud_tank.cpp',
'hudradio.cpp',
'hudrpg.cpp',
'hudzoom.cpp',
'lensflare.cpp',
'nvg.cpp',
'particules.cpp',
'studio_util.cpp',
'StudioModelRenderer.cpp', 'StudioModelRenderer.cpp',
'ammo.cpp', 'ammo.cpp',
'ammo_secondary.cpp', 'ammo_secondary.cpp',
@ -55,7 +60,6 @@ def build(bld):
'death.cpp', 'death.cpp',
'demo.cpp', 'demo.cpp',
'entity.cpp', 'entity.cpp',
'ev_hldm.cpp',
'ev_common.cpp', 'ev_common.cpp',
'events.cpp', 'events.cpp',
'flashlight.cpp', 'flashlight.cpp',
@ -75,11 +79,10 @@ def build(bld):
'message.cpp', 'message.cpp',
'overview.cpp', 'overview.cpp',
'parsemsg.cpp', 'parsemsg.cpp',
'parsemsg.h',
'saytext.cpp', 'saytext.cpp',
'scoreboard.cpp',
'status_icons.cpp', 'status_icons.cpp',
'statusbar.cpp', 'statusbar.cpp',
'studio_util.cpp',
'text_message.cpp', 'text_message.cpp',
'train.cpp', 'train.cpp',
'tri.cpp', 'tri.cpp',

78
contrib/iZarif/premake5.lua

@ -12,20 +12,7 @@ targetprefix("")
files{"pm_shared/pm_debug.c", files{"pm_shared/pm_debug.c",
"pm_shared/pm_math.c", "pm_shared/pm_math.c",
"pm_shared/pm_shared.c", "pm_shared/pm_shared.c",
"dlls/crossbow.cpp", "dlls/glock.cpp"}
"dlls/crowbar.cpp",
"dlls/egon.cpp",
"dlls/gauss.cpp",
"dlls/glock.cpp",
"dlls/handgrenade.cpp",
"dlls/hornetgun.cpp",
"dlls/mp5.cpp",
"dlls/python.cpp",
"dlls/rpg.cpp",
"dlls/satchel.cpp",
"dlls/shotgun.cpp",
"dlls/squeakgrenade.cpp",
"dlls/tripmine.cpp"}
includedirs{"dlls", includedirs{"dlls",
"common", "common",
@ -138,9 +125,9 @@ defines{"stricmp=strcasecmp",
project("dlls") project("dlls")
targetname("hl") targetname("hl")
files{"dlls/agrunt.cpp", files{"dlls/aflock.cpp",
"dlls/agrunt.cpp",
"dlls/airtank.cpp", "dlls/airtank.cpp",
"dlls/aflock.cpp",
"dlls/animating.cpp", "dlls/animating.cpp",
"dlls/animation.cpp", "dlls/animation.cpp",
"dlls/apache.cpp", "dlls/apache.cpp",
@ -149,22 +136,31 @@ files{"dlls/agrunt.cpp",
"dlls/bigmomma.cpp", "dlls/bigmomma.cpp",
"dlls/bloater.cpp", "dlls/bloater.cpp",
"dlls/bmodels.cpp", "dlls/bmodels.cpp",
"dlls/briquet.cpp",
"dlls/bullsquid.cpp", "dlls/bullsquid.cpp",
"dlls/buttons.cpp", "dlls/buttons.cpp",
"dlls/cbase.cpp", "dlls/cbase.cpp",
"dlls/client.cpp", "dlls/client.cpp",
"dlls/combat.cpp", "dlls/combat.cpp",
"dlls/controller.cpp", "dlls/controller.cpp",
"dlls/crowbar.cpp",
"dlls/defaultai.cpp", "dlls/defaultai.cpp",
"dlls/diablo.cpp",
"dlls/doors.cpp", "dlls/doors.cpp",
"dlls/effects.cpp", "dlls/effects.cpp",
"dlls/explode.cpp", "dlls/explode.cpp",
"dlls/fgrenade.cpp",
"dlls/flybee.cpp",
"dlls/flyingmonster.cpp", "dlls/flyingmonster.cpp",
"dlls/fog.cpp",
"dlls/fsniper.cpp",
"dlls/func_break.cpp", "dlls/func_break.cpp",
"dlls/func_tank.cpp", "dlls/func_tank.cpp",
"dlls/func_vgui.cpp",
"dlls/game.cpp", "dlls/game.cpp",
"dlls/gamerules.cpp", "dlls/gamerules.cpp",
"dlls/gargantua.cpp", "dlls/gargantua.cpp",
"dlls/gauss.cpp",
"dlls/genericmonster.cpp", "dlls/genericmonster.cpp",
"dlls/ggrenade.cpp", "dlls/ggrenade.cpp",
"dlls/globals.cpp", "dlls/globals.cpp",
@ -174,6 +170,7 @@ files{"dlls/agrunt.cpp",
"dlls/h_cine.cpp", "dlls/h_cine.cpp",
"dlls/h_cycler.cpp", "dlls/h_cycler.cpp",
"dlls/h_export.cpp", "dlls/h_export.cpp",
"dlls/handgrenade.cpp",
"dlls/hassassin.cpp", "dlls/hassassin.cpp",
"dlls/headcrab.cpp", "dlls/headcrab.cpp",
"dlls/healthkit.cpp", "dlls/healthkit.cpp",
@ -181,44 +178,63 @@ files{"dlls/agrunt.cpp",
"dlls/hornet.cpp", "dlls/hornet.cpp",
"dlls/houndeye.cpp", "dlls/houndeye.cpp",
"dlls/ichthyosaur.cpp", "dlls/ichthyosaur.cpp",
"dlls/irgun.cpp",
"dlls/islave.cpp", "dlls/islave.cpp",
"dlls/items.cpp", "dlls/items.cpp",
"dlls/leech.cpp", "dlls/leech.cpp",
"dlls/lflammes.cpp",
"dlls/lights.cpp", "dlls/lights.cpp",
"dlls/luciole.cpp",
"dlls/m16.cpp",
"dlls/maprules.cpp", "dlls/maprules.cpp",
"dlls/miroir.cpp",
"dlls/monstermaker.cpp", "dlls/monstermaker.cpp",
"dlls/monsters.cpp", "dlls/monsters.cpp",
"dlls/monsters.h",
"dlls/monsterstate.cpp", "dlls/monsterstate.cpp",
"dlls/mortar.cpp", "dlls/mortar.cpp",
"dlls/mp5.cpp",
"dlls/multiplay_gamerules.cpp", "dlls/multiplay_gamerules.cpp",
"dlls/music.cpp",
"dlls/nihilanth.cpp", "dlls/nihilanth.cpp",
"dlls/nodes.cpp", "dlls/nodes.cpp",
"dlls/observer.cpp",
"dlls/osprey.cpp", "dlls/osprey.cpp",
"dlls/pathcorner.cpp", "dlls/pathcorner.cpp",
"dlls/plane.cpp", "dlls/plane.cpp",
"dlls/plats.cpp", "dlls/plats.cpp",
"dlls/player.cpp", "dlls/player.cpp",
"dlls/playermonster.cpp", "dlls/python.cpp",
"dlls/radiomsg.cpp",
"dlls/rat.cpp", "dlls/rat.cpp",
"dlls/roach.cpp", "dlls/roach.cpp",
"dlls/rpg.cpp",
"dlls/rpggrunt.cpp",
"dlls/satchel.cpp",
"dlls/schedule.cpp", "dlls/schedule.cpp",
"dlls/scientist.cpp", "dlls/scientist.cpp",
"dlls/scripted.cpp", "dlls/scripted.cpp",
"dlls/shotgun.cpp",
"dlls/singleplay_gamerules.cpp", "dlls/singleplay_gamerules.cpp",
"dlls/skill.cpp", "dlls/skill.cpp",
"dlls/sniper.cpp",
"dlls/sound.cpp", "dlls/sound.cpp",
"dlls/soundent.cpp", "dlls/soundent.cpp",
"dlls/spectator.cpp", "dlls/spectator.cpp",
"dlls/squadmonster.cpp", "dlls/squadmonster.cpp",
"dlls/squeakgrenade.cpp",
"dlls/subs.cpp", "dlls/subs.cpp",
"dlls/supergun.cpp",
"dlls/t_sub.cpp",
"dlls/talkmonster.cpp", "dlls/talkmonster.cpp",
"dlls/tank.cpp",
"dlls/teamplay_gamerules.cpp", "dlls/teamplay_gamerules.cpp",
"dlls/tempmonster.cpp", "dlls/tempmonster.cpp",
"dlls/tentacle.cpp", "dlls/tentacle.cpp",
"dlls/triggers.cpp", "dlls/triggers.cpp",
"dlls/tripmine.cpp",
"dlls/turret.cpp", "dlls/turret.cpp",
"dlls/util.cpp", "dlls/util.cpp",
"dlls/util.h",
"dlls/weapons.cpp", "dlls/weapons.cpp",
"dlls/world.cpp", "dlls/world.cpp",
"dlls/xen.cpp", "dlls/xen.cpp",
@ -238,11 +254,23 @@ buildoptions{"/def:" .. path.getabsolute("dlls/hl.def")}
project("cl_dll") project("cl_dll")
targetname("client") targetname("client")
files{"cl_dll/hl/hl_baseentity.cpp", files{"cl_dll/clientbriquet.cpp",
"cl_dll/clientfog.cpp",
"cl_dll/clientlflammes.cpp",
"cl_dll/ev_hldm.cpp",
"cl_dll/GameStudioModelRenderer.cpp",
"cl_dll/hl/hl_baseentity.cpp",
"cl_dll/hl/hl_events.cpp", "cl_dll/hl/hl_events.cpp",
"cl_dll/hl/hl_objects.cpp", "cl_dll/hl/hl_objects.cpp",
"cl_dll/hl/hl_weapons.cpp", "cl_dll/hl/hl_weapons.cpp",
"cl_dll/GameStudioModelRenderer.cpp", "cl_dll/hud_tank.cpp",
"cl_dll/hudradio.cpp",
"cl_dll/hudrpg.cpp",
"cl_dll/hudzoom.cpp",
"cl_dll/lensflare.cpp",
"cl_dll/nvg.cpp",
"cl_dll/particules.cpp",
"cl_dll/studio_util.cpp",
"cl_dll/StudioModelRenderer.cpp", "cl_dll/StudioModelRenderer.cpp",
"cl_dll/ammo.cpp", "cl_dll/ammo.cpp",
"cl_dll/ammo_secondary.cpp", "cl_dll/ammo_secondary.cpp",
@ -253,7 +281,6 @@ files{"cl_dll/hl/hl_baseentity.cpp",
"cl_dll/death.cpp", "cl_dll/death.cpp",
"cl_dll/demo.cpp", "cl_dll/demo.cpp",
"cl_dll/entity.cpp", "cl_dll/entity.cpp",
"cl_dll/ev_hldm.cpp",
"cl_dll/ev_common.cpp", "cl_dll/ev_common.cpp",
"cl_dll/events.cpp", "cl_dll/events.cpp",
"cl_dll/flashlight.cpp", "cl_dll/flashlight.cpp",
@ -273,10 +300,10 @@ files{"cl_dll/hl/hl_baseentity.cpp",
"cl_dll/message.cpp", "cl_dll/message.cpp",
"cl_dll/overview.cpp", "cl_dll/overview.cpp",
"cl_dll/parsemsg.cpp", "cl_dll/parsemsg.cpp",
"cl_dll/parsemsg.h",
"cl_dll/saytext.cpp", "cl_dll/saytext.cpp",
"cl_dll/status_icons.cpp", "cl_dll/status_icons.cpp",
"cl_dll/statusbar.cpp", "cl_dll/statusbar.cpp",
"cl_dll/studio_util.cpp",
"cl_dll/text_message.cpp", "cl_dll/text_message.cpp",
"cl_dll/train.cpp", "cl_dll/train.cpp",
"cl_dll/tri.cpp", "cl_dll/tri.cpp",
@ -311,7 +338,12 @@ files{"cl_dll/vgui_int.cpp",
"game_shared/vgui_loadtga.cpp", "game_shared/vgui_loadtga.cpp",
"game_shared/vgui_scrollbar2.cpp", "game_shared/vgui_scrollbar2.cpp",
"game_shared/vgui_slider2.cpp", "game_shared/vgui_slider2.cpp",
"game_shared/voice_banmgr.cpp"} "game_shared/voice_banmgr.cpp",
"cl_dll/vgui_keypad.cpp",
"cl_dll/vgui_OrdiControl.cpp",
"cl_dll/vgui_OrdiMenu.cpp",
"cl_dll/vgui_radio.cpp",
"cl_dll/vgui_soin.cpp"}
includedirs{"vgui-dev/include"} includedirs{"vgui-dev/include"}
defines{"USE_VGUI"} defines{"USE_VGUI"}

223
dlls/Android.mk

@ -1,5 +1,8 @@
#HLSDK server Android port #HLSDK server Android port
#Copyright (c) nicknekit #Copyright (c) nicknekit
#Edited by Roy for HL:Invasion
#Warning: Completely UNTESTED!
#Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
@ -28,108 +31,124 @@ LOCAL_C_INCLUDES := $(SDL_PATH)/include \
$(LOCAL_PATH)/../pm_shared \ $(LOCAL_PATH)/../pm_shared \
$(LOCAL_PATH)/../game_shared $(LOCAL_PATH)/../game_shared
LOCAL_SRC_FILES := agrunt.cpp airtank.cpp \ LOCAL_SRC_FILES := aflock.cpp \
aflock.cpp \ agrunt.cpp \
animating.cpp \ airtank.cpp \
animation.cpp \ animating.cpp \
apache.cpp \ animation.cpp \
barnacle.cpp \ apache.cpp \
barney.cpp \ barnacle.cpp \
bigmomma.cpp \ barney.cpp \
bloater.cpp \ bigmomma.cpp \
bmodels.cpp \ bloater.cpp \
bullsquid.cpp \ bmodels.cpp \
buttons.cpp \ briquet.cpp \
cbase.cpp \ bullsquid.cpp \
client.cpp \ buttons.cpp \
combat.cpp \ cbase.cpp \
controller.cpp \ client.cpp \
crossbow.cpp \ combat.cpp \
crowbar.cpp \ controller.cpp \
defaultai.cpp \ crowbar.cpp \
doors.cpp \ defaultai.cpp \
effects.cpp \ diablo.cpp \
egon.cpp \ doors.cpp \
explode.cpp \ effects.cpp \
flyingmonster.cpp \ explode.cpp \
func_break.cpp \ fgrenade.cpp \
func_tank.cpp \ flybee.cpp \
game.cpp \ flyingmonster.cpp \
gamerules.cpp \ fog.cpp \
gargantua.cpp \ fsniper.cpp \
gauss.cpp \ func_break.cpp \
genericmonster.cpp \ func_tank.cpp \
ggrenade.cpp \ func_vgui.cpp \
globals.cpp \ game.cpp \
glock.cpp \ gamerules.cpp \
gman.cpp \ gargantua.cpp \
h_ai.cpp \ gauss.cpp \
h_battery.cpp \ genericmonster.cpp \
h_cycler.cpp \ ggrenade.cpp \
h_cine.cpp \ globals.cpp \
h_export.cpp \ gman.cpp \
handgrenade.cpp \ h_ai.cpp \
hassassin.cpp \ h_battery.cpp \
headcrab.cpp \ h_cine.cpp \
healthkit.cpp \ h_cycler.cpp \
hgrunt.cpp \ h_export.cpp \
hornet.cpp \ handgrenade.cpp \
hornetgun.cpp \ hassassin.cpp \
houndeye.cpp \ headcrab.cpp \
ichthyosaur.cpp \ healthkit.cpp \
islave.cpp \ hgrunt.cpp \
items.cpp \ glock.cpp \
leech.cpp \ hornet.cpp \
lights.cpp \ houndeye.cpp \
maprules.cpp \ ichthyosaur.cpp \
monstermaker.cpp \ irgun.cpp \
monsters.cpp \ islave.cpp \
monsterstate.cpp \ items.cpp \
mortar.cpp \ leech.cpp \
mp5.cpp \ lflammes.cpp \
multiplay_gamerules.cpp \ lights.cpp \
nihilanth.cpp \ luciole.cpp \
nodes.cpp \ m16.cpp \
observer.cpp \ maprules.cpp \
osprey.cpp \ miroir.cpp \
pathcorner.cpp \ monstermaker.cpp \
plane.cpp \ monsters.cpp \
plats.cpp \ monsters.h \
player.cpp \ monsterstate.cpp \
playermonster.cpp \ mortar.cpp \
python.cpp \ mp5.cpp \
rat.cpp \ multiplay_gamerules.cpp \
roach.cpp \ music.cpp \
rpg.cpp \ nihilanth.cpp \
satchel.cpp \ nodes.cpp \
schedule.cpp \ osprey.cpp \
scientist.cpp \ pathcorner.cpp \
scripted.cpp \ plane.cpp \
shotgun.cpp \ plats.cpp \
singleplay_gamerules.cpp \ player.cpp \
skill.cpp \ ../pm_shared/pm_debug.c \
sound.cpp \ ../pm_shared/pm_math.c \
soundent.cpp \ ../pm_shared/pm_shared.c \
spectator.cpp \ python.cpp \
squadmonster.cpp \ radiomsg.cpp \
squeakgrenade.cpp \ rat.cpp \
subs.cpp \ roach.cpp \
talkmonster.cpp \ rpg.cpp \
teamplay_gamerules.cpp \ rpggrunt.cpp \
tentacle.cpp \ satchel.cpp \
tempmonster.cpp \ schedule.cpp \
triggers.cpp \ scientist.cpp \
tripmine.cpp \ scripted.cpp \
turret.cpp \ shotgun.cpp \
util.cpp \ singleplay_gamerules.cpp \
weapons.cpp \ skill.cpp \
world.cpp \ sniper.cpp \
xen.cpp \ sound.cpp \
zombie.cpp \ soundent.cpp \
../pm_shared/pm_debug.c \ spectator.cpp \
../pm_shared/pm_math.c \ squadmonster.cpp \
../pm_shared/pm_shared.c squeakgrenade.cpp \
# ../game_shared/voice_gamemgr.cpp subs.cpp \
supergun.cpp \
t_sub.cpp \
talkmonster.cpp \
tank.cpp \
teamplay_gamerules.cpp \
tempmonster.cpp \
tentacle.cpp \
triggers.cpp \
tripmine.cpp \
turret.cpp \
util.cpp \
util.h \
weapons.cpp \
world.cpp \
xen.cpp \
zombie.cpp
LOCAL_LDLIBS := -llog LOCAL_LDLIBS := -llog

35
dlls/compile.bat

@ -1,4 +1,7 @@
@echo off @echo off
@rem "Edited by Roy for HL:Invasion"
@rem "Warning: Completely UNTESTED!"
@rem "Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)"
echo Setting environment for minimal Visual C++ 6 echo Setting environment for minimal Visual C++ 6
set INCLUDE=%MSVCDir%\VC98\Include set INCLUDE=%MSVCDir%\VC98\Include
set LIB=%MSVCDir%\VC98\Lib set LIB=%MSVCDir%\VC98\Lib
@ -8,9 +11,9 @@ echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original set XASH3DSRC=..\..\Xash3D_original
set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public
set SOURCES=agrunt.cpp ^ set SOURCES=aflock.cpp ^
agrunt.cpp ^
airtank.cpp ^ airtank.cpp ^
aflock.cpp ^
animating.cpp ^ animating.cpp ^
animation.cpp ^ animation.cpp ^
apache.cpp ^ apache.cpp ^
@ -19,22 +22,27 @@ set SOURCES=agrunt.cpp ^
bigmomma.cpp ^ bigmomma.cpp ^
bloater.cpp ^ bloater.cpp ^
bmodels.cpp ^ bmodels.cpp ^
briquet.cpp ^
bullsquid.cpp ^ bullsquid.cpp ^
buttons.cpp ^ buttons.cpp ^
cbase.cpp ^ cbase.cpp ^
client.cpp ^ client.cpp ^
combat.cpp ^ combat.cpp ^
controller.cpp ^ controller.cpp ^
crossbow.cpp ^
crowbar.cpp ^ crowbar.cpp ^
defaultai.cpp ^ defaultai.cpp ^
diablo.cpp ^
doors.cpp ^ doors.cpp ^
effects.cpp ^ effects.cpp ^
egon.cpp ^
explode.cpp ^ explode.cpp ^
fgrenade.cpp ^
flybee.cpp ^
flyingmonster.cpp ^ flyingmonster.cpp ^
fog.cpp ^
fsniper.cpp ^
func_break.cpp ^ func_break.cpp ^
func_tank.cpp ^ func_tank.cpp ^
func_vgui.cpp ^
game.cpp ^ game.cpp ^
gamerules.cpp ^ gamerules.cpp ^
gargantua.cpp ^ gargantua.cpp ^
@ -42,7 +50,6 @@ set SOURCES=agrunt.cpp ^
genericmonster.cpp ^ genericmonster.cpp ^
ggrenade.cpp ^ ggrenade.cpp ^
globals.cpp ^ globals.cpp ^
glock.cpp ^
gman.cpp ^ gman.cpp ^
h_ai.cpp ^ h_ai.cpp ^
h_battery.cpp ^ h_battery.cpp ^
@ -54,34 +61,41 @@ set SOURCES=agrunt.cpp ^
headcrab.cpp ^ headcrab.cpp ^
healthkit.cpp ^ healthkit.cpp ^
hgrunt.cpp ^ hgrunt.cpp ^
glock.cpp ^
hornet.cpp ^ hornet.cpp ^
hornetgun.cpp ^
houndeye.cpp ^ houndeye.cpp ^
ichthyosaur.cpp ^ ichthyosaur.cpp ^
irgun.cpp ^
islave.cpp ^ islave.cpp ^
items.cpp ^ items.cpp ^
leech.cpp ^ leech.cpp ^
lflammes.cpp ^
lights.cpp ^ lights.cpp ^
luciole.cpp ^
m16.cpp ^
maprules.cpp ^ maprules.cpp ^
miroir.cpp ^
monstermaker.cpp ^ monstermaker.cpp ^
monsters.cpp ^ monsters.cpp ^
monsters.h ^
monsterstate.cpp ^ monsterstate.cpp ^
mortar.cpp ^ mortar.cpp ^
mp5.cpp ^ mp5.cpp ^
multiplay_gamerules.cpp ^ multiplay_gamerules.cpp ^
music.cpp ^
nihilanth.cpp ^ nihilanth.cpp ^
nodes.cpp ^ nodes.cpp ^
observer.cpp ^
osprey.cpp ^ osprey.cpp ^
pathcorner.cpp ^ pathcorner.cpp ^
plane.cpp ^ plane.cpp ^
plats.cpp ^ plats.cpp ^
player.cpp ^ player.cpp ^
playermonster.cpp ^
python.cpp ^ python.cpp ^
radiomsg.cpp ^
rat.cpp ^ rat.cpp ^
roach.cpp ^ roach.cpp ^
rpg.cpp ^ rpg.cpp ^
rpggrunt.cpp ^
satchel.cpp ^ satchel.cpp ^
schedule.cpp ^ schedule.cpp ^
scientist.cpp ^ scientist.cpp ^
@ -89,13 +103,17 @@ set SOURCES=agrunt.cpp ^
shotgun.cpp ^ shotgun.cpp ^
singleplay_gamerules.cpp ^ singleplay_gamerules.cpp ^
skill.cpp ^ skill.cpp ^
sniper.cpp ^
sound.cpp ^ sound.cpp ^
soundent.cpp ^ soundent.cpp ^
spectator.cpp ^ spectator.cpp ^
squadmonster.cpp ^ squadmonster.cpp ^
squeakgrenade.cpp ^ squeakgrenade.cpp ^
subs.cpp ^ subs.cpp ^
supergun.cpp ^
t_sub.cpp ^
talkmonster.cpp ^ talkmonster.cpp ^
tank.cpp ^
teamplay_gamerules.cpp ^ teamplay_gamerules.cpp ^
tempmonster.cpp ^ tempmonster.cpp ^
tentacle.cpp ^ tentacle.cpp ^
@ -103,6 +121,7 @@ set SOURCES=agrunt.cpp ^
tripmine.cpp ^ tripmine.cpp ^
turret.cpp ^ turret.cpp ^
util.cpp ^ util.cpp ^
util.h ^
weapons.cpp ^ weapons.cpp ^
world.cpp ^ world.cpp ^
xen.cpp ^ xen.cpp ^

75
dlls/wscript

@ -1,6 +1,9 @@
#! /usr/bin/env python #! /usr/bin/env python
# encoding: utf-8 # encoding: utf-8
# a1batross, mittorn, 2018 # a1batross, mittorn, 2018
# Edited by Roy for HL:Invasion
# Warning: Completely UNTESTED!
# Warning: Won't work properly as this mod requires TRUE VGUI! (If you can edit it in - you're more than welcome!)
from waflib import Utils from waflib import Utils
import os import os
@ -26,33 +29,38 @@ def build(bld):
]) ])
source += [ source += [
'aflock.cpp',
'agrunt.cpp', 'agrunt.cpp',
'airtank.cpp', 'airtank.cpp',
'aflock.cpp',
'animating.cpp', 'animating.cpp',
'animation.cpp', 'animation.cpp',
'apache.cpp', 'apache.cpp',
'barnacle.cpp', 'barnacle.cpp',
'barney.cpp', 'barney.cpp',
'bigmomma.cpp', 'bigmomma.cpp',
'bloater.cpp', 'bloater.cpp',
'bmodels.cpp', 'bmodels.cpp',
'briquet.cpp',
'bullsquid.cpp', 'bullsquid.cpp',
'buttons.cpp', 'buttons.cpp',
'cbase.cpp', 'cbase.cpp',
'client.cpp', 'client.cpp',
'combat.cpp', 'combat.cpp',
'controller.cpp', 'controller.cpp',
'crossbow.cpp', 'crowbar.cpp',
'crowbar.cpp',
'defaultai.cpp', 'defaultai.cpp',
'doors.cpp', 'diablo.cpp',
'doors.cpp',
'effects.cpp', 'effects.cpp',
'egon.cpp', 'explode.cpp',
'explode.cpp', 'fgrenade.cpp',
'flybee.cpp',
'flyingmonster.cpp', 'flyingmonster.cpp',
'fog.cpp',
'fsniper.cpp',
'func_break.cpp', 'func_break.cpp',
'func_tank.cpp', 'func_tank.cpp',
'func_vgui.cpp',
'game.cpp', 'game.cpp',
'gamerules.cpp', 'gamerules.cpp',
'gargantua.cpp', 'gargantua.cpp',
@ -60,8 +68,7 @@ def build(bld):
'genericmonster.cpp', 'genericmonster.cpp',
'ggrenade.cpp', 'ggrenade.cpp',
'globals.cpp', 'globals.cpp',
'glock.cpp', 'gman.cpp',
'gman.cpp',
'h_ai.cpp', 'h_ai.cpp',
'h_battery.cpp', 'h_battery.cpp',
'h_cine.cpp', 'h_cine.cpp',
@ -69,58 +76,70 @@ def build(bld):
'h_export.cpp', 'h_export.cpp',
'handgrenade.cpp', 'handgrenade.cpp',
'hassassin.cpp', 'hassassin.cpp',
'headcrab.cpp', 'headcrab.cpp',
'healthkit.cpp', 'healthkit.cpp',
'hgrunt.cpp', 'hgrunt.cpp',
'glock.cpp',
'hornet.cpp', 'hornet.cpp',
'hornetgun.cpp', 'houndeye.cpp',
'houndeye.cpp',
'ichthyosaur.cpp', 'ichthyosaur.cpp',
'irgun.cpp',
'islave.cpp', 'islave.cpp',
'items.cpp', 'items.cpp',
'leech.cpp', 'leech.cpp',
'lights.cpp', 'lflammes.cpp',
'lights.cpp',
'luciole.cpp',
'm16.cpp',
'maprules.cpp', 'maprules.cpp',
'miroir.cpp',
'monstermaker.cpp', 'monstermaker.cpp',
'monsters.cpp', 'monsters.cpp',
'monsters.h',
'monsterstate.cpp', 'monsterstate.cpp',
'mortar.cpp', 'mortar.cpp',
'mp5.cpp', 'mp5.cpp',
'multiplay_gamerules.cpp', 'multiplay_gamerules.cpp',
'music.cpp',
'nihilanth.cpp', 'nihilanth.cpp',
'nodes.cpp', 'nodes.cpp',
'observer.cpp', 'osprey.cpp',
'osprey.cpp',
'pathcorner.cpp', 'pathcorner.cpp',
'plane.cpp', 'plane.cpp',
'plats.cpp', 'plats.cpp',
'player.cpp', 'player.cpp',
'playermonster.cpp', 'python.cpp',
'python.cpp', 'radiomsg.cpp',
'rat.cpp', 'rat.cpp',
'roach.cpp', 'roach.cpp',
'rpg.cpp', 'rpg.cpp',
'rpggrunt.cpp',
'satchel.cpp', 'satchel.cpp',
'schedule.cpp', 'schedule.cpp',
'scientist.cpp', 'scientist.cpp',
'scripted.cpp', 'scripted.cpp',
'shotgun.cpp', 'shotgun.cpp',
'singleplay_gamerules.cpp', 'singleplay_gamerules.cpp',
'skill.cpp', 'skill.cpp',
'sniper.cpp',
'sound.cpp', 'sound.cpp',
'soundent.cpp', 'soundent.cpp',
'spectator.cpp', 'spectator.cpp',
'squadmonster.cpp', 'squadmonster.cpp',
'squeakgrenade.cpp', 'squeakgrenade.cpp',
'subs.cpp', 'subs.cpp',
'supergun.cpp',
't_sub.cpp',
'talkmonster.cpp', 'talkmonster.cpp',
'tank.cpp',
'teamplay_gamerules.cpp', 'teamplay_gamerules.cpp',
'tempmonster.cpp', 'tempmonster.cpp',
'tentacle.cpp', 'tentacle.cpp',
'triggers.cpp', 'triggers.cpp',
'tripmine.cpp', 'tripmine.cpp',
'turret.cpp', 'turret.cpp',
'util.cpp', 'util.cpp',
'util.h',
'weapons.cpp', 'weapons.cpp',
'world.cpp', 'world.cpp',
'xen.cpp', 'xen.cpp',

Loading…
Cancel
Save