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
let playerPlacements = playerPlacementCircle(fractionToTiles(0.35)); | |
let playerIDs = []; | |
for (let i = 0; i < getNumPlayers(); ++i) | |
playerIDs.push(i+1); | |
playerPlacements[0] = playerIDs; | |
placePlayerBases({ | |
"PlayerPlacement": playerPlacements, |
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
Engine.LoadLibrary("rmgen"); | |
Engine.LoadLibrary("rmgen-common"); | |
Engine.LoadLibrary("rmbiome"); | |
setSelectedBiome(); | |
const tMainTerrain = g_Terrains.mainTerrain; | |
const tForestFloor1 = g_Terrains.forestFloor1; | |
const tForestFloor2 = g_Terrains.forestFloor2; | |
const tCliff = g_Terrains.cliff; |
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
g_Map.log("Creating stone mines"); | |
createMines( | |
[ | |
[new SimpleObject(oStoneLarge, 1, 1, 0, 4, 0, 2 * Math.PI, 4)] | |
], | |
avoidClasses(clForest, 1, clPlayer, 47, clRock, 22, clHill, 1), | |
clRock | |
) | |
; |
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 stoneGroup = new SimpleGroup( | |
new SimpleObject(oStoneLarge, 1, 1, 0, 4, 0, 0.25 * Math.PI, 4), true, clRock, [200, 200] | |
); | |
stoneGroup.place(0, avoidClasses(clForest, 1, clPlayer, 20, clMetal, 10, clRock, 5, clHill, 1)); |
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
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:347:21 | |
stack backtrace: | |
0: <unknown> | |
1: <unknown> | |
2: <unknown> | |
3: <unknown> | |
4: <unknown> | |
5: <unknown> | |
6: <unknown> | |
7: <unknown> |
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
const appendInvalidationRow = row => { | |
$('tbody') | |
.first() | |
.append(`<tr><th>Validation</th><td>${row}</td></tr>`); | |
}; | |
const setupBatchInvalidation = (rootUrl, bid) => { | |
$.getJSON(`${rootUrl}api/batches/${bid}/invalidated`, data => { | |
if (data.invalidated) { | |
appendInvalidationRow('Invalid'); |
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
thread 'main' panicked at 'attempt to subtract with overflow', src/ui/grid/row.rs:86:47 | |
stack backtrace: | |
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace | |
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 | |
1: std::sys_common::backtrace::_print | |
at src/libstd/sys_common/backtrace.rs:71 | |
2: std::panicking::default_hook::{{closure}} | |
at src/libstd/sys_common/backtrace.rs:59 | |
at src/libstd/panicking.rs:197 | |
3: std::panicking::default_hook |
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
set nocompatible " be iMproved, required | |
set number | |
set noswapfile | |
"time waited for key press(es) to complete. It makes for a faster key response | |
set ttimeout | |
set ttimeoutlen=50 | |
set ignorecase " search ignores case |
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
[src/ui/ui.rs:755] "MessageShowMode" = "MessageShowMode" | |
[src/ui/ui.rs:756] content = [] | |
[src/ui/ui.rs:750] "MessageShow" = "MessageShow" | |
[src/ui/ui.rs:751] message_entry = MessageEntry { | |
kind: "echomsg", | |
content: [ | |
( | |
0, | |
"[coc.nvim] Setting sysroot to/home/badosu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu", | |
), |
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
static int | |
idle(LV2UI_Handle handle) | |
{ | |
SineSynthGui* gui = (SineSynthGui*)handle; | |
uv_run(&(gui->rtb)->event_loop, UV_RUN_ONCE); | |
return 0; | |
} |