Commit graph

11860 commits

Author SHA1 Message Date
Jaime Ita Passos
049b50a791 Change I_Error message 2021-02-28 17:47:12 -03:00
Jaime Ita Passos
f71281b498 Fix translation colormap cache rebuilding using the old translation enumerations
This was causing a buffer underwrite too. Lovely.
2021-02-28 17:05:25 -03:00
Jaime Ita Passos
95c6139b32 Fix thing scale mismatch in R_DrawVisSprite 2021-02-28 16:23:40 -03:00
sphere
943b7b5aab Merge branch 'fix-implicit-tablecheck' into 'next'
Fix "implicit declaration of function 'DEH_TableCheck'" warning

See merge request STJr/SRB2!1419
2021-02-28 12:14:28 -05:00
sphere
3fe8e01a4e Merge branch 'udb-config-bruh' into 'master'
Nice UDB config there, SRB2.

See merge request STJr/SRB2!1354
2021-02-28 11:57:30 -05:00
GoldenTails
4a0c907d34 Make it more async-signal-safe 2021-02-27 18:07:47 -06:00
GoldenTails
9a2e330af2 Print the backtrace before showing the signal handler popup. 2021-02-27 18:07:47 -06:00
GoldenTails
0c71a73513 Use file descriptors and ditch file streams, for now. 2021-02-27 18:07:47 -06:00
GoldenTails
9bc3050c49 Crash backtrace logging for NEWSIGNALHANDLER. 2021-02-27 18:07:47 -06:00
Jaime Ita Passos
a8909190ff Fix "implicit declaration of function 'DEH_TableCheck'" warning 2021-02-27 12:04:48 -03:00
James R
0243a31ee4 Merge branch 'dependency-files' into 'master'
Dependency files

See merge request STJr/SRB2!1407
2021-02-27 05:38:13 -05:00
Lachlan Wright
67b06edf3e Revert "Merge branch 'player-speed' into 'next'"
This reverts merge request !1309
2021-02-27 03:38:13 +00:00
LJ Sonic
dc9b2443ce Merge branch 'debugmode-reborn' into 'next'
Make DEBUGMODE=1 builds (finally) compile, run and work in netgames

See merge request STJr/SRB2!1405
2021-02-26 17:43:45 -05:00
Riku Salminen
1ecad1cf9c Disable pausing during score screens in marathon mode 2021-02-26 15:43:53 +02:00
Jaime Ita Passos
c1beb1f384 Revert accidental push 2021-02-25 20:17:27 -03:00
Jaime Ita Passos
26db5a096c Update README 2021-02-25 19:49:37 -03:00
Jaime Ita Passos
6d17b48838 [Meta] Change branding 2021-02-25 19:49:34 -03:00
LJ Sonic
412be3f5c5 Fix sector tags being signed in Lua 2021-02-25 23:41:43 +01:00
Zwip-Zwap Zapony
603fa7da4e Fix OpenGL V_DrawCroppedPatch 2021-02-21 22:16:38 +01:00
toaster
1e23a3b663 Fix dropshadows of papersprites drifting depending on angle relative to camera. Discovered in Kart internal for the paper item drops and ported back, hence the branch name. 2021-02-19 06:45:28 -05:00
James R
db219a6ff3 Makefile: add a SILENT flag
This makes it print nothing to stdout.

Also fixed some irregularities.
2021-02-18 07:24:20 -08:00
James R
5df0a1c9e6 Generate individual dependency files
This removes Makefile.depends. Instead, '.d' files are included from the 'dep'
directory. This speeds up building because dependencies for every file don't
need to be regenerated if only one changes.

As a bonus, dependencies also won't be generated if only clean type targets
are going to be run. Also added a 'distclean' target, which cleans both
objects and dependency files.
2021-02-18 06:23:18 -08:00
James R
396a4ae635 Makfile: don't print some messages twice 2021-02-18 06:23:12 -08:00
X.organic
3fa1cc3185 Fix indentation in MOBJCONSISTANCY conditional 2021-02-16 23:27:44 +01:00
X.organic
5c9d9636b3 Fix MOBJCONSISTANCY and make it optional in DEBUGMODE
MOBJCONSISTANCY checks confined to gamestate GS_LEVEL. DEBUGMODE
no longer implicitly enables them, making it netgame-compatible.
2021-02-16 21:36:28 +01:00
X.organic
5e832ece89 Move Dehacked table sanity check to deh_tables.c 2021-02-16 19:46:31 +01:00
LJ Sonic
33e0dd7cba Merge branch 'final-tweaks' into 'next'
A few minor tweaks before 2.2.9

