Skip to content

Commit 4fb8f8f

Browse files
committed
Merge branch 'opfor' into opforfixed
2 parents 4dad799 + 7969e68 commit 4fb8f8f

File tree

7 files changed

+12
-16
lines changed

7 files changed

+12
-16
lines changed

.github/workflows/manual.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ jobs:
9898
run: |
9999
copy build/cl_dll/Debug/client.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/
100100
copy build/dlls/Debug/hl.pdb dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/
101-
- name: Delete .lib files from dist
102-
if: startsWith(matrix.os, 'windows')
103-
run: |
104-
Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/cl_dlls/client.lib
105-
Remove-Item -Force -Path dist/${{ steps.extract_gamedir.outputs.gamedir }}/dlls/hl.lib
106101
- name: Upload linux artifact
107102
if: startsWith(matrix.os, 'ubuntu')
108103
uses: actions/upload-artifact@v4

cl_dll/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ if(HAVE_LTO)
239239
endif()
240240

241241
install( TARGETS ${CLDLL_LIBRARY}
242-
DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
242+
RUNTIME DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
243+
LIBRARY DESTINATION "${GAMEDIR}/${CLIENT_INSTALL_DIR}/"
243244
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
244245
GROUP_READ GROUP_EXECUTE
245246
WORLD_READ WORLD_EXECUTE )

cl_dll/menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ void CHudMenu::InitHUDData( void )
5151
{
5252
m_fMenuDisplayed = 0;
5353
m_bitsValidSlots = 0;
54+
m_iFlags &= ~HUD_ACTIVE;
5455
Reset();
5556
}
5657

cl_dll/wscript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def build(bld):
129129
defines = defines,
130130
use = libs,
131131
install_path = install_path,
132-
subsystem = bld.env.MSVC_SUBSYSTEM,
133132
idx = bld.get_taskgen_count()
134133
)
135134

dlls/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ if(HAVE_LTO)
239239
endif()
240240

241241
install( TARGETS ${SVDLL_LIBRARY}
242-
DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
242+
RUNTIME DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
243+
LIBRARY DESTINATION "${GAMEDIR}/${SERVER_INSTALL_DIR}/"
243244
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
244245
GROUP_READ GROUP_EXECUTE
245246
WORLD_READ WORLD_EXECUTE)

dlls/wscript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def build(bld):
5555
includes = includes,
5656
defines = defines,
5757
install_path = install_path,
58-
subsystem = bld.env.MSVC_SUBSYSTEM,
5958
idx = bld.get_taskgen_count()
6059
)
6160

wscript

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# encoding: utf-8
33
# a1batross, mittorn, 2018
44

5-
from waflib import Build, Configure, Context, Logs
5+
from waflib import Build, Configure, Context, Logs, TaskGen
66
import sys
77
import os
88
import re
@@ -20,6 +20,12 @@ def get_taskgen_count(self):
2020
except: idx = 0 # don't set tg_idx_count to not increase counter
2121
return idx
2222

23+
@TaskGen.feature('cshlib', 'cxxshlib', 'fcshlib')
24+
@TaskGen.before_method('apply_implib')
25+
def remove_implib_install(self):
26+
if not getattr(self, 'install_path_implib', None):
27+
self.install_path_implib = None
28+
2329
def options(opt):
2430
opt.load('reconfigure compiler_optimizations xcompile compiler_cxx compiler_c clang_compilation_database strip_on_install msdev msvs subproject')
2531

@@ -41,12 +47,6 @@ def configure(conf):
4147
conf.load('fwgslib reconfigure compiler_optimizations')
4248
conf.env.MSVC_TARGETS = ['x86' if not conf.options.ALLOW64 else 'x64']
4349

44-
# Force XP compatibility, all build targets should add subsystem=bld.env.MSVC_SUBSYSTEM
45-
if conf.env.MSVC_TARGETS[0] == 'x86':
46-
conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01'
47-
else:
48-
conf.env.MSVC_SUBSYSTEM = 'WINDOWS'
49-
5050
# Load compilers early
5151
conf.load('xcompile compiler_c compiler_cxx gccdeps')
5252

0 commit comments

Comments
 (0)