Commit graph

269 commits

Author SHA1 Message Date
Shpuld Shpuldson
2088176fd9 Even faster waypoint selection for player/zombies 2023-09-17 21:27:30 +03:00
Shpuld Shpuldson
ce6d32162a refactor waypoint code to make 0 valid, add more ways to check first wp before moving on to next ones 2023-09-17 19:16:13 +03:00
cypress
08edc7512a
Merge pull request #23 from shpuld/feat/optimize-wp-picking-in-pathfinding 2023-09-17 05:58:06 -04:00
cypress
cdbb3d1f53
Merge pull request #22 from shpuld/fix/doors-losing-lm-when-moving 2023-09-17 05:57:19 -04:00
Shpuld Shpuldson
d7009bcaa0 reorder code in waypoint picking in pathfinding 2023-09-17 11:49:38 +03:00
Shpuld Shpuldson
876dc2702e disable alpha test before blending lightmaps for surfaces that need alpha test 2023-09-17 09:56:12 +03:00
Shpuld Shpuldson
c782d49c77 port over dual frustum clipping from interstice 2023-09-16 16:00:48 +03:00
Shpuld Shpuldson
c708da2fb9 fix the -lm_2 arg to work correctly, also use 5551 instead of 4444 when doing so 2023-09-12 08:28:06 +03:00
Shpuld Shpuldson
c38aa2d90e avoid unnecessary frustum checks in world leaves 2023-09-11 20:59:48 +03:00
cypress
cfbf7f5098 Use custom sound DMA instead of SDL for audio 2023-09-11 11:19:31 -04:00
cypress
debcddf2cc
Merge pull request #17 from shpuld/fix/revert-clipping-vfpu-asm
Fix: revert changes to vfpu clipping asm, it was too good to be true
2023-09-11 10:38:34 -04:00
Shpuld Shpuldson
de61f956c4 revert changes to vfpu clipping asm, it was too good to be true 2023-09-10 09:58:28 +03:00
Shpuld Shpuldson
938e7272a4 double the interpolation disabling distance 2023-09-10 09:56:04 +03:00
Shpuld Shpuldson
ecc81105f8 Use vertex morphs for interpolated alias mdl 2023-09-10 09:46:25 +03:00
cypress
a4d4d31727
Merge pull request #15 from shpuld/feat/render-static-brush-models-with-world
Render static brush models with world
2023-09-09 13:47:15 -04:00
Shpuld Shpuldson
ad36351717 Merge branch 'main' into feat/render-static-brush-models-with-world 2023-09-09 13:57:51 +03:00
Shpuld Shpuldson
b909e5d8ee render static brush models with world 2023-09-09 13:49:38 +03:00
cypress
4bfd390948
Merge pull request #14 from shpuld/feat/aggressive-clipping-checking 2023-09-07 15:09:08 -04:00
Shpuld Shpuldson
168d5a7871 make clipping checking prevent clipping more aggressively 2023-09-06 08:37:28 +03:00
cypress
c44adc7dba Fix bolt.mdl path 2023-09-05 20:21:30 -04:00
cypress
56efc44b9b
Merge pull request #13 from shpuld/fix/flames-looking-wrong 2023-09-05 15:30:26 -04:00
Shpuld Shpuldson
cd7234877e fix mistake with i supposed to be j 2023-09-05 22:24:30 +03:00
Shpuld Shpuldson
d9e7fe2f4c port broad phase clipping checks from interstice 2023-09-05 08:45:55 +03:00
Shpuld Shpuldson
1636b50e3b Fix alias models with frame groups crashing 2023-09-04 22:39:38 +03:00
Shpuld Shpuldson
4c01fa58cc draw static alias mdl straight from commands buffer 2023-09-02 11:15:10 +03:00
cypress
a94adc1906
Merge pull request #9 from shpuld/feat/compressed-and-speedier-alias-verts 2023-09-01 15:56:22 -04:00
Shpuld Shpuldson
24d2b9c493 remove the extra getmemory, whoops 2023-09-01 22:45:27 +03:00
Shpuld Shpuldson
e50d778172 port vertex compression from interstice, remove per vertex lighting, allocate whole alias frame at once 2023-09-01 22:13:36 +03:00
cypress
815ee48123
Mystery Box Useprint says Weapon Name 2023-08-29 11:43:55 -04:00
cypress
0d03c7c289
Even more. 2023-08-29 10:18:04 -04:00
cypress
0fdf7383b5
Increase runaway execution count 2023-08-29 10:14:37 -04:00
Ian
85dce28921 shpuld's single-pass clipping optimization 2023-08-28 14:07:02 -04:00
Ian
1ce07676cf Further increase hunk size on PSP-1000 2023-08-28 13:48:59 -04:00
Ian
8c52efee31 Resample large textures on PSP-1000 2023-08-27 15:48:32 -04:00
Ian
77d27fa949 Use v_papskin.pcx for PaP'd weapons on PSP 1000 2023-08-27 15:34:02 -04:00
Ian
2c84da2295 Convert Quake Palette assets to RGBA 2023-08-27 15:16:51 -04:00
cypress
519dccf106
Tweak sniper scope weapon zoom 2023-08-26 20:16:33 -04:00
cypress
ef7b59b0b0 Add cl_crosshair_debug and fix crosshair offset 2023-07-19 23:39:20 -04:00
cypress
7332872ef4 Protect allocating skins for perk bottles of machines not in map 2023-07-19 22:43:56 -04:00
cypress
15bdd2bd8b Re-Enable external textures on PSP1000, add optimization for PaP skins 2023-07-19 21:56:15 -04:00
cypress
c7726a8653
Oopsie! 2023-07-11 17:53:41 -04:00
cypress
06704fe245
force rebuild 2023-07-06 11:33:25 -04:00
Steam Deck User
946cb5708e Add new Nacht der Untoten description 2023-03-31 23:00:01 -04:00
Steam Deck User
3fe3086cc8 Misc. Additional Memory optimizations for PSP 1000 2023-03-31 11:34:55 -04:00
Steam Deck User
0d7ca4ea05 Lower Zone allocation to default (50kB) 2023-03-29 00:12:21 -04:00
Steam Deck User
68590119ac Stop forcefully precaching ambient sounds 2023-03-29 00:02:19 -04:00
Ian
52ae6bfe8c
Revert hunk size increase: non-helpful 2023-03-27 17:43:18 -04:00
Steam Deck User
46e24535f9 More accurate manipulation of Crosshair values 2023-03-27 16:15:38 -04:00
Steam Deck User
d7d1416f5a Implement r_viewmodel_fov 2023-03-27 16:01:42 -04:00
Steam Deck User
b6113e3224 Swap position of Bouncing Betties and Grenades on the HUD 2023-03-27 15:39:24 -04:00
Steam Deck User
75752e0312 Increase PSP 1000 HUNK size to 11mB 2023-03-27 15:24:10 -04:00
Steam Deck User
aa440e3726 Limit Zombie Skins and Muzzleflash variants on PSP 1000 2023-03-27 15:20:34 -04:00
Steam Deck User
702e2a9aa5 Use Shorts instead of Bytes for modelindex 2023-03-27 14:15:35 -04:00
Ian
0215e51529
Replaces instances of valloc() with vramalloc() 2023-03-27 13:07:48 -04:00
Steam Deck User
5a16a272c5 Update to the new, POSIX-Complient PSPSDK
Introduces a lot of changes to induce POSIX compliancy, and fix weird
compilation quirks that the old GCC ignored. Also removes some old
Makefiles that were just lying around. :^)
2023-03-27 13:04:29 -04:00
Steam Deck User
e10d0a429e Up MAX_MODELS to 300 2023-03-25 20:55:13 -04:00
Steam Deck User
c259397fba Have songegg builtin use the new CD string stream method for playback 2023-03-25 20:34:13 -04:00
Steam Deck User
b90f7d55ea Add .MP3 Streaming from string, play music on Main Menu 2023-03-25 19:28:30 -04:00
Steam Deck User
7e164cdc6c Override Mustang & Sally sides to both use the same texture 2023-03-25 12:01:04 -04:00
Steam Deck User
dcf2278925 Force r_dynamic and sv_maxvelocity 2023-03-21 10:46:00 -04:00
Steam Deck User
a671b9fa04 Allow map graphics on the menu to stretch to 175x100 instead of displaying in full 2023-03-20 16:28:35 -04:00
Steam Deck User
2cf0d01544 Fix Zombie Bodies allocating their internal MDL texture 2023-03-20 16:10:11 -04:00
Steam Deck User
d67952ca9b Add print for textures flowing into main RAM, re-enable external PCX for 1000 2023-03-16 22:20:57 -04:00
Steam Deck User
49a9587180 Reduce QMB particlefont 2023-03-16 21:46:36 -04:00
Steam Deck User
c9af47a252 Remove fly particle dependency 2023-03-16 21:15:07 -04:00
Steam Deck User
f0e5edf9ee Stop using a 480x272 graphic for the scope.. 2023-03-16 21:10:23 -04:00
Steam Deck User
d7df9d4ae8 Remove muzzleflash8 dependency 2023-03-16 20:53:15 -04:00
Steam Deck User
6b1b38351d Remove uwater.png dependancy 2023-03-16 20:47:18 -04:00
Steam Deck User
2f6cc747e3 Fix crosshair rendering a bit 2023-03-16 18:51:48 -04:00
Steam Deck User
8a9ed3de1d Inline EDICT_NUM 2023-03-16 17:47:21 -04:00
Steam Deck User
0bfbc51838 Stop using Q_strcmp, trust that the standard strcmp is faster 2023-03-16 17:43:00 -04:00
Steam Deck User
97435772b4 Don't interpolate alias models if they're more than 200 units away 2023-03-16 10:53:10 -04:00
Steam Deck User
c111883fde Remove CLUT4 palette swapping 2023-03-16 10:04:36 -04:00
Steam Deck User
6085a20fc9 ..Unless its CLUT4 2023-03-15 21:32:32 -04:00
Steam Deck User
9025e550b5 Don't always force swizzling 2023-03-15 21:27:52 -04:00
Steam Deck User
a3d4dae418 Allow CLUT4 to always force a palette 2023-03-15 20:57:18 -04:00
Steam Deck User
06b93a6e59 Merge branch 'main' of https://github.com/nzp-team/dquakeplus 2023-03-15 20:16:30 -04:00
Steam Deck User
3b346aa040 Revert R_InterpolateEntity - broke viewmodel 2023-03-15 20:16:02 -04:00
Steam Deck User
5d340032c3 Make anglemod a macro instead 2023-03-15 20:01:49 -04:00
Steam Deck User
7ce115ddc4 Faster R_InterpolateEntity 2023-03-15 19:46:45 -04:00
Steam Deck User
a2a2504886 Inline anglemod 2023-03-15 19:39:18 -04:00
Steam Deck User
b35cf6969d Also add a hack for VID_SetPalette4() 2023-03-15 19:29:02 -04:00
Steam Deck User
9827c6667b Considerably reduce GL_Bind 2023-03-15 19:21:54 -04:00
Steam Deck User
fc8790e1d0 Fix crosshair values for weapons, add Springfield to engine 2023-03-13 17:32:17 -04:00
Steam Deck User
69daae32cb Use new-style HUD layout 2023-03-13 16:51:59 -04:00
Steam Deck User
b7e4db4a59 Fix R_RenderBrushPoly sometimes using sceGuColor value from previous draw 2023-03-13 15:43:09 -04:00
Steam Deck User
1ab0d85644 Disable PCX loading on 1000.. for now. 2023-03-13 15:18:08 -04:00
Steam Deck User
2fbd7303d3 Fix 1000 Sound, remove old sound.cpp 2023-03-13 15:06:34 -04:00
Steam Deck User
70c0967d7c Actually move sound over to SDL.. speed boost?? 2023-03-13 14:31:47 -04:00
Steam Deck User
c2ee802677 SDL2 Initializes 2023-03-13 13:37:00 -04:00
Ian
c2a58f5a68
Re-Enable Weapon Kicking with Deadshot Daiquiri 2023-03-09 14:33:26 -05:00
Steam Deck User
d219c1412f Add support for more Perk lights 2023-03-05 11:30:42 -05:00
Steam Deck User
43c260a156 Restore support for WAD3 Alpha Masking 2023-03-05 00:24:17 -05:00
Steam Deck User
631448a73d Go back to DXT5 compression for Transparent alias textures and sprites 2023-03-05 00:14:52 -05:00
Steam Deck User
ba181a6a3e Merge branch 'main' of https://github.com/nzp-team/dquakeplus 2023-03-01 19:33:20 -05:00
Steam Deck User
f5b90862ca Stop storing palette data for WAD3 and PCX textures 2023-03-01 19:32:49 -05:00
Ian
84835d334a
Fix bprint not reading OFS_PARM0 2023-02-27 10:38:01 -05:00
Ian
d41d664644
Restore old sceGuAlphaFunc 2023-02-17 14:48:32 -05:00
Steam Deck User
b30f349572 Sike, even better: Hack in textureflag support. 2023-02-13 17:38:10 -05:00
Steam Deck User
fd4c35185c Stop using Q_strncmp for looking up HL texture names
found this one myself :^)
2023-02-13 16:46:27 -05:00
Steam Deck User
8520c1923b Modify PF_findradius to not use sqrtf
also a safety pre-compute of radius^2 in case it doesnt get picked up by
gcc. thanks spike.
2023-02-13 15:25:18 -05:00
Steam Deck User
625e0b8103 Do the same for Length 2023-02-13 14:19:13 -05:00
Steam Deck User
174abedc06 Inlining is too annoying, use a macro instead 2023-02-13 14:02:32 -05:00
Steam Deck User
7aa4b8578d Stop pretending we support big endian, inline some stuff. 2023-02-13 13:29:59 -05:00
Steam Deck User
8194bfc257 Get rid of switch case in fillOutputBuffers for minor speedup 2023-02-13 12:55:28 -05:00
Steam Deck User
ebe5aad8f1 Ditch name fields for hunk and cache systems.
Avoids spamming strncpys all the time, also decreases size of hunks by
8 bytes, caches by 16. thanks spike :')
2023-02-13 12:20:08 -05:00
Steam Deck User
d6ed5b3866 Use faster SV_RecursiveHullCheck 2023-02-12 19:54:42 -05:00
Steam Deck User
5b00aecb8c fix gamma table 2023-02-09 20:10:27 -05:00
Steam Deck User
8b33b733a2 Some more probably inconsequential opts 2023-02-09 20:08:42 -05:00
Steam Deck User
3c518995e4 Stop using the VFPU for things its really bad at 2023-02-09 19:13:53 -05:00
Steam Deck User
d4e8999950 Fix misaligned Graphics Settings 2023-02-07 23:42:12 -05:00
Ian
2207125c66
NERF THIS! - Lower PSPSLIM heap to 30mB 2023-02-04 11:30:25 -05:00
Steam Deck User
169f3f9c03 Make particle setting actually do something.. 2023-02-03 21:03:04 -05:00
Steam Deck User
23ad1571ba Fix Nearest Filtering not applying to everything (except lightmaps) 2023-02-03 20:53:42 -05:00
Steam Deck User
0f6f274e29 Make ADS values a vec3 2023-02-03 20:25:41 -05:00
Ian
cd3b08018e
Merge pull request #7 from MotoLegacy/main
Improve memory usage, limit color mode to store textures in VRAM
2023-02-02 14:35:38 -05:00
Steam Deck User
f103a5f142 Add malloc.h back for memset 2023-02-02 14:29:16 -05:00
Steam Deck User
bc10c5d7f6 Drop the heap size by 1mB (lol) 2023-02-02 14:28:30 -05:00
Steam Deck User
ed9f3d33cd Switch to RGB565 over 888 2023-02-02 14:24:27 -05:00
Steam Deck User
9f58c947fc Actually use Q_malloc in a lot of places 2023-02-02 12:44:45 -05:00
Steam Deck User
8ca8175096 Actually use Q_malloc in some places 2023-02-02 12:33:01 -05:00
Steam Deck User
9c0d864012 Restore Q_* alloc features 2023-02-02 12:21:24 -05:00
Ian
41f13c3929
Add extra Cache_Alloc safety check to Mod_LoadAliasModel() 2023-02-02 11:46:01 -05:00
Ian
edae0262f0
Remove non-zombie models from Preload() 2023-02-02 11:12:21 -05:00
Steam Deck User
0f7d7367e9 Reset state after zoom out 2023-01-20 19:04:49 -05:00
Steam Deck User
82f798f2c5 Fix order for ADS offsets 2023-01-20 18:56:24 -05:00
Steam Deck User
50ef590d86 add missing def for W_KOLLIDER 2023-01-20 18:50:09 -05:00
Steam Deck User
862718afd6 Add support for Z axis ADSOfs, adjust zoom amounts 2023-01-20 18:46:24 -05:00
Steam Deck User
7858b53153 force actions deployment 2023-01-19 01:39:57 -05:00
Steam Deck User
485bdf4dcd bump heap size up to 13mB on PHAT 2023-01-19 01:37:39 -05:00
Steam Deck User
2fa179a206 Rename Zombie Bodies to use % instead of # 2023-01-16 20:13:44 -05:00
Steam Deck User
fddb0859dc MENU: Fix oversight with OPT_FULLBRIGHT 2023-01-13 13:27:22 -05:00
Steam Deck User
853ce803ad If it aint broke 2023-01-13 13:19:56 -05:00
Steam Deck User
6d0f10eaa6 Fix typo 2023-01-13 13:13:39 -05:00
Steam Deck User
fe3f28a09c Fix typo 2023-01-13 13:11:04 -05:00
Steam Deck User
81dbd7f39d Merge branch 'main' of https://github.com/nzp-team/dquakeplus 2023-01-13 13:06:20 -05:00
Steam Deck User
c2a101cb9b Restore old version of the zombie texture hack 2023-01-13 13:05:55 -05:00
Ian
cded49861e
cl_hud: Seek out chaptertitle from worldspawn. 2023-01-11 10:01:34 -05:00
Steam Deck User
972c7c2e1a Re-Wrap R_DrawEntitiesOnList 2022-12-27 22:56:12 -05:00
Steam Deck User
d703ed6427 Restore ZHack in R_DrawEntitiesOnList 2022-12-27 21:55:43 -05:00
Steam Deck User
98bdccecc8 Make Preload() use the ZHack paths 2022-12-27 21:51:58 -05:00
Steam Deck User
ba17ae0ce5 Remove hacked-in zombie skins 2022-12-27 21:48:58 -05:00
Steam Deck User
db6f33d495 Revert broken scale to fix map loading 2022-12-27 16:39:40 -05:00
Steam Deck User
a7461c4dcf svc_parsebaseline HACK 2022-12-22 18:38:17 -05:00
Steam Deck User
5966fd86de .. 2022-12-22 18:15:50 -05:00
Steam Deck User
d564ccf92a Make sure we explicitly express scale as a float 2022-12-22 18:13:32 -05:00
Steam Deck User
4300d60192 Add scale to progdefs 2022-12-22 17:55:51 -05:00
Steam Deck User
77488595d1 Add Scale support. 2022-12-22 17:52:45 -05:00
Ian
e5513fb25e dumbest hack ever 2022-12-21 15:13:12 -05:00
Ian
d2ea2631f2 Force use of external Zombie skins and override MDL loading 2022-12-21 15:09:14 -05:00