Commit Graph

989 Commits

Author SHA1 Message Date
Sander van Dijk bf62017608 Since it covers (part of) the weapon, make the statusbar somewhat more transparent by default.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@702 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 17:18:23 +00:00
Ozkan Sezer c8e8eab69b oslibs, codecs: minor libmad update
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@701 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-09-02 14:00:34 +00:00
Ozkan Sezer 21070374b8 added SDL_FRAMEWORK to GCC_PREPROCESSOR_DEFINITIONS in the Xcode project
file. further updating is still needed.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@700 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 05:15:52 +00:00
Ozkan Sezer 50e014d050 Updated support for building the OSX versions using Makefile.darwin. Do
not rely on sdl-config on OSX Framework builds, define new SDL_FRAMEWORK
and NO_SDL_CONFIG preprocessor macros to indicate that and include SDL.h
with the "SDL" subdirectory name included. Add new libmad and ogg/vorbis
headers and static and dynamic libraries for macosx. Xcode project files
need further updating.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@699 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-08-16 04:51:41 +00:00
Ozkan Sezer 4e3a75744c fixed compilation
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@698 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-19 05:40:16 +00:00
Ozkan Sezer cf7c3e1bdb cl_demo.c (CL_PlayDemo_f): set key_dest to key_game only when the
demo file is successfully opened.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@697 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 21:20:07 +00:00
Ozkan Sezer cc935a6d72 * cl_demo.c: for a command like "record demoname map [track]", don't
continue if the map cannot be started. do not continue if the demo
  file cannot be opened for the timedemo command. for playdemo, verify
  that the forcetrack '\n' byte appears among the very first 12 bytes
  of the file.
