]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Thu, 28 Feb 2008 10:35:29 +0000 (10:35 +0000)]
fix a bug in FS_ChangeGameDirs (it was doing a CL_Disconnect - can't do
that because when connecting to a QW server it disconnects)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8157
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 28 Feb 2008 10:01:04 +0000 (10:01 +0000)]
reworked min/avg/max fps report in timedemo, now works again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8156
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 28 Feb 2008 03:35:17 +0000 (03:35 +0000)]
fixed a problem with snd_renderbuffer->endframe being updated in the
wrong place, causing windows waveOut audio to fail
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8155
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Wed, 27 Feb 2008 22:59:43 +0000 (22:59 +0000)]
I must have been smoking cannabis when I wrote this (a pity I dont smoke cannabis). Fix CSQC_Ent_Spawn handling.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8154
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Wed, 27 Feb 2008 22:11:08 +0000 (22:11 +0000)]
Don't try to render something when height or width are zero.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8153
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Feb 2008 19:04:49 +0000 (19:04 +0000)]
Make the "no such builtin" message more descriptive
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8152
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Feb 2008 16:49:00 +0000 (16:49 +0000)]
|sort
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8151
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 16:34:09 +0000 (16:34 +0000)]
DP_QC_NUM_FOR_EDICT extension implemented by Blub
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8149
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 16:05:58 +0000 (16:05 +0000)]
slight change in location of a piece of code, should have no effect
(this makes it closer to the way it was)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8148
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 16:04:46 +0000 (16:04 +0000)]
fix a typo (but it was harmless)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8147
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 15:22:17 +0000 (15:22 +0000)]
implemented threaded audio mixing for SDL client (required some
minor clean up of S_PaintAndSubmit and the functions it called, the
buffer painting management makes a lot more sense now)
fixed bug with looping sounds mixing sound to the wrong part of the
buffer after looping (uses a pointer instead of paintbuffer now)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8146
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Feb 2008 14:01:55 +0000 (14:01 +0000)]
oops... double builtins suck
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8145
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Feb 2008 13:54:22 +0000 (13:54 +0000)]
oops... use upper case hex, as that matches URI::Escape module (HTTP allows both)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8144
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Feb 2008 13:51:57 +0000 (13:51 +0000)]
DP_QC_URI_ESCAPE
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8143
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 11:52:29 +0000 (11:52 +0000)]
one last try to beat the OSX texture scrolling bug (set activetexture
and clientactivetexture - even though only the former is needed, and do
so before switching the matrixmode to texture)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8142
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 11:35:48 +0000 (11:35 +0000)]
fix bug in wav loader that messed up loopstart, now looping sounds in
quake work properly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8141
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 08:43:29 +0000 (08:43 +0000)]
fix toggle command's error message for cvars that are not found (thanks
to metlslime for reporting this)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8140
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 05:57:26 +0000 (05:57 +0000)]
disable adaptive mixahead when soundtimehack is non-zero (recording,
etc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8139
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Feb 2008 05:47:57 +0000 (05:47 +0000)]
implemented adaptive mixahead at low framerates (ones too low for the
current _snd_mixahead value)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8138
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Feb 2008 12:28:33 +0000 (12:28 +0000)]
audited PixelFormat setup code and made it request appropriate bit
depths
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8137
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Tue, 26 Feb 2008 11:27:24 +0000 (11:27 +0000)]
Change GLX visual acquisition to also try without sample buffers if samples == 1 - some Mesa drivers don't provide visuals with any sample buffer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8136
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Feb 2008 09:56:01 +0000 (09:56 +0000)]
disabled cull face on lightning beams
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8135
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Feb 2008 09:55:47 +0000 (09:55 +0000)]
made r_showbboxes disable cull face
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8134
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Feb 2008 17:06:33 +0000 (17:06 +0000)]
oops... too many colors in xpm
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8133
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Feb 2008 15:09:03 +0000 (15:09 +0000)]
remove misleading print from FS "My Games" code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8132
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 25 Feb 2008 13:07:10 +0000 (13:07 +0000)]
Move rt* states and the ambient value into r_refdef_scene. Menu now uses fullbright rendering as default.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8131
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Feb 2008 10:29:30 +0000 (10:29 +0000)]
fix fields.server reference in surface attribute code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8130
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Feb 2008 07:49:34 +0000 (07:49 +0000)]
475
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8129
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Feb 2008 07:49:10 +0000 (07:49 +0000)]
fix bug with r_novis 1 not enabling r_wateralpha support on unvised maps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8128
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Feb 2008 07:48:46 +0000 (07:48 +0000)]
fix bug with rtlights not being imported from the map sometimes (caused
by previous level having a lot of lights, exposing a bug in
Mem_ExpandableArray_IndexRange)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8127
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Feb 2008 00:24:12 +0000 (00:24 +0000)]
patch from Blub that fixes csqc polygon rendering
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8126
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 23 Feb 2008 21:44:51 +0000 (21:44 +0000)]
libjpeg writing: turn off chroma subsampling. Really improves how strong colors look on screenshots (like, red healthpack models or text no longer appear blurred)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8125
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sat, 23 Feb 2008 10:27:46 +0000 (10:27 +0000)]
Revert revisions 7946 and 7767. R_Upload now doesn't pass NULL data pointers on to GL (specs and drivers don't like it).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8124
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 22 Feb 2008 22:43:06 +0000 (22:43 +0000)]
don't link dxguid.lib or dinput.lib anymore, since they're now unused
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8123
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 22 Feb 2008 05:30:33 +0000 (05:30 +0000)]
set csqc world.mins and world.maxs (reworked World_SetSize to make this
easier)
moved the qc SV_Shutdown in Host_ShutdownServer to before clients are
kicked off
added qc SV_Shutdown call in SV_SpawnServer (before the progs reset)
fixed a bug with failed changelevel (which was unloading world)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8122
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 22:31:34 +0000 (22:31 +0000)]
patch from Blub that fixes DrawQ_Line with GLSL mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8121
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 11:50:57 +0000 (11:50 +0000)]
fix severe bug in my previous screensaver-disable patch that caused all
window widgets to be ignored (minimize, close, etc)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8120
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 11:40:53 +0000 (11:40 +0000)]
another todo item for csqc spec changes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8119
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 10:21:41 +0000 (10:21 +0000)]
added #ifdef SUPPORTDIRECTX checks around all the dinput and dsound code
- this means that dinput and dsound is not removed but is disabled,
making it easier to compile with Dev-C++ and stock MSVS, this may have
bad consequences (some people swear by -dinput, and dsound was used by
default unless -wavonly was specified, so this is a behavior change)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8118
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 09:36:14 +0000 (09:36 +0000)]
go back to using main - apparently some platforms don't use SDL_main
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8116
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 09:25:11 +0000 (09:25 +0000)]
made missing gamedir errors non-fatal warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8115
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 07:49:06 +0000 (07:49 +0000)]
added Dev-C++ project for SDL client
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8113
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 07:48:46 +0000 (07:48 +0000)]
changed main to SDL_main for simplicity reasons
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8112
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 06:18:11 +0000 (06:18 +0000)]
added DP_QC_EDICT_NUM extension to list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8111
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 06:03:27 +0000 (06:03 +0000)]
fix addstat type parameter, swapped 8 and 2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8108
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 21 Feb 2008 04:16:49 +0000 (04:16 +0000)]
fix bug in csqc getplayerkey reported by Blub
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8107
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 20 Feb 2008 06:04:12 +0000 (06:04 +0000)]
fix warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8106
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 19 Feb 2008 23:01:27 +0000 (23:01 +0000)]
changed hostname for tchr's master from excalibur.nvg.ntnu.no to
dpmaster.tchr.no
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8105
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 18 Feb 2008 19:15:33 +0000 (19:15 +0000)]
removed tag override support in .skin files - because Quake3 actually
doesn't do that (it doesn't use the tag names in .skin at all)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8104
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Fri, 15 Feb 2008 19:31:27 +0000 (19:31 +0000)]
Fix a parameter switch typo in the linux code.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8101
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Fri, 15 Feb 2008 15:03:06 +0000 (15:03 +0000)]
New attempt to change listdirectory.
FS_Search now also correctly processes wildcards everywhere (models/players/*/*.skin works now).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8100
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 15 Feb 2008 10:07:37 +0000 (10:07 +0000)]
split Mod_GetMesh_Vertices into 3 AnimateVertices functions, chosen by
model loaders, this should improve compile times a bit in MSVS
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8099
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 23:03:24 +0000 (23:03 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8098
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 23:03:11 +0000 (23:03 +0000)]
always call Sleep(0) at the end of each frame on Windows, I hope this
fixes problems with Logitech input drivers freezing the game for 50+
milliseconds every 3 seconds or so, and has no harm to framerate in
testing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8097
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 23:01:28 +0000 (23:01 +0000)]
remove cl_alwayssleep, it only does what we want on Windows
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8096
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 23:01:01 +0000 (23:01 +0000)]
remove an unnecessary check in Sys_Sleep
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8095
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 14 Feb 2008 20:57:01 +0000 (20:57 +0000)]
Fix it.. nah I'm just reverting :D
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8094
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 14 Feb 2008 20:41:07 +0000 (20:41 +0000)]
Fix something Ive broken ofc.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8093
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 14 Feb 2008 20:12:35 +0000 (20:12 +0000)]
Append path in listdirectory automatically.
Remove .. and . from directory listings in the Win32 code, too.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8092
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 18:21:54 +0000 (18:21 +0000)]
slight cleanup of Sys_EventFilter
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8091
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 17:38:09 +0000 (17:38 +0000)]
implemented vid_samples cvar (antialiasing samples per pixel)
oh and for the record, Windows multisample buffer setup is awful.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8090
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 14:51:16 +0000 (14:51 +0000)]
disable screensaver on windows while game window is active
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8089
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 14:29:58 +0000 (14:29 +0000)]
added vid_vsync control in SDL
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8088
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 14:10:57 +0000 (14:10 +0000)]
added experimental cl_alwayssleep cvar which calls Sys_Sleep(0) at the
end of each frame
fixed a bug in the main loop that made Sys_Sleep be called with
milliseconds when it takes microseconds
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8087
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 14:09:14 +0000 (14:09 +0000)]
changed now showfps calculates the fps - hopefully an improvement
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8086
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 14 Feb 2008 11:08:08 +0000 (11:08 +0000)]
Nexuiz icon updated
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8085
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 14 Feb 2008 01:29:14 +0000 (01:29 +0000)]
remove unnecessary #include of quakedef.h
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8084
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 13 Feb 2008 21:45:49 +0000 (21:45 +0000)]
new Nexuiz icon... still waiting for .ico
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8083
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 12 Feb 2008 01:41:13 +0000 (01:41 +0000)]
changed ANGLEMOD to use floor instead of conversion to 16bit fixed-point
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8082
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 12 Feb 2008 01:37:56 +0000 (01:37 +0000)]
reworked cl.viewangles bounding of roll angle, and simplified pitch
handling
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8081
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 10 Feb 2008 21:37:14 +0000 (21:37 +0000)]
thanks to blub for locating the texture blending bug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8080
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 8 Feb 2008 10:16:22 +0000 (10:16 +0000)]
respect the conchars image width/height correctly, and only draw the needed part of the font rect - fixes connector characters in variable width fonts
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8079
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 6 Feb 2008 18:44:53 +0000 (18:44 +0000)]
make "set con_completion_commandname map" a command complete as if it were the "map" command
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8078
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 6 Feb 2008 16:51:02 +0000 (16:51 +0000)]
hopefully fix engine crash with map-less shader stages
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8077
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 6 Feb 2008 07:38:46 +0000 (07:38 +0000)]
disable joystick by default, and make joy_enable saved;
add extension DP_QC_CVAR_TYPE that checks what type a cvar is (like, if the engine created it or the mod, or if it is saved)
will write dpextensions.qc block for it later, a start of its description is in mbuiltin.h in Nexuiz
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8076
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Tue, 5 Feb 2008 18:15:09 +0000 (18:15 +0000)]
Comment out a line in setmodel again (needs fixing but wasn't in there before anyway)
Always clear the depth buffer in R_RenderView.
Use realtime as scene time when rendering the menu scene.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8075
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Tue, 5 Feb 2008 16:20:23 +0000 (16:20 +0000)]
Fix the VM's clientstate builtin to do a correct mapping between the client state and the menu's constants (now that the client state values have changed in DP itself).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8074
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 4 Feb 2008 21:09:03 +0000 (21:09 +0000)]
Fix a typo. Enjoy.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8073
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Feb 2008 11:47:04 +0000 (11:47 +0000)]
huge audit of dprints throughout engine, all notices of successfully
loading models/sounds/skins/etc are now tied to the cvar
developer_loading
added developer_loadfile cvar (prints every successful FS_LoadFile)
many improvements to consistency of loading notices, and some cleanups
to q3 shader handling
fixed annoying 'Bad dynamic texture name' spam at load
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8072
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Feb 2008 11:33:14 +0000 (11:33 +0000)]
fix bug that caused early console messages to not be put in console
history (because cls.state defaulted to ca_dedicated - now it defaults
to ca_uninitialized)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8071
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Feb 2008 11:24:42 +0000 (11:24 +0000)]
replaced World_Clear with World_SetSize and World_UnlinkAll
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8070
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Feb 2008 01:28:39 +0000 (01:28 +0000)]
modified droptofloor to try a downward trace from the bottom center of
the object if it is stuck, this manages to 'correctly' place many badly
placed entities in quake maps
additionally modified droptofloor to first try unsticking the entity
before dropping it (sv_gameplayfix_droptofloorstartsolid_nudgetocorrect)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8069
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 3 Feb 2008 12:42:04 +0000 (12:42 +0000)]
revert my change and fix the types on Black's changes, which were the
real problem (this revert only due to my change being slightly messier)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8068
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 3 Feb 2008 11:13:29 +0000 (11:13 +0000)]
added GAME_BLADEMASTER
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8067
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 3 Feb 2008 11:12:42 +0000 (11:12 +0000)]
fix Black's PRVM_EDICT_NUM_ERROR return type change which did not work
(0 is not the same as NULL, compilers get upset about that)
one other minor correction of the same kind
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8066
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 2 Feb 2008 18:38:38 +0000 (18:38 +0000)]
fix bugs with changing apple_mouse_noaccel and vid_dgamouse while grabbed (that previously could "destroy" mouse support until console gets pulled down and up)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8064
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Fri, 1 Feb 2008 16:21:37 +0000 (16:21 +0000)]
Rewrite CSQC's setmodel a bit.
Add support for CSQC_Ent_Spawn to csqc. A function that is called when a entity packet from the server arrives that requires a new entity.
entity( float entnum ) CSQC_Ent_Spawn;
CSQC_Ent_Spawn needs to spawn a new entity and set its .entnum field accordingly or simply return another existing entity or world if it wants to ignore that server entity. Subsequent CSQC_Ent_Update calls are routed to that entity (or CSQC_Ent_Spawn is called again when .Version increases).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8063
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Feb 2008 09:20:07 +0000 (09:20 +0000)]
fix broken table length, and yet another hardcoded index
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8061
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 1 Feb 2008 08:56:31 +0000 (08:56 +0000)]
- vid_userefreshrate: when 0, a sane default is tried to be used
- win32: list valid modes, and use the closest match
- win32: vid_forcerefreshrate: don't do the listing, but just try to set it anyway
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8060
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 1 Feb 2008 06:00:59 +0000 (06:00 +0000)]
renamed MATERIALFLAG_WATER to MATERIALFLAG_WATERSCROLL
changed all MATERIALFLAG_WATER materials to use MATERIALFLAG_WALL as
their primary material flag, this simplified some rendering code
did some more tweaks to fix issues with the mirror glass texture in
the tenebrae testmap
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8059
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 1 Feb 2008 05:51:21 +0000 (05:51 +0000)]
reassigned some GL20TU values to use only 11 texture slots
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8058
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 31 Jan 2008 10:53:07 +0000 (10:53 +0000)]
there was only a single way to mess it up, and I managed to find it... 1.0/int, not 1/int
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8057
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 31 Jan 2008 09:21:25 +0000 (09:21 +0000)]
new uniform "PixelSize" defined as (size_x, size_y) that is (1/texwidth, 1/texheight) for the postprocessing shader - user defined stuff may use it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8056
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Jan 2008 22:19:13 +0000 (22:19 +0000)]
oops, that should not have gone in there
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8055
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Jan 2008 22:18:16 +0000 (22:18 +0000)]
hide centerprint immediately when scr_centertime is 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8054
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 30 Jan 2008 08:41:03 +0000 (08:41 +0000)]
make "stopdownload" also stop curl downloads
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8053
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 30 Jan 2008 07:18:56 +0000 (07:18 +0000)]
fixed -tenebrae support, added glass and mirror rendering and caulk
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8052
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 29 Jan 2008 19:35:24 +0000 (19:35 +0000)]
fix div0's weird MODE_WATER ModelViewProjectionPosition declarations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8051
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 29 Jan 2008 19:28:53 +0000 (19:28 +0000)]
fix missing loc_Texture_GammaRamps lookup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8050
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 29 Jan 2008 19:19:41 +0000 (19:19 +0000)]
fix compile bug in glsl shader first
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8049
d7cf8633 -e32d-0410-b094-
e92efae38249