Skip to content

Instantly share code, notes, and snippets.

View badosu's full-sized avatar

Amadeus Folego badosu

View GitHub Profile
-- Vendored from https://github.com/folke/todo-comments.nvim/blob/main/lua/todo-comments/highlight.lua
-- FIX: dddddd
-- TODO: foobar
-- dddddd
local namespace_name = "todo-comments"
local augroup_name = "Todo"
local sign_group_name = "todo-signs"
local M = {}
@badosu
badosu / bar_process_ramblings.md
Last active December 29, 2025 21:12
Badosus list of random Recoil/Bar things

I'll give you an example.

lets talk area attack, what is it? you press a and make attack your active command, left click drag and it will target visible units in the circle.

currently area attack is left click drag, right click drags does custom formations attack, this is horrible from a consistency endpoint right? perhaps confusing to new players. (see also how making bombers attack ground is somehow the most advanced rocket science skill in bar, because its so confusing)

wouldnt it make more sense for area attack maybe being a separate stateful command, lets say ctrl or alt a and left click drag for area attack? now left click drag on normal attack does "custom formations" attack. and for both right click (or even right click drag) exits

sure, if you have some experience making this is relatively trivial (although doing it properly is out of question for a crushing majority of people that ever contributed to BAR)

@badosu
badosu / how-to-tweak.md
Last active October 5, 2025 03:38
Tweak Options Guide
This file has been truncated, but you can view the full file.
[t=00:00:00.147770] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="Shader Stats: SGPRS: 8 VGPRS: 32 Code Size: 16 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0"
[t=00:00:00.147933] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="Shader Stats: SGPRS: 24 VGPRS: 12 Code Size: 248 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0"
[t=00:00:00.231972] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 40 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0"
[t=00:00:00.232192] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER severity=UNKNOWN msg="Shader Stats: SGPRS: 8 VGPRS: 28 Code Size: 20 LDS: 0 Scratch: 0 Max Waves: 8 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0"
[t=00:00:00.232233] Warning: [OPENGL_DEBUG] id=1 source=SHADER_COMPILER type=OTHER
This file has been truncated, but you can view the full file.
[t=00:00:00.006935] [DataDirLocater::FindWriteableDataDir] using writeable data-directory "/home/badosu/Documents/Beyond All Reason/"
[t=00:00:00.006936] Using writeable configuration source: "/home/badosu/Documents/Beyond All Reason/springsettings.cfg"
[t=00:00:00.006937] Using additional read-only configuration source: "/home/badosu/Documents/Beyond All Reason/engine/104.0.1-1759-g77857fe bar/springsettings.cfg"
[t=00:00:00.006938] LogOutput initialized. Logging to /home/badosu/Documents/Beyond All Reason/infolog.txt
[t=00:00:00.006965] ============== <Log Sections ([A]vailable, [E]nabled)> ==============
[t=00:00:00.006971]
[A] ArchiveScanner
[A] AutohostInterface
[A] BumpWater
[A] CSMFGroundTextures
[t=00:00:00.005081] [DataDirLocater::FindWriteableDataDir] using writeable data-directory "/home/badosu/Documents/Beyond All Reason/"
[t=00:00:00.005081] Using writeable configuration source: "/home/badosu/Documents/Beyond All Reason/springsettings.cfg"
[t=00:00:00.005082] Using additional read-only configuration source: "/home/badosu/Documents/Beyond All Reason/engine/104.0.1-1759-g77857fe bar/springsettings.cfg"
[t=00:00:00.005082] LogOutput initialized. Logging to /home/badosu/Documents/Beyond All Reason/infolog.txt
[t=00:00:00.005100] ============== <Log Sections ([A]vailable, [E]nabled)> ==============
[t=00:00:00.005104]
[A] ArchiveScanner
[A] AutohostInterface
[A] BumpWater
[A] CSMFGroundTextures
[t=00:00:00.005670] [DataDirLocater::FindWriteableDataDir] using writeable data-directory "/home/badosu/Documents/Beyond All Reason/"
[t=00:00:00.005671] Using writeable configuration source: "/home/badosu/Documents/Beyond All Reason/springsettings.cfg"
[t=00:00:00.005671] Using additional read-only configuration source: "/home/badosu/Documents/Beyond All Reason/engine/104.0.1-1758-g3223197 bar/springsettings.cfg"
[t=00:00:00.005672] LogOutput initialized. Logging to /home/badosu/Documents/Beyond All Reason/infolog.txt
[t=00:00:00.005697] ============== <Log Sections ([A]vailable, [E]nabled)> ==============
[t=00:00:00.005702]
[A] ArchiveScanner
[A] AutohostInterface
[A] BumpWater
[A] CSMFGroundTextures

[Editor]
FontFamily = "Iosevka Term"
FontSize = 14
Linespace = 3
ExtCmdline = false
ExtPopupmenu = false
ExtTabline = true
DrawBorder = true
IndentGuide = true
/**
* Used for the gamelist-filtering.
*/
const g_MapSizes = prepareForDropdown(g_Settings && g_Settings.MapSizes);
/**
* Used for the gamelist-filtering.
*/
const g_MapTypes = prepareForDropdown(g_Settings && g_Settings.MapTypes);