* r_world.c (R_MarkSurfaces): reset vis_changed to false.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@696 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-18 20:51:35 +00:00
Ozkan Sezer 3c08cf2e3c cl_main.c (CL_Disconnect): set cl.intermission to 0. Fixes a minor
intermission glitch which isn't hit easily. See Baker's notice at:
http://forums.inside3d.com/viewtopic.php?t=4944

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@695 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-16 17:00:24 +00:00
Ozkan Sezer 5f6a2d7820 Fixed increased (more than 32) dynamic lights.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@694 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-10 11:21:17 +00:00
Sander van Dijk f6c994ab47 Rework the linux icon a bit, also store smaller (indexed color)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@693 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 20:14:52 +00:00
Ozkan Sezer 6984b15fdb arch_def.h: Added GNU/Hurd defs.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@692 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 07:15:23 +00:00
Ozkan Sezer 23ca031b56 GNU/Hurd has BSD-style struct sockaddr too (reported by Svante Signell
in debian bug #657793)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@691 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-07 05:09:55 +00:00
Ozkan Sezer cb31b73fc2 updated the README.* files for 0.85.8 development version changes until
end of June 2012.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@690 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-07-03 21:20:11 +00:00
Ozkan Sezer d7d9ab213b zone.c: Use memcpy() instead of strcpy() in Hunk_Strdup() and Z_Strdup().
Removed dead Cache_Compact() function. Made mainzone static to zone.c.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@689 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 14:50:17 +00:00
Ozkan Sezer 7b589b31a6 updated snd bits from uhexen2. added signed 8 bit format support
to the mixer.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@688 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 12:50:09 +00:00
Ozkan Sezer d6e28185d9 updated arch_def.h and net_sys.h from uhexen2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@687 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:51:23 +00:00
Ozkan Sezer 5a2a7d96a7 * keys.h: renamed KP_* key macros to K_KP_*.
* key.c (Key_ClearStates): Instead of clearing all key's down state
  and repeat count, run KeyEvent(k,false) keys in down state, which
  will already clear those states for them. This also helps getting
  rid of several actions bound to keypad keys. Minor cleanups.
* gl_vidsdl.c (ClearAllStates): Removed code triggering every key
  with a release event, because we just changed Key_ClearStates() to
  do that for the necessary keys.
* in_sdl.c: Minor cleanups. Made K_KP_5 to send '5' when not in game
  mode, regardless of the numlock status. Moved prev_gamekey to top
  level and call SDL_EnableUNICODE() correctly.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@686 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:20:38 +00:00
Sander van Dijk ae26d97744 in_sdl.c: Add missing KP_NUMLOCK key event.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@685 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-10 06:09:50 +00:00
Sander van Dijk 5a98449c03 Small update to r683.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@684 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 20:06:40 +00:00
Sander van Dijk 13b3ce9f25 Re-introduce KP_* syms, but only "in-game".
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@683 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-08 19:27:12 +00:00
Sander van Dijk 476bdea0c1 pl_linux.c: Set icon only if mask creation is successful.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@682 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 18:31:41 +00:00
Sander van Dijk efda62fd3a Makefile, Makefile.darwin: Remove the not-so-useful "install" target.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@681 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 17:29:34 +00:00
Ozkan Sezer 7985762713 added missing cast in PL_CreateIconMask() to fix compilation using g++
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@680 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 10:55:35 +00:00
Ozkan Sezer fd2bafc1b1 Makefiles: defined new variable LINKER. for linkage we no longer use $(CC),
but $(LINKER)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@679 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:47:45 +00:00
Ozkan Sezer c06d6fa200 fix linkage for solaris: needs -lsocket -lnsl -lresolv for network
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@678 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:28:34 +00:00
Ozkan Sezer 5c87f99ad5 removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@677 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 09:00:12 +00:00
Ozkan Sezer dbdd675552 renamed model_t to qmodel_t in order to avoid conflicts on solaris.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@676 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-30 08:56:06 +00:00
Sander van Dijk 614270110e gl_warp.c: revert part of r653, not really needed.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@675 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 09:01:55 +00:00
Sander van Dijk be13bead69 Remove no longer used Misc/QuakeSpasm_256.png
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@674 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-27 08:55:00 +00:00
Ozkan Sezer 8b45bbd612 minor gl_vidsdl.c cleanups: tidied up VID_SetMode(). Removed the defunct
_windowed_mouse cvar. Simplified va()+Cvar_Set() calls into Cvar_SetValue().

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@673 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-21 12:32:20 +00:00
Sander van Dijk 09919c6aaf Minor linux icon tweak.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@672 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-17 06:02:50 +00:00
Ozkan Sezer 803697d8ed don't print both of the two possible warning messages in PF_VarString()
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@671 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 16:10:13 +00:00
Sander van Dijk a4d74c1a93 pr_cmds.c: Make PF_VarString's buffer a bit larger (fixes UQC's menu).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@670 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-15 14:41:29 +00:00
Ozkan Sezer 690bd43d22 removed unnecessary cb.bmp from codeblocks directories.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@669 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-12 15:28:14 +00:00
Sander van Dijk a54331d1c5 Remove unneeded sizes (24, 64) from the windows icon.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@668 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:59:54 +00:00
Sander van Dijk 2b92835799 (Untested) Use new transparent icon for macosx (16, 32, 64, 128 and 256).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@667 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:38:50 +00:00
Sander van Dijk cfdff46504 Use new transparent icon for windows (16, 24, 32, 48, 64 and 256).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@666 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 21:24:58 +00:00
Sander van Dijk 44ea14d2ab Use new transparent icon for linux (32x32 for now).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@665 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 20:21:20 +00:00
Sander van Dijk 71dcefcca3 Add new icon png to the repo.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@664 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-05-10 19:21:20 +00:00
Sander van Dijk f76bf8765a keys.[ch]: comment out KP_* keys, since we map them to their K_* counterparts
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@663 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 18:01:47 +00:00
Ozkan Sezer bebdce06d3 updated README files for 0.85.8 development version changes so far
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@662 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-23 17:01:11 +00:00
Ozkan Sezer 6651858aff snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number
of channels in the music file is supported, i.e. either stereo or
mono. Minor tidy up of the error return paths.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@661 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 11:02:08 +00:00
Ozkan Sezer c66cadc05a removed the envmap command which drew to front buffer. adjusted the
timerefresh command not to draw to the front buffer. also made sure
that there is an active connection when timerefresh is called.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@660 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-22 07:55:56 +00:00
Sander van Dijk f35069fd1e in_sdl.c: invert the behaviour of numlock (numbers when on, not when off)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@659 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 20:23:55 +00:00
Ozkan Sezer d8f3f2a1d3 common.c: until COM_CheckRegistered() is called keep the value of the
registered cvar as 1, set it right in COM_CheckRegistered().  fixes the
problem of registered game installed from later versions of cdroms not
being properly recognized by versions 0.85.6 and 0.85.7.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@658 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-20 19:47:22 +00:00
Ozkan Sezer d9711fdfa2 Limited the struct qsocket_s details only to net_*.c sources :
For menu serverlist handling, added new procedures NET_SlistSort,
NET_SlistPrintServer and NET_SlistPrintServerName. Added new
procedure NET_QSocketGetTime for status and spawn commands' print
functionality in host_cmd.c. Added new NET_QSocketGetAddressString
procedure for status and connect commands' print functionality in
host_cmd.c and sv_main.c.  Patch ported over from uhexen2.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@657 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-18 20:33:12 +00:00
Ozkan Sezer 91ad650967 * net_dgrm.c: Fixed the types of testSocket and test2Socket from int
to sys_socket_t.
* updated version date stamp to 2012-04-01.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@656 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-04-01 18:03:25 +00:00
Ozkan Sezer 574fd31e84 cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@655 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-31 18:30:09 +00:00
Ozkan Sezer 2e78f9c684 Added file count and header crc macros for id1/pak0.pak v1.00 and v1.01
so that the corresponding shareware versions actually work properly and
not error out.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@654 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-28 17:50:47 +00:00
Sander van Dijk f6eb41b50c gl_warp: save some cvars to config.cfg.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@653 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-03-25 19:08:31 +00:00