Skip to content

Commit

Permalink
Merge platform abstraction headers
Browse files Browse the repository at this point in the history
Resolves #53
  • Loading branch information
SamVanheer committed Nov 18, 2021
1 parent 2c911f9 commit 4511708
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 144 deletions.
1 change: 0 additions & 1 deletion cl_dll/in_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "Exports.h"

#include "SDL2/SDL_mouse.h"
#include "port.h"

float CL_KeyState (kbutton_t *key);

Expand Down
2 changes: 0 additions & 2 deletions cl_dll/inputw32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// in_win.c -- windows 95 mouse and joystick code
// 02/21/97 JCB Added extended DirectInput code to support external controllers.

#include "port.h"

#include "hud.h"
#include "cl_util.h"
#include "camera.h"
Expand Down
16 changes: 0 additions & 16 deletions common/nowin.h

This file was deleted.

1 change: 0 additions & 1 deletion common/parsemsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
//--------------------------------------------------------------------------------------------------------------
#include "extdll.h"
#include "parsemsg.h"
#include <port.h>

#define true 1

Expand Down
92 changes: 0 additions & 92 deletions common/port.h

This file was deleted.

2 changes: 0 additions & 2 deletions projects/vs2017/hl_cdll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,10 @@
<ClInclude Include="..\..\common\mathlib.h" />
<ClInclude Include="..\..\common\netadr.h" />
<ClInclude Include="..\..\common\net_api.h" />
<ClInclude Include="..\..\common\nowin.h" />
<ClInclude Include="..\..\common\parsemsg.h" />
<ClInclude Include="..\..\common\particledef.h" />
<ClInclude Include="..\..\common\Platform.h" />
<ClInclude Include="..\..\common\pmtrace.h" />
<ClInclude Include="..\..\common\port.h" />
<ClInclude Include="..\..\common\qfont.h" />
<ClInclude Include="..\..\common\ref_params.h" />
<ClInclude Include="..\..\common\r_efx.h" />
Expand Down
6 changes: 0 additions & 6 deletions projects/vs2017/hl_cdll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -479,18 +479,12 @@
<ClInclude Include="..\..\common\netadr.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\nowin.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\particledef.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\pmtrace.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\port.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\qfont.h">
<Filter>Header Files\common</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions projects/vs2017/hldll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,8 @@
<ClInclude Include="..\..\common\in_buttons.h" />
<ClInclude Include="..\..\common\mathlib.h" />
<ClInclude Include="..\..\common\netadr.h" />
<ClInclude Include="..\..\common\nowin.h" />
<ClInclude Include="..\..\common\particledef.h" />
<ClInclude Include="..\..\common\Platform.h" />
<ClInclude Include="..\..\common\port.h" />
<ClInclude Include="..\..\common\r_efx.h" />
<ClInclude Include="..\..\common\r_studioint.h" />
<ClInclude Include="..\..\common\screenfade.h" />
Expand Down
6 changes: 0 additions & 6 deletions projects/vs2017/hldll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,9 @@
<ClInclude Include="..\..\common\netadr.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\nowin.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\particledef.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\port.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\r_efx.h">
<Filter>Header Files\common</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions projects/vs2019/hl_cdll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,10 @@
<ClInclude Include="..\..\common\mathlib.h" />
<ClInclude Include="..\..\common\netadr.h" />
<ClInclude Include="..\..\common\net_api.h" />
<ClInclude Include="..\..\common\nowin.h" />
<ClInclude Include="..\..\common\parsemsg.h" />
<ClInclude Include="..\..\common\particledef.h" />
<ClInclude Include="..\..\common\Platform.h" />
<ClInclude Include="..\..\common\pmtrace.h" />
<ClInclude Include="..\..\common\port.h" />
<ClInclude Include="..\..\common\qfont.h" />
<ClInclude Include="..\..\common\ref_params.h" />
<ClInclude Include="..\..\common\r_efx.h" />
Expand Down
6 changes: 0 additions & 6 deletions projects/vs2019/hl_cdll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -500,18 +500,12 @@
<ClInclude Include="..\..\common\netadr.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\nowin.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\particledef.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\pmtrace.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\port.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\qfont.h">
<Filter>Header Files\common</Filter>
</ClInclude>
Expand Down
2 changes: 0 additions & 2 deletions projects/vs2019/hldll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,8 @@
<ClInclude Include="..\..\common\in_buttons.h" />
<ClInclude Include="..\..\common\mathlib.h" />
<ClInclude Include="..\..\common\netadr.h" />
<ClInclude Include="..\..\common\nowin.h" />
<ClInclude Include="..\..\common\particledef.h" />
<ClInclude Include="..\..\common\Platform.h" />
<ClInclude Include="..\..\common\port.h" />
<ClInclude Include="..\..\common\r_efx.h" />
<ClInclude Include="..\..\common\r_studioint.h" />
<ClInclude Include="..\..\common\screenfade.h" />
Expand Down
6 changes: 0 additions & 6 deletions projects/vs2019/hldll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -581,15 +581,9 @@
<ClInclude Include="..\..\common\netadr.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\nowin.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\particledef.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\port.h">
<Filter>Header Files\common</Filter>
</ClInclude>
<ClInclude Include="..\..\common\r_efx.h">
<Filter>Header Files\common</Filter>
</ClInclude>
Expand Down

0 comments on commit 4511708

Please sign in to comment.