spherallic
878b4dc5b6
Don't read or set MT_NULL's properties in A_SkullAttack
2022-02-04 20:09:37 +01:00
spherallic
5fdc0b889b
Replace F10's near-useless game quit option with a renderer toggle.
2022-02-04 14:50:45 +01:00
spherallic
0cfc75070d
Improved support for separate resolutions:
...
- Windowed mode resolution can now be changed via the resolutions menu.
- F11 can also be used while in this menu.
- Removed usewindowedres cvar for ease of use.
- When starting in windowed mode, use the correct resolution.
2022-02-04 14:42:10 +01:00
spherallic
b8cae8e735
Add kerning option to fontdefs, rename width and height.
2022-02-04 13:36:27 +01:00
SteelT
98aafc6056
Don't force bit depth to 8-bit when setting default video mode
2022-02-03 18:44:46 -05:00
spherallic
52f3e00497
Whitelist CHARFG, CHARFG, and level select graphics.
2022-02-03 14:38:45 +01:00
spherallic
908fb8b026
Add fontdef_t struct, move the width and height variables there.
2022-02-03 13:41:24 +01:00
spherallic
7b3c89c989
Separate scale into pscale and vscale.
2022-02-03 12:03:44 +01:00
spherallic
61661dc900
Whitelist SPECTILE, NGRTIMER, and emblem/emerald hunt radar graphics.
2022-02-03 11:34:05 +01:00
spherallic
18361f5ed7
Whitelist record attack, NiGHTS mode and SRB2BACK graphics.
2022-02-02 23:40:10 +01:00
spherallic
e64775c867
Check V_ThinStringWidth instead of strlen for level platter names.
2022-02-02 23:16:12 +01:00
spherallic
6e105a23f6
Update Nightopian states for the new sprites & fix another bug
2022-02-02 14:43:22 +01:00
spherallic
e301327dee
Avoid using old explosion states for Jetty-Syn/Skim mines.
2022-02-02 12:15:14 +01:00
James R
a8c658b545
Never spawn MT_NULL
2022-02-01 04:04:53 -08:00
James R
6325185091
Add P_SetPower; remove mobj hack from line 434
2022-02-01 03:52:31 -08:00
James R
9dfa153e74
Use P_CheckMove
2022-02-01 03:52:28 -08:00
James R
518de0ce10
Add P_CheckMove
...
Checks if P_TryMove would succeed without actually moving.
2022-02-01 03:37:03 -08:00
James R
f6f002e70b
A_LobShot: remove ???
...
MT_NULL spawning, not cool bro.
2022-02-01 02:43:00 -08:00
James R
0a0c17da7c
PARANOIA: I_Error if mobj hook is called with MT_NULL
2022-02-01 02:27:27 -08:00
spherallic
020ce6a1dd
Rudimentary support for separate fullscreen/windowed resolutions.
2022-01-31 14:40:41 +01:00
spherallic
f5d4eb3e7a
Turn F11 into a fullscreen toggle, and process it inside menus as well.
2022-01-31 14:39:51 +01:00
sphere
ff57a983d7
Merge branch 'facing-forwards' into 'next'
...
Don't modify drawangle when taking damage in strafe mode
See merge request STJr/SRB2!1689
2022-01-30 13:32:30 +00:00
sphere
bcd900211b
Merge branch 'nightopian-fix' into 'next'
...
Fix Nightopians
See merge request STJr/SRB2!1703
2022-01-30 13:28:18 +00:00
sphere
547b08df2f
Merge branch 'newoldringexplode' into 'next'
...
Fix A_OldRingExplode not scaling or flipping
See merge request STJr/SRB2!1709
2022-01-30 13:15:00 +00:00
Hannu Hanhi
8b83348216
Merge remote-tracking branch 'upstream/next' into ogl-palette-rendering-merge
2022-01-29 04:32:43 +02:00
Hannu Hanhi
611054b6cd
Fix perfstats failing to compile with NOHW=1
2022-01-29 02:24:52 +02:00
spherallic
1630364775
Turn the old string drawing functions into defines.
2022-01-27 16:52:44 +01:00
spherallic
df7efe29cb
Clean up string width-related functions.
2022-01-27 16:01:28 +01:00
spherallic
3013c8aa42
Third pass for generalized font drawer:
...
- Added AtFixed version, which also takes scale into account when
calculating space widths & newline height
- Made some more string drawing functions use the generalized version
2022-01-27 15:22:36 +01:00
James R
37add34b9c
Update texturecache user when reallocating
2022-01-27 00:28:36 -08:00
James R
2aec4501eb
Hash name lookup for textures and lumps
2022-01-27 00:03:37 -08:00
James R
2ebec53561
P_AddWadFile: only load textures in current file
2022-01-27 00:03:34 -08:00
James R
571e475394
Read only header bytes when creating textures list
...
R_LoadTextures was reading in the entirety of every
texture lump, now it only reads the 8 byte PNG header.
This saved more than 1 second for me (1.68 s -> 0.24 s).
PNG still need to be read in entirely to check their
dimensions; I didn't bother looking into optimizing it
since we don't have many PNG textures right now.
2022-01-26 23:53:36 -08:00
James R
432f691852
Free unused texture lumps in R_LoadTextures
...
PU_CACHE never gets freed automatically and Z_Unlock does
NOTHING.
2022-01-26 23:53:36 -08:00
spherallic
41cb8cc494
Second pass for generalized font drawer:
...
- Added width/height parameters for spacing stuff
- Made some string drawing functions use the generalized version.
2022-01-25 23:55:18 +01:00
Hannu Hanhi
89843d0eca
did not mean to remove this line
2022-01-25 05:01:23 +02:00
Hannu Hanhi
ba04b045e6
Fix portals
...
- Resetting portalcullsector fixes the major visual glitches
- Using 32 bits for nummasks and i fixes crashes when rendering lots of portals
2022-01-25 04:53:40 +02:00
Hannu Hanhi
d194bbeacd
Fix Lua stack overflow in LUA_UpdateSprName
2022-01-25 00:43:38 +02:00
spherallic
c705067173
Update ZB configuration for the tutorial plant.
2022-01-24 13:50:14 +01:00
spherallic
cdef5a679b
disable develop
2022-01-23 20:39:17 +01:00
spherallic
be7f628e2c
Add new plant object for the revamped tutorial.
2022-01-23 20:13:26 +01:00
spherallic
6d19a55de9
oops
2022-01-23 19:19:26 +01:00
Hannu Hanhi
3bff9011d8
LUA_EnumLib optimizations for constant value access
...
- constants are stored into _G after first use
- made LUA_EvalMath's dedicated Lua state permanent so it can also benefit from these optimizations
2022-01-23 20:11:10 +02:00
spherallic
9bdc376f16
Fix a few small errors.
2022-01-21 16:22:39 +01:00
spherallic
39a0bb4df8
First attempt at string drawing functions that take a supplied font.
2022-01-21 16:17:53 +01:00
spherallic
15755ef992
Remove unneeded R_GetTranslucencyTable calls, add V_HUDTRANS* comments
2022-01-19 13:17:57 +01:00
spherallic
9a07c1ca8c
Fix HUD/graphic blendmodes not working at full opacity in Software.
2022-01-19 10:09:57 +01:00
lachablock
1a5995968c
Revert server-sidedness of bots
2022-01-19 00:48:25 +11:00
spherallic
bf2809b213
Fix crosshairs not displaying and refactor their code.
2022-01-15 17:12:33 +01:00
MascaraSnake
a342703b50
Merge branch 'udmf-sector-fields' into udmf-full
...
# Conflicts:
# src/lua_maplib.c
# src/p_setup.c
2022-01-14 21:16:23 +01:00