Bill Currie
b6c331736a
give nq host_mem_size so -mem can be a cvar (similar to sv_mem_size and
...
cl_mem_size in qw).
2002-02-19 20:47:45 +00:00
Timothy C. McGrath
301eb4b8fd
Changed show_fps, show_time, show_pl and show_ping into archived cvars. They
...
were archived originally, but apparently some insane little gremlin keeps
reverting my change without telling me why :)
Tim/Misty/Misty-chan
2002-02-19 00:58:17 +00:00
Bill Currie
0ea713eda4
redo the progs loader to allocate all the memory needed for progs in one
...
shot, allowing for caller specified alloc and edicts and zone memory sizes.
(progs + edicts + zone).
2002-01-29 20:53:44 +00:00
Bill Currie
e8f6fced0b
call BI_Init in the clients
2002-01-20 04:10:36 +00:00
Bill Currie
14ac3acc17
add a builtin (gametype) for detecting the, well, game type (ie, netquake
...
or quakeworld) which just returns the apprproate string. the single player
menu is now acessable in nq but not qw :)
2002-01-20 03:09:03 +00:00
Bill Currie
9f6a16af18
shrink the hardrule (for want of a better name) by 2 chars so it fits
2002-01-20 00:38:02 +00:00
Bill Currie
39d432b6a6
make sure force_commandline in the console data gets set appropriatly
2002-01-20 00:04:50 +00:00
Chris Ison
60e1b2caf3
fixed 3dfx not building due to mis-named lib
2002-01-19 23:06:28 +00:00
Bill Currie
6767d6bfa0
win32 compile fixes
2002-01-19 20:45:45 +00:00
Bill Currie
786a88ba25
blah, bloody separate LDADD and DEPENDENCIES. well, this'll fix 'em :P
2002-01-19 05:45:48 +00:00
Bill Currie
10acad1ee4
first tie-in for the renderer (Draw_Pic: the interface will likely change
...
to better match the real interface, but this will do for now)
2002-01-18 22:35:46 +00:00
Bill Currie
bb96a5b736
first use of client side QuakeC :) (and having more than one progs instance
...
seems to work, too). The menu code gets loaded, but is currently otherwise
unused as of yet.
2002-01-18 19:19:33 +00:00
Chris Ison
e3b2bfb81a
clear key states on game start
2002-01-17 22:04:58 +00:00
Bill Currie
d05e3c0afc
fix an init order oopsie. sorry about that, guys.
2002-01-17 19:10:07 +00:00
Bill Currie
7eb9d70216
oops, forgot to write that one
2002-01-17 04:29:41 +00:00
Bill Currie
5a1c7ecd2b
init order cleanup
2002-01-17 04:11:36 +00:00
Bill Currie
c86c5a78bf
finally, the client console is merged
2002-01-16 21:53:42 +00:00
Seth Galbraith
778af4276e
external tga skin loading, doesn't work for players (teamcolor stuff)
2002-01-16 20:32:39 +00:00
Seth Galbraith
93116bc827
external mip texture loading
2002-01-16 01:02:50 +00:00
Bill Currie
9d59d953bd
more cleanups
2002-01-12 05:32:21 +00:00
Bill Currie
140f806d40
more Draw_{Character,String,nString} optimisations
2002-01-10 07:48:41 +00:00
Chris Ison
f01cc24267
minor bug fixes to Draw_nString changes and Draw_Character tidy up, ie: typos and miss understanding
2002-01-09 23:51:32 +00:00
Chris Ison
6073ff8d58
added Draw_nString for displaying a non \0 terminated string
2002-01-09 21:20:22 +00:00
Bill Currie
461f63c7ff
fix the black player skins
2002-01-03 06:26:57 +00:00
Bill Currie
013f503738
start getting const-correct on vec3_t params
2002-01-03 05:29:38 +00:00
Bill Currie
571df6d684
change window caption to include "Disconnected" when not connected
2002-01-02 23:01:05 +00:00
Bill Currie
3f4aa1dc6c
this should fix the crashing on win32
2001-12-20 19:19:58 +00:00
Bill Currie
9b4e21a914
minor prototype cleanups
2001-12-14 00:06:58 +00:00
Ragnvald Maartmann-Moe IV
2db08923e8
MSG_(Read|Write)(Coord|Angle|CoordAngle)V. Cleanups, and preparation for use of vector ops in msg.c.
2001-12-12 21:56:09 +00:00
Ragnvald Maartmann-Moe IV
f66b7a93e5
Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment).
2001-12-11 22:37:30 +00:00
Seth Galbraith
8a47406dcd
allow server to control player angles as in Hack and Slash mod\nclient's player model stands up straight\nmouse and joystick work properly in chase_active 2 and 3 modes
2001-12-11 20:49:10 +00:00
Ragnvald Maartmann-Moe IV
fd32562f56
Oops, missed a file.
2001-12-09 14:33:24 +00:00
Ragnvald Maartmann-Moe IV
d4a8224d9b
Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup.
2001-12-09 14:05:30 +00:00
Bill Currie
a619739bab
fix the server console for static builds (hmm, non-curses only?)
2001-12-02 20:11:21 +00:00
Ragnvald Maartmann-Moe IV
fc8d9417cb
Remove commented out code.
2001-11-30 22:32:17 +00:00
Ragnvald Maartmann-Moe IV
f4af73cd00
Commit serplord's camera bugfix.
2001-11-30 22:30:23 +00:00
Bill Currie
95fe4d07b1
more PARANOID nukage
2001-11-29 07:04:31 +00:00
Bill Currie
9ccd42428d
this seems to give a 0.48% boost to bigass (220.45 to 221.52, null-renderer)
2001-11-28 00:19:27 +00:00
Bill Currie
1d410a3a1f
Move the CL_NewTranslation from the entity linking code into the protocol
...
updates (where it belongs). This gives a 1% boost to bigass1.
2001-11-27 22:44:12 +00:00
Bill Currie
f7c90759af
clean out the non-renderer fields from entity_t. not yet a noticable gain
...
but more work needs to be done on the linking code in the client. However,
there /does/ seem to be a slight gain with possibly less variance.
2001-11-27 21:42:49 +00:00
Bill Currie
c4646b9685
take care of \r*\n line endings
2001-11-26 23:23:29 +00:00
Ragnvald Maartmann-Moe IV
4d406337b6
Move gl_fires into gl, where it belongs.
...
Also some small cleanups in particles.
Brighten grenade smoke a tiny bit, so it's not so invisible in the typically dark quake areas.
And some minor cleanups to water rendering.
2001-11-24 08:21:07 +00:00
Bill Currie
e97a4b7ce7
I think this will get the nq networking going
2001-11-24 08:19:34 +00:00
Bill Currie
4eebbb8ae6
take the hull/line fixes to the server internals and re-merge world.c for
...
nq and qw. This fixes the corner sticking for everything.
2001-11-23 18:58:23 +00:00
Bill Currie
0be2a31f2e
lots of code cleanup. Merge Mod_LoadAllSkins, merge the sw32 model loading
...
code into the sw model loading code, remove all refs to r_pixbytes from the
sw renderer (it was never anything but 1), kill libQFmodels_sw32, remove
all the 16 bit code from the 8 bit sw renderer.
2001-11-21 19:13:53 +00:00
Chris Ison
3e34fc83e4
-3dfx re-enabled
2001-11-21 02:36:48 +00:00
Bill Currie
f0c03f8331
minor cleanups of Sys_ConsoleInput. Cleaning it up properly will take more
...
work, but this removes most of the redundant instantces. nq-sdl (or -sgl)
-dedicated won't have console input, nor will dedicated servers that don't
load a console plugin.
2001-11-18 22:08:24 +00:00
Bill Currie
d168a3daee
this should remove the requirement for gmake on bsd systems
2001-11-12 16:23:41 +00:00
Ragnvald Maartmann-Moe IV
158717a56a
Add skyboxlist support to nq.
2001-11-07 06:56:05 +00:00
Brian Koropoff
ccd665e80c
This commit removes maplist.c and replaces it with filelist.c, which
...
contains general functions for creating lists of a type of file and
provides the commands maplist, skinlist, skyboxlist, and demolist.
2001-11-06 07:14:29 +00:00
Bill Currie
15b381909e
move maplist from quakefs.c to console/maplist.c. Unfortunatly, until the
...
client console plugin is usable, this means the clients link maplist.o
directly.
2001-11-05 22:24:16 +00:00
Ragnvald Maartmann-Moe IV
d1c115da05
Whitespace.
2001-10-30 19:58:01 +00:00
Bill Currie
85c9e0ab1e
more externs cleaned up
2001-10-29 17:46:03 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Adam Olsen
3bba5398ba
- audit malloc usage. now everything checks the return value :)
2001-10-24 22:50:06 +00:00
Adam Olsen
dd19f7b500
- convert svc_deltapacketentities
...
- add a Host_NetError that dumps a packet log and disconnects, and use
it instead of Host_EndGame in most cases
- fix a couple multiply-defined vars
2001-10-24 15:23:02 +00:00
Bill Currie
b5341f0d13
we now compile and link with -fno-common. this cleans up the multiple,
...
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Chris Ison
6fd5239e52
added winsock init/cleanup
2001-10-21 21:18:31 +00:00
Bill Currie
78a5b3a381
final missed console.h
2001-10-18 17:08:54 +00:00
Bill Currie
6ea400fb30
d'oh, forgot to compile test :P
2001-10-18 17:03:50 +00:00
Bill Currie
00bfc128a0
more printf elimination
2001-10-18 16:49:40 +00:00
Adam Olsen
18036b63d9
- change MSG_ReadString to return const char * and return a pointer
...
directly into the packet data.
- change a bunch of char *'s to const char *'s for the above. Only
thing that had trouble was the cl_nofake handler, which I changed to
use a local buffer.
- add MSG_ReadStaticString which acts like the old MSG_ReadString,
specifically that it uses a static buffer and tollerates
unterminated strings.
- add a Q_strnlen function, and make strnlen use it if strnlen is
undefined.
- Add a net_svc.h and net_svc.c which will preparse svc messages into
structs, for easier handling. Currently only soundlist and
modellist are done.
2001-10-18 04:44:58 +00:00
Bill Currie
ece4e5c6ef
MSG_ReadChar -> MSG_ReadByte
2001-10-18 03:43:20 +00:00
Bill Currie
2d068c0745
massive windows.h and WIN32 cleanup.
2001-10-16 21:40:45 +00:00
Bill Currie
cb6391e594
fix a typo that causes parallel makes to break on libqfnet
2001-10-15 16:21:51 +00:00
Bill Currie
b4bacb3c27
final bit of cleanup for now. save the nehahra bits from nq's TODO in docs
...
and kill the TODO
2001-10-11 05:21:07 +00:00
Bill Currie
483c56b7a5
put the .lsm file in the top level
2001-10-11 05:10:46 +00:00
Bill Currie
967098080d
hey, even more cleanup
2001-10-11 05:06:21 +00:00
Bill Currie
a1b7850e47
damn escapee code. this fixes the nq timedemo loop bug
2001-10-11 03:36:05 +00:00
Bill Currie
fe8e3eaf56
and nq too, but it doesn't work well
2001-10-10 23:16:18 +00:00
Bill Currie
70d4510b28
compile fixes for real osen ;)
2001-10-09 16:05:31 +00:00
Bill Currie
7a7892258e
automake 1.4 does /not/ like whitespace before a variable definition
2001-10-09 15:44:34 +00:00
Bill Currie
5b8aca001b
diff snr--
2001-10-07 18:45:23 +00:00
Chris Ison
2f8efd7360
changes to get mingw32 sw clients to compile under cygwin
2001-10-07 12:45:47 +00:00
Bill Currie
ef0e0a167d
nukage obsoletage
2001-10-06 05:32:35 +00:00
Bill Currie
791232e6d3
whitespace and {}s
2001-10-06 03:05:33 +00:00
Ragnvald Maartmann-Moe IV
43ab73fd81
Make cvs blissfully unaware of nq-server.
2001-10-05 19:43:29 +00:00
Bill Currie
a220f5d87d
isDedicted fixes
2001-10-05 19:21:23 +00:00
Bill Currie
b2d8d0f598
nq-server seems to work now (mostly). got some issues with things like
...
"+map start" on the command line being ignored.
2001-10-05 16:08:07 +00:00
Bill Currie
cd9832d95f
hey, nq-server works until you connect :)
2001-10-03 22:25:24 +00:00
Bill Currie
82338f9695
shutdown the console
2001-10-03 21:37:20 +00:00
Bill Currie
1929797cc9
get nq-server so it runs. part of this involved renaming cl_warncmd to
...
cmd_warncmd
2001-10-03 21:25:43 +00:00
Bill Currie
c5bb4e903c
d'oh, I thought I learnt that lesson in libs/video/renderer/sw :/
2001-10-03 20:04:17 +00:00
Bill Currie
bbc83c30ca
hey, it segs, but who cares? so does nq-glx -dedicated :P
2001-10-03 19:52:03 +00:00
Bill Currie
a1d2cf3532
duplicate file name cleanup and make dist works
2001-10-03 17:50:36 +00:00
Bill Currie
630e064150
-dedicated fixes
2001-10-03 17:25:21 +00:00
Ragnvald Maartmann-Moe IV
450dd9f504
5.2 time and fps in demo output, for both nq and qw.
2001-10-02 19:43:25 +00:00
Bill Currie
55b2a41b02
fix the capitolisation of nq_server_SOURCES
2001-10-01 21:56:12 +00:00
Bill Currie
f505e8630c
fixes for rh 7.1
2001-09-30 23:24:53 +00:00
Bill Currie
138a4a1c14
rename console_t to old_console_t in preparation for a better version and
...
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Bill Currie
cca3e4c203
fix a coupld d'ohs for pr_checkextensions
2001-09-28 21:39:13 +00:00
Bill Currie
f1454ae93c
include console.h
2001-09-28 16:53:11 +00:00
Bill Currie
c78edb3a36
Apply Seth Galbraith's <sgalbrai@linknet.kitsap.lib.wa.us> chasecam patch
2001-09-28 07:51:15 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Jeff Teunissen
3dbf6cba31
This fixes NQ.
2001-09-28 05:37:46 +00:00
Bill Currie
180fe60c10
empty file
2001-09-28 04:40:37 +00:00
Ragnvald Maartmann-Moe IV
2941c07b0a
Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects.
2001-09-27 00:43:46 +00:00
Jeff Teunissen
e110f6da83
-3dfx is gone, pending someone to work on it again. Most of the stuff it
...
did specially will be folded into -glx.
2001-09-25 23:58:23 +00:00
Chris Ison
0efd28abcc
trying to get bootstrap to work in cygwin
2001-09-25 23:04:13 +00:00
Jeff Teunissen
875a0eab1b
simplify, be paranoid
2001-09-25 21:55:31 +00:00