Commit graph

1712 commits

Author SHA1 Message Date
Ryan C. Gordon
c7392f2c3f Screw with (de)initialization code.
This fixes:
- Mouse grab being lost after alt-enter goes windowed in the SDL driver.
- Joystick ceasing to function on vid_restart in the SDL driver.
- Audio failing to work after after snd_restart in the SDL driver.
- Probably other things.
2005-09-01 05:09:21 +00:00
Ryan C. Gordon
136557954c Make a shot at total client shutdown on crash. 2005-09-01 05:07:15 +00:00
Ryan C. Gordon
8cb9ba5bda Added console output so I know what's going on... 2005-09-01 05:06:34 +00:00
Ryan C. Gordon
128154e9a8 backed out broken patch. 2005-09-01 03:30:28 +00:00
Zachary Slater
01da6d757b https://bugzilla.icculus.org/show_bug.cgi?id=2356
Remotely exploitable Infostring Crash
2005-09-01 02:13:47 +00:00
Ryan C. Gordon
b0b8e0114b Removed some FIXMEs 2005-09-01 00:33:48 +00:00
Ryan C. Gordon
7aea0f7141 Renamed the SDL stuff to not be Linux specific. 2005-09-01 00:33:08 +00:00
Zachary Slater
6a84a13acf From Cameron Eure:
Fixes a problem in code/unix/linux_glimp_sdl.c where attributes are called
before there's a working visual, resulting in a crash.
2005-09-01 00:24:56 +00:00
Zachary Slater
ae7066fa3f Uh, yeah. glub glub. mo blon. 2005-08-31 22:05:21 +00:00
Ryan C. Gordon
db2b964527 Added SDL joystick support. 2005-08-31 21:13:02 +00:00
Ludwig Nussel
5af249432d try to fix keyboard handling. Works with German keyboard now AFAICT 2005-08-31 19:54:08 +00:00
Ryan C. Gordon
2282c30923 SDL-based audio. 2005-08-31 19:42:55 +00:00
Zachary Slater
06c73f5e59 First diff from Andreas Schneider:
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ryan C. Gordon
23d08fae65 Show the system cursor when ungrabbing the mouse, so you know it's
been ungrabbed.
2005-08-31 17:57:44 +00:00
Ryan C. Gordon
a65432119b Shutdown game if user clicks the 'X' on his window. 2005-08-31 17:54:07 +00:00
Zachary Slater
dee436c126 First patch from vapier for easier packaging:
it'd make it easier on people packaging up quake3 if we could set system paths
for the baseq3 dir and if the makefile would respect things like CC/CXX from the
build env
2005-08-31 17:43:56 +00:00
Ryan C. Gordon
5bc2c49293 More SDL fixes:
- Console key works as it should, at least on QWERTY keyboards. Someone
  will have to check AZERTY keyboards for me.
