MCPcopy Index your code
hub / github.com/EyeOfDarkness/FlameOut

github.com/EyeOfDarkness/FlameOut @v1.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.3 ↗ · + Follow
1,242 symbols 4,531 edges 120 files 7 documented · 1% updated 2y agov1.1.3 · 2024-06-29★ 526 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Not intended for Multiplayer or Mobile

Building for Desktop Testing

  1. Install JDK 17.
  2. Run gradlew jar [1].
  3. Your mod jar will be in the build/libs directory. Only use this version for testing on desktop. It will not work with Android. To build an Android-compatible version, you need the Android SDK. You can either let Github Actions handle this, or set it up yourself. See steps below.

Building Locally

Building locally takes more time to set up, but shouldn't be a problem if you've done Android development before. 1. Download the Android SDK, unzip it and set the ANDROID_HOME environment variable to its location. 2. Make sure you have API level 30 installed, as well as any recent version of build tools (e.g. 30.0.1) 3. Add a build-tools folder to your PATH. For example, if you have 30.0.1 installed, that would be $ANDROID_HOME/build-tools/30.0.1. 4. Run gradlew deploy. If you did everything correctlly, this will create a jar file in the build/libs directory that can be run on both Android and desktop.

Adding Dependencies

Please note that all dependencies on Mindustry, Arc or its submodules must be declared as compileOnly in Gradle. Never use implementation for core Mindustry or Arc dependencies.

  • implementation places the entire dependency in the jar, which is, in most mod dependencies, very undesirable. You do not want the entirety of the Mindustry API included with your mod.
  • compileOnly means that the dependency is only around at compile time, and not included in the jar.

Only use implementation if you want to package another Java library with your mod, and that library is not present in Mindustry already.


[1] On Linux/Mac it's ./gradlew, but if you're using Linux I assume you know how to run executables properly anyway.
[2]: Yes, I know this is stupid. It's a Github UI limitation - while the jar itself is uploaded unzipped, there is currently no way to download it as a single file.

Extension points exported contracts — how you extend this code

LineHitHandler (Interface)
(no doc) [3 implementers]
src/flame/Utils.java
QuadTreeHandler (Interface)
(no doc) [3 implementers]
src/flame/Utils.java
VaporizeHandler (Interface)
(no doc) [3 implementers]
src/flame/graphics/VaporizeBatch.java
SpriteHandler (Interface)
(no doc) [3 implementers]
src/flame/graphics/VaporizeBatch.java
LaserRange (Interface)
(no doc) [2 implementers]
src/flame/unit/weapons/LaserWeapon.java

Core symbols most depended-on inside this repo

trns
called by 374
src/flame/entities/DrawEntity.java
add
called by 256
src/flame/unit/empathy/EmpathyUnit.java
add
called by 254
src/flame/entities/MockGroup.java
apply
called by 211
src/flame/graphics/FlameShaders.java
set
called by 137
src/flame/unit/empathy/EmpathyAI.java
get
called by 117
src/flame/graphics/VaporizeBatch.java
apply
called by 114
src/flame/effects/BloodSplatter.java
circle
called by 86
src/flame/graphics/GraphicUtils.java

Shape

Method 1,048
Class 188
Interface 6

Languages

Java100%

Modules by API surface

src/flame/unit/empathy/EmpathyDamage.java56 symbols
src/flame/unit/empathy/EmpathyUnit.java53 symbols
src/flame/unit/empathy/CountDownAttack.java41 symbols
src/flame/graphics/FlameShaders.java31 symbols
src/flame/unit/empathy/EmpathyAI.java29 symbols
src/flame/effects/SpecialDeathEffects.java29 symbols
src/flame/FlameOutSFX.java29 symbols
src/flame/unit/weapons/EndDespondencyWeapon.java28 symbols
src/flame/special/states/Stage2.java26 symbols
src/flame/unit/ApathyIAI.java21 symbols
src/flame/effects/Severation.java21 symbols
src/flame/Utils.java21 symbols

For agents

$ claude mcp add FlameOut \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page