See merge request STJr/SRB2!1403
2021-02-16 12:50:15 -05:00
LJ Sonic
0117cedd70 Show an alternate ping icon when the player is disconnected 2021-02-15 22:19:48 +01:00
LJ Sonic
e9dc383e72 Enable rejointimeout by default 2021-02-15 16:24:30 +01:00
LJ Sonic
38c7c718ac Add rejointimeout to the server options 2021-02-15 16:23:57 +01:00
LJ Sonic
9c9d7c07ab Make the names of disconnected players flicker in tab HUD 2021-02-15 16:21:26 +01:00
LJ Sonic
03585d994c Use standard Lua naming scheme for polyobject list 2021-02-15 13:37:25 +01:00
LJ Sonic
1624808844 Merge branch 'hippo' into 'next'
Remove P_AproxDistance deprecation warning

See merge request STJr/SRB2!1402
2021-02-15 06:00:24 -05:00
SMS Alfredo
67a13f5032 This might be dumb, but whatever 2021-02-14 20:49:03 -06:00
LJ Sonic
0b5bc4f36a Merge branch 'revert-redundant-hypot' into 'next'
Revert redundant hypot

Closes #450 and #451

See merge request STJr/SRB2!1400
2021-02-13 12:08:39 -05:00
LJ Sonic
c6da63d5ad Deprecate P_AproxDistance for Lua scripts 2021-02-13 18:04:27 +01:00
LJ Sonic
7e2c1284ab Use R_PointToDist2 for the Lua versions of P_AproxDistance and FixedHypot 2021-02-13 18:04:12 +01:00
LJ Sonic
6d44e1b0dd Revert "Use FixedHypot over P_AproxDistance"
This reverts commit 77f83de100.
2021-02-13 17:46:29 +01:00
LJ Sonic
048bcb9600 Revert "Use R_PointToDist2 instead"
This reverts commit 2b7e465ed6.
2021-02-13 17:45:54 +01:00
LJ Sonic
85cd429d1d Revert "Replace all instances of P_AproxDistance with FixedHypot"
This reverts commit 498ff708bb.
2021-02-13 17:45:20 +01:00
LJ Sonic
48fbcde2ac Merge branch 'fix-joiner-consoleplayer' into 'next'
Fix consoleplayer returning the server player during joining phase

See merge request STJr/SRB2!1396
2021-02-12 17:42:15 -05:00
LJ Sonic
70c0f8a644 Only call PlayerCmd hooks if added to game 2021-02-11 00:24:42 +01:00
LJ Sonic
c5f8454093 Fix consoleplayer returning the server player during joining phase 2021-02-11 00:10:15 +01:00
SteelT
262a5c9b3a Merge branch 'gl-texture-management' into 'next'
Manage uploaded OpenGL textures with an internal list

Closes #411

See merge request STJr/SRB2!1391
2021-02-07 13:37:33 -05:00
James R
763e42625d Merge branch 'fix-doublejump-divby0' into 'next'
Fix a divby0 when you have specific character stats.

See merge request STJr/SRB2!1374
2021-01-31 01:17:41 -05:00
Jaime Ita Passos
0d04b14bb3 Remove GLMipmap_t.nextmipmap 2021-01-27 21:23:20 -03:00
Jaime Ita Passos
7e28b7d3e9 OpenGL backend: Manage uploaded GPU textures with an internal list
Indirectly fixes the game doing whatever after freeing a patch.
This commit implements a FTextureInfo struct type, instead of it being a typedef to the GLMipmap_s struct type.
2021-01-27 17:48:57 -03:00
James R
fa696de12d Merge branch 'fix-mobj-slidemove' into 'next'
Make sliding against objects actually work (Fixes #400)

Closes #400

See merge request STJr/SRB2!1348
2021-01-26 20:43:17 -05:00
LJ Sonic
f27881ac16 Merge branch 'fix-boss2pogotarget' into 'next'
Make several actions actually check for a player smh (Fixes #387)

Closes #387

See merge request STJr/SRB2!1340
2021-01-25 18:11:38 -05:00
LJ Sonic
05a75758ab Merge branch 'redundant-hypot' into 'next'
Replace P_AproxDistance with FixedHypot, and replace FixedHypot's algorithm with R_PointToDist2's

See merge request STJr/SRB2!1320
2021-01-25 18:08:25 -05:00