Commit graph

8316 commits

Author SHA1 Message Date
Nev3r
4a609b5eef Add barebones multitag lists. They are not yet used anywhere for now. 2019-12-15 18:35:17 +01:00
Nev3r
95c0b791b0 Terrible non-sloped flat scaling, based on the X component of the scaling for software renderer. 2019-12-15 17:59:28 +01:00
Nev3r
4dd39e4063 Prevent bleeding between different-scale planes in software renderer. 2019-12-15 17:36:28 +01:00
Nev3r
bdc45633d1 Add native textmap vertex slope support. 2019-12-14 20:49:53 +01:00
Nev3r
163e8c7155 Software renderer support for per-walltexture scaling and offsetting. 2019-12-14 19:59:53 +01:00
Nev3r
eef43b4bda Add texture scale fields, per-texture offsetting fields and enable corresponding parsing. 2019-12-14 18:28:22 +01:00
Nev3r
8d7b05a58f Allow sprite roll to be set on mapthings. 2019-12-14 17:41:27 +01:00
Nev3r
c7dcb5fa83 ZB config touchups.
Fix mapthing flags and translations.
Disable unused features.
Moved some flags to special activations field.
Fixed obsolete names in line flags.
2019-12-14 16:06:17 +01:00
Nev3r
6fa8c7ee39 Provide a quick fix for the plane texture alignments in UDMF. 2019-12-14 16:01:26 +01:00
Nev3r
09f873a753 Fix flag reading oversight in textmap mapthings. 2019-12-14 16:00:47 +01:00
Nev3r
6160a34699 Merge branch 'master' of https://git.magicalgirl.moe/STJr/SRB2/ into udmf-base 2019-12-13 23:24:43 +01:00
Jaime Passos
7f092b884b Initialise the variable, obviously 2019-12-13 19:04:36 -03:00
Nev3r
35feaa8e90 Moved some map loading functions to more convenient places. 2019-12-13 22:13:39 +01:00
Nev3r
c96778c4a5 Add mapthing scale support. 2019-12-13 20:41:04 +01:00
Nev3r
a7ef15e6f6 Make lines and sides use the mapload copies in P_NetArchiveWorld() too; do no longer use vres stuff there. 2019-12-13 14:00:13 +01:00
Nev3r
8e9388b4e9 Remove redundant netarchive-related sector vars as they're not used anymore.
Replace lump-based difference checks for sectors in P_NetArchiveWorld(), now it uses the mapload-created copy instead.
2019-12-13 13:45:15 +01:00
Nev3r
2ee3711caa Store a copy of sectors, lines and sides in memory so that P_NetArchiveWorld() can soon use them instead of relying on re-opening the original lumps.
Fix print type issue.
2019-12-13 13:43:22 +01:00
Nev3r
967616f1dd Disable writethings as it's not possible to use it currently. 2019-12-13 13:40:03 +01:00
Nev3r
b949c61fe0 Remove unused map recognition code. 2019-12-13 12:48:39 +01:00
Nev3r
09884f8476 Fix mixed declaration. 2019-12-13 12:46:51 +01:00
Nev3r
df03d5eeb4 Does what the previous commit said it did. 2019-12-13 12:30:05 +01:00
Nev3r
b629434ea2 Fix shadowing var declare, and fix mixed declaration warnings. 2019-12-13 12:28:41 +01:00
Nev3r
c649385f9a Fix more compile warnings... But why is subsector.numlines signed anyway? 2019-12-13 12:19:12 +01:00
Nev3r
0dccc26cfa Kill compile warnings. 2019-12-13 11:56:24 +01:00
Nev3r
0c3147eb4c Remove decorate-related line in the config, and fix the lump recognition. 2019-12-13 11:40:55 +01:00
Nev3r
10b1c9c4e9 Clean up BSP loading procedure a little. 2019-12-13 11:13:52 +01:00
Nev3r
a7c3464ed4 Fix epic hijack copypaste oversight on M_GetToken() 2019-12-13 11:07:54 +01:00
James R
c415d80e19 Merge branch 'dashmode-shader' into 'master'
Add TC_DASHMODE color shader

See merge request STJr/SRB2!526
2019-12-13 01:58:18 -05:00
James R
d64a7defed Merge branch 'toomanyflats-fix' into 'master'
Fix Ploadflat closing the game with "Too many flats in level" error message

See merge request STJr/SRB2!529
2019-12-13 01:57:55 -05:00
James R
55f3f27b55 Fix NOHW warnings 2019-12-12 14:00:13 -08:00
Nev3r
4f51950041 Added WIP ZB config business 2019-12-12 20:59:06 +01:00
Nev3r
0e2af083b3 Early rudimentary UDMF support. 2019-12-12 20:26:32 +01:00
Nev3r
da6dde1a5f Hijack the TEXTURES parser for UDMF usage. :) 2019-12-12 18:25:35 +01:00
Nev3r
47f6949464 Merge branch 'spawn_z_refactor' into udmf-base 2019-12-12 15:05:07 +01:00
Nev3r
c5d8fe4752 Fix oversight on mapthing spawn Z calculation; ONFLOORZ and ONCEILINGZ don't equal to spawning the object at the base plane intersection. 2019-12-12 15:04:48 +01:00
Nev3r
793a2b8ce1 Handle stage data initialization and defaults in a separate function. 2019-12-12 13:57:08 +01:00
Nev3r
3b216441d4 Move flat caching procedure. 2019-12-12 12:57:31 +01:00
Nev3r
51c129c0b7 Add rudimentary support for different node formats. 2019-12-12 12:42:37 +01:00
Nev3r
0670476c85 Add glseg junk. 2019-12-12 12:32:11 +01:00
Nev3r
df95a8f501 Merge branch 'virtres' into udmf
# Conflicts:
#	src/p_setup.c
2019-12-12 11:46:04 +01:00
Nev3r
c64a9d7ae9 Stop things from becoming Chocapic in THZ3, ACZ2, and special stages.
Temporarily revert function call order for mapthings.
2019-12-12 11:37:48 +01:00
Nev3r
ec9f727e53 Move map data load procedure to separate functions. 2019-12-12 11:16:55 +01:00
Nev3r
43cbad200c Move loading functions around a bit and refactor the stage data allocation code. 2019-12-12 10:35:38 +01:00
Jaime Passos
ea129f701c Fix Ploadflat closing the game with "Too many flats in level" error message 2019-12-11 22:45:47 -03:00
James R
6bd5246edd Merge remote-tracking branch 'dev-origin/master' 2019-12-11 16:21:18 -08:00
James R
7a59ade63d Merge branch 'garbage' into 'master'
memset SERVERINFO maptitle

See merge request STJr/SRB2Internal!624
2019-12-11 19:19:29 -05:00
lachwright
8a70759e0a Add TC_DASHMODE color shader 2019-12-12 01:27:41 +08:00
Nev3r
c15654f7c4 Merge branch 'virtres' into udmf 2019-12-11 16:38:06 +01:00
Nev3r
edfe053cc3 Treat warnings as errors; comment out unused function. 2019-12-11 16:37:41 +01:00
Nev3r
179f5e4f4c Merge branch 'spawn_z_refactor' into udmf 2019-12-11 15:49:05 +01:00