- Backspace key now works in text entry.
- Mouse input is scaled 2x, like the X11 driver does.
- Some basic logging so I know I'm using the SDL code and not the X11 code.
2005-08-31 16:38:05 +00:00
Ryan C. Gordon
3ca916aacc Removed included SDL headers (ludwig pointed the makefile to system-installed
headers instead).
2005-08-31 16:36:15 +00:00
Ludwig Nussel
a724f6b04f add s390, s390x and ia64. It builds, don't know if it runs tough. 2005-08-31 09:03:28 +00:00
Ludwig Nussel
77eb7e4147 fix cdpath, deuglify dlopen code, load dll also from cdpath 2005-08-31 08:49:02 +00:00
Ludwig Nussel
8200e26360 use system SDL lib 2005-08-31 08:42:58 +00:00
Zachary Slater
67da8fbc6f First update of the changelog, more to come as time goes by. 2005-08-31 03:25:10 +00:00
Zachary Slater
8baf50cf1f glub glub mo blon 2005-08-31 00:07:49 +00:00
Zachary Slater
1221bd8996 oops! 2005-08-30 23:59:12 +00:00
Zachary Slater
272e3ca69f First version of Ryan Gorodon's SDL work:
16:24 < icculus> check that in, someone will fix it.  :)
2005-08-30 23:25:02 +00:00
Ludwig Nussel
1b62818a09 - add note about 64bit mods and the demo
- fix mod functions for 64bit
2005-08-30 22:38:59 +00:00
Ludwig Nussel
54d65a0ead - load qvm file by default again to avoid 'unpure' error
- fix loading qvms in 64bit q3
2005-08-30 21:25:54 +00:00
Ludwig Nussel
770c6808d0 fix warning 2005-08-30 21:25:08 +00:00
Ludwig Nussel
88171d6bb7 support for 64bit native mods 2005-08-30 20:30:17 +00:00
Ludwig Nussel
334fa9c48c fix ppc64 string 2005-08-30 15:38:44 +00:00
Ludwig Nussel
2078cfa9a0 always try native dll first 2005-08-30 15:38:05 +00:00
Ludwig Nussel
4fb1caf6bd make FloatSwap less ugly 2005-08-30 15:36:17 +00:00
Ludwig Nussel
3973f4aaa2 fix build against system libfreetype 2005-08-30 15:35:24 +00:00
Ludwig Nussel
fc29447726 really don't add restrictions on demo data 2005-08-30 15:30:07 +00:00
Ludwig Nussel
9a455ba5ec disable demo restrictions 2005-08-30 11:37:53 +00:00
Ludwig Nussel
109da009d2 fix build on ppc. no guarantee it runs though 2005-08-30 11:37:41 +00:00
Zachary Slater
4d2705d6c6 Fixed the version and added a little tiny bit to the readme 2005-08-29 18:58:30 +00:00
Zachary Slater
ed2ad48122 https://bugzilla.icculus.org/show_bug.cgi?id=2348 2005-08-28 18:12:43 +00:00
Ludwig Nussel
5ae70d54b0 remove svn:executable property 2005-08-28 17:54:51 +00:00
Ludwig Nussel
eccd796b50 prepare for ppc support 2005-08-28 17:24:58 +00:00
Ludwig Nussel
a8bff00f78 -fno-strict-aliasing got lost.. 2005-08-28 17:24:25 +00:00
Ludwig Nussel
b603a047f5 cleanup 2005-08-28 17:21:46 +00:00
Ludwig Nussel
c366bdea07 try to fix build using cons 2005-08-28 13:07:33 +00:00
Ludwig Nussel
07af20b73b add parenthesis to avoid warning 2005-08-28 13:02:57 +00:00
Ludwig Nussel
4a1e2f8124 fix lcc and q3asm linux build 2005-08-28 12:35:05 +00:00
Ludwig Nussel
fd4bbf42d6 remove 64bit warning. For QVM it's ok and native .so is broken anyways 2005-08-28 12:34:17 +00:00
Ludwig Nussel
a2249d087e add checks for LAN IPs to prevent q3ded from trying to authenticate
private IPs
2005-08-28 12:33:24 +00:00
Ludwig Nussel
4a955b42e2 -mtune isn't supported by gcc3, change to -march=i686. Who run q3 on a
P1 anyways?
2005-08-28 10:41:26 +00:00
Ludwig Nussel
95814311c3 add toplevel Makefile 2005-08-28 10:40:28 +00:00
Zachary Slater
8b1d93b397 Patching from floam with some edits by myself:
I was working on a patch earlier to fix some more things up to be more
modern, and I added a couple lines from that cleanup patch I showed you
on irc. Some commented code was removed, some stuff was made to not be
broke (old head usage), the makefile should install things better, and a
a few GCC warnings were gagged. I also attempted to version it but
you'll probably want to change that to whatever versioning rules you
decide on using.
2005-08-28 03:46:44 +00:00