Skip to content

Commit

Permalink
Updated a bunch of files
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen G authored and Stephen G committed Apr 23, 2024
1 parent c73ae6c commit 1e7ce8b
Show file tree
Hide file tree
Showing 42 changed files with 324 additions and 240 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
!defined__APPLE__ && defined__MACH__v!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__2!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__-!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__k!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__g!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__-!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__m!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__g!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__h!defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__b!defined__APPLE__ && defined__MACH__-!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__/!defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__h!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__#!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__C!defined__APPLE__ && defined__MACH__h!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__k!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__f!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__G!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__H!defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__b!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__A!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__v!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__w!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__k!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__v!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__w!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__k!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__w!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__#!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__A!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__w!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__b!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__h!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__i!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__u!defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__f!defined__APPLE__ && defined__MACH__o!defined__APPLE__ && defined__MACH__r!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__k!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__g!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__s!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__-!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__d!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__n!defined__APPLE__ && defined__MACH__c!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__-!defined__APPLE__ && defined__MACH__t!defined__APPLE__ && defined__MACH__y!defined__APPLE__ && defined__MACH__p!defined__APPLE__ && defined__MACH__e!defined__APPLE__ && defined__MACH__:!defined__APPLE__ && defined__MACH__ !defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__a!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__l!defined__APPLE__ && defined__MACH__"!defined__APPLE__ && defined__MACH__
!defined__APPLE__ && defined__MACH__
2 changes: 1 addition & 1 deletion .github/workflows/Windows-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
GTEST_COLOR: 1
run: .\script\test.ps1 -Generator ${{ matrix.cmake-generator }} -EnablePIE ${{ matrix.enable-pie }} -BuildType ${{ matrix.build-type }}

- name: Upload artifacts
- name: Upload artifacts
uses: skx/github-action-publish-binaries@44887b225ceca96efd8a912d39c09ad70312af31 # master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 7 additions & 5 deletions engine/launcher/general.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, David Ranger, pyramid3d,
* general.cpp
*
* Copyright (C) 2001-2024 Daniel Horn, David Ranger, pyramid3d,
* Stephen G. Tuggy, and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand All @@ -24,7 +26,7 @@
* This allows it to be used with other programs with minimal changes */

