Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codename Engine Mobile #383

Draft
wants to merge 84 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
6a2b8a8
Mobile Port (by Mobile Porting Team)
NeeEoo Sep 20, 2024
792d651
codenameify
mcagabe19 Sep 20, 2024
d77a5e3
I forgor to change that
mcagabe19 Sep 20, 2024
c08018a
oh wait-
mcagabe19 Sep 20, 2024
e46a1a4
switch `Mobile Porting Team` to `Codename Devs` on editor warnings
LilyRoss19 Sep 22, 2024
b9770d6
rename `SUtil` to `MobileUtil`
LilyRoss19 Sep 22, 2024
1e21079
Update SaveSubstate.hx
mcagabe19 Sep 22, 2024
b102f16
add `#if mobile` to `MobileUtil.getStorageDirectory`
LilyRoss19 Sep 22, 2024
a5568c6
oops
mcagabe19 Sep 22, 2024
ce33c76
--libs= code + caching for ios
NeeEoo Sep 22, 2024
2a4f793
Oop
NeeEoo Sep 22, 2024
c58944e
Meow
NeeEoo Sep 22, 2024
0d8fe16
Update libs.mobile.xml
mcagabe19 Sep 22, 2024
64fe36e
rebuilding lime and hxcpp for mobile
mcagabe19 Sep 22, 2024
909d143
forgor
mcagabe19 Sep 22, 2024
2b0cb83
Update libs.mobile.xml
mcagabe19 Sep 22, 2024
8aa37af
ok plan b
mcagabe19 Sep 22, 2024
a8a65cb
things why I hate hxcpp compiling
mcagabe19 Sep 22, 2024
def0330
cmon
mcagabe19 Sep 22, 2024
9e79c5f
uh?
mcagabe19 Sep 22, 2024
c0b03a9
*sigh* okay
mcagabe19 Sep 22, 2024
5dc0c99
pls work
mcagabe19 Sep 22, 2024
4af4976
Fix ios
NeeEoo Sep 22, 2024
b108424
welp
mcagabe19 Sep 22, 2024
d10710a
???
mcagabe19 Sep 22, 2024
a10a2c1
seriously?
mcagabe19 Sep 22, 2024
5a71813
trying to make PlayState hitbox only
LilyRoss19 Sep 22, 2024
2de6a6c
uhh oops
LilyRoss19 Sep 22, 2024
c9b8f12
good thing I added instance
LilyRoss19 Sep 22, 2024
3d66736
Update MobileOptions.hx
LilyRoss19 Sep 22, 2024
da99789
oh boy
LilyRoss19 Sep 22, 2024
0cbf13a
`instance` to `getState()` for MusicBeat(Sub)state
LilyRoss19 Sep 22, 2024
1dfa0e7
gwa gwa
LilyRoss19 Sep 22, 2024
bc6d950
we don't want keybind options on mobile controls
LilyRoss19 Sep 22, 2024
a152c3d
`TOUCH_CONTROLS` define
LilyRoss19 Sep 23, 2024
7f65ab3
whoops
LilyRoss19 Sep 23, 2024
6c711af
forgor
mcagabe19 Sep 23, 2024
0d3cd89
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Sep 29, 2024
8466e82
comment this out for now
mcagabe19 Sep 29, 2024
55fbc63
Update ios.yml
mcagabe19 Sep 29, 2024
344401f
Oop
NeeEoo Sep 29, 2024
3c2036c
gradle probably has so much gb on it
mcagabe19 Sep 29, 2024
24aaa06
Update Shader.hx
mcagabe19 Sep 29, 2024
8b90072
gles patch
mcagabe19 Sep 29, 2024
f0a10ac
Merge branch 'main' into pr/383
NeeEoo Oct 1, 2024
bc0511b
Small changes
NeeEoo Oct 1, 2024
9973065
actions ran out of memory
mcagabe19 Oct 1, 2024
9c039a4
add gradle back
mcagabe19 Oct 1, 2024
04876cc
Update Shader.hx
mcagabe19 Oct 5, 2024
c66860d
use 3xx on glslVer
mcagabe19 Oct 5, 2024
56a4c9d
oops
mcagabe19 Oct 5, 2024
a108791
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Oct 7, 2024
cf12832
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 8, 2024
cd479b1
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 8, 2024
03043fc
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 14, 2024
19cdac7
a silly mistake
mcagabe19 Oct 17, 2024
9b80a3f
wait that's for gles 3.0
mcagabe19 Oct 17, 2024
2f0057a
Merge branch 'FNF-CNE-Devs:main' into cne-pr
LilyRoss19 Oct 18, 2024
1fe5b83
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 20, 2024
2ea9a00
Update CopyState.hx
mcagabe19 Oct 20, 2024
9b16699
updating CopyState
mcagabe19 Oct 20, 2024
2e8ece7
update hitbox (did not test)
mcagabe19 Oct 20, 2024
69920cc
Merge branch 'cne-pr' of https://github.com/MobilePorting/CodenameEng…
mcagabe19 Oct 20, 2024
583022c
fix hitbox
mcagabe19 Oct 20, 2024
cb90994
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 26, 2024
c6e97a1
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 29, 2024
04a5aba
no idea?
mcagabe19 Oct 29, 2024
4f9dfbc
Update README.md
mcagabe19 Oct 30, 2024
b618014
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Oct 30, 2024
c59eac3
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Oct 31, 2024
456c415
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 3, 2024
bd1ee27
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 3, 2024
49457f5
Update MemoryUtil.hx
mcagabe19 Nov 3, 2024
0476882
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 3, 2024
eafd09f
Merge branch 'FNF-CNE-Devs:main' into cne-pr
mcagabe19 Nov 8, 2024
d56702e
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 11, 2024
fff0d8d
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 13, 2024
b1ebcbe
only enable editors when keyboard and mouse is attached
mcagabe19 Nov 14, 2024
146bd25
fixes
mcagabe19 Nov 14, 2024
3f988dd
umm alright
mcagabe19 Nov 14, 2024
fb2fe82
starting to license our classes
mcagabe19 Nov 14, 2024
35a0156
o
mcagabe19 Nov 14, 2024
289fb2e
gonna use MIT, GPLv3 is brutal
mcagabe19 Nov 14, 2024
9137c06
Merge remote-tracking branch 'upstream/main' into cne-pr
mcagabe19 Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ labels: bug
[ ] Windows
[ ] Linux
[ ] Mac
[ ] Android
[ ] iOS

