Commit graph

2057 commits

Author SHA1 Message Date
MatthewTheGlutton
cb4b7e4e13 sprites: updated shela0 and sboxa0 2019-09-14 15:04:15 -07:00
MatthewTheGlutton
d72d78bd78 New/improved bullet and shell pickup sprites. 2019-09-13 12:36:01 -07:00
Mike Swanson
33d2d14cd2 Make: build manual PDF for install and dist targets
This is largely being kept optional due to asciidoctor-pdf’s failure
to actually work on Arch Linux, but if it runs fine, we get a nice PDF
manual!
2019-09-12 16:32:33 -07:00
Mike Swanson
6f6ac67dd5 Makefile: remove “deutex.log” from clean rules
DeuTex since 5.0 no longer generates such a file.
2019-09-12 15:54:30 -07:00
Mike Swanson
93dfdb33af Makefile: remove never-used "doc" target 2019-09-12 15:50:08 -07:00
Mike Swanson
24091111fd COMPILING: ASCIIDOC make variables, note asciidoctor-pdf 2019-09-12 15:44:49 -07:00
Mike Swanson
d7a0f45a1e make: install doc files to $prefix/share/doc
Makes unique directories for each IWAD target, which makes it easier
for distributions (like Arch and Debian) that package them separately.
2019-09-12 11:22:11 -07:00
Mike Swanson
db2d48a8ce make: allow controlling asciidoc implementation via variables
ASCIIDOC and ASCIIDOC_MAN have been added, which default to the
(Python-based) reference implementation, but may be changed to
asciidoctor simply.

The manpages have been modified to use single-line section headings
for AsciiDoctor compatibility.
2019-09-12 11:22:11 -07:00
Xindage
14280d32e2 sprites: Fix the offsets of Missile Launcher. (#605) 2019-09-11 12:25:09 -07:00
Mike Swanson
5a968c6d07 gitignore: add Emacs temp/recovery files 2019-09-10 08:02:37 -07:00
Mike Swanson
a799dd7878 strip out extranous chunks from the prior commit's PNG files
Exif and timestamp and other information that's unnecessary and made
the files 10× larger than needed.
2019-09-08 17:45:28 -07:00
MissLav
07d9c9f1ea new skull buttons sw2_1,2,7,8
added new skull buttons based on MatthewTheGlutton's edit
2019-09-08 17:31:56 -07:00
Mike Swanson
1bace4eaab NEWS: fix a grammatical error 2019-09-08 13:51:26 -07:00
Mike Swanson
85549628fd textures: redefine A-BROWN4 so it doesn’t use BOSFA0
With WAD merging with certain Doom 2 mods (eg,
doom2/Ports/megawads/strg), using a sprite in this texture causes some
engines to crash on loading the game.  The mod makes up its new BOSF*
sprites but omits BOSFA0, which caused our game to crash when trying
to load Freedoom with Struggle.

This can break Plutonia mod compatibility a bit if they try to replace
this sprite too, but let’s hope that will not happen.
2019-09-08 00:39:55 -07:00
Mike Swanson
f778320662 textures: cleanup textures.cfg again, tabs keep sneaking in here 2019-09-08 00:07:47 -07:00
Mike Swanson
ffc974d3df textures: use "mkdir -p" when creating directories
would error out otherwise if the directories already existed (eg, a
non-clean build)
2019-09-07 23:56:44 -07:00
Mike Swanson
a036e65567 Add project news file, backdate with releases 0.8 to present 2019-09-07 20:03:29 -07:00
Mike Swanson
8c97b73502 Makefile: use reverse-DNS to install desktop and metainfo files
Current Desktop Entry and AppStream standards recommend using
reverse-DNS for all relevant files under them.

Adds some more scaffolding targets for install/uninstall, but there
aren’t easy text transformations to the new names.
2019-09-07 11:27:21 -07:00
Mike Swanson
d9a1ff3e78 dist/freedoom: support ~/.local installs, make it easier to read paths
Bunch of logic to use XDG_DATA_HOME or fallback according to the
actual XDG recommendations.

Use an array to build up paths (can be edited easily in the future or
for whatever custom purpose), which shellcheck warned is a bash-ism,
so change the script interpreter to bash as well.  Let’s hope that
doesn’t break anyone (does anyone lack bash even if they don’t use it
as their shell?)
2019-09-07 01:52:47 -07:00
Mike Swanson
5a9483c329 remove travis build file, hasn’t actually ran for a long time 2019-09-07 01:17:19 -07:00
Mike Swanson
043bc1c9ac README: fix wording on the Chocolate Doom point 2019-09-06 14:51:22 -07:00
Mike Swanson
6eef9be73a use python3 only for building
Python 2 is very near end-of-life, and Python3-compatible changes to a
few scripts introduced compatibility problems with 2.7 again.  It went
unnoticed for me since my system symlinks "python" to "python3", but
it broke the build on systems where that symlink is still python2.  At
this point in time, I feel it is worth targetting modern Python and
forgetting about 2.7.
2019-09-06 14:43:50 -07:00
Mike Swanson
4845fae329 README: change optional limit-removing to vanilla-compat only
As with the prior README commit, this doesn’t actually mean Freedoom
is 100% vanilla yet, but we should be making it a hard goal at this
point.
2019-09-06 14:42:22 -07:00
igdegoo
0809561952 musics: change d_map30 instruments to add a booming choir 2019-09-06 14:16:31 -07:00
Mike Swanson
827153a16f README: remove last two paragraphs
These are complicated and nobody follows them.
2019-09-06 11:47:53 -07:00
Mike Swanson
e13db68259 README: Remove notice of requiring a limit-removing port
This is probably not actually true yet, but let’s make a harder effort
to push towards vanilla compatibility ;)
2019-09-06 11:46:53 -07:00
Mike Swanson
0913cb16ee Merge branch 'master' of gh:MatthewTheGlutton/freedoom 2019-09-06 02:00:26 -07:00
William Breathitt Gray
47dd54d5ce dist/freedoom: Set DOOMWADPATH with sensible default value if unset
Engines such as Odamex may not have a default search path and simply
search for freedoom1.wad relative to the current directory. This can
cause an unexpected WAD file not found error when executing the freedoom
script.

This issue is mitigated by setting a default DOOMWADPATH environment
variable with sensible search paths, if it is not already set. All
engines listed in the PORTS variable support the DOOMWADPATH environment
variable, which makes it a simple and convenient way of helping prevent
this error.
2019-09-06 16:20:49 +09:00
MatthewTheGlutton
9a83b9da44
New RW23_3 and derivatives 2019-09-05 22:30:43 -07:00
Steven Elliott
b2ca8cbfde Organize .gitignore
Organize .gitignore by moving all patterns into a top level sorted
.gitignore file. With this change both "git status" and
"git-ls-ignore-index" should return cleanly. The later checks if any
files in the index are ignored.
2019-09-05 07:09:47 -05:00
Luiz Henrique Gasparin Jerônimo
e41b085fc9 levels: add missing deathmatch starts in Phase 1
Fixes #598
2019-09-04 20:16:25 -07:00
Luiz Henrique Gasparin Jerônimo
44cd1d022b c3m4: change monsters so they don’t get stuck on easy/normal diff.
Fixes #448
2019-09-04 20:13:44 -07:00
Luiz Henrique Gasparin Jerônimo
c5de966c5d map05: move blue keycard backwards so it can’t be obtained early
Fixes #442
2019-09-04 20:13:36 -07:00
Mike Swanson
180a11807b Retire VERSION file, put value into Makefile 2019-09-04 19:46:59 -07:00
Mike Swanson
4701d8f351 Blacken all Python files
Using the black code reformatter, pass it over all our Python files.
This allows for a consistent style across the code base.

Exception: lumps/dmxgus/stats.py, for readability.
2019-09-04 19:36:23 -07:00
Mike Swanson
6b486b6332 rename python scripts to barenames where possible 2019-09-04 19:20:19 -07:00
Mike Swanson
140f01f39a music-duplicates: python3 compatibility
Open files in binary mode instead of text mode.
2019-09-04 18:44:33 -07:00
Mike Swanson
60cf1dee6e manual: lowercase monster names in normal prose
These aren’t proper nouns and should not be treated as such.
2019-09-04 18:44:33 -07:00
Mike Swanson
868e1fdebb manual: use curly quotes where appropriate 2019-09-04 18:44:33 -07:00
Mike Swanson
eca25952ad make: use $(RM) for removing files
This is one of the built-in variables for Make and can increase
portability on different operating systems (eg, on Windows, the
built-in $(RM) may be defined as "del" instead of "rm -f").
2019-09-04 14:22:49 -07:00
Mike Swanson
fe7d6f864a dist/freedoom: use DOOMPORT envvar rather than PORT (breaking change)
PORT is too generic, especially if refering to TCP/UDP ports, and if
those are set, the freedoom script may not work properly.  DOOMPORT is
a reasonable alternative.
2019-09-04 14:08:34 -07:00
Mike Swanson
96b28272a6 dist/Makefile: rewrite targets so they build only when sources change
Also includes a change to the top-level Makefile to accommodate new
target names.  Moved the installation variable settings close to the
install targets.
2019-09-04 14:06:17 -07:00
Mike Swanson
2a810409de buildcfg: add an offset for STTMINUS
Allows the hyphen to not draw over the frag count (when negative) in
vanilla Doom.
2019-09-04 02:23:01 -07:00
Mike Swanson
40f9cbf0d6 BUILD-SYSTEM: Update to current state of the project
Some directory names changed, we don't build resource WADs anymore,
cpp variables changed to PHASE1 and PHASE2.
2019-09-01 18:49:58 -07:00
Mike Swanson
a31450f5b9 Rename ULTDOOM/DOOM2 cpp defines to PHASE1/PHASE2
More self-consistent with out project, and those names dated before
Freedoom had a stronger identity.
2019-09-01 18:49:03 -07:00
Simon Howard
9f082e5ffa build: Remove wadinfo.txt.
We no longer build the freedoom.wad resource WAD so this is redundant.
(It was removed in bfb95753bd).
2019-09-01 21:10:14 -04:00
Simon Howard
86a6d7300c Merge branch 'master' of github.com:freedoom/freedoom 2019-09-01 20:58:11 -04:00
Simon Howard
340faf1205 textures: Strip out now-unused #defines from cfg.
Now that we always include all textures in every IWAD, the configuration
is significantly simpler. The #defines we previously used to control
the conditional logic are now redundant.
2019-09-01 20:56:40 -04:00
Mike Swanson
53b4133b20 move source dehacked to dedicated subdirectory 2019-09-01 17:53:55 -07:00
Mike Swanson
8e9ce31b70 dehacked: run through simplecpp, cheat replacements for Phase 1 only
Deduplicates effort from copying between multiple patch files, and we
now have unique outputs for each of our IWADs.

Having just "No Clipping 1 = idclip" proved to be troublesome with at
least prboom-plus, the engine running its cheat detecting twice and
becoming unable to activate no-clipping mode.  Worked around it by
also defining "No Clipping 2 = idspispopd", restoring that cheat's
functionality in most source ports and keeping both variants unique.
Chocolate Doom will only use the "idclip" version.
2019-09-01 17:39:58 -07:00