#include "general.h"
#if defined(__APPLE__) || defined(MACOSX)
#if defined(__APPLE__) && defined(__MACH__)
#include <sys/param.h> // For MAXPATHLEN
#endif
#ifdef __MINGW32__
Expand Down Expand Up @@ -492,7 +494,7 @@ int isdir(const char *file) {
glob_t *FindPath(char *path, int type) {
glob_t *FILES = new glob_t;
string mypath(path);
#if defined(__APPLE__) || defined(MACOSX)
#if defined(__APPLE__) && defined(__MACH__)
char thispath[MAXPATHLEN];
#else
char thispath[800000];
Expand All @@ -504,7 +506,7 @@ glob_t *FindPath(char *path, int type) {
dirent *entry;
unsigned int cur;
char *newpath = 0;
#if defined(__APPLE__) || defined(MACOSX)
#if defined(__APPLE__) && defined(__MACH__)
getcwd(thispath, MAXPATHLEN);
#else
getcwd(thispath, 790000);
Expand Down
8 changes: 5 additions & 3 deletions engine/objconv/asteroidgen.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* asteroidgen.cpp
*
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand All @@ -30,7 +32,7 @@
#define M_PI 3.14159265358979323846264338328
#endif
#include <float.h>
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__MACH__)
#define sqrtf sqrt
#define cosf cos
#define sinf sin
Expand Down
8 changes: 5 additions & 3 deletions engine/objconv/basemaker/base_maker.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* base_maker.cpp
*
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand Down Expand Up @@ -46,7 +48,7 @@
#include <sys/stat.h> //for mkdir
#include <sys/types.h>

#if defined (__APPLE__) || defined (MACOSX)
#if defined(__APPLE__) && defined(__MACH__)
#include <GLUT/glut.h>
#include <OpenGL/glext.h>
#else
Expand Down
8 changes: 5 additions & 3 deletions engine/objconv/basemaker/base_maker_texture.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* base_maker_texture.cpp
*
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand Down Expand Up @@ -325,7 +327,7 @@ void Texture::loadTexture(FILE *file, TextureTransform tt) {
handle = (unsigned int) -1;
return;
}
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__MACH__)
glGenTextures( 1, (GLuint*) &handle );
#else
glGenTextures(1, &handle);
Expand Down
10 changes: 6 additions & 4 deletions engine/objconv/basemaker/sprite.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2001-2023 Daniel Horn, pyramid3d, Stephen G. Tuggy, Benjamen R. Meyer,
* and other Vega Strike contributors.
* sprite.h
*
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* Benjamen R. Meyer, and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
*
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand All @@ -28,7 +30,7 @@
#include "gfx/hud.h"
#include "vs_globals.h"

#if defined (__APPLE__) || defined (MACOSX)
#if defined(__APPLE__) && defined(__MACH__)
#include <GLUT/glut.h>
#include <OpenGL/glext.h>
#else
Expand Down
8 changes: 5 additions & 3 deletions engine/objconv/trisort.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*
* Copyright (C) 2001-2022 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* trisort.cpp
*
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors.
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
Expand All @@ -13,7 +15,7 @@
*
* Vega Strike 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
* 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
Expand All @@ -29,7 +31,7 @@
#include <math.h>
#include "trisort.h"

#ifdef __APPLE__
#if defined(__APPLE__) && defined(__MACH__)
#define sqrtf sqrt
#endif

Expand Down
12 changes: 5 additions & 7 deletions engine/src/aldrv/al_globals.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
/*
* al_globals.cpp
*
* Copyright (C) Daniel Horn
* Copyright (C) 2020 pyramid3d, Stephen G. Tuggy, and other Vega Strike
* contributors
* Copyright (C) 2022 Stephen G. Tuggy
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* and other Vega Strike contributors
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
*
Expand All @@ -17,11 +15,11 @@
*
* Vega Strike 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
* 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 Vega Strike. If not, see <https://www.gnu.org/licenses/>.
* along with Vega Strike. If not, see <https://www.gnu.org/licenses/>.
*/


Expand Down
14 changes: 6 additions & 8 deletions engine/src/aldrv/al_globals.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
/*
* al_globals.h
*
* Copyright (C) Daniel Horn
* Copyright (C) 2020 pyramid3d, Stephen G. Tuggy, and other Vega Strike
* contributors
* Copyright (C) 2023 Stephen G. Tuggy, Benjamen R. Meyer
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* Benjamen R. Meyer, and other Vega Strike contributors
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
*
Expand All @@ -17,11 +15,11 @@
*
* Vega Strike 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
* 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 Vega Strike. If not, see <https://www.gnu.org/licenses/>.
* along with Vega Strike. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef VEGA_STRIKE_ENGINE_AL_GLOBALS_H
#define VEGA_STRIKE_ENGINE_AL_GLOBALS_H
Expand All @@ -33,7 +31,7 @@
#include <vector>

#ifdef HAVE_AL
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__MACH__)
#include <al.h>
#else
#include <AL/al.h>
Expand Down
11 changes: 5 additions & 6 deletions engine/src/aldrv/al_init.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/*
* al_init.cpp
*
* Copyright (C) Daniel Horn
* Copyright (C) 2020 pyramid3d, Stephen G. Tuggy, and other Vega Strike contributors
* Copyright (C) 2021-2022 Stephen G. Tuggy
* Copyright (C) 2001-2024 Daniel Horn, pyramid3d, Stephen G. Tuggy,
* Benjamen R. Meyer, and other Vega Strike contributors
*
* https://github.com/vegastrike/Vega-Strike-Engine-Source
*
Expand All @@ -16,16 +15,16 @@
*
* Vega Strike 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
* 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 Vega Strike. If not, see <https://www.gnu.org/licenses/>.
* along with Vega Strike. If not, see <https://www.gnu.org/licenses/>.
*/


#ifdef HAVE_AL
#ifdef __APPLE__
#if defined(__APPLE__) && defined(__MACH__)
#include <al.h>
#include <alc.h>
#define KeyMap AppleKeyMap
Expand Down
Loading

0 comments on commit 1e7ce8b

Please sign in to comment.