Commit graph

500 commits

Author SHA1 Message Date
TimeServ
c19474d271 fixed sw build, fixed server banning, banip works properly and accepts the format x.x.x.x/n and x.x.x.x/x.x.x.x, added unban and banlist
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2294 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-22 22:51:14 +00:00
TimeServ
d2584c26b9 fix buffer overruns in file enumeration
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 19:15:52 +00:00
TimeServ
4b88bb7293 adjust ftoa function a bit more
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2289 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 04:22:12 +00:00
TimeServ
bb98dc4939 Attempted precision fix for ftos
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2288 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 03:45:44 +00:00
TimeServ
9338715489 fix snprintf for msvc8 compiled builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2286 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-18 02:54:22 +00:00
TimeServ
0634baab20 r_drawflat/r_floorcolour/r_wallcolour for software, use alpha blending instead of stippling for alpha surfaces in software, misc cleanups
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2277 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-14 20:52:13 +00:00
TimeServ
c32061184e sv_tcpport -> sv_port_tcp, added sv_port/sv_port_ipx/sv_port_ipv6 defaulting to 27500, use 0 to disable and shutdown protocol, -port/-svport redirect to these cvars
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2256 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:02:05 +00:00
TimeServ
469fb50e57 use better mixing for 8-bit sounds, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 21:02:39 +00:00
TimeServ
575df34f7e sv_tcpport to callback, reallocate command buffer properly (I'm sure this caused a few untracable bugs in the past)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2247 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 05:31:01 +00:00
TimeServ
9e8aa5ee66 add r_particlesdesc callback and removed latch, r_particlesdesc will now reload particle set on change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 06:26:02 +00:00
TimeServ
8e65ba98d5 minor fixes, change name and sys_linebuffer to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:53:36 +00:00
TimeServ
f0a60a1471 don't use va() within FS_Rename, fix logging logic, fix return values with morphos call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-05 05:28:56 +00:00
TimeServ
dbdfc2e3d0 replace rename with proper VFS call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2232 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-01 00:22:55 +00:00
TimeServ
0cc2ba719c vid_wait aliased to _vid_wait_override properly, command completion will now show renamed cvars (like mapname, host_setspeed, vid_wait) correctly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 06:02:06 +00:00
TimeServ
bd3cab06a3 probably overdoing the callback thing now but oh well! (changed r_explosionlight, r_stains, r_rocketlight, scr_conalpha)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 05:23:51 +00:00
TimeServ
ba38acd1ce gl_overbright_all effects gl_lightmap_shift, and gl_overbright_all 0 correctly works for only Q2 vs Q3 however just noticed Q3 uses overbright 2 for maps and 1 for models... yay
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2223 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 07:01:06 +00:00
TimeServ
a7a6dcc92f add cvar gl_overbright_all, 0 (default) = use overbrights only on Q1/H2/Q2 models, 1 = use on all models, set an engineflag marking non-map stuff but Spike needs to implement a gl_overbright_models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 06:03:58 +00:00
TimeServ
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Mark Olsen
6394eec60a More endian bugs fixed. Swap table contents before doing Com_BlockChecksum, swap the generated checksum before comparison.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:48:40 +00:00
TimeServ
960b2b8d96 cl_sbar/vid_conautoscale/vid_conwidth/vid_conheight/gl_font/gl_fontedgeclamp/gl_smoothfont/gl_conback/fov/viewsize changed to callbacks, needs testing.. hopefully increases fps a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 06:57:13 +00:00
TimeServ
ceafd30644 vid_width/vid_height/vid_bpp 0 will use default desktop settings, added vid_desktopsettings which uses default width/height/bpp/refresh rate, command line -current maps to vid_desktopsettings 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:31:23 +00:00
TimeServ
363223186e change crosshairimage/crosshair/crosshaircolor to use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2206 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-14 04:31:29 +00:00
TimeServ
75648fd2ff fix warnings, add cvar flag to force renderer callback on vid_restart, switched a few cvars from modified checking to callback usage
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2192 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-12 00:17:02 +00:00
Spoike
b12ead1a7d cvars can use callbacks now. Use Cvar_ForceSet inside to undo the change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2188 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-11 20:42:05 +00:00
TimeServ
e40c7f8a87 fix crash with Q2 server, server/client handles Q2 map checksum, server sets Q2 airaccelerate on init
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2177 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 05:43:53 +00:00
TimeServ
1adb96907a remove the cfg_save x.cfg -> x.cfg.cfg situation, still not like the z-family cfg_save though
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2176 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-08 04:16:53 +00:00
TimeServ
2f2e0290b3 attempt to fix extended code parsing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 08:42:24 +00:00
TimeServ
884dacd654 fixes to sys_colorconsole
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-06 08:33:47 +00:00
Spoike
f2a3436e6c Fixed the filesystem support for doom wads.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2151 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:49:06 +00:00
Spoike
b5b74f2529 Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +00:00
Spoike
ea14d7facc If someone tries seeking in a compressed file, don't flush and redecompress, just copy it to a temp file instead and work from there (this is primarily for roq files like the one from q3f).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2121 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-15 20:05:25 +00:00
Spoike
bfa9db357b playqtv now plays from an fteqtv proxy (with the 10 secs buffering).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:25:46 +00:00
Spoike
629834c8a6 Should give more accurate results.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2107 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-14 01:15:42 +00:00
TimeServ
5ebe24d121 removed Host_Error/Sys_Errors in Q2/Q3BSP/RBSP and MD5 loading, fix possible memory leaks with failed loads
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-13 05:54:12 +00:00
TimeServ
28979e3d12 don't Sys_Error on invalid translation, BSP (HL/Q1/H2) loading will no longer Sys_Error
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2098 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-12 22:01:49 +00:00
TimeServ
7140498c43 keep paths consistent
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2083 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 05:14:56 +00:00
TimeServ
f9ea81d7cf fix to FS_OpenVFS with skins
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2082 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 05:12:33 +00:00
Spoike
aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
TimeServ
973d2830a0 use stringtorgb and stringtoindex functions for crosshaircolor and r_menutint
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 00:35:56 +00:00
Spoike
f9f6ea773c Stop Q3 from crashing on it's own maps. (fixme: do q2 and q1 too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-10 03:53:17 +00:00
Spoike
b861dbba89 Ignore semicolons in comments inside console scripts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 21:54:32 +00:00
TimeServ
bdb177ea94 exclude linuxlikes from MSVC8
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 21:33:29 +00:00
Spoike
c0619d3015 Work on non-win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 21:29:24 +00:00
Spoike
2046931e26 gameclock, roq/avis can play on shaders (sound is wrong though, so that's fine with avis!), snprintf changes (this is the bulk), up2's mcharset
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-06 01:41:09 +00:00
TimeServ
1ed370ac4a assure that bsp entity lumps are null terminated (fix 2fort5p loading), cosmetic fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-05 03:50:54 +00:00
TimeServ
7fa603c7c4 cosmetic fix to cuff command
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-05 02:38:51 +00:00
Spoike
d27d3c5b6d Less warnings (none at the gcc-default warning level)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Mark Olsen
338d6a53ed If my memory doesn't fail me, this makes Q3 pak file contents case insentitive and thus makes Q3 map loading work
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 16:52:57 +00:00
Spoike
0fe03c7b25 blooming stuff. I hope I got enough of the bugs out.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-03 03:31:19 +00:00
Spoike
38c36360f6 Mostly colourmod stuff. A few fixes for q3 menus, some gamma fixes for q2, more verbose messages for pngs, and hopefully a gamma fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-27 00:42:25 +00:00
Spoike
7e1ecfcb2f Don't spam those q3-assosiated 'cmd already registered' messages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-26 05:50:37 +00:00
TimeServ
ec3d886864 scr_conalpha added
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2022 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-25 21:03:56 +00:00
TimeServ
75dba86ae5 fixes to palette remap logic, fix for plugin status bar
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-25 07:03:29 +00:00
Spoike
bdc24a2720 Looks like this needs a real fix some time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2016 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-23 00:16:18 +00:00
Spoike
12c3b6b96e Paranoia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:47:08 +00:00
Spoike
0a326e1bc8 Don't Crash!!! (This isn't a real fix)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:46:22 +00:00
Spoike
d8b843c3b5 q2 solid needs to be storable as a short.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:45:45 +00:00
Spoike
88aba16c08 dump the input packet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 23:45:15 +00:00
TimeServ
df16aa1400 fix Sys_Error with jpeg screenshots, standardize console warning/error/notice colors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-22 01:24:22 +00:00
Spoike
0bd1517522 Fixed a few warning messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1972 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 19:54:47 +00:00
TimeServ
d245b06c91 got rid of some anonymous unions
fixed a few msvc2005 complaints


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1971 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-17 02:51:59 +00:00
Spoike
f2c0995cfc Allows ETF ladders to work properly with QW player physics.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-12 04:47:10 +00:00
Spoike
781e8ee38f I'm just going to remove that hack. It doesn't work anyway, and there's now a better method (trace_endcontents).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 18:18:55 +00:00
Spoike
0ad239ca6a Fixed all warnings in MDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
Spoike
6430b9b214 added a macro for specifying all the cvar properties. This will simplify stuff for Q2.
Also added trace_endcontents and trace_surfaceflags.
File system (still too selectivly) reads gz files.
Fixed a buffer overflow in the http client.
Made server downloads decompress zipped files to a temporary file. This should make it download them faster.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 02:09:43 +00:00
Spoike
cf73c8b81e Copyable console, and up2's demand for aliases like fuhquake.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-06 01:06:17 +00:00
TimeServ
6c23765cc9 removed internal irc client as it is obsolete compared to the plugin version
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-04 04:42:47 +00:00
Spoike
56a70d5743 There's now a row of console names across the top of the screen.
There's also a load of new bugfixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-02 01:13:52 +00:00
Spoike
1730d4dc81 This is fun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:36:12 +00:00
Spoike
4d34f2e46d stops a crash with the mp3 plugin, and potentially other (future) plugins too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 03:45:00 +00:00
Spoike
92fa37f03e minsw compile fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 00:57:34 +00:00
Spoike
c609f340f9 Fixed my two bugs with undefined externs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-29 00:50:13 +00:00
Spoike
213b04fc7d Just fixed raz0's pair of bugs (for q3 and q2)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 19:34:21 +00:00
Spoike
fdb5cf3aff Fixed mvd playback as correctly as I can think how.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 19:04:13 +00:00
Spoike
6f98f6f108 fastarrays works properly now.
changed stereo -> numchannels in the sound code
added/tweeked the download menu
fixed a coupld of fs functions
switched the key config menu to mouse-driven
right click now closes menus


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 06:41:20 +00:00
Spoike
9620a98dc2 Removed moodles' infokey stuff which was totally wrong anyway.
Enabled the prototype warnings. Looks like we need them.
Fixed a few warnings other than the prototype ones which I just enabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:35:40 +00:00
Lance
20ef474862 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:06:48 +00:00
Lance
88dfd74e81 unfixed static stuff, and put #pragma warning(disable:4701) where msvc complains
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1893 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 03:22:45 +00:00
Lance
e9d294191a fix msvc warnings, hopefully I dont break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1892 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 03:05:33 +00:00
Lance
ed4dbcb903 fixed msvc warnings with #pragma warning(disable:4701)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1891 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 02:45:16 +00:00
TimeServ
8f550d6d1f half-alpha character rendering for software
changed background to not blink
added BX_COLOREDTEXT extension (although the FTE extension conflicts)
fix to console clearing which should hopefully speed things up a little bit


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1886 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 03:10:16 +00:00
Spoike
e3cb464de9 Some bugs fixed. I wonder what I've broken.
Oh yeah, hud scoreboard stuff works now.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-21 00:06:49 +00:00
Spoike
d6c9c70108 A couple of bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1863 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 20:28:46 +00:00
Spoike
f0feb82b90 rjlan wanted mingl to compile again, and moodles reported a demorecording bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1862 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-13 06:27:18 +00:00
Spoike
af116fcf86 Fixes a warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1852 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:21:32 +00:00
Spoike
1d437c5023 VFS_GETS is implemented now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:28:09 +00:00
TimeServ
664467e41c fix to sw colormaps (MSVC is stupid)
fixed clear command from crashing
added ^h for toggleable half-alpha (still not rendered yet)
added ^&?? for extended fg/bg colors: (poosibly temporary?)
- first ? corresponds to foreground
- second ? corresponds to background
- valid characters for ? are 0-9, A-F and -
- hexadecimal number represents a color from CGA RGBI colors
- -(dash) represents default color for FG, clear for BG


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1838 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 07:23:31 +00:00
TimeServ
afb9ec7a08 fix for RID #1394691 (boss2 at least)
added r_drawviewmodelinvis
Spike needs to fix heightmaps, they have a similar issue


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-09 01:49:06 +00:00
Spoike
ba789a5446 I've been fixing up client downloading. Hopefully we're a little more robust.
requiredownloads 0 can possibly cause problems though, with missing maps and such.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1785 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-04 00:44:34 +00:00
Spoike
33eadf8739 Fixes my logic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1782 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-03 21:29:47 +00:00
Spoike
975a0a2cc4 Trying to fix some downloading vfs stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1779 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:46:44 +00:00
Spoike
19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
Spoike
03acc70202 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1776 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:59:05 +00:00
Spoike
44d7f0d5c9 vfs fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:58:16 +00:00
Spoike
45e1818911 Hopefully this will get people to report more useful crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1774 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:57:18 +00:00
Spoike
758a8ab98a Fixes a crash on +setrenderer dedicated servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1773 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:55:56 +00:00
Spoike
b703cf0d85 Some more vfs changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1772 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 22:53:29 +00:00
TimeServ
a8889d8f24 THIS COMMIT MOST LIKELY BREAKS THINGS.
changed conchars from 16-bit to 32-bit
added support for RGBI fg and bg colors
better support for ^8/^9 text codes
fix to echoish menu sounds
added plugin stuff for centerprints/server messages/chat messages, not finalized (?)
GL/SW color character functions improved (although neither handle transparent characters, and SW needs improvement with the palette remapping)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-01 09:01:15 +00:00
Mark Olsen
41fdeb5678 sys/param.h is such a boring thing to include. Also, define INADDR_LOOPBACK for systems which don't have that define.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1744 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-31 13:33:10 +00:00
Spoike
7bce2a6426 Urm, a small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-23 01:23:44 +00:00
TimeServ
6dd7ddd353 palette remap per entity for sw
minor change to qclib for hexen2


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +00:00
Spoike
054663b990 ftp/http stuff should work again. the download menu is still out of action, however.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1734 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 02:29:11 +00:00
TimeServ
a32c1af46d kill some unnecessary Sys_Errors
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1733 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 08:34:34 +00:00
TimeServ
55f788ef0d removed Draw_PicFromWad so we only use the "safe" version
killed some Sys_Errors
transtable loading to vfs
log rotation fix
server cosmetic changes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1731 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 07:00:33 +00:00
TimeServ
1d13030916 quick hack to vfs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1729 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 05:25:43 +00:00
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike
62f7ed5108 for plugins, mostly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1726 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-20 23:33:20 +00:00
Spoike
487865b83e blarg.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1713 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:45:04 +00:00
Spoike
13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
Spoike
972a4f08b2 added sin, cos, atan2 builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1695 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-10 00:21:45 +00:00
Spoike
80df004c4d A new builtin, for drawing lines.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1690 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-09 19:08:08 +00:00
Spoike
55517b7257 Stop the random crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1680 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 15:39:57 +00:00
Spoike
c6b27d0b81 Fixes all that tests for relative file depths.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1674 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:21:56 +00:00
Spoike
89a52c4a5a fixing flares
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1673 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:21:28 +00:00
TimeServ
87d4c83abe logging now shuts off after a bad write
colormapping made more generic (more with that later)
small stat fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-05 16:47:29 +00:00
TimeServ
283c7f8454 fix to loading maps/models with fullbrights (sw)
fix a rare crash with HLBSP textures


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1660 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 02:38:10 +00:00
Mark Olsen
87bf121760 Build fixes for non-Win32
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-02 01:14:20 +00:00
Spoike
2c10084b45 Fixed a syntax error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1645 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:38 +00:00
Spoike
bb1c73658c Added memset, memcpy, and memmove for efficency (rather than implementing them in a qvm).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1644 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-01 01:21:08 +00:00
TimeServ
e13c3d5e07 %i to %p
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1638 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 05:05:50 +00:00
TimeServ
61ea1d4429 plug_list enhancement
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1637 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 05:01:43 +00:00
Spoike
339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Mark Olsen
d0c1d4911f MacOS X defines
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1626 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 23:20:02 +00:00
Mark Olsen
aac111c7b0 Use netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1624 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:32:15 +00:00
Mark Olsen
48c1f94425 Common includefile for platform specific network thingies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1619 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:12:45 +00:00
TimeServ
8728f3abbb pe_defaulttrail junk for Q1/H2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1595 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 23:11:19 +00:00
Spoike
9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike
cdb82f3316 small cleanup and bugfix for zlib->abail_zlip
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1576 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 21:09:11 +00:00
Spoike
35192beb47 More tweekable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1569 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 01:32:21 +00:00
Spoike
3818c9342b Fix for uninitialised CB stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1565 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-14 00:58:29 +00:00
Spoike
3e8029a0f8 This fixes the 64bit sv_mapcheck issue
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1560 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-05 21:24:46 +00:00
Spoike
c62c5cfd30 Trying to fix an amd64 wierdness where mapchecks fail.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1556 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-03 23:46:31 +00:00
Spoike
d9370fb715 Small tweek that just makes it look better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1555 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-03 23:43:13 +00:00
Spoike
64fdee9482 -usehome should work properly, there's also an extra option to restart the filesystem, flushing pak files without reloading them, but it might not work properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1549 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-31 00:52:03 +00:00
TimeServ
210cb2e959 serverinfo fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1543 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-30 01:21:42 +00:00
Spoike
e8fe89ba18 This is a cheap way to get the mingl target compiling again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1529 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 23:42:57 +00:00
Spoike
7e2be93b05 Fix a compile error on dedicated builds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1525 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 15:52:05 +00:00
Spoike
b606b001a0 always dump configs into quake/fte
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1522 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 22:43:10 +00:00
Spoike
bab78c82a5 This may or may not be needed for the download menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1521 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 22:26:11 +00:00
Spoike
436721468a Small cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-20 20:01:17 +00:00
TimeServ
6412c5d141 temporary fix to init crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-18 04:38:22 +00:00
Spoike
34b6814743 Trinca gave me an insanely sized map, lots of surfaces and things.
Stupid load times.
They're MUCH quicker now. Hurrah!
And yes, r_shadows 1 was a mistake when trying this map. ehe.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 15:22:27 +00:00
Spoike
aeff202074 Added an option to restart the filesystem (to add pak files etc).
This will be used by the various download functions.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 12:49:15 +00:00
Spoike
293cacfca4 Fixed an assumption where all lit q1bsp models are cl.worldmodel - we use currentmodel instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 04:03:13 +00:00
Spoike
92cbddb20c Host_Error instead of Sys_Error when we try using q3bsp in sw.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1487 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:58:50 +00:00
Spoike
f024485827 fixed up the flocate command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1474 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:47:26 +00:00
Spoike
fb387ad41a it's a cosmetic thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1473 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-16 03:46:33 +00:00
TimeServ
e47090201b pe_defaultrail, like pe_default but for trails, works mostly with q2 for now though
additional Q2 TE_s supported
a few other particle fixes


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1454 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-08 22:35:20 +00:00
Spoike
eaf3cb3c6a A header file for the common builtins.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1450 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:33:28 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00