Commit Graph

27 Commits

Author SHA1 Message Date
Bill Currie 88b4046632 [util] Pass a data pointer to shutdown functions
And clean up the mess.
2020-03-22 00:57:54 +09:00
Bill Currie 34bcf7faab Do a pure/const/noreturn/format attribute pass.
I always wanted these, but as gcc now provides warnings for functions that
could do with such attributes, finding all the functions is much easier.
2018-10-09 12:42:21 +09:00
Bill Currie f5501fbf24 Fix a pile of automake deprecation warnings.
s/INCLUDES/AM_CPPFLAGS/g

I <3 sed :)
2013-11-24 13:11:50 +09:00
Bill Currie ce6ab908a5 Don't include the specific plugin headers in plugin.h.
This lets files that use plugins not depend on plugins they don't use.
2012-02-13 22:02:07 +09:00
Bill Currie 02d24189ef Use QF_NEED for plugins.
At the moment, the selection of the default sound driver etc is broken.
2012-02-12 11:37:25 +09:00
Bill Currie 9fbff2f4d5 Do an audit of the Makefile.am files.
o All instances of LIBADD/LDADD have a corresponding DEPENDENCIES
    specificatiion.
  o libraries now use a lib_ldflags macro to keep things consistent
  o duplication of source/lib names has been minimized (particularly in
    the libraries; more work needs to be done for the executables)
  o automake spec blocks have been organized (again, more work needs to be
    done for the executables)
2012-02-07 16:04:19 +09:00
Bill Currie cc5140e3a1 Move min/max/bound and field_offset into better locations.
min/max bound into mathlib.h (they /are/ math functions, after all) and
field_offset into qtypes.h.
2011-12-24 10:04:33 +09:00
Bill Currie a71acc9ae5 Move the essential init code into Sys_Init(). 2011-09-11 14:56:47 +09:00
Bill Currie 0dfff8fd58 ignore stuff 2010-08-07 10:42:09 +00:00
Bill Currie d66934942d nuke Con_Printf and Con_DPrintf and use Sys_* instead 2007-11-06 10:17:14 +00:00
Ragnvald Maartmann-Moe IV 1f04776ad1 Mostly whitespace. 2003-02-13 00:06:24 +00:00
Ragnvald Maartmann-Moe IV 6466f44ed3 x86-64 fix from Mike A. Harris. 2003-02-12 23:56:29 +00:00
Bill Currie 8ff653a142 forgot to clean up the net headers 2003-02-12 19:41:44 +00:00
Bill Currie 84f90f904c more cleanup 2003-02-12 18:36:14 +00:00
Bill Currie 7e968f0837 fix up unknown packet output 2003-02-12 17:46:48 +00:00
Bill Currie 5c6b3c1968 various cleanups 2003-02-12 17:15:03 +00:00
Ragnvald Maartmann-Moe IV 3fbb55f8ad More variable declares in the middle of functions. gcc 2.95 does not seem to like this at all... 2003-02-12 06:53:38 +00:00
Ragnvald Maartmann-Moe IV 872c2f5c5f Attempt to fix alphageek's compile problem, and clean up other horrors. 2003-02-12 06:24:30 +00:00
Bill Currie e74d05c12b oops, didn't mean to link hw-master staticly 2003-02-12 04:48:45 +00:00
Bill Currie cd448e12ce initialize the cmd and cvar stuff properly (hey, look, pretty console with
+set sv_use_curses 1:)
2003-02-12 02:39:24 +00:00
Bill Currie 21d8b4f8dc link in hw, move the qw and nq networking code into libs/net and make
hw-master use libnetchan. there are evil include hacks that will need to be
taken care of in net*.[ch]
2003-02-11 22:48:57 +00:00
Bill Currie ab7c31032e link against the correct lib :P 2003-02-10 21:39:38 +00:00
Bill Currie caa5579e39 don't need these any more 2003-02-10 21:10:28 +00:00
Bill Currie 920b5b2a29 cvs ignorage 2003-02-10 21:09:54 +00:00
Bill Currie ee56645e76 d'oh 2003-02-10 21:06:30 +00:00
Bill Currie 36c67684a4 "it compiles, but it's a dirty hack" 2003-02-10 21:06:03 +00:00
Bill Currie 5ca662ae92 put in the beginnings of my hw-master port. /NOT/ tied into the build yet
so it won't affect 0.5.3 at all.
2003-02-10 19:31:45 +00:00