-
Notifications
You must be signed in to change notification settings - Fork 1
/
hacks.h
executable file
·43 lines (34 loc) · 1.37 KB
/
hacks.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* vim: set ts=4 :
* =============================================================================
* Source Dedicated Server Wrapper for Mac OS X
* Copyright (C) 2011 Scott "DS" Ehlert. All rights reserved.
* =============================================================================
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 3.0, as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef _INCLUDE_SRCDS_OSX_HACKS_H_
#define _INCLUDE_SRCDS_OSX_HACKS_H_
/* Initialize data required to resolve hidden symbols */
bool InitSymbolData(const char *steamPath);
/* Sets DYLD_LIBRARY_PATH */
int SetLibraryPath(const char *path);
/* Do hacks/fixes for dedicated.dylib */
bool DoDedicatedHacks(void *entryPoint);
/* Destroy detours for dedicated.dylib */
void RemoveDedicatedDetours();
#if defined(ENGINE_L4D)
bool BuildCmdLine(int argc, char **argv);
#endif
#endif // _INCLUDE_SRCDS_OSX_HACKS_H_