Skip to content

Commit

Permalink
Separate non-free and unclassified assets into independent addon in t…
Browse files Browse the repository at this point in the history
…he interim
  • Loading branch information
dashodanger committed Sep 30, 2024
1 parent d6db8d8 commit 06b92b7
Show file tree
Hide file tree
Showing 98 changed files with 2,959 additions and 3,004 deletions.
17 changes: 1 addition & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ obsidian
Obsidian.exe
obsidian.exe

#Logs/configs (Windows version)
#Logs/configs
CONFIG.txt
OPTIONS.txt
THEME.txt
Expand Down Expand Up @@ -32,23 +32,8 @@ cmake-build-*
build/

# User dirs
addons/*
!addons/.gitkeep

# Quake files (not redistributable)
quake_tex.wd2
pak0.pak
pak1.pak

tools/filename_formatter
tools/filename_formatter.exe
tools/qsavetex
tools/qsavetex.exe
tools/qsavetex_log.txt

web/out
web/shots

_work
*~
install/
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5,892 changes: 2,946 additions & 2,946 deletions modules/zdoom_armaetus_materials.lua → ...dons/modules/zdoom_armaetus_materials.lua

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions data/licenses/License Attribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ BSD 3-Clause License

Blasphemer (HERETIC1 loading image) - Copyright (c) 2021 Contributors to the Blasphemer project

Freedoom (Icon of Sin replacement graphics) - Copyright (c) 2001-2019 Contributors to the Freedoom project

===========================================================================================
CC0 1.0 Universal License
===========================================================================================
Expand Down
Binary file removed games/doom/data/hang_lamp.wad
Binary file not shown.
24 changes: 0 additions & 24 deletions games/doom/fabs/decor/hang_lamp.lua

This file was deleted.

Binary file removed games/doom/fabs/decor/hang_lamp.wad
Binary file not shown.
12 changes: 6 additions & 6 deletions games/doom/resources.lua
Original file line number Diff line number Diff line change
Expand Up @@ -944,18 +944,18 @@ function DOOM.all_done()

local dir = "games/doom/data/"

gui.wad_merge_sections(dir .. "doom_falls.wad")
gui.wad_merge_sections(dir .. "lift_flat.wad")
gui.wad_merge_sections(dir .. "metal_step.wad")
gui.wad_merge_sections(dir .. "vine_dude.wad")
--gui.wad_merge_sections(dir .. "doom_falls.wad")
--gui.wad_merge_sections(dir .. "lift_flat.wad")
--gui.wad_merge_sections(dir .. "metal_step.wad")
--gui.wad_merge_sections(dir .. "vine_dude.wad")
gui.wad_merge_sections(dir .. "logos.wad")
gui.wad_merge_sections(dir .. "invisible_wall.wad")

if OB_CONFIG.game == "doom1" or OB_CONFIG.game == "ultdoom" then
gui.wad_merge_sections(dir .. "short_bars.wad")
--gui.wad_merge_sections(dir .. "short_bars.wad")
end

if ob_mod_enabled("compress_output") == 1 and OB_CONFIG.port ~= "dsda" then -- DSDA (I think) needs everything in the WAD still
if ob_mod_enabled("compress_output") == 1 then
gui.pk3_insert_file("data/endoom/ENDOOM.bin", "ENDOOM.bin")
else
gui.wad_insert_file("data/endoom/ENDOOM.bin", "ENDOOM")
Expand Down
4 changes: 0 additions & 4 deletions games/heretic/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ gui.import("stories")
------------------------------------------------------------

function HERETIC.all_done()
if ob_match_port("advanced") then
local wad_file = "games/heretic/data/HER_EXIT.wad"
gui.wad_merge_sections(wad_file)
end
gui.wad_insert_file("data/endoom/ENDOOM.bin", "ENDTEXT")
end

Expand Down
Binary file removed games/heretic/data/HER_EXIT.wad
Binary file not shown.
2 changes: 0 additions & 2 deletions games/heretic/vanilla_mats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ HERETIC.VANILLA_MATS =
{
-- There are always added by Obsidian regardless of Engine selected
"O_BOLT",
-- Added for exit sign variants
"HER_EXIT",
-- Vanilla Flats
"FLAT500",
"FLAT502",
Expand Down
3 changes: 2 additions & 1 deletion scripts/monster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ function Monster_zone_palettes(LEVEL)
total = total - quants[1]

quants[3] = total
assert(total >= 0)

if total < 0 then total = 0 end

return quants
end
Expand Down
5 changes: 1 addition & 4 deletions scripts/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ function Render_add_exit_sign(E, z, SEEDS, LEVEL)

if PARAM.bool_exit_signs ~= 1 then return end

-- These games need an engine that supports TX_START/TX_END merging
if ob_match_game({ game = { heretic=1} }) then
if not ob_match_port({ port = { edge=1, zdoom=1 } }) then return end
end
if ob_match_game({ game = "doomish" }) then return end

local def

Expand Down
2 changes: 1 addition & 1 deletion source/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ void Main_SetSeed()
static void Module_Defaults()
{
ob_set_mod_option("sky_generator", "self", "1");
ob_set_mod_option("armaetus_epic_textures", "self", "1");
//ob_set_mod_option("armaetus_epic_textures", "self", "1");
ob_set_mod_option("music_swapper", "self", "1");
ob_set_mod_option("compress_output", "self", "1");
}
Expand Down

0 comments on commit 06b92b7

Please sign in to comment.