### Explain your issue
##### Please check first if your issue haven't already been reported yet.
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ labels: compiling help
[ ] Windows
[ ] Linux
[ ] Mac
[ ] Android
[ ] iOS

### Explain your issue
##### Please check first if your issue haven't already been reported yet, and make sure you ran the `update.bat` file before building.
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Android Build
on:
push:
workflow_dispatch:
jobs:
build:
name: Android Build
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Pulling the new commit
uses: actions/checkout@v2
- name: Setup Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5
- name: Install Android NDK
uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r15c
- name: Restore existing build cache for faster compilation
uses: actions/cache@v3
with:
# not caching the bin folder to prevent asset duplication and stuff like that
key: cache-build-android
path: |
~/.gradle
.haxelib/
export/release/android/haxe/
export/release/android/obj/
restore-keys: |
cache-build-android
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -s --lib=./libs.mobile.xml
- name: Rebuilding lime (linux) and hxcpp
run: |
sudo apt-get install -qq libgl1-mesa-dev libglu1-mesa-dev libpulse-dev g++ g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev
cd $(haxelib libpath hxcpp)tools/hxcpp
haxe compile.hxml
cd ${{ github.workspace }}
haxelib run lime rebuild linux -release -clean
haxelib run lime rebuild tools
- name: Configuring Android
run: |
haxelib run lime config ANDROID_SDK $ANDROID_HOME
haxelib run lime config ANDROID_NDK_ROOT ${{ steps.setup-ndk.outputs.ndk-path }}
haxelib run lime config JAVA_HOME $JAVA_HOME_17_X64
haxelib run lime config ANDROID_SETUP true
- name: Rebuilding lime (android)
run: haxelib run lime rebuild android -release -clean
- name: Building the game
run: haxelib run lime config ANDROID_NDK_ROOT $ANDROID_NDK_LATEST_HOME && haxelib run lime build android
- name: Uploading artifact
uses: actions/upload-artifact@v4
with:
name: Codename Engine
path: export/release/android/bin/app/build/outputs/apk/release/*.apk
- name: Remove Docker Images
run: docker rmi $(docker image ls -aq)
- name: Clearing already existing cache
uses: actions/github-script@v6
with:
script: |
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
if (cache.key == "cache-build-android") {
console.log('Clearing ' + cache.key + '...')
await github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
console.log("Cache cleared.")
}
}
- name: Uploading new cache
uses: actions/cache@v3
with:
# caching again since for some reason it doesnt work with the first post cache shit
key: cache-build-android
path: |
~/.gradle
.haxelib/
export/release/android/haxe/
export/release/android/obj/
restore-keys: |
cache-build-android
81 changes: 81 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: iOS Build
on:
push:
workflow_dispatch:
jobs:
build:
name: iOS Build
permissions: write-all
runs-on: macos-13
steps:
- name: Pulling the new commit
uses: actions/checkout@v2
- name: Setting up Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5
# - name: Restore existing build cache for faster compilation
# uses: actions/cache@v3
# with:
## not caching the bin folder to prevent asset duplication and stuff like that
# key: cache-build-ios
# path: |
# .haxelib/
# export/release/ios/haxe/
# export/release/ios/obj/
# restore-keys: |
# cache-build-ios
- name: Installing/Updating libraries
run: |
haxe -cp commandline -D analyzer-optimize --run Main setup -s --lib=./libs.mobile.xml
- name: Rebuilding lime and hxcpp
run: |
cd $(haxelib libpath hxcpp)tools/hxcpp
haxe compile.hxml
cd ${{ github.workspace }}
haxelib run lime rebuild mac -release -clean
haxelib run lime rebuild ios -release -clean
haxelib run lime rebuild tools
- name: Building the game
run: haxelib run lime build ios -nosign
# - name: Clearing already existing cache
# uses: actions/github-script@v6
# with:
# script: |
# const caches = await github.rest.actions.getActionsCacheList({
# owner: context.repo.owner,
# repo: context.repo.repo,
# })
# for (const cache of caches.data.actions_caches) {
# if (cache.key == "cache-build-ios") {
# console.log('Clearing ' + cache.key + '...')
# await github.rest.actions.deleteActionsCacheById({
# owner: context.repo.owner,
# repo: context.repo.repo,
# cache_id: cache.id,
# })
# console.log("Cache cleared.")
# }
# }
- name: Making ipa file
run: |
cd export/*/ios/build/*-iphoneos
mkdir Payload
mv *.app Payload
zip -r CodenameEngine.ipa Payload
- name: Uploading artifact
uses: actions/upload-artifact@v4
with:
name: Codename Engine
path: export/release/ios/build/Release-iphoneos/*.ipa
# - name: Uploading new cache
# uses: actions/cache@v3
# with:
# caching again since for some reason it doesnt work with the first post cache shit
# key: cache-build-ios
# path: |
# .haxelib/
# export/release/ios/haxe/
# export/release/ios/obj/
# restore-keys: |
# cache-build-ios
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,11 @@ In the future (when the engine won't be a WIP anymore) we're gonna also publish
- Credits to Smokey555 for the backup Animate Atlas to spritesheet code
- Credits to MAJigsaw77 for [hxvlc](https://github.com/MAJigsaw77/hxvlc) (video cutscene/mp4 support) and [hxdiscord_rpc](https://github.com/MAJigsaw77/hxdiscord_rpc) (discord rpc integration)
</details>

<details>
<summary><h2>Mobile Credits</h2></summary>

- Credits to [Lily](ttps://youtube.com/@mcagabe19) to porting the engine
- Credits to [Karim Akra](https://youtube.com/@Karim0690) to helping me to port the engine
- Credits to [MAJigsaw77](https://github.com/MAJigsaw77) for mobile controls
</details>
3 changes: 3 additions & 0 deletions assets/data/scripts/week6-pause.hx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ function create(event) {
cameras = [pauseCam];

FlxG.sound.play(Paths.sound(isThorns ? 'pixel/ANGRY' : 'pixel/clickText'));

addVirtualPad('UP_DOWN', 'A');
addVirtualPadCamera();
}

function confText(text) {
Expand Down
Binary file added assets/images/menus/funkay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/menu/arrows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/images/mobile/menu/arrows.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<TextureAtlas imagePath="arrows.png">
<SubTexture name="arrow left0000" x="0" y="0" width="48" height="85" frameX="0" frameY="0" frameWidth="48" frameHeight="85" />
<SubTexture name="arrow push left0000" x="48" y="0" width="42" height="75" frameX="0" frameY="0" frameWidth="42" frameHeight="75" />
</TextureAtlas>
Binary file added assets/images/mobile/virtualpad/a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/g.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/i.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/j.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/l.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/n.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/o.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/p.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/q.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/r.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/mobile/virtualpad/t.png
Binary file added assets/images/mobile/virtualpad/u.png
Binary file added assets/images/mobile/virtualpad/up.png
Binary file added assets/images/mobile/virtualpad/v.png
Binary file added assets/images/mobile/virtualpad/w.png
Binary file added assets/images/mobile/virtualpad/x.png
Binary file added assets/images/mobile/virtualpad/y.png
Binary file added assets/images/mobile/virtualpad/z.png
Binary file added key.keystore
Binary file not shown.
31 changes: 31 additions & 0 deletions libs.mobile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<libraries>
<!-- OpenFL & Lime (Required for Flixel) -->
<lib name="openfl" version="9.2.2" />
<git name="lime" url="https://github.com/FNF-CNE-Devs/lime" />

<!-- Lime Building Dependencies -->
<lib name="hxp" version="1.3.0" />
<lib name="format" version="3.6.0" />

<!-- Flixel -->
<git name="flixel" url="https://github.com/FNF-CNE-Devs/flixel" />
<git name="flixel-addons" url="https://github.com/FNF-CNE-Devs/flixel-addons" />

<!-- Other Libraries -->
<git name="hscript-improved" url="https://github.com/FNF-CNE-Devs/hscript-improved" ref="custom-classes" />
<git name="flxanimate" url="https://github.com/FNF-CNE-Devs/flxanimate" />
<git name="hxdiscord_rpc" url="https://github.com/FNF-CNE-Devs/hxdiscord_rpc" />
<lib name="hxvlc" skipDeps="true" />

<!-- Documentation and other features -->
<git name="away3d" url="https://github.com/FNF-CNE-Devs/away3d" />
<!-- <lib name="dox" /> -->
<lib name="format" />
<lib name="markdown" />

<!-- Android Specific -->
<git name="extension-androidtools" url="https://github.com/MAJigsaw77/extension-androidtools" ref="main" skipDeps="true" />

<git name="hxcpp" url="https://github.com/NeeEoo/hxcpp" ref="codename" />
</libraries>
21 changes: 18 additions & 3 deletions project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<window if="mac" allow-high-dpi="true" />

<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false"/>
<window if="mobile" orientation="landscape" fullscreen="true" resizable="false" allow-shaders="true" require-shaders="true" allow-high-dpi="true" />

<!--Switch-specific-->
<window if="switch" orientation="landscape" fullscreen="true" width="0" height="0" resizable="true" />
Expand Down Expand Up @@ -92,7 +92,7 @@
<icon path="art/iconOG.png" size='512' />
<icon path="art/iconOG.png" size='768' />
<icon path="art/iconOG.png" size='1024' />

<icon path="art/iconOG.png" />

<!-- _________________________________ Engine Settings _______________________________ -->

Expand Down Expand Up @@ -141,7 +141,7 @@

<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
<section if="cpp">
<define name="VIDEO_CUTSCENES" if="desktop || android" />
<define name="VIDEO_CUTSCENES" if="desktop || mobile" />
</section>

<!-- Comment this out to disable commit number on FPS -->
Expand All @@ -150,6 +150,8 @@
<!-- Comment this out to disable dark mode windows -->
<define name="DARK_MODE_WINDOW"/>

<define name="TOUCH_CONTROLS" if="mobile || web" />

<haxedef name="VIDEO_CUTSCENES" if="VIDEO_CUTSCENES" />
<haxedef name="UPDATE_CHECKING" if="UPDATE_CHECKING" />
<haxedef name="DISCORD_RPC" if="DISCORD_RPC" />
Expand Down Expand Up @@ -180,6 +182,10 @@
<haxelib name="hxdiscord_rpc" if="DISCORD_RPC"/>
<haxelib name="markdown" />

<haxelib name="extension-androidtools" if="android" />

<haxedef name="no-deprecation-warnings"/>

<!-- _________________________________ Additional stuff _______________________________ -->

<section if="COMPILE_ALL_CLASSES">
Expand All @@ -189,6 +195,9 @@

<haxeflag name="--macro" value="funkin.backend.system.macros.Macros.initMacros()" />

<!-- Fix flash package issues -->
<haxeflag name="--macro" value="allowPackage('flash')" />

<!-- Fix compiling issues -->
<setenv name="HAXEPATH" value="./"/>

Expand All @@ -198,4 +207,10 @@
<haxedef name="HXCPP_CATCH_SEGV" />

<haxedef name="hscriptPos" /> <!-- for logging -->

<!-- _________________________________ Mobile stuff _______________________________ -->

<!-- Do whatever you want I'm tired uninstall and install everytime -->
<certificate path="key.keystore" password="codenameengine" alias="cneport" alias-password="codenameengine" if="android" unless="debug" />

</project>
Loading