the -no_function_starts and -no_data_in_code_info linker flags to avoid
generation of LC_FUNCTION_STARTS and LC_DATA_IN_CODE load commands in the
final image, so that the library is usable with Xcode 3.2.6 and its tools.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1186 af15c1b1-3010-417e-b628-4374ebc0bcbd
do set svn:mime-type application/octet-stream on SDL binary files.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1184 af15c1b1-3010-417e-b628-4374ebc0bcbd
keep the cross-build stuff only in the scripts. update the explanations in
windows and darwin makefiles.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1183 af15c1b1-3010-417e-b628-4374ebc0bcbd
treat '-F dir' the same as '-Fdir' and fails, so directly use -Fdir as
LDFLAGS, instead of -Wl,-F,dir .
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1182 af15c1b1-3010-417e-b628-4374ebc0bcbd
Update .cbp and .vcproj file to refer to our copy of SDL/SDL2 rather than looking in C:\
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1174 af15c1b1-3010-417e-b628-4374ebc0bcbd
Fixes a bug where if you do "map e1m6" then "kill", the fullbright part of the key texture is missing (drawn in black) - this bug was introduced in 0.90.0.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1168 af15c1b1-3010-417e-b628-4374ebc0bcbd
fix, and applying a fix for another metadata vulnerability. (xiph.org git,
commits b4b2910, fed0dfa, and 033af7b.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1167 af15c1b1-3010-417e-b628-4374ebc0bcbd
When cvar vid_desktopfullscreen is set to 1, fullscreen mode ignores vid_width/vid_height and uses the desktop resolution. SDL docs recommend using this, it's supposed to offer better OS integration.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1164 af15c1b1-3010-417e-b628-4374ebc0bcbd
Prior to r1153 it was 32 for maps and MAX_OSPATH for mods.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1158 af15c1b1-3010-417e-b628-4374ebc0bcbd
Avoids general bugginess of hardware gamma, doesn't affect the whole screen in windowed mode like HW gamma. Should fix http://sourceforge.net/p/quakespasm/bugs/5/
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1157 af15c1b1-3010-417e-b628-4374ebc0bcbd
TODO: currently using a char[MAX_OSPATH] buffer to store map/mod names in the completion list which is probably unnecessairly large
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1153 af15c1b1-3010-417e-b628-4374ebc0bcbd
Copied from the "map" autocompletion code, now I should probably refactor because most of the code could be shared.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1152 af15c1b1-3010-417e-b628-4374ebc0bcbd
In GL_MakeAliasModelDisplayLists, after saving the standerd triangle strips and fans onto the hunk, if the system is GL2 capable, we also save a second version of the mdl on the hunk designed to be loaded into a VBO (GL_MakeAliasModelDisplayLists_VBO). In R_NewMap, and on video mode changes, we call GLMesh_LoadVertexBuffers which loops over all precached mdl's and loads the data into a pair of VBO's (vertices and vertex indices).
Finally, in R_DrawAliasModel, assuming no rendering options are disabling the fast-path (r_drawflat 1, r_lightmap 1, or r_fullbright 1 would disable it), we call GL_DrawAliasFrame_GLSL, which sets up all of the bindings and draws the (possibly lerped) mdl in one glDrawElements call.
Special thanks to MH for some of the code from RMQEngine and the general concept.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1151 af15c1b1-3010-417e-b628-4374ebc0bcbd
Reasoning is, we default to the higher-quality settings for everything else except this.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1150 af15c1b1-3010-417e-b628-4374ebc0bcbd
- recompile FLAC decoder with a fix for free-ing of unitilialized
pointer (flac git, commit 18a4854)
* recompile opus decoder with a fix for avoiding undefined behavior
(signed arithmetic overflow) or implementation-defined behavior
(malloc(0)) on out-of-range arguments (opus git, commit 25b27a9)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1148 af15c1b1-3010-417e-b628-4374ebc0bcbd
This is done by adding an extra 'demopaused' flag to client_static_t, separate from cl.paused because we don't want a svc_setpause inside the demo (caused by the player pausing during recording) to actually pause demo playback. The only potential failure case is, if the demo contains a svc_stufftext of the command "pause", the demo will pause itself when being played.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1147 af15c1b1-3010-417e-b628-4374ebc0bcbd
Fixes a bug where if you launched QS and immediately did "playdemo [something]", after the demo finished, demo1.dem would start to play instead of returning to the console.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1146 af15c1b1-3010-417e-b628-4374ebc0bcbd