Skip to content

Commit

Permalink
Update "ZDoom Forums" theme; make BOOM-Compatible the default port fo…
Browse files Browse the repository at this point in the history
…r idTech 1
  • Loading branch information
dashodanger committed May 25, 2024
1 parent 6df159d commit de47703
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ports/boom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ OB_PORTS["boom"] =
{
label = _("BOOM Compat"),

priority = 98, -- this makes it top-most, and the default engine
priority = 102, -- this makes it top-most, and the default engine

game = { chex1=0, doom1=1, doom2=1, hacx=0, harmony=0, strife=0, rekkr=0 },

Expand Down
2 changes: 1 addition & 1 deletion ports/edge.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ OB_PORTS["edge"] =

extends = "advanced",

priority = 95,
priority = 99,

game = { chex1=0, doom1=1, doom2=1, hacx=0, harmony=0, heretic=1, ultdoom=1, tnt=1, plutonia=1, strife=0, rekkr=0 },

Expand Down
2 changes: 1 addition & 1 deletion ports/vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ OB_PORTS["vanilla"] =
{
label = _("Vanilla"),

priority = 100,
priority = 101,

engine = {idtech_0=1,idtech_1=0},

Expand Down
2 changes: 1 addition & 1 deletion ports/zdoom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ end
OB_PORTS["zdoom"] =
{
label = _("GZDoom"),
priority = 101,
priority = 100,

extends = "advanced",

Expand Down
7 changes: 2 additions & 5 deletions scripts/obsidian.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ function ob_match_engine(T)
local engine = T.engine
local result = true

-- Compatibility stub for old "gzdoom" selection
if engine == "gzdoom" then engine = "zdoom" end

-- negated check?
if type(engine) == "string" and string.sub(engine, 1, 1) == '!' then
engine = string.sub(engine, 2)
Expand Down Expand Up @@ -572,7 +569,7 @@ function ob_update_ports()
if OB_CONFIG.game == "chex1" or OB_CONFIG.game == "hacx" or OB_CONFIG.game == "harmony" or OB_CONFIG.game == "strife" or OB_CONFIG.game == "rekkr" then -- Ugh
OB_CONFIG.port = "limit_enforcing"
else
OB_CONFIG.port = "zdoom"
OB_CONFIG.port = "boom"
end
else -- shouldn't get here - Dasho
OB_CONFIG.port = "vanilla"
Expand Down Expand Up @@ -2407,7 +2404,7 @@ local function ob_get_module_refs()
"zdoom",
"edge",
},
default = "zdoom",
default = "boom",
},
length = {
tooltip = _("Choose how many levels to create."),
Expand Down
8 changes: 4 additions & 4 deletions theme/zdoom_forums.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
-- ZDoom Forums theme by Cubebert

-- THEME FILE : OBSIDIAN 21 "Unstable"
-- Build 2024.05.24
-- Based on OBLIGE Level Maker (C) 2006-2017 Andrew Apted
-- https://obsidian-level-maker.github.io

window_scaling = 0
font_scaling = 20
font_theme = 1
widget_theme = 0
box_theme = 0
button_theme = 0
single_pane = 0
use_system_fonts = 0
color_scheme = 1
text_red = 95
text_green = 81
Expand Down

0 comments on commit de47703

Please sign in to comment.