Commit Graph

7053 Commits

Author SHA1 Message Date
Jeff Teunissen cdf5ef2565 ipv6: Fix glibc defines 2010-12-29 06:36:43 -05:00
Jeff Teunissen ec11282a33 fix worldspawn sky keys in NQ.
sky/skyname/qlsky rather than sky/skyname/skyname :)
2010-12-28 15:03:58 -05:00
Jeff Teunissen 9f596df607 QW skybox handling
Since we clip the world properly even with skyboxes active, and the
'skybox' serverinfo doesn't do anything in any other engine I know of,
nuke the 'skybox' serverinfo entirely and use a nice short semi-standard
name ("sky") for the serverinfo containing the map's preferred skybox
(as potentially modified by the .ent file on the server).
2010-12-28 15:02:56 -05:00
Jeff Teunissen 8394b12528 ignore the qwtv eps/png files. 2010-12-28 14:57:43 -05:00
Bill Currie 3090a64faa Use the correct param for the full_new path.
This fixes the broken downloads.

*taniwha dons a brown paper bag.
2010-12-28 14:44:26 -05:00
Bill Currie 6e18c3df85 Make qfs developer prints a little more controllable. 2010-12-28 09:08:51 +09:00
Bill Currie 7946fec523 More cString cleanups.
I don't know that fileSystemRepresentation is any better than cString for
general usage (due to wchar on windows).
2010-12-28 07:42:08 +09:00
Bill Currie d29e8deb0a Use Qprintf for writing maps, and fileSystemRepresentation to get the path. 2010-12-27 23:18:43 +09:00
Bill Currie dc99bc19c5 Make sure the r_skyname serverinfo key gets cleared on map change.
This ensures that the map's sky is always used unless the client itself has
set its r_skyname cvar.  The server's r_skyname cvar is now the default
name for the skybox for when the map does not specify one. The map's sky
worldspawn field overrides this. The r_skyname cvar is no longer a
serverinfo cvar.
2010-12-27 23:12:46 +09:00
Bill Currie 1f0851cc61 Fix QFS_FilelistFill for pak files.
Forgot to ensure the path separator was included in the fnmatch param. This
fixes the broken *list commands.
2010-12-27 10:31:54 +09:00
Bill Currie fd96376b43 Forget skybox, it's r_skyname we want.
skybox has been irrelevent since I did that zclip hack for
skyboxes/skydome.
2010-12-27 10:03:37 +09:00
Bill Currie fdd59b9851 Support entity files in the client too.
I'd forgotten about .ent files when I wrote the client side map parsing
(fog/sky) support.
2010-12-27 09:34:24 +09:00
Bill Currie 97e8ab7f3a A bunch more NSString and NSFileManager usage.
It does make for cleaner could, though it would have been nice if NSData
was null terminated :P
2010-12-26 22:33:04 +09:00
Bill Currie 8e13a8327d Use NSFileManager methods instead of access().
This even fixes a bug where an inaccessible bspSound was being opened.
2010-12-26 21:07:55 +09:00
Bill Currie f105fbd6a0 Use NS* classes for QUAKED directory scanning.
The scanning of actual files is still done using normal C strings, but now
everything up to (but not including) opening the file is handled by *step.
2010-12-26 20:45:01 +09:00
Bill Currie 232c67640c Get the QUAKED text for nullclass right.
? is not a character that's lexed out by the script class.
This fixes the segfault when loading a map when no entities are defined
(ie, the mod's source code could not be found for QUAKED).
2010-12-26 19:06:39 +09:00
Bill Currie 70783e4bd5 Disable all sound calls if jack could not be contacted.
This fixes the file handle leak when jack is unavailable.
2010-12-25 20:31:14 +09:00
Bill Currie 90fcbefaff Don't use entity_t's next for linking static enitities. 2010-12-25 19:59:34 +09:00
Bill Currie 14480fd1b4 Move the call to R_ClearEnts to the renderer.
This fixes the hang on certain maps in qw-client.
2010-12-25 19:59:34 +09:00
Bill Currie e65d1a7ccf Remove a redundant assignment. 2010-12-25 19:59:34 +09:00
Jeff Teunissen 9defba8d92 Get rid of plugin versioning (again).
automake needs -avoid-version to be in Makefile.am, otherwise it doesn't
make libtool do the right thing...or something. My head hurts. ;)
2010-12-25 04:45:39 -05:00
Jeff Teunissen 7161000e10 Stop running ldconfig so damn much.
Also, more nuked files -- and see, I remembered there's a makefile in
this dir... :)
2010-12-25 02:32:44 -05:00
Bill Currie dea8f548cf Fix for make dist. 2010-12-25 14:04:17 +09:00
Jeff Teunissen 485bff62bd Clean up lintian warnings/errors
After this, should mostly be sonames and no-man-pages problems.
2010-12-24 17:12:58 -05:00
Jeff Teunissen 8653f9d9a7 Add a man page for zpak
It's lame, but so is zpak :)
2010-12-24 16:23:52 -05:00
Jeff Teunissen b874c28ad5 debian: fill out control
Clean up some lintian warnings, move some packages into more appropriate
sections.
2010-12-24 15:49:45 -05:00
Jeff Teunissen e1843f6273 debian: Don't do make .shlibs for plugins 2010-12-24 15:47:55 -05:00
Jeff Teunissen af8e2020da Tweak Debian package build
dh_strip -Xqfcc causes qfcc itself to not get stripped -- explicitly
disallow stripping of only lib/qfcc

Also, disable Werror in debian builds and make sure quakeforge-stub looks
in the same place the engine will.
2010-12-24 13:55:26 -05:00
Jeff Teunissen 42ba169024 tell dpkg-source we're using source format 1.0 2010-12-24 13:52:07 -05:00
Jeff Teunissen 3f5f08539d Set up (almost) the right dependencies.
add DGA / vidmode dev packages, libcurl-dev (may need to pick one explicitly though)
2010-12-24 13:51:43 -05:00
Bill Currie 526f132517 Minor tweaks. 2010-12-24 20:08:24 +09:00
Bill Currie 22072ee606 Update for the new qfcc headers/libs location. 2010-12-24 20:07:40 +09:00
Bill Currie 07163e7522 Fix for make dist. 2010-12-24 19:48:31 +09:00
Bill Currie c5edbf147a Move ruamoko libs and headers into ${prefix}/lib/qfcc 2010-12-24 19:39:54 +09:00
Jeff Teunissen b184739f03 Use qfcc's new unsigned constant qualifier for UINT_MAX 2010-12-24 05:09:14 -05:00
Jeff Teunissen d2a093ace4 Debian updates
debhelper changed a lot... :)
2010-12-24 05:08:29 -05:00
Jeff Teunissen bbc8154ec7 joystick fixes
Make /dev/input/js0 the default joy_device, and temporarily bump max
buttons to 18 (until I kill the maximums entirely)
2010-12-24 05:03:32 -05:00
Jeff Teunissen 493466a8ec X targets don't need X_PRE_LIBS 2010-12-24 05:03:32 -05:00
Jeff Teunissen 02068f7092 Don't override a pre-set CFLAGS
Debian has optimization/debug requirements, so allow dpkg-buildpackage to
set CFLAGS and have it be respected.
2010-12-24 05:03:31 -05:00
Jeff Teunissen 81d927c702 rename Runtime.h -- it's not a class. 2010-12-24 05:03:31 -05:00
Bill Currie 1a767849ab Sort the options in the switch.
Should make finding them a little easier.
2010-12-24 17:35:33 +09:00
Bill Currie d6b3d4891a Finally, help output for qfprogs.
Nothing great, but better than nothing.
2010-12-24 17:33:57 +09:00
Bill Currie ce64227a71 Fix for debian wildmidi.
This might break lenny :/
2010-12-24 17:33:09 +09:00
Bill Currie f4d8b82115 Rearrange the options into alpha order. 2010-12-24 17:08:48 +09:00
Bill Currie 51b98ee758 Correct some errors. 2010-12-24 11:07:47 +09:00
Bill Currie 33e9fbba32 Win32 packaging improvements. 2010-12-24 10:41:09 +09:00
Bill Currie a57717e2ab Update my release script. 2010-12-24 09:51:07 +09:00
Bill Currie 732745c0ec Get the zip dist targets working.
The icon had changed names and a new icon was added. zip didn't appreciate
that.
2010-12-24 08:32:17 +09:00
Bill Currie 28740bb57f Add unsigned integer constant support. 2010-12-23 19:32:28 +09:00
Bill Currie 7934e29473 Fix up my big build script. 2010-12-23 16:51:02 +09:00