libretro-tyrquake/include
Kevin Shanahan ee389ca9a3 common: make COM_StripExtension work in-place
Rather than needing external checks on the output buffer, or adding a
"max length" parameter and needing to check for overflow, etc., make
COM_StripExtension modify the existing string.

Callers updated as needed.

A personal note that I finally realised that snprintf always zero
terminates the output buffer! So that should tidy up existing code a
little more and makes it an even better replacement for strncpy in
almost every case.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-19 11:50:17 +10:30
..
adivtab.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
anorm_dots.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
anorms.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
asm_draw.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
asm_i386.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
block8.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
block16.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
bspfile.h [PATCH] Remove ifdef'd out code from bspfile.h 2006-09-10 19:13:48 +09:30
cdaudio_driver.h [PATCH] Update null CD driver 2007-02-18 20:32:59 +10:30
cdaudio.h [PATCH] Move Windows CD message handler 2006-09-16 07:10:02 +09:30
cmd.h cmd: make Cbuf_AddText accept printf formatted strings 2012-12-18 15:35:38 +10:30
common.h common: make COM_StripExtension work in-place 2012-12-19 11:50:17 +10:30
console.h [PATCH] Add gcc "format" attribute to our printf style functions 2007-10-01 22:39:38 +09:30
crc.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
cvar.h common: constify COM_Parse and everything that follows... 2012-11-28 09:46:42 +10:30
d_iface.h model: create a model loading helper 2012-11-18 18:32:30 +10:30
d_ifacea.h model: remove skindesk pointer from r_affinetridesc 2012-11-17 21:22:33 +10:30
d_local.h draw: include bspfile.h for MAXLIGHTMAPS definition 2012-12-10 12:43:22 +10:30
draw.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
gl_warp_sin.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
glquake.h vid: Expect at least OpenGL 1.1 and glBindTexture 2012-12-11 19:52:28 +10:30
in_x11.h input: move X11 IN_Commands to in_x11.c 2012-12-09 18:14:33 +10:30
input.h input: fix hang on "Are you sure you want to start a new game?" with sdl 2012-12-08 07:04:13 +10:30
keys.h keys: make global keybindings[] strings const 2012-11-29 09:14:13 +10:30
list.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
mathlib.h mathlib: make vector math macros more robust 2012-11-27 11:03:16 +10:30
model.h build: use the Apple OpenGL framework for non-X11 OS X targets 2012-12-11 16:21:30 +10:30
modelgen.h model: make intervals part of daliasgroup_t struct 2012-10-29 13:37:03 +10:30
pr_comp.h [PATCH] Fix pr_strings_size calculation 2007-09-09 09:49:30 +09:30
progdefs-qw.h progs: merge progdefs.h header and move to include directory 2012-11-12 09:13:27 +10:30
progdefs.h progs: merge progdefs.h header and move to include directory 2012-11-12 09:13:27 +10:30
progs.h common: constify COM_Parse and everything that follows... 2012-11-28 09:46:42 +10:30
qtypes.h define offsetof if not already defined 2012-11-16 14:37:15 +10:30
quakeasm.h [PATCH] Remove duplicate exports in quakeasm.h 2006-09-16 07:05:45 +09:30
r_local.h screen: make local private functions/variables static 2012-12-18 09:18:40 +10:30
r_shared.h entities: push down constness of entities where possible 2012-11-25 15:49:46 +10:30
rb_tree.h [PATCH] Introduce container_of macro 2006-09-10 19:12:23 +09:30
render.h render: mark input vrect const in R_SetVrect 2012-12-17 13:40:58 +10:30
sbar.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
screen.h screen: make local private functions/variables static 2012-12-18 09:18:40 +10:30
sdl_common.h Fix SDL.h includes. 2012-12-11 20:38:13 +10:30
shell.h [PATCH] Old completions cleanup, part 2 2006-09-10 19:12:34 +09:30
sound.h sound: bump sound channel limits 2012-12-03 20:06:16 +10:30
spritegn.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
sys.h sys: remove now unused Sys_File* functions 2012-10-28 07:34:14 +10:30
vid.h gl: rip out support for OpenGL palettized textures 2012-12-11 12:47:19 +10:30
view.h [PATCH] Remove old (and broken) support for stereoscopic shutter glasses 2009-09-13 13:37:16 +09:30
wad.h Import v0.47 sources 2006-09-10 19:02:51 +09:30
winquake.h vid: Make modestate static in the windows vid drivers 2012-04-28 22:03:47 +09:30
world.h model: remove gl_model.h and use model.h everywhere 2012-11-19 13:22:30 +10:30
x11_core.h [PATCH] Dead code removal 2006-09-10 19:05:57 +09:30
zone.h zone: mark argument to Cache_Check as const 2012-12-02 14:22:46 +10:30