Commit graph

1450 commits

Author SHA1 Message Date
Yamagi Burmeister
a76d7d5cfb The default video mode is 5 (640x480). Spotted by svdijk. 2012-11-14 21:12:21 +01:00
svdijk
247e2baa3a More mouse grab/release tuning. 2012-11-14 21:08:07 +01:00
Yamagi
b529eb3a9c Merge pull request #14 from pixe1f10w/master
fixed build for pre ansi c99 compilers
2012-11-14 12:05:21 -08:00
Ilia Zhirov
46c77400e2 fixed build on pre ansi c89 compilers 2012-11-14 14:49:40 +06:00
svdijk
823753dec9 Some minor restructuring and cleanup. 2012-11-07 21:15:18 +01:00
svdijk
1c0934f462 Game cleanup. 2012-11-07 21:10:48 +01:00
svdijk
eb8a2d792f Minor console mouse release tweak. 2012-11-05 21:33:44 +01:00
svdijk
63e7855ab7 Makefile whitespace fixes. 2012-11-05 21:33:39 +01:00
svdijk
8c8fba7421 Refresher cleanup. 2012-11-05 21:33:35 +01:00
Yamagi Burmeister
bdcc08d7fd Add the SDLMain.m license to LICENSE 2012-11-05 21:17:44 +01:00
Yamagi Burmeister
c2f887c220 Documentation updates
- Fully explain the OS X support
- Clarify some things
- Update some FAQs
2012-11-05 21:13:27 +01:00
Yamagi Burmeister
82275f636e Merge branch 'master' of github.com:yquake2/yquake2 2012-11-04 18:52:27 +01:00
Yamagi Burmeister
d263e896cf Use an enum for "qboolean" on OS X
Defining "qboolean" to something other than an enum changes the size of
some structs. That in turn breaks compatiblity with mods that use the
enum define. With this change the addons (tested with xatrix and rogue)
are running on OS X. Many thanks to my sister for lending me her
Macbook.
2012-11-04 18:47:15 +01:00
Yamagi Burmeister
ad44779c68 Add teh "official" OS X frameworks
These are the frameworks that'll be used for release builds
2012-11-04 09:29:14 +01:00
Yamagi Burmeister
5c217771cb Use correct include path on OS X
This path matches the libjpeg.framework we'll use to build the
binary releases.
2012-11-04 09:23:25 +01:00
Yamagi Burmeister
86ca73754d Silence a compiler warning on OS X 2012-11-04 09:18:37 +01:00
svdijk
7258a7ea31 stuff/yq2.cfg: Fix some typos and whitespacing. 2012-10-30 20:36:34 +01:00
svdijk
7be7f6831f backends/sdl/input.c: only call SDL_WM_GrabInput() when needed. 2012-10-30 20:36:29 +01:00
svdijk
64632bbc3b client/cl_main.c:UpdateWindowedMouse(): release mouse in menu. 2012-10-30 20:36:23 +01:00
svdijk
76e3480ccb Some rewriting of windowed_mouse setting, in preparation of releasing the mouse in the menu. 2012-10-30 20:36:15 +01:00
svdijk
a1adac8ba9 client/menu/menu.c: make ConsoleFunc() consistent with cl_console:Con_ToggleConsole_f(). 2012-10-30 20:36:10 +01:00
Yamagi Burmeister
01e262eb35 Add a new FAQ regarding the FOV 2012-10-28 11:05:46 +01:00
Yamagi Burmeister
77e51b01a8 Mention new FOV code in CHANGELOG 2012-10-28 10:58:17 +01:00
Ricardo Garcia
74beca0d11 Add "horplus" cvar to get Hor+ behavior with default FOV
If "horplus" is set, the "fov" cvar is interpreted as the horizontal FOV
in a 4:3 screen, and is adapted automatically to the current screen
aspect ratio accordingly. If not set, use the old Vert- approach.

In addition, "horplus" can also be set from the video menu by selecting
the "Auto" option for aspect ratio, which also resets the FOV value to the
standard 90 degrees.

