Braden Obrzut
7a543a71e1
- Fixed: Buddha mode zombie bug returned. (Also fixes compiler warning.)
...
- Fixed: Missing include for FreeBSD compile.
2015-03-02 16:43:25 -05:00
Christoph Oelckers
e846d06a9f
Merge remote-tracking branch 'remotes/zdoom/master'
...
Conflicts:
src/posix/sdl/hardware.cpp
2015-02-07 14:29:31 +01:00
Braden Obrzut
8e1b1aa201
- Defer SDL subsystem initialization since it seems to cause conflicts with GUI toolkits on some systems.
2015-02-02 19:36:08 -05:00
Christoph Oelckers
4446922f26
Merge branch 'master' of https://github.com/rheit/zdoom
2015-01-23 21:01:00 +01:00
Braden Obrzut
4bae3f9976
- Fixed: SDLVideo::CreateFrameBuffer cleared "retry" too soon resulting in infinite recursion if the code was used.
2015-01-16 18:58:23 -05:00
alexey.lysiuk
5336f1085c
Fixed incorrect value that I_FPSTime() may return when OS X thread-based timer implementation is used
2015-01-11 10:30:30 +02:00
Edoardo Prezioso
fb3bf0eb58
- Oops, forgot to reinclude missing SDL header.
...
Strangely it compiled fine for me, though.
2015-01-08 13:18:00 +01:00
Christoph Oelckers
df93d1a9f1
Merge branch 'SDL2_gz' of https://github.com/edward-san/zdoom
2015-01-08 09:27:42 +01:00
Christoph Oelckers
1c3561d71e
Merge branch 'master' of https://github.com/rheit/zdoom
2015-01-08 09:27:30 +01:00
Edoardo Prezioso
cab509c4d2
Various improvements to SDL2 video code.
...
- Ported the missing resolutions from zdoom.
- Remove unneeded code which was removed also from zdoom.
- Uncomment DOUBLEBUFFER GL attribute. It was present in the old SDL_SetVideoMode call code, so why not.
2015-01-08 01:39:29 +01:00
Edoardo Prezioso
37321d1d48
- Implement SDL2 into GZDoom (needs improvements).
...
Make also minor fixes.
Now it compiles and runs fine for me, except for the invisible cursor in the menu (no idea why).
2015-01-08 00:23:14 +01:00
Edoardo Prezioso
c9150497e3
- Move sdlglvideo code from sdl to posix/sdl.
...
Re-add sdlglvideo.cpp path in CMakeLists.txt . Warning: it won't compile yet.
2015-01-07 21:07:40 +01:00
alexey.lysiuk
83c6798651
Fixed a very slim chance that window will be white and empty after startup
...
There are a few quite specific steps to reproduce this issue:
* 640x480 video resolution
* -iwad ... -warp ... command line parameters
* OS X 10.4 or 10.5 PowerPC, maybe performance related
When all these requirements are met, content view doesn't show up sometimes
The simplest solution for this issue is to set initial window size to non-existent video resolution
2015-01-07 14:50:55 +02:00
alexey.lysiuk
86b2a8530b
Fixed launching with additional arguments from IWAD picker on OS X 10.4
2015-01-06 17:08:09 +02:00
alexey.lysiuk
1a69221f80
Removed trailing tab characters in Cocoa IWAD picker
2015-01-06 17:08:01 +02:00
alexey.lysiuk
324a1a7b77
Added support for dynamic device attachment and removal to IOKit gaming controllers handling
2015-01-06 13:40:39 +02:00
alexey.lysiuk
04d3802960
Fixed build issue with OS X SDK 10.4
2015-01-05 18:12:07 +02:00
alexey.lysiuk
b59fc59539
Added missing header comment
2015-01-05 17:26:06 +02:00
alexey.lysiuk
cb681aad2d
Rearranged header files and #include's
...
Removed unused OS version check
Reduced number of headers
Fixed build with SDK 10.4
2015-01-05 17:24:54 +02:00
alexey.lysiuk
d418648e59
Fixed compiler warning with format string parameter
2015-01-05 15:46:57 +02:00
alexey.lysiuk
31d232e886
Added polling of analog axes to IOKit gaming controllers handling
...
This feature helps a lot with buggy gamepads that constantly generate events from "sticky" hats/sticks
Polling is enabled by default, use joy_axespolling CVAR to turn it on/off
2015-01-05 13:22:53 +02:00
Christoph Oelckers
c424a1afcb
Merge branch 'master' of https://github.com/rheit/zdoom
2015-01-04 17:58:04 +01:00
alexey.lysiuk
aa1f51d3d2
Reimplemented gaming controllers support in native OS X backend using pure IOKit
2015-01-04 14:08:53 +02:00
alexey.lysiuk
68dbd56eab
Small cleanup in i_video.mm
2014-12-29 18:03:36 +02:00
alexey.lysiuk
1c102ef9c9
Internals of native OS X backend event processing are no longer exposed
2014-12-29 12:16:17 +02:00
alexey.lysiuk
21d557ee11
Further cleanup of i_main.mm
2014-12-29 12:10:18 +02:00
alexey.lysiuk
e3f92db395
Custom cursor in OS native backend without global variable
2014-12-29 11:34:57 +02:00
alexey.lysiuk
51afe8a541
Removed explicit release of window in Cocoa IVideo implementation
...
It caused a crash on older OS X like 10.5 and it absence doesn't lead to a memory leak
2014-12-29 10:29:16 +02:00
alexey.lysiuk
4662069b94
Fixed compilation issues with GCC 4.2
2014-12-28 17:11:30 +02:00
alexey.lysiuk
a67dc4148b
Split implementation of native OS X backend into several files
2014-12-28 16:35:00 +02:00
alexey.lysiuk
40d4dc502e
Added comprehensive video modes iteration
...
Added letterboxing status for fullscreen modes
Brought back vid_listmodes console command
2014-12-28 12:48:08 +02:00
alexey.lysiuk
b66c712446
Moved out video handling from application controller
2014-12-28 11:58:21 +02:00
alexey.lysiuk
d43b201de9
Yet another code beautification
2014-12-27 18:13:47 +02:00
alexey.lysiuk
613c3293ce
Further cleanup of native OS X backend video part
2014-12-27 17:47:21 +02:00
alexey.lysiuk
16965eb78a
Removed vid_listmodes console command from native OS X backend
...
There is a hard-coded set of resolutions independent from the hardware
2014-12-27 17:47:12 +02:00
alexey.lysiuk
8b6966dd36
Got rid of SDL emulation's last remnants in native OS X backend
2014-12-27 15:56:46 +02:00
Christoph Oelckers
aac1ce4eb7
Merge branch 'master' of https://github.com/rheit/zdoom
2014-12-27 11:52:32 +01:00
alexey.lysiuk
0d1c954bc0
Fixed crash in game controller support code
...
Joystick's startup and shutdown (of Native OS X backend) can be called more than once
2014-12-26 22:11:03 +02:00
Christoph Oelckers
c39e962fd5
Merge branch 'master' of https://github.com/rheit/zdoom
...
Conflicts:
src/CMakeLists.txt
src/posix/sdl/hardware.cpp
Please note that this will NOT(!!!) compile on Linux without adjusting sdlglvideo.cpp!
2014-12-25 22:50:15 +01:00
alexey.lysiuk
bf2a6dbc05
Merge branch 'z_osx_pure' into cocoa_no_sdl
2014-12-23 07:15:12 +02:00
alexey.lysiuk
18c7709007
Cleanup video part of native OS X backend, phase 4
2014-12-21 12:35:43 +02:00
alexey.lysiuk
ebc0916bc6
Cleanup video part of native OS X backend, phase 3
2014-12-20 17:20:45 +02:00
alexey.lysiuk
797cf624df
Cleanup video part of native OS X backend, phase 2
2014-12-20 15:03:36 +02:00
alexey.lysiuk
41c949f8ac
Cleanup video part of native OS X backend, phase 1
2014-12-20 13:18:47 +02:00
alexey.lysiuk
1433bf3f78
Put all non-Windows source code into posix directory and its subdirectories
2014-12-18 11:52:29 +02:00
alexey.lysiuk
b9d83e88c9
Added missing #include
2014-12-16 22:46:24 +02:00
alexey.lysiuk
83c8f44cc4
Merge branch 'master' of https://github.com/rheit/zdoom into z_osx_pure
2014-12-16 10:25:34 +02:00
alexey.lysiuk
8bc890c995
Rearranged files to avoid usage of symbolic links
2014-12-15 17:40:30 +02:00