Skip to content

Commit

Permalink
some edits and changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Oct 7, 2024
1 parent 03ddeac commit 594e97a
Show file tree
Hide file tree
Showing 6 changed files with 388 additions and 5 deletions.
5 changes: 4 additions & 1 deletion Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
<set name="BUILD_DIR" value="export/release" unless="debug" />

<source path="source" />

<assets path="assets" />
<assets path="mods" if="FUTURE_POLYMOD" />
<assets path="assets/songs" library="songs" />

<assets path="mods" embed="false" if="FUTURE_POLYMOD" />

<section if="desktop">
<assets path="alsoft.ini" if="windows" />
Expand Down
2 changes: 1 addition & 1 deletion docs/01 - scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function create() {
yourFunction();
}
function yourFunction() {
function yourFunction(/* arguments, if any */) {
// code goes here...
}
```
Expand Down
6 changes: 5 additions & 1 deletion source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ import openfl.events.UncaughtErrorEvent;
import haxe.CallStack;
import haxe.io.Path;
import sys.io.Process;

import backend.ALConfig;
#end

#if linux
@:cppInclude('./external/gamemode_client.h')
@:cppFileCode('#define GAMEMODE_AUTO')
#end

class Main extends openfl.display.Sprite {
public final config:Dynamic = {
gameDimensions: [1280, 720],
Expand Down
Loading

0 comments on commit 594e97a

Please sign in to comment.