Finally, add a 5:4 aspect ratio (1280x1024) and correct the 16:9 angle
slightly.
2012-10-28 10:20:46 +01:00
Yamagi Burmeister
a9bea1ede8 Fix some typos (spotted by caedes) 2012-10-06 16:26:38 +02:00
Yamagi Burmeister
915e5ff716 OS X installation instructions 2012-10-06 09:35:16 +02:00
Yamagi Burmeister
a79b705c13 Make cl_maxfps persistent 2012-10-06 09:15:32 +02:00
Yamagi Burmeister
687ca61dfa Fix gl_swapinterval 2012-10-06 09:14:12 +02:00
Yamagi Burmeister
74f19d5962 Remove the OS X project. 2012-10-03 14:38:05 +02:00
Yamagi Burmeister
606b7d73f7 Mention OS X. 2012-10-03 14:37:02 +02:00
Yamagi Burmeister
943c29804c Add the SDLMain SDL wrapper, needed for OS X 2012-09-14 11:46:22 +02:00
Yamagi Burmeister
e9c5c3ca8e Add savegame defines for OS X 2012-09-14 11:32:42 +02:00
Yamagi Burmeister
ba10009aa5 Add support for Mac OS X
These are the code changes and Makefile changes necessary to build and
run Yamagi Quake II on Max OS X. OS X 10.6 or higher is required, older
version may work but we cannot guarantee it. The documentation will be
added in another commit. This patch was contributed by W. Beser, I made
only some small cosmetical changes.
2012-09-14 11:21:02 +02:00
Yamagi Burmeister
dd6ed24104 Bump version number to 5.00 2012-09-03 14:34:51 +02:00
Yamagi Burmeister
bc24fe668b Fix a typo 2012-09-03 14:34:20 +02:00
Sander van Dijk
1f2452e7a6 src/game/g_weapon.c: Some sanity check changes. 2012-08-28 17:05:31 +02:00
Yamagi Burmeister
7958767922 Blaster shots shall not explode at the skybox 2012-08-26 15:38:00 +02:00
Yamagi Burmeister
4a81e58128 Okay, do the last commit acutally right... damage can be NULL. 2012-08-26 14:57:28 +02:00
Yamagi Burmeister
8819ad1c9a Fix a too strict sanity check in void blaster_touch()
This sanity check caused a too early exit of the function if the player
stood directly in front of a wall and fires the blaster or hyper
blaster. Therefor the wall impact effect wasn't drawn. This commit
fixes issue #6. Many thanks to svdijk for narrowing this problem down to
somewhere between 3.00 and 4.00.
2012-08-26 10:24:55 +02:00
Yamagi Burmeister
67fb773a78 Mention OpenBSD in the Makefile, clarify why we reject 64 bit builds on Windows 2012-08-22 17:58:00 +02:00
Yamagi Burmeister
55e1c95eac Clarify some things in the README
- Mention OpenBSD
- Mention sparc64
- Point windows users to stdout.txt
- Refer to the windows configuration dir in a consistent manner
2012-08-22 17:52:12 +02:00
Yamagi Burmeister
2b257cd7ec Add a new project to implement head tracking 2012-08-22 17:30:17 +02:00
Yamagi Burmeister
29ef6911d7 Update CONTRIBUTE to reflect the new source code layout 2012-08-22 14:50:15 +02:00
Yamagi Burmeister
b3ee48ae99 Update the CHANGELOG 2012-08-22 14:32:37 +02:00
Yamagi Burmeister
ed22ca81c2 Silence a warning with the upcoming Clang 3.2 2012-08-22 14:25:32 +02:00
Jonathan Gray
1f9d6084b6 OpenBSD port 2012-08-18 09:53:03 +02:00
Jonathan Gray
22fa99b713 test SIN6_LEN not __FreeBSD__ for sin6_len 2012-08-12 13:40:43 +10:00
Sander van Dijk
f292c1e22d Fix custom resolution handling in the video menu. 2012-08-06 14:04:12 +02:00
Yamagi Burmeister
602dd1af6f Connect non-base OpenGL function by calling wglGetProcAddress() on Windows
This is necessary since non-base OpenGL functions can't be connected by
calling the standard GetProcAddress() on Windows. To archive this the
old qwglGetProcAdress() is renamed into GetProcAdressGL() and a new
function pointer qwglGetProcAdress is introduced. On unixoid System it's
NULL and on Windows connected to wglGetProcAddress(). If it's NULL the
system wide function is called, if not the function Pointer is used.
2012-08-03 15:14:45 +02:00
Yamagi Burmeister
739590e639 Do not hide library loading errors behind "developer" 2012-08-03 15:13:58 +02:00