Braden Obrzut
34457ce737
- Applied VoidMage's patch to strip color codes from system console on SDL platforms.
2013-11-06 13:42:05 -05:00
Braden Obrzut
658b4f7e0f
- For some reason git decided not to include the actual changes for the last commit.
2013-09-21 15:30:32 -04:00
Braden Obrzut
e8bcbd14fb
- Added vid_asyncblit for Linux and OS X. It defaults to true and sets SDL_AYNCBLIT on the frame buffer. This allows for ZDoom to obtain ~100% CPU usage with an uncapped frame rate on Linux like it should. (Not sure if it does anything for OS X yet.) It also makes uncapped play smoothly for me (as long as the frame rate is >= 2*refresh rate), but I'm not sure if capped feels more jittery or not. I could use some feedback here. Do note that vid_asyncblit requires a restart after the value is changed.
2013-09-21 13:20:36 -04:00
Alex Qyoun-ae
b6baeecd9a
Fixed compilation with LLVM compilers
2013-09-03 03:49:39 +04:00
Braden Obrzut
c4af738bf6
- Fixed: crash when closing ZDoom in the save menu and a memory leak.
2013-07-30 00:20:21 -05:00
Christoph Oelckers
db562142f0
- Fix c++11 literal suffix warnings / patch by Edward-san.
2013-07-22 22:25:44 +02:00
Braden Obrzut
80a3e4f902
- Fixed: Cocoa IWAD picker needed to be updated to handle git version strings.
2013-07-03 01:58:13 -04:00
Christoph Oelckers
d1835b2db8
- DavidPH's patch for Linux compilation.
2013-06-23 17:38:51 -05:00
Randy Heit
98ac224e53
- Use gitinfo.h instead of svnrevision.h for versioning.
...
- Use functions in gitinfo.cpp to retrieve the strings from gitinfo.h so
that changes to gitinfo.h only require recompiling one file instead of
several.
2013-06-22 21:49:51 -05:00
Braden Obrzut
1b5bff9603
- Fixed: Solaris compile.
...
SVN r3928 (trunk)
2012-11-01 18:23:39 +00:00
Braden Obrzut
3ec5f7ed88
- Run down the semaphores so they behave more like a mutex (note: mutexes/condition variables seem to be much slower).
...
- Fixed: vid_maxfps and cl_capfps could run into a deadlock on Linux based operating systems.
SVN r3900 (trunk)
2012-10-22 23:42:20 +00:00
Braden Obrzut
df5d43badf
- OK, so we can't have vid_maxfps on OS X since there does not appear to be an equivalent to POSIX timers. The only thing I could find would require Objective-C and an event loop.
...
SVN r3892 (trunk)
2012-10-18 00:57:56 +00:00
Braden Obrzut
1907983ab7
- Ported frame rate limiting code to SDL.
...
SVN r3891 (trunk)
2012-10-17 19:45:04 +00:00
Randy Heit
11ca707485
- Added vid_maxfps cvar to limit the frame rate to some arbitrary rate between 35 and 1000 FPS. It
...
defaults to 200. Setting it to 0 will restore the previous behavior of having no frame rate
limit. Note that vid_maxfps 35 is NOT the same as cl_capfps 1. cl_capfps caps the frame rate
by tying the video update directly to the game timer. With vid_maxfps 35, the video update and
game timer are running on separate timers, and results will not be as good as with cl_capfps 1,
which uses only one timer.
SVN r3872 (trunk)
2012-09-16 04:40:56 +00:00
Randy Heit
fd784b05c2
- Fix some GCC 4.7.1 warnings.
...
SVN r3747 (trunk)
2012-07-07 03:43:11 +00:00
Randy Heit
c197d0687c
- Fixed: FinalGC() needs to run before the type system is shut down.
...
- Fixed: Don't access class metadata at all in DObject::PropagateMark if the type system is shutdown.
- Fixed: If FCompressedMemFile::Reopen() fails, then it would try to double-free memory when deleted.
SVN r3688 (trunk)
2012-06-16 03:10:38 +00:00
Braden Obrzut
9e26f3b7a4
- Instead of a huge switch statement, lets convert POV to axes by bitwise operations since we later assume we can do that for the button mapping anyways.
...
SVN r3609 (trunk)
2012-05-01 01:53:59 +00:00
Braden Obrzut
192839a436
- Added button mapping for the first 8 axes for SDL joysticks. The first two axes are assumed to be x/y.
...
- Added POV hat support for SDL. (First 4 map to buttons, but all map to an x/y axis.)
SVN r3607 (trunk)
2012-04-29 00:53:27 +00:00
Braden Obrzut
0065c29902
- Added deadzone handling to SDL joystick support.
...
SVN r3605 (trunk)
2012-04-28 03:44:10 +00:00
Randy Heit
6ea93d28e2
- Fixed: M_CreateMenus() is too soon to call UpdateJoystickMenu(). It needs to happen after
...
I_InitInput(), which happens during V_Init2().
SVN r3501 (trunk)
2012-04-01 03:03:53 +00:00
Braden Obrzut
449bd90121
- Fixed: Runtime error on Mac OS X. For whatever reason merely having the call to CFUserNotificationDisplayAlert() in I_FatalError caused exception handling to quit working. Moving it to a separate file seems to fix this. Also removed the warning about FRenderer having a non-virtual destructor.
...
SVN r3367 (trunk)
2012-02-16 22:58:17 +00:00
Christoph Oelckers
893455ef61
- sync source with latest GZDoom:
...
Includes:
- Made the move tried from checking missile spawns ignore drop off height. This solves the Voodoo Gun ghostly civilian issue.
- Fixed: the NOTELEPORT flag is removed from Dehacked missiles which lose the MISSILE flag. This caused problems with certain special effects based on dehacked spawn cubes.
- Fixed: all Boom silent teleporters preserve relative height.
- support for palette independent particle colors if the renderer can handle them.
SVN r3329 (trunk)
2011-12-06 08:36:28 +00:00
Braden Obrzut
9c8bb236ec
- Backport r1253 through r1256 and r1259 of GZDoom.
...
* By pressing request, allow Linux users to build ZDoom with an FMOD version that doesn't give them 3D sound positioning. :p
* Fixed severe copy-pasta portal copy bug.
* 3D floors hidden by being moved above the ceiling or below the floor will no longer show in the automap.
* Reject TEXTURES scale of 0. They'd do nothing but provoke a division by zero error.
* Maybe fixed Linux compilation?
SVN r3297 (trunk)
2011-09-27 01:14:31 +00:00
Randy Heit
de8bf651f2
- Fix warnings reported by gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
...
SVN r3293 (trunk)
2011-09-14 23:24:32 +00:00
Braden Obrzut
bdbea0da32
- Use kernel semaphores on Mac OS X since it doesn't support POSIX semaphores.
...
SVN r3276 (trunk)
2011-08-01 03:53:57 +00:00
Braden Obrzut
dc50487432
- Lets try using semaphores on Linux instead of sleeping to implement cl_capfps.
...
SVN r3270 (trunk)
2011-07-11 02:35:33 +00:00
Braden Obrzut
85bd2e02c9
- Fixed Linux build issues.
...
SVN r3265 (trunk)
2011-07-07 20:49:55 +00:00
Christoph Oelckers
5bfcaab25c
- separation of software renderer from the rest of the code complete. All external access to the renderer is routed through the FRenderer interface class now, with two exceptions (2D texture drawing to a canvas and polymost testing code) that are handled by #defines.
...
SVN r3263 (trunk)
2011-07-07 15:37:47 +00:00
Christoph Oelckers
463c276014
- removed more r_ header dependencies from the rest of the code.
...
SVN r3260 (trunk)
2011-07-06 15:31:05 +00:00
Christoph Oelckers
4626492f50
- separated all colormap related code from v_palette.cpp and r_data.cpp into its own file.
...
SVN r3245 (trunk)
2011-07-03 10:47:35 +00:00
Christoph Oelckers
1993e969b7
- GCC warning fixes (GCC stupidity for the most part.)
...
SVN r3154 (trunk)
2011-02-19 08:59:43 +00:00
Braden Obrzut
99df7354b1
- Fixed: Menu mouse navigation didn't work in fullscreen on Linux.
...
SVN r3151 (trunk)
2011-02-13 06:32:10 +00:00
Braden Obrzut
f942cd0bf3
- Added cursor support for SDL.
...
SVN r3117 (trunk)
2011-01-23 07:37:08 +00:00
Braden Obrzut
7ed7e9f755
- Enable menu mouse navigation on SDL systems.
...
SVN r3112 (trunk)
2011-01-22 03:02:58 +00:00
Christoph Oelckers
82d0a0a98c
- added Chris's second crashcatcher patch.
...
SVN r3089 (trunk)
2011-01-04 09:12:20 +00:00
Christoph Oelckers
2b0262d111
- added Chris's KDE IWAD picker submission.
...
SVN r3083 (trunk)
2011-01-01 09:24:56 +00:00
Christoph Oelckers
e27179afd0
- added Chris's crashcatcher improvements.
...
SVN r3071 (trunk)
2010-12-21 14:15:19 +00:00
Braden Obrzut
c8eb4bbc8d
- Turns out I can't clear one protocol warning on 10.6 without breaking compatibility with 10.4/10.5.
...
SVN r3007 (trunk)
2010-11-11 00:22:36 +00:00
Braden Obrzut
a00730c160
- Fixed: Cocoa IWAD picker was not updated. Also changed instances of the deprecated stringWithCString to stringWithUTF8String.
...
- Fixed: Mac OS X should be case insensitive like Windows.
SVN r3005 (trunk)
2010-11-10 23:39:34 +00:00
Braden Obrzut
9e2e9262a4
- Fixed: Crash in Linux due to passing FStrings as character arrays.
...
- Fixed: More places where SBarInfo used the unscaled information from graphics.
SVN r2948 (trunk)
2010-10-16 17:04:18 +00:00
Christoph Oelckers
eded2ef345
- Each IWAD can now define its own config section. Hacx, Harmony and Action Doom2 now do that.
...
- moved IWAD identification data into a lump in zdoom.pk3.
- rewrote IWAD checking code
SVN r2943 (trunk)
2010-10-15 15:13:53 +00:00
Braden Obrzut
eb064ebe06
- Fixed crash with joysticks with more than 5 axes.
...
SVN r2941 (trunk)
2010-10-13 20:07:16 +00:00
Braden Obrzut
78cfbe56a1
- Forgot to actually add new joystick code.
...
SVN r2940 (trunk)
2010-10-13 16:30:31 +00:00
Braden Obrzut
0d10718e67
- Added SDL joystick support.
...
SVN r2939 (trunk)
2010-10-13 16:29:37 +00:00
Christoph Oelckers
d8fd72e19a
- added Khamsin's fix for visible mouse cursors in Linux fullscreen mode with mouse disabled.
...
SVN r2785 (trunk)
2010-09-15 16:50:08 +00:00
Christoph Oelckers
579502ab74
- merged menu branch back into trunk.
...
SVN r2768 (trunk)
2010-09-14 17:28:18 +00:00
Randy Heit
30ffe1d4b8
- Maybe enable assembly on Intel Macs?
...
SVN r2527 (trunk)
2010-08-13 03:14:05 +00:00
Randy Heit
4f03442a7a
- Make the Cocoa IWAD picker behave like the others: Double-clicking an entry starts
...
it, as does pressing Return, and pressing Escape is equivalent to the Cancel button.
SVN r2526 (trunk)
2010-08-13 00:08:51 +00:00
Christoph Oelckers
096edb0817
- move vid_listadapters CCMD into common code.
...
SVN r2509 (trunk)
2010-08-11 06:31:47 +00:00
Braden Obrzut
921c950bad
- Release Objective-C objects (since I found out the garbage collector is opt-in).
...
SVN r2441 (trunk)
2010-07-18 09:23:33 +00:00