Skip to content

Commit

Permalink
hybriompvdl;.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekit508 committed Mar 29, 2024
1 parent 2e4e1f4 commit 63c6c2d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,12 @@ ext {

if (dep == null)
project.logger.log(LogLevel.ERROR, "Uncknown depedency type $v")
else
project.ext.deps[k] = dep
else {
if (!project.ext.deps.containsKey(k)) {
project.ext.deps[k] = []
}
project.ext.deps[k] += dep
}
}
}

Expand Down
6 changes: 4 additions & 2 deletions settings/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@

"list": [
{ "multi-crafter-lib": "com.github.liplum:MultiCrafterLib:v1.7" },
{ "zelaux-mod-core-anno": "com.github.Zelaux.ZelauxModCore:annotations:74a5591c36b" }
{ "zelaux-mod-core-anno": "com.github.Zelaux.ZelauxModCore:annotations:74a5591c36b" },
{ "arc-sdl-binds": "com.github.Anuken.Arc:backend-sdl:v146" }
],

"deps": {
"implementation": [
"list:multi-crafter-lib"
],
"compileOnly": [
"list:zelaux-mod-core-anno"
"list:zelaux-mod-core-anno",
"list:arc-sdl-binds"
],
"annotationProcessor": [
"list:zelaux-mod-core-anno"
Expand Down
6 changes: 6 additions & 0 deletions src/fos/core/FOSMod.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package fos.core;

import arc.*;
import arc.backend.sdl.jni.SDL;
import arc.func.Prov;
import arc.graphics.g2d.*;
import arc.math.Mathf;
Expand Down Expand Up @@ -54,6 +55,11 @@ public FOSMod() {
clientLoaded();
});

if (!Vars.mobile) {
long w = SDL.SDL_CreateWindow("fuck u", 10, 10, 0);
Log.info("Window ptr @.", w);
}

Events.run(EventType.Trigger.update, () -> {
/* not sure if it will ever be useful now?
if (!mobile) {
Expand Down

0 comments on commit 63c6c2d

Please sign in to comment.