Commit graph

7091 commits

Author SHA1 Message Date
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
Bill Currie
99e8ef69ab Distribute and use bootstrap.
deb building relies on boostrap now (mostly to ensure there's no messy
autoconf files).
2010-12-23 16:48:40 +09:00
Bill Currie
54ebf64987 Forgot to remove rpmrc (no longer needed) 2010-12-23 16:19:38 +09:00
Bill Currie
a5e5df7084 Get rpms building again.
Need to make packages for jack, qtv and maybe sdl32, but that can wait.
2010-12-23 15:56:59 +09:00
Bill Currie
906187fb00 Make sure SND_OUTPUT_DEFAULT is always defined. 2010-12-23 15:56:03 +09:00
Bill Currie
32f7cd8b22 Get HTTP support (libcurl) working with mingw. 2010-12-23 13:18:43 +09:00
Bill Currie
2229c7557d Update cross-build scripts.
They're hard-coded for my current setup, but easy to fix.
2010-12-23 11:45:08 +09:00
Bill Currie
de04e1b602 Lots of win32 (mingw cross) build fixes.
HTTP (curl) support is missing, but everything else builds.
2010-12-23 11:40:16 +09:00
Bill Currie
17b37e93b2 Remove some no longer necessary evil hacks. 2010-12-23 11:38:00 +09:00
Bill Currie
8a96e91315 Fix -lpthread vs -pthread detection.
-lpthread needs to be in LIBS, not LDFLAGS
2010-12-23 11:36:58 +09:00
Bill Currie
0173ba07b4 Prefer int over long for (u)int32_t.
WHen int and long are the same size, it feels better to use int. More
importantly, it keeps things simple for linux builds vs mingw builds.
2010-12-23 09:47:05 +09:00
Bill Currie
29adc2ed92 Add a todo item.
I'd forgotten I wanted to do playback, but was reminded by OneManClan when
he asked about it in a general sense.
2010-12-23 09:43:34 +09:00
Bill Currie
75f2102adc Do the incoming/outgoing sequence checks before doing anything.
This fixes the bogus ping times found while checking out klik with qqshka.
2010-12-22 13:10:27 +09:00