Commit Graph

26 Commits

Author SHA1 Message Date
Bill Currie bf53f43e13 make PR_break do a backtrace instead of crashing the server 2002-09-07 06:48:15 +00:00
Bill Currie 587ac5670b using R_FLOAT for setting individual fields of the return vector ain't so
good a thing to do.
2002-07-25 14:58:02 +00:00
Bill Currie de22355371 use P_* for params and R_* for return values in builtins code 2002-07-24 21:42:33 +00:00
Bill Currie 33e055209e Semi-major (more than minor:) progs convenience macro cleanup. There will
be more to come.
2002-05-22 22:35:37 +00:00
Bill Currie 9833b7009d oops, forgot to remove the debug code 2002-01-21 16:48:08 +00:00
Bill Currie f3efed94e5 .0 isn't valid for integer formats 2002-01-21 16:47:50 +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 9d59d953bd more cleanups 2002-01-12 05:32:21 +00:00
Bill Currie 3dafbebf10 fix up #0 builtin functions at runtime. not done automaticly (need to call
PR_RelocateBuiltins) and fix a bug with profiling and unlimited execution
counts
2001-12-14 08:15:04 +00:00
Bill Currie c130d38c6c fix more bugs caused by the Hunk_TempAlloc changes and do some more jump
prediction fixes for msg_t and sizebuf_t
2001-12-03 22:11:21 +00:00
Bill Currie b1f4a778f9 the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
Adam Olsen 376f05d357 - add some conversion builtins, now we have ftoi, ftos, itof, itos,
stof, stoi, stov, and vtos.
- fix PF_sprintf
- add FFnameFF support, where it tacks <userid> after the nick on the
  console.
2001-09-26 22:26:31 +00:00
Adam Olsen 9448063c67 - use etype_T instead of int (just so it's clearer in debugging) 2001-09-21 19:28:08 +00:00
Bill Currie 49a85718f8 total nukage of Con_*Printf calls from libs (except for video). Sys_*Printf
(Sys_DPrintf is new) is now used exclusively for all lib printing. Con_Init
sets the sys printf recirection to Con_Print (which has been revamped
appropriatly) and the server sets it to SV_Print (which was SV_Printf and
the new SV_Printf calls /it/). This should fix the rcon print redirection
issues.
2001-09-21 04:22:46 +00:00
Ragnvald Maartmann-Moe IV 55dfead066 Typos (really ought to remember to test compile *before* committing, rather than immediately after). 2001-09-10 13:05:13 +00:00
Ragnvald Maartmann-Moe IV dc947ce8f5 Whitespace. 2001-09-10 12:56:23 +00:00
Bill Currie 3656d6fd59 compile fixes for win32 and take the pruning shears to *sys*.c in qw and nq
(they're not done yet, though)
2001-08-29 17:45:53 +00:00
Bill Currie abb1469364 fix a minor but important thinko that caused a nasty seg 2001-08-27 05:15:39 +00:00
Adam Olsen 5e4d7e4376 Add a sprintf builtin 2001-08-27 03:17:59 +00:00
Ragnvald Maartmann-Moe IV 707c4aa44b I like it better when quakeforge compiles.
-Werror feels otherwise.
*grmbl*
2001-08-26 13:24:38 +00:00
Adam Olsen 74e9786cd1 Extend PF_Find to support searching for different field types 2001-08-26 06:35:03 +00:00
Ragnvald Maartmann-Moe IV 6e73ba0e7a Whitespace, plus comment out unused code. 2001-08-26 01:08:09 +00:00
Adam Olsen 72f91dc9bc comment cleanups, and a little harmless (?) bugglet fix in the
charcount builtin's error handling code.
2001-08-26 00:05:31 +00:00
Adam Olsen e9ec5f867f A few tweaks and cleanups 2001-08-22 05:37:50 +00:00
Adam Olsen 17ba7ef92f - move alot of the builtins to libQFgamecode_builtins
- move the init into qw and nq
2001-08-22 03:24:25 +00:00
Adam Olsen 1314c89b6c - add libs/gamecode/builtins subdir, with libQFgamecode_builtins.la
- add .gitignore files
- fix building :)
2001-08-21 22:34:20 +00:00