This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRCDIR:=src | |
BUILDDIR:=build | |
CXXFLAGS:=-O2 -Wall | |
LIBS:=-llibs | |
SRCS:=$(wildcard $(SRCDIR)/*.cpp) | |
HDRS:=$(wildcard $(SRCDIR)/*.hpp) | |
OBJS:= $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.o,$(SRCS)) | |
TGT:=name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="Name" default="dist" basedir="."> | |
<description> | |
Description | |
</description> | |
<property name="version" value="0.1" /> | |
<property name="src" location="src"/> | |
<property name="build" location="build"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default=1 | |
timeout=15 | |
menuentry "Start Windows Installation" { | |
insmod ntfs | |
insmod search_label | |
insmod search_fs_uuid | |
search --no-floppy --set=root --fs-uuid <uuid> | |
ntldr /bootmgr | |
boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var r26_theme = r26_theme || {}; | |
// Function to hook | |
r26_theme.hooks = r26_theme.hooks || { | |
process: Interpolator.prototype.process, | |
drawSprite: Atlas.prototype.drawSprite | |
}; | |
// Change this for different colors | |
r26_theme.theme = r26_theme.theme || { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scrollunit = {}; | |
scrollunit.draw = buildBar.draw; | |
scrollunit.slotFleet = [6, 6, 4, 4, 7, 2, 3, 5, 5, 1]; | |
scrollunit.slotIndex = []; | |
scrollunit.findUnitIndex = function(spec, fleet) { | |
for(var i = 0; i < 10; i++) { | |
if(commander.fleet[fleet + "," + i] === spec) { | |
return i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var linemove = {}; | |
linemove.center = function(points) { | |
var rst = v2.create(); | |
for(var point of points) { | |
v2.add(rst, point); | |
} | |
return v2.scale(rst, 1 / points.length); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* From version 0.51.1, fleet tab replaces this mod | |
* Below is a script that transfers archived fleets to a new tab | |
*/ | |
var moveArchive = function() { | |
if(!commander) { | |
setTimeout(moveArchive, 1000); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// edited from original copy page so it only copies the fleets | |
// | |
(function() { | |
ui.copyPage = function() { | |
return ui.inScreen("menu", "Copy Import/Export", function() { | |
onecup.padding_bottom(100); | |
onecup.position("relative"); | |
onecup.textarea("#commanderCode", function() { | |
onecup.position("absolute"); | |
onecup.top(70); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Swapping fleet using shift + arrow up/down key. | |
* Use alt-shift-num to select one of the first 10 fleets | |
*/ | |
var fleetSwap = window.fleetSwap || { | |
onkeydown: ControlsMode.prototype.onkeydown | |
} | |
ControlsMode.prototype.onkeydown = function(e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A mod loader for Istrolid | |
// To install, download asar file from https://www.dropbox.com/sh/loia3j5gryzyoga/AACC2FOEO_rB1iacyxT1TKUga?dl=0 | |
// then replace Steam/steamapps/common/Istrolid/resources/app.asar with that file | |
// Alternatively, you can use whatever way you want to load this script at start up (Temper Monkey, Grease Monkey, whatever) | |
//edited from src/challanges.js | |
r26_modloader = window.r26_modloader || { | |
account_signinReply: account.signinReply | |
}; |
OlderNewer