Commit Graph

4755 Commits

Author SHA1 Message Date
Eukara 3f2302ce62 Updated FreeCS config to define BMP support which is very much necessary
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5356 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-05 19:34:14 +00:00
Spoike 75c7f7ce32 Those prints were annoying me
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5355 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:59:22 +00:00
Spoike d831199e2c Fix savegame quirk that was trying to force spprogs.dat.
Add developer==1 warnings from writebytes out of range.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:57:29 +00:00
Spoike 74fe35c482 Fix some typos from the glsl lazy-loading change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 08:53:18 +00:00
Spoike c3b97f0983 open 'foo.fmf' in preference to 'default.fmf' when running eg foo_x86.exe. This should make TCs a little easier to release/maintain within eg quake's basedir, without breaking other TCs mods in the same basedir.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5352 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:15:53 +00:00
Spoike 8128d275af show system/engine/extension stuff as a different colour in fteqccgui.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5351 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:06:47 +00:00
Spoike c25e7908f0 fix PVSF_NOREMOVE bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-04 06:04:47 +00:00
Eukara 16abd453c8 rename this vile extension to actually represent what it means. shader to mat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5349 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 13:35:23 +00:00
Spoike 2a3c667f09 fix bug reported by ciscon: do not crash when XDG_SESSION_TYPE is unset in linux's environment.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5348 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-12-02 09:01:51 +00:00
Eukara 8f664f2b2e Added get_path to m_native.
Fixed drawtextfield being affected by the previous draw* call colors


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-30 04:05:48 +00:00
Spoike f464d0fef3 misc windows-related fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 05:41:39 +00:00
Eukara fea0ab8014 tiny fix for gcc 5.5.0 & glx
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-28 01:40:47 +00:00
Spoike 5b4756f3d9 Lazy GLSL loading, for faster load times.
Fixed some xim issues, for proper keyboard input under x11.
Cmake project can now work for cross compiling win32 targets.
Some other fun-but-pointless stuff.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5344 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-27 16:48:19 +00:00
Spoike 79689474b6 Calculate voip levels for other clients
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5343 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-22 03:02:36 +00:00
Spoike 36eb350dc9 I screwed up The Wastes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5342 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-21 11:49:21 +00:00
Eukara d547047b7f Made TW's config compatible with the latest rev.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5341 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-20 01:04:32 +00:00
Spoike 73d836aaee Fix te_gunshot with only one arg erroring non-fte qw clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5340 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:47:26 +00:00
Spoike cb0f6fa6aa Fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 08:06:07 +00:00
Spoike 2ee8387644 Many general cleaups and warning fixes.
Console code no longer makes assumptions about con_main
Screenshots rework, for screenshot_360, but also some other cleanups.
Fixed an issue with beginpolygon (finally).
Added per-rtlight style strings.
Added cvar to control whether ents will be culled by fog.
Added define to disable IPLOG, etc.
Added r_editlights cvar and related commands, for whenever csaddon isn't available.



git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-19 06:37:25 +00:00
Eukara 398c1afaf9 Fix crash on vid_reload using native menus.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-11 02:53:04 +00:00
Eukara 346e366dfa Updated config and native menu implementation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5336 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 09:42:01 +00:00
Eukara 4cabdb80c5 Fixed r_showshaders crashing on a surface without shadername.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5335 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-10 08:26:51 +00:00
Spoike 2d539675cf Ignore spawnflags when CheckSpawn is defined, so that the mod can do it instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5334 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-08 22:27:27 +00:00
Spoike 6d4bd2eb61 Fix possible double-free inside the image loader
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5333 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-06 19:42:05 +00:00
Spoike 9e98e44500 Try to fix some cubemap issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5332 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 22:22:18 +00:00
Spoike e31a485e98 Try to fix mvd playback issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5331 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-04 08:38:27 +00:00
Spoike eb56cc76df Patch from GoaLitiuM to fix some d3d11 stability/alt-tabbing issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5330 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-11-01 15:40:50 +00:00
Spoike 9a146f448f Don't write svc_playerinfo to a demo that's using supports replacementdeltas. Stuff like that can be confusing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5329 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 16:59:41 +00:00
Spoike c5a89bd5d6 Revert weird windows bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5328 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 08:20:44 +00:00
Spoike b024a19fc8 I forgot about d3d... again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 05:34:08 +00:00
Spoike 45b4659de6 Fix vulkan lag issue with vk_busywait. Separate lightmap formats, to fix deluxemapping-with-hdr-lightmaps. Fix decals lingering on removed bmodels.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-27 04:32:18 +00:00
Spoike a3f9fe886e Remove debug spam
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:51:24 +00:00
Spoike 8a3cc3b4b0 Be more generous with decal impacts spawned away from the wall that they're meant to be spawned on.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5324 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-26 16:50:06 +00:00
Spoike 2bedc32ff9 Misc tweaks.
Fix potentially serious crash with sprites+csqc tracelines.
Reworked fallback mouse cursor.
Fix decals on q3 bmodels.
Double-click to select a work to copy is now implemented.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-23 07:09:06 +00:00
Spoike 4ae635bc7b Some misc fixes, mostly win32/msvc focused.
Rename sound flags to include their valid scope.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5322 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-17 00:43:04 +00:00
Spoike 487201eeec properlyish distinguish between primary+clipboard x11 selections. Fix possible font crash. Fix possible QC weirdness with uri_get callbacks unexpectedly stomping globals.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5321 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-14 16:16:34 +00:00
Eukara 2cdbe035df Updated The Wastes' config to use world grid optimisation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5320 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 19:46:33 +00:00
Spoike 39e1f24511 Added trace_networkentity global to csqc. Try to fix some misc bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5319 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 12:19:58 +00:00
Spoike b68a6218e8 Fix some stringop-truncation warnings. Enable static freetype in config_fteqw.h. Fix wastes build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5318 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-13 06:20:49 +00:00
Spoike 49ae9573b8 reworked clipboard handling to avoid stalls when pasting in linux.
made a load of functions static (just code style stuff).
downloads menu now deselects any autoselected items, to avoid confusion.
csqc traces can now hit networked ents. I probably need to make some more tweaks to this.
arg completion for flocate+dir+modelviewer commands.
fix autosave not cycling saves when using the vanilla save format.
fix patch collisions with q3bsp submodels.
md3 now supports framegroups too.
added some more buttons to make xonotic happy.
gl_polyblend 2 shows the screen flashes at the edge of the screen instead of the middle.
colormod no longer applies to fullbrights (matching DP). this fixes an issue with xonotic.
fix uninitialised local that was causing issues with bones used as tags.
rewrote qc search_* to use a dynamic array instead of a linked list. this should make it faster to read when there's many handles open at a time.
fte's saved games can now save buffers properly.
fix issue with raster freetype fonts (read: coloured emoji).
initial support for struct-based classes (instead of entity-based classes). still has issues.
execing configs in untrusted packages will no longer run out of sync (fixing a number of afterquake issues).
fix stupid bug with the te_gunshot/etc builtins.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5317 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-10-11 10:31:23 +00:00
Spoike 8662827af0 Fix win-specific code too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5316 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 04:17:32 +00:00
Spoike 427afd5828 That define apparently doesn't exist in all versions of glext.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5315 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 03:38:26 +00:00
Spoike fa523c3e53 fix today's no-alpha bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5314 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:42:00 +00:00
Spoike 46d99e8186 add cl_bobmodel.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5313 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-30 01:41:25 +00:00
Spoike 8279a76675 Attempt to optimise texture memory by loading greyscale tgas as 8bit. Extend serverbrowser api for xonotic. Be more aggressive with loading hardware cursor images. Fix software banding with compressed textures. Rework autosprites to cope with atlased texcoords (note: q3 would discard the texcoords).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5312 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 17:31:58 +00:00
Spoike caa5be6267 Fix qcc crash from stray continue/break/case. Fix warnings from logicops. Recolour error/warning text output on linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5311 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-29 03:40:50 +00:00
Spoike fa9694a255 Support framegroup files with darkplaces models, for some reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-24 08:15:55 +00:00
Spoike 5159a801ff lerpfrac3 fixes. unix sockets for the luls (disabled). some misc tweaks for xonotic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-23 19:35:24 +00:00
Spoike fe885985ec some xonotic fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5308 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-19 02:49:08 +00:00
Spoike fee84965c1 Fix a stupid logic bug that was dropping stores by folding double nots.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2018-09-18 04:35:33 +00:00