Skip to content

Commit

Permalink
Reconcile macOS/iOS/CI stuff with F2CE
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov committed Jan 15, 2025
1 parent fbd25f0 commit 7c8f694
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
ios:
name: iOS

runs-on: macos-12
runs-on: macos-13

steps:
- name: Clone
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
macos:
name: macOS

runs-on: macos-11
runs-on: macos-13

steps:
- name: Clone
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ set(EXECUTABLE_NAME fallout-ce)

if (APPLE)
if(IOS)
set(CMAKE_OSX_DEPLOYMENT_TARGET "11" CACHE STRING "")
set(CMAKE_OSX_DEPLOYMENT_TARGET "12" CACHE STRING "")
set(CMAKE_OSX_ARCHITECTURES "arm64" CACHE STRING "")
else()
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11" CACHE STRING "")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "")
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "")
endif()
endif()
Expand Down
2 changes: 1 addition & 1 deletion src/game/anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ typedef enum AnimationType {
LAST_SF_DEATH_ANIM = ANIM_FALL_FRONT_BLOOD_SF,
} AnimationType;

#define FID_ANIM_TYPE(value) ((value)&0xFF0000) >> 16
#define FID_ANIM_TYPE(value) ((value) & 0xFF0000) >> 16

// Signature of animation callback accepting 2 parameters.
typedef int AnimationCallback(void*, void*);
Expand Down
2 changes: 1 addition & 1 deletion src/game/object_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum {
OBJ_TYPE_COUNT,
};

#define FID_TYPE(value) ((value)&0xF000000) >> 24
#define FID_TYPE(value) ((value) & 0xF000000) >> 24
#define PID_TYPE(value) (value) >> 24
#define SID_TYPE(value) (value) >> 24

Expand Down

0 comments on commit 7c8f694

Please sign in to comment.