Commit graph

1694 commits

Author SHA1 Message Date
Mike Swanson
c105f5f810 Merge branch 'w106' of gh:luckypunk/freedoom 2017-03-14 15:54:18 -07:00
Mike Swanson
4b43e00e3d Merge branch 'p1par' of gh:Voros2/freedoom 2017-03-14 15:51:36 -07:00
Mike Swanson
913940b05e Merge branch 'dm24' of gh:Voros2/freedoom 2017-03-14 15:50:45 -07:00
RjY
3143339a64 parallel_textgen: run textgen in parallel
textgen: instead of running ImageMagick yourself, output a Makefile rule
for each graphic. Dependencies are passed on the command line.

Makefile: Add rule for 'textgen.mk' which is built by running textgen.
graphics.stamp depends on textgen.mk and all the built graphics files.
Then, each built graphic depends on textgen.mk, ensuring it is made
first. textgen.mk itself depends on textgen config, font, and dehacked.
(Makefile itself also depends on textgen.mk implicitly via include)

This duplicates previous behaviour where changing textgen config remakes
all text graphics, but one Make rule for each, allowing parallel make
with -j instead of the script doing one at a time.

The built IWADs are byte-for-byte identical before and after this patch
series is applied (provided VERSION is set to the same thing of course)

One problem is 'make clean' rebuilds textgen.mk because Make thinks the
Makefile needs it, but then immediately deletes it. Not sure how to fix.
Use git clean -fdx instead, or just don't clean twice in succession.

----

This gives the following improvement in build time (-j1 as control,
built on 4 cores and a large tmpfs so disk speed isn't a factor)

(master)

    make -j1  4.83s user 6.77s system 93% cpu 12.444 total
    make -j1  4.74s user 6.72s system 93% cpu 12.267 total
    make -j1  4.72s user 6.68s system 92% cpu 12.292 total

    make -j4  5.72s user 6.77s system 109% cpu 11.414 total
    make -j4  5.39s user 6.85s system 107% cpu 11.419 total
    make -j4  5.66s user 6.79s system 109% cpu 11.383 total

parallel_textgen

    make -j1  4.57s user 6.66s system 92% cpu 12.185 total
    make -j1  4.73s user 6.57s system 93% cpu 12.152 total
    make -j1  4.60s user 6.72s system 93% cpu 12.152 total

    make -j4  5.62s user 7.72s system 262% cpu 5.084 total
    make -j4  5.82s user 7.76s system 262% cpu 5.165 total
    make -j4  5.79s user 7.73s system 261% cpu 5.161 total
2017-03-14 17:46:40 +00:00
RjY
946db56ccd parallel_textgen: separate font_render and invoke_command
Replace font_render with get_command which returns the command line
instead of executing it. Move invoke_command to font_render callers.
2017-03-14 13:14:16 +00:00
RjY
e94bcdd9ea graphics/titlepic: remove author subdirectory
- move captainw/* into titlepic (rename fdmtitle to freedm_titlepic)
- fix file paths in dist/Makefile, graphics/titlepic/Makefile
2017-03-14 11:43:33 +00:00
Catoptromancy
c7054c408b c4m2: Several gameplay tweaks.
* Add a switch in the secret exit area to allow backtracking.
* Make ledges in secret route non-damaging and made pit below into 20%
  damage slime, allowing jumpers to risk death for a couple shells.
* 10 DM starts.
2017-03-13 02:36:58 -04:00
Catoptromancy
2304c7cf9e map17: Adjustments for easy/normal skill levels. 2017-03-13 02:36:32 -04:00
Ayub Ahmed
bfa2d74900 musics: new d_dm09
This track gets cut off in vanilla, so replacing it
with one of jupiter_ex's track.
2017-03-12 12:48:25 +00:00
Ayub Ahmed
7f10eb9ff3 dehacked: add Phase 1 par times
Along with par times, replace my level names with better ones 
and change the ones that are used in the commercial IWADs.
2017-03-10 02:19:00 +00:00
Ayub Ahmed
9f88d1f554 musics: new d_dm24 track
Made by jupiter_ex. Current track in FreeDM
is unsuitable because of the slow tempo
present and gets cut off in Chocolate Doom.
2017-03-09 15:07:47 +00:00
luckypunk
d6e3f991f5 patches: w106_1 & w107_1 by Litrivin
https://www.doomworld.com/vb/post/1720376

Orange pixels removed.
2017-02-28 13:36:25 +00:00
Mike Swanson
0b49114ed8 c2m6, c3m4, dm11, dm17, dm31, map12: Add missing coop starts. 2017-02-27 17:40:47 -08:00
Catoptromancy
0eccdca30d map02: Make the exit door require the yellow key.
Players in engines that allow jumping are forced to play more of
the level now, while those in vanilla restrictions won't have any
change.
2017-02-27 00:03:11 -08:00
Mike Swanson
bd13b594e3 map09: Change the height of sector 163 to 288 2017-02-27 00:01:40 -08:00
Ayub Ahmed
3831d8422c dehacked: change map18's name
Because "Abandoned Monastery" doesn't fit with the theme of the map
anymore. New name by Voltcom9.
2017-02-26 23:42:35 -08:00
Ayub Ahmed
ac216d18c7 levels: move map06 to map18, add new map06
The current map06 is too difficult for such an early slot, so it has
been moved to map18. For the new map06, it uses Map04 of Nex Credo,
made by Jayexetee. Levels are vanilla compatible.
2017-02-26 23:42:25 -08:00
Kevin Caccamo
87c9bb628d patches: new BROWN2 and BROWN3
These new patches are based on pieces of these photos:
BROWN2: https://www.flickr.com/photos/130347415@N03/21912965110/
BROWN3: https://www.flickr.com/photos/39422575@N02/30473306225/ and
        https://www.flickr.com/photos/130347415@N03/21912965110/
2017-02-26 23:42:01 -08:00
Kevin Caccamo
254de92210 patches: new REDROCK
This one is based on pieces of this photo:
https://www.flickr.com/photos/kmsiever/2609434724/
2017-02-26 23:41:42 -08:00
Mike Swanson
5a200a7c3e CREDITS: Correct KevinHEZ's name. 2017-02-26 23:32:25 -08:00
Mike Swanson
270d0f5219 README: Use an external resource for Git commit message formating.
This section was rather bulky.  I have my doubts of people using it
for reference, but I'd rather have it here than not at all.
2017-02-24 10:08:09 -08:00
Mike Swanson
725df65022 Merge branch 'arm1' of gh:Voros2/freedoom 2017-02-24 09:50:58 -08:00
Ayub Ahmed
873c31d77e buildcfg: updating arm1 offsets
For the new arm1 sprites.
2017-02-24 17:43:45 +00:00
Ayub Ahmed
fd216d0234 sprites: raymoohawk's arm1
Replacing the current arm1 sprites with a new one that is aesthetically pleasing, more than the current one (which looks small and weak).
2017-02-24 17:42:11 +00:00
Ayub Ahmed
e65e377a18 lumps: adding BGFLATs
Defines which flat to use as the background during specific intermission texts.
Also cleaned up leftovers.
2017-02-24 17:32:34 +00:00
Mike Swanson
55943ca46f Make sure titlepic logo and menu logo are in the same location.
This gives a nice effect of blending the title in with the menu.
We actually used to do this, but it broke with a title screen update.
Thanks @JNechaevsky for the suggestion.

Closes #388
2017-02-23 08:13:54 -08:00
Mike Swanson
c67e8a566a Introduce measures to start building Zips deterministically.
This at least lays some groundwork for doing so, by gathering archive
members by wildcard expansion rather than zip's -r parameter (which
uses file system order -- essentially random), combined with LC_ALL=C
so that locale sorting orders don't matter either.  zip's -X option is
also used so no Unix metadata (UIDs, GIDs, modes) are saved in the
archive.

To really complete the effect, faketime should be used to deal with
file timestamps.  Requiring faketime to do `make dist` seems too
extreme to me, so I'm leaving it out, but the general idea is to run a
command such as:

  faketime -f "$(TZ=UTC date -d "@$(git show -q --format=format:%ct)" \
                        "+%Y-%m-%d %H:%M:%S")"                        \
           make dist

This does also assume that zip's default compression algorithm never
changes (eg, from DEFLATE to BZip2 or LZMA), or never releases an
improved version (eg, a better DEFLATE).  It's not perfect, but this
should be good enough.
2017-02-22 11:44:50 -08:00
Mike Swanson
7f2eb016ab Bump version to 0.11.1 2017-02-21 18:45:13 -08:00
Mike Swanson
04560970c5 c1m7: Remove sector, and the worm in it, that never opens up. 2017-02-21 18:35:44 -08:00
Mike Swanson
379f3aad50 lumps: New demo2_p2 and demo4_p1.
Map changes since v0.11 have desynced these.  I recorded demo2_p2
keyboard-only, so the gameplay is extra bad.  On demo4_p1, I used
a mouse, so it is a little more skillful.
2017-02-21 18:04:28 -08:00
Kevin Caccamo
7eb2d1b3e3 patches: new DORED
This one is based on rock 4.png from this texture pack: http://opengameart.org/content/wall-grass-rock-stone-wood-and-dirt-480
2017-02-21 17:43:01 -08:00
Alexandre-Xavier Labonté-Lamoureux
bd06d286c9 c2m8: Remove a Boom right-scrolling wall, vanilla only supports left. 2017-02-21 17:30:22 -08:00
Jayextee
0b512cfdf5 c3m1: New level to replace the old. 2017-02-21 17:27:24 -08:00
Mike Swanson
a011069f3a CREDITS: Add Heng. 2017-02-21 15:24:47 -08:00
Heng
586779d74d sprites: different version of pestmeister blood frames 2017-02-21 15:23:27 -08:00
Mike Swanson
ffc71c8362 patches: New disaster texture.
Don’t want to use the old Freedoom font, and I think something
that appears handwritten and haphazardly is more appropriate.
2017-02-21 11:48:29 -08:00
Ayub Ahmed
2673aa0548 patches: New TNT patches. 2017-02-21 11:47:39 -08:00
Ayub Ahmed
d4136ca711 musics: New music to replace Dave3D tracks.
CREDITS:
c1m2: KevinHEZ
c2m3: KevinHEZ
map03: bytebeats
map12: Blastfrog
map25: themistercat
map26: Rakohus
map27: KevinHEZ
2017-02-21 11:11:21 -08:00
Heng
6cd361b01d bos2 and boss sprites based on raymoohawks pestmeister 2017-02-21 18:34:08 +00:00
Mike Swanson
e504de309f c1m1: Move a tree!
I got stuck between a tree and a rock.  Fun.
2017-02-20 23:35:38 -08:00
Mike Swanson
6996fd5c70 Makefile: Simply install rules.
We don’t need to use install to create directories separately.
The command can create them and install files at the same time.
2017-02-20 20:59:28 -08:00
Kevin Caccamo
5a888fe875 patches: new TNT/Plutonia textures.
The textures are based on these images:
DOPUNK4 and MUD: IMGP5011.JPG from tex-res-stone-and-moss.zip in this pack: http://opengameart.org/content/free-texture-resource-pack-moss-rock-patterns-and-misc
DOGLDIR and DOKGRIR: https://www.flickr.com/photos/39422575@N02/30473306225/
2017-02-20 11:50:08 -08:00
raymoohawk
7025f87578 Credits: Mazmon
Removed website from credits, as requested by contributor mazmon
2017-02-20 11:48:16 -08:00
Mike Swanson
2992e49262 lumps/genmidi: Rename README to *.adoc 2017-02-20 11:42:37 -08:00
Mike Swanson
ccb6597381 dm10: Fix exit switch x-offset. 2017-02-19 20:01:11 -08:00
Mike Swanson
4f67ca583f lumps: Remove c_end and c_start
These were special marker lumps for Boom colormaps, which were
removed in 2017-02-19T21:14:28Z!mikeonthecomputer@gmail.com
2017-02-19 18:34:47 -08:00
Mike Swanson
28bf232711 dist: Remove boom, zdoom, prboom. Add crispy-doom.
‘boom’ and ‘doom’ represent Debian-style links for the alternatives
system to set up preferred ports.  Now that we no longer require
Boom compatibility, it should be safe to remove the former. This
should only be an issue if chocolate-doom -> doom, and tries to play
one of the maps that aren’t vanilla-compatible yet.

zdoom and prboom are dead ports, superceded by gzdoom and prboom-plus.
I hope their removals aren’t controversial.  If it adversally affects
anybody: setup the ~/.doomport symlink to point to them.

Finally, crispy-doom.  Odamex is still preferred before it because of
its simpler multiplayer capabilities, otherwise Crispy would have been
a winner (imo).  It has a close relationship to Chocolate Doom, but I’m
leaving that last because of the non-vanilla compatibility of Freedoom.
Chocolate Doom is a last effort to run something.
2017-02-19 17:52:35 -08:00
Mike Swanson
d1015739a1 sprites: Recolor armor bonuses from red to green.
These were way too easy to confuse with health pickups when red.
2017-02-19 13:14:28 -08:00
Mike Swanson
c6235d6ffc Makefile: Make sure all built files are removed in make clean. 2017-02-19 12:22:57 -08:00
Mike Swanson
a0e65f7fed Remove Boom special colormaps.
We’re not a Boom IWAD anymore, we can get rid of these.
2017-02-19 12:04:58 -08:00