]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Thu, 7 Jan 2010 01:12:33 +0000 (01:12 +0000)]
reduce stack requirements
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9798
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 6 Jan 2010 19:29:45 +0000 (19:29 +0000)]
only clear depth buffer bit for shadowmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9797
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 6 Jan 2010 19:15:31 +0000 (19:15 +0000)]
only issue one clear for 2D/rect shadowmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9796
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 23:52:37 +0000 (23:52 +0000)]
fix some bugs with cgGL path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9795
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:12:41 +0000 (20:12 +0000)]
I used the code from before the utf8 changed but it used to allow to access invalid memory - fixed that
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9794
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:10:00 +0000 (20:10 +0000)]
with utf8 disabled, str2chr should now behave the way it used to
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9793
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:04:38 +0000 (20:04 +0000)]
with utf8 disabled VM_str2chr should not use U+E0xx codes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9792
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:54:24 +0000 (18:54 +0000)]
textureGatherOffset fix - take #2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9790
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:48:57 +0000 (18:48 +0000)]
don't use textureGatherOffset as Catalyst GLSL doesn't appear to implement it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9789
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:37:00 +0000 (18:37 +0000)]
fixed signed vs. unsigned warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9787
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:34:06 +0000 (18:34 +0000)]
fixed missing \n"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9786
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 18:21:52 +0000 (18:21 +0000)]
fixing a possible invalid memory access spotted by a_grue
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9785
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 18:21:35 +0000 (18:21 +0000)]
fix some shader compile errors related to MODE_LIGHTDIRECTION
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9784
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 17:20:09 +0000 (17:20 +0000)]
Make SHADERPERMUTATION_COUNT be the actual size of the array.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9783
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 09:33:35 +0000 (09:33 +0000)]
remove support for GL_EXT_compiled_vertex_array extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9782
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 09:16:24 +0000 (09:16 +0000)]
fix r_hdr intensity problems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9781
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 05:49:58 +0000 (05:49 +0000)]
implemented obj model loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9780
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Jan 2010 23:02:37 +0000 (23:02 +0000)]
fix GLSL compile error on cubemap lights with deferred rendering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9779
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Jan 2010 20:06:03 +0000 (20:06 +0000)]
renamed r_frame to r_textureframe for better readability and made it
increment on every scene render
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9778
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Jan 2010 19:29:33 +0000 (19:29 +0000)]
moved R_Mesh_TexCoordPointer, R_Mesh_ColorPointer, GL_BlendFunc, and
GL_AlphaTest calls to R_SetupShader_Surface for a slight speed gain
(less texcoord arrays active now in some cases)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9777
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 4 Jan 2010 10:56:38 +0000 (10:56 +0000)]
patch by a_grue: fix some memory leaks in the GLX client - the manpages confirm that the data has to be freed by the caller
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9776
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 3 Jan 2010 20:50:16 +0000 (20:50 +0000)]
allow entity number reuse during PRVM_ED_LoadFromFile to get consistent entity numbering on map loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9775
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 3 Jan 2010 20:28:52 +0000 (20:28 +0000)]
When loading savegames, unlink all edicts first. This prevents bugs from happening on loading games when an entity number was used by the spawnfunctions of the map, but not by the savegame.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9774
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 3 Jan 2010 15:02:04 +0000 (15:02 +0000)]
r_glsl_dumpshader: shaderpermutationinfo[i].pretext needs to be checked, otherwise it tries to use NULL in FS_Write and segfaults
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9773
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 3 Jan 2010 11:46:38 +0000 (11:46 +0000)]
width_of_factor is now useless since it's always equal to dw - replaced it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9772
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 3 Jan 2010 11:43:08 +0000 (11:43 +0000)]
Do not load sizes < 0 at all.
Trying a different snapping approach for width_of which doesn't ignore fnt->scale in DrawQ_* functions.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9771
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sat, 2 Jan 2010 17:13:23 +0000 (17:13 +0000)]
load the freetype library in Font_Init already, and don't call Font_Init twice
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9770
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 2 Jan 2010 17:03:26 +0000 (17:03 +0000)]
upload all q1bsp lightmaps on first frame, rather than waiting for
surfaces to become visible
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9769
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sat, 2 Jan 2010 16:33:02 +0000 (16:33 +0000)]
on mac it's libfreetype.dylib and/or libfreetype.6.dylib
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9768
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sat, 2 Jan 2010 16:03:02 +0000 (16:03 +0000)]
with mingw I get a libfreetype-6.dll so I guess the win32 DLL list for freetype should contain it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9767
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Jan 2010 21:42:19 +0000 (21:42 +0000)]
speed up PNG saving by about factor 4 by using fastest zlib mode, and no filters. Who cares for this small increase of file size.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9766
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Fri, 1 Jan 2010 17:04:55 +0000 (17:04 +0000)]
reset prevch after drawing the shadow to not kern the last shadow-character with the first normal character
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9765
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Jan 2010 13:57:28 +0000 (13:57 +0000)]
again, a stupid fix for stupid MSVC not supporting a 11 years old C standard
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9764
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Jan 2010 13:56:07 +0000 (13:56 +0000)]
fix a typo in the pixel snapping
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9763
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Jan 2010 13:35:40 +0000 (13:35 +0000)]
patch by Blub and me:
- width_of: separate snapped character width array per-size
- snap fonts at load time, not at render time (saves on render time)
- fix font size snapping to both compare width and height
- r_font_kerning cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9762
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 31 Dec 2009 14:47:18 +0000 (14:47 +0000)]
make the JPEGs progressive
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9761
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 31 Dec 2009 14:44:18 +0000 (14:44 +0000)]
new cvar: scr_screenshot_png (and obvious PNG screenshotting code to support it)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9760
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Thu, 31 Dec 2009 09:56:34 +0000 (09:56 +0000)]
Check sfx->fetcher instead of ch_ind < 0 before freeing an sfx, since ch_ind < 0 does NOT mean the sfx file didn't exist, but that it failed to play for other (unlikely) reasons.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9759
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 31 Dec 2009 09:32:14 +0000 (09:32 +0000)]
notice the input data has no useful data on the alpha channel, and fall back to RGB texture compression (DXT1).
Saves GPU memory when compressing textures.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9758
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 31 Dec 2009 00:19:08 +0000 (00:19 +0000)]
due to performance issues with streaming ogg decoding of all sounds, the
cvar snd_streaming has been brought back from r9487 and defaults to 1
(decode small sounds at load), a new mode of 2 has been added
snd_streaming 0 = always load entire sound, 1 = decode small sounds, 2 =
never decode at load (least memory, slow)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9757
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 22:33:59 +0000 (22:33 +0000)]
do not set hasalphaflag on dds images that have alpha but were loaded
without TEXF_ALPHA
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9756
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 20:03:51 +0000 (20:03 +0000)]
default r_lerpsprites to 0 because it causes flickering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9755
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 19:40:42 +0000 (19:40 +0000)]
remove an unused variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9754
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 19:37:33 +0000 (19:37 +0000)]
change WIN64RELEASE options
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9753
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 19:27:03 +0000 (19:27 +0000)]
buffer up to 32 recent frame numbers for clc_ack to prevent entity
resyncs on the server when the client framerate is much lower than the
server framerate, repeat frame numbers of previous input packet
(cl_netrepeatinput cvar, just like clc_move repeats)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9752
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 16:42:21 +0000 (16:42 +0000)]
fix water rendering bugs where the clipping plane was not being used
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9751
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 13:37:17 +0000 (13:37 +0000)]
fix engine version display
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9750
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 12:19:31 +0000 (12:19 +0000)]
added WIN64RELEASE flags
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9749
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 12:19:15 +0000 (12:19 +0000)]
fix water rendering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9748
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 11:27:53 +0000 (11:27 +0000)]
remove some unwanted debug prints
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9747
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 11:24:51 +0000 (11:24 +0000)]
don't spatialize twice :P
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9746
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 11:24:10 +0000 (11:24 +0000)]
hopefully fix a race condition in S_StartSound
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9745
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Wed, 30 Dec 2009 11:09:00 +0000 (11:09 +0000)]
get rid of a warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9744
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 11:05:08 +0000 (11:05 +0000)]
add back -fno-strict-aliasing to hush warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9743
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 09:26:56 +0000 (09:26 +0000)]
more redundant suffix elimination
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9742
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 09:14:48 +0000 (09:14 +0000)]
remove redundant _Size suffix from textwidth functions, as now all of them would have it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9741
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 09:10:19 +0000 (09:10 +0000)]
fix alignment of fps counter with ft2 fonts, and other alignment issues
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9740
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 07:54:24 +0000 (07:54 +0000)]
add the intoverflow lib
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9739
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 07:54:06 +0000 (07:54 +0000)]
handle integer overflow when DDS loading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9738
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 07:40:48 +0000 (07:40 +0000)]
fix the overflow checks :(
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9737
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Dec 2009 07:38:47 +0000 (07:38 +0000)]
DDS: handle file size errors
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9736
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Dec 2009 02:21:16 +0000 (02:21 +0000)]
implemented support for caching compressed textures (.dds files),
disabled by default
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9735
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 29 Dec 2009 14:04:29 +0000 (14:04 +0000)]
using tables for u8_analyze to speed it up
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9734
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 29 Dec 2009 12:11:00 +0000 (12:11 +0000)]
fix declaration of buildstring
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9733
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 29 Dec 2009 11:33:58 +0000 (11:33 +0000)]
make the utf8 casting strict aliasing-safe
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9732
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 29 Dec 2009 07:09:06 +0000 (07:09 +0000)]
improve the just added macros to not cause anything unexpected if passed a wrong pointer type
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9731
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 29 Dec 2009 07:06:37 +0000 (07:06 +0000)]
factor out the non-utf8 part of u8_get*char into macros
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9730
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 28 Dec 2009 21:16:27 +0000 (21:16 +0000)]
don't explicitly enable GL_ARB_shadow extension in GLSL code (shouldn't be necessary according to spec)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9729
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Dec 2009 19:54:16 +0000 (19:54 +0000)]
fix a NULL free attempt
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9728
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 28 Dec 2009 19:53:04 +0000 (19:53 +0000)]
fix stray semicolon
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9727
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 17:16:44 +0000 (17:16 +0000)]
added developer_font, set > 100 to also dump the generated images
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9726
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Dec 2009 14:29:05 +0000 (14:29 +0000)]
removed TEXF_MANUALFLUSHUPDATES flag, now bufferpixels flushing occurs
automatically when R_Mesh_TexBind uses the texture
changed default value of gl_nopartialtextureupdates from 0 to 1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9725
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Dec 2009 14:04:06 +0000 (14:04 +0000)]
moved almost all R_GetTexture calls into R_Mesh_TexBind
removed R_Mesh_TexBindAll
R_Mesh_TexBind now only takes one texture parameter, an rtexture_t *
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9724
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Dec 2009 14:03:46 +0000 (14:03 +0000)]
exposed two more fields in rtexture_t, now texnum is always non-zero but
there is a dirty flag, and there is a gltexturetypeenum for use by
binding code
eliminated internal flags GLTEXF_UPLOAD and GLTEXF_DESTROYED
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9723
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 28 Dec 2009 14:02:15 +0000 (14:02 +0000)]
fix font glyph loading coordinates - now unhinted works
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9722
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 28 Dec 2009 13:21:36 +0000 (13:21 +0000)]
reduced the options in LDFLAGS_WINCOMMON and added them to their
respective builds instead, so that LDFLAGS_WINCOMMON can easily be set
to nothing on the commandline for mingw64 builds
(where --large-address-aware produces a compile error)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9721
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 28 Dec 2009 13:21:19 +0000 (13:21 +0000)]
more cvars: r_font_antialias (0, 1)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9720
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 12:08:54 +0000 (12:08 +0000)]
try using imagefont from fallbacks as well (.tga and .width)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9719
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 28 Dec 2009 12:05:09 +0000 (12:05 +0000)]
remove a no longer applying fixme comment
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9718
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 28 Dec 2009 11:47:55 +0000 (11:47 +0000)]
added masking to Con_DrawConsole, and removed it from the height and draw functions; switched back to the old backscroll code as it was faster with long consoles (less wordwrap invocations)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9717
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 11:40:41 +0000 (11:40 +0000)]
r_font_hinting cvar makes more sense: 0 no hinting, 1 force autohinting, 2 fullhinting, default: 2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9716
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 11:34:09 +0000 (11:34 +0000)]
cvar: r_font_autohinting added
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9715
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 11:00:24 +0000 (11:00 +0000)]
DrawQ_TextWidth_Font_Size for the engineversion string in the console
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9714
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Mon, 28 Dec 2009 10:24:32 +0000 (10:24 +0000)]
fixed an inconsistency in u8_analyze
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9713
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 27 Dec 2009 22:17:13 +0000 (22:17 +0000)]
with utf8 disabled, u8_byteofs must still behave correctly, also u8_bytelen w/o utf8 should not behave differently
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9712
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 20:13:15 +0000 (20:13 +0000)]
fix developer_extra and developer_insane cvar declarations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9711
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 13:12:57 +0000 (13:12 +0000)]
fix a bunch of type-punned pointer warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9710
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 13:11:08 +0000 (13:11 +0000)]
added StoreBigShort
added StoreLittleLong
added StoreLittleShort
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9709
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 13:05:57 +0000 (13:05 +0000)]
hush a warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9708
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 13:04:00 +0000 (13:04 +0000)]
reworked console rendering, now uses con_backscroll in a much more
direct way and has no glitches with developer cvar being toggled
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9707
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 12:14:43 +0000 (12:14 +0000)]
use less options, for compatibility with old gcc
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9706
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 12:02:58 +0000 (12:02 +0000)]
changed several Con_Printf calls to Con_DPrintf
added q3bsp stats printing (like q1bsp stats) and added mesh info
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9705
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 11:33:49 +0000 (11:33 +0000)]
added Con_MaskPrintf, Con_Printf/Con_DPrintf and friends are now just
wrappers for these
added console text filtering - the developer cvar now shows/hides
developer prints (Con_DPrintf) on the fly, these are still logged to
files and terminal output regardless of the cvar though
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9704
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 27 Dec 2009 10:49:34 +0000 (10:49 +0000)]
changed a ton of developer cvar checks into developer_extra/insane
checks, or simply Con_DPrintf calls
made developer a saved cvar
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9703
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 27 Dec 2009 09:52:49 +0000 (09:52 +0000)]
reducing error output in font loading (use developer != 0 to re-enable)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9702
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 27 Dec 2009 09:51:49 +0000 (09:51 +0000)]
use real pixels for r_textshadow instead of virtual ones
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9701
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 26 Dec 2009 18:59:15 +0000 (18:59 +0000)]
freetype: "loadfont" now uses virtual pixels, not real pixels, for font sizes, to be screen resolution independent. Requires loadfont commands to come after config.cfg.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9700
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sat, 26 Dec 2009 13:45:04 +0000 (13:45 +0000)]
these checks are now superfluous, u8_fromchar doesn't return values <0 anymore
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9699
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sat, 26 Dec 2009 13:42:27 +0000 (13:42 +0000)]
set the unicode value to 0 if no value exists, also changing u8_fromchar to not return values < 0 but just 0 - it's easier to use that way
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9698
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 26 Dec 2009 13:27:55 +0000 (13:27 +0000)]
fix asign error in a mostly unused physics code part :P
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9697
d7cf8633 -e32d-0410-b094-
e92efae38249