Commit Graph
77 Commits
Author SHA1 Message Date
Alexander Griffin c0981c42ec Changing BannerCache into ImageCache to support more imagetypes (#1532) 2017-09-19 14:49:42 -07:00
Drew Barbarello 557be7cf1b 5 1 new backport x11 fs rework (#1485)
* Use XRandR 1.2 to set fullscreen resolution for single output

Squash of roothorick's PR #497
(also includes Kyzentun's CMake changes from PR #716)

* Cherry-pick json c++1x stuff (b9e3d7174e)

* Cherry-pick c++11 support from 5bba5c0038 and 9f8b045309

* rework Linux (X11) fullscreen, improve display-related Graphics Options

Implement option to select between monitors for exclusive fullscreen mode
on X11 (using XRandR 1.2), or use a fullscreen borderless window.

Reimplement resolution/refresh rate/display mode-related option rows
using Lua, update choices dynamically so only known-good groupings of
resolution/refresh rate/aspect ratio can be selected.

Minimally update Windows/MacOS LowLevelWindow implementations to support
changes made for Linux side. Fullscreen Borderless Window/multi monitor
support from X11 not implemented for those in this commit.

* allow forcibly disabling xinerama use on Linux

When libXinerama is available, SM tries to use it to find the proper
monitor indexes to use to set _NET_WM_FULLSCREEN_MONITORS (on borderless
fullscreen). xfwm4 seems to assume that monitors are numbered in increasing
order from left to right (rather than using the Xinerama-assigned numbers),
so _NET_WM_FULLSCREEN_MONITORS misbehaves on Xfce.

This commit bypasses use of libXinerama, and instead forces SM to induce fullscreen
on the desired monitor in the backup, hacky way: remove all window hints, move window
to desired monitor, then add _NET_WM_STATE_FULLSCREEN hint. This works on
mutter and Xfce.

* Remove multiple warnings on redundant define.

This used to be hard-coded due to pthread related items, but now it's dynamically determined.

* fix _fallback menu behavior for unrecognized aspect ratios

* Fix error recreating existing FS texture

* Bump deployment target to 10.7 to use libc++ on XCode 8

* Add explicit casts to please clang

* Update changelog
2017-06-18 08:55:16 -07:00
Kyzentun 336cd2f712 Added XmlToLua to src/Makefile.am. 2015-05-10 08:19:59 -06:00
Ben "root" Anderson 1a0e1a0b91 Simpler, more robust ver.cpp generation (also automated whitespace cleanup, lol) 2015-03-23 15:16:01 -05:00
Jason Felds dc94728628 Introduce cmake (min 2.8.12) to StepMania.
tl-dr: view the Build directory to see.

This is intended to replace the project files that we presently maintain
so that only a single set is needed instead of multiples.

The following setups were used for testing:

* Windows 8 and Visual Studio 2013 Desktop Express
* Windows 7 and Visual Studio 2012
* Mac OS X Mavericks and Xcode
* Ubuntu and makefiles
* Fedora 21 and makefiles

All three operating systems can generate projects, compile, link, and
run. Windows and Mac OS X users will find their compiled binary in the
same location as before, but Linux users will be surprised: it goes
straight into the root directory, along with a symlinked GtkModules.so
as appropriate. There is no more need for a manual symlinking step.

Known issues:

* At this time, MinGW likely does not work. Extra time will be needed.
* The WITH_JPEG option may go away, and we'll just always require it.
* Some linux libraries can use the system equivalents, but that is not up yet.

For more information, check out the Build directory.
2015-03-21 20:15:15 -04:00
Kyzentun 138077db67 Merge branch 'with-system-pcre' of https://github.com/Tatsh/stepmania 2015-02-05 00:47:25 -07:00
Ben "root" Anderson 7a33b8a44a Program version is now in a const from a generated file, not a static macro. Plus all the mess I had to make to get that to work. 2015-01-28 19:21:24 -06:00
Andrew Udvare 36a412f6e4 Add --with-system-pcre; allow building against system PCRE library 2015-01-28 16:11:26 -08:00
Ben "root" Anderson 0d394e269d Declare version_* in only one place. Define them in ver.cpp (at least on autotools). 2015-01-28 16:45:19 -06:00
Ben "root" Anderson a733560e62 I assume this was a typo 2015-01-28 16:00:13 -06:00
Ben "root" Anderson 2dd245477f Automake needs a special fucking hint to notice generated source files 2015-01-28 04:27:56 -06:00
Ben "root" Anderson fb6e75d308 Automatically generate PRODUCT_VER_BARE based on the current git revision 2015-01-27 21:53:31 -06:00
Ben "root" Anderson 05e620a854 Really actually regenerate ver.cpp every build 2015-01-27 21:17:39 -06:00
Ben "root" Anderson 80a02b40bb Don't hardcode -lrt 2015-01-27 17:05:49 -06:00
Kyzentun c586db8f5d Added -lrt to AM_CXXFLAGS in src/Makefile.am. Why isn't autoconf detecting this dependency? Added Jarosław Pietras to list of translators. in credits. 2015-01-27 14:36:22 -07:00
Kyzentun 584f1c8813 Moved cubic spline implementation to its own source file. 2014-12-28 05:57:07 -07:00
Peter S. May a991ae18a0 SextetStream input and lights drivers. 2014-10-19 16:51:54 -04:00
Devin J. Pohly f386a7ae58 add PIUIO_Leds driver
The mappings in this driver are specific to the piuio kernel driver, but
once lights mapping is possible this could be made into a generic leds
class driver.
2014-08-31 17:23:41 -07:00
freem 194c8de8f8 add pkgingo's (Win32) Minimaid driver.
* new makefile config option "HAVE_MINIMAID"
* update all Visual Studio projects
2014-08-02 00:38:20 -07:00
Kyzentun 955e6ddc7d Added AMV to src/Makefile.am 2014-06-15 13:21:13 -06:00
Ben "root" Anderson 0e0922ad8e 1) Event -> LinuxEvent and Joystick -> LinuxJoystick 2) Rewritten Linux input device detection: introducing LinuxInputManager. It keeps IH_Linux_Event and IH_Linux_Joystick playing nice with each other, and will later be fundamental in hotplugging support. 2013-11-30 00:08:04 -06:00
Ben "root" Anderson 165168c05d 1) Make GL_CFLAGS/XCFLAGS/XLIBS actually be respected 2) Include Windows resources in the build 2013-10-29 19:58:58 -05:00
Ben "root" Anderson 05cdf562eb Actually use system libpng instead of detecting and then effectively ignoring it. 2013-10-27 15:39:19 -05:00
Ben "root" Anderson 3d466eb227 Missed a last few archutils, I blame WinMain 2013-10-27 12:43:49 -05:00
Ben "root" Anderson b689134717 Did not find dxerr on MinGW-W64, resorting to dxerr9 2013-10-26 17:05:18 -05:00
Ben "root" Anderson fcb3be7c19 More archutils and one DSound .cpp I missed. I THINK I got them all this time. 2013-10-26 16:06:08 -05:00
Ben "root" Anderson dee10e7664 Typo! 2013-10-26 15:40:21 -05:00
Ben "root" Anderson 911cd2e299 Making headway on required archutils 2013-10-25 17:55:07 -05:00
Ben "root" Anderson f38d56104c typo 2013-10-25 15:26:42 -05:00
Ben "root" Anderson 2d9890747c src/Makefile.am: 1) LinuxThreadHelpers -> PthreadHelpers 2) Missed a Threads_Pthreads inclusion 3) Snub MovieTexture_DShow for now 2013-10-25 15:13:14 -05:00
Ben "root" Anderson 0123a24dd1 Can't get the WDMKS driver to build. Operating on the assumption that it was broken in the first place. 2013-10-25 03:59:26 -05:00
Ben "root" Anderson 0d86db9942 Partial overhaul. Moved all drivers into one place and indented bodies of if statements to make things easier to read. 2013-10-25 01:52:34 -05:00
Ben "root" Anderson 9c183c9f4a Don't hardcode -lrt -lpthread. autoconf SHOULD add them automatically if needed. 2013-10-24 20:37:17 -05:00
Ben "root" Anderson 7820c29bb4 Meet AX_CHECK_LIB_USING_HEADER. Also threw X11 back in because why the hell not. configure actually completes successfully now. 2013-10-24 17:31:34 -05:00
Colby Klein 5ddc0562d5 Remove ScreenPackagesSSC 2013-09-26 12:44:39 -04:00
Devin J. Pohly f9208e1276 Add skeletal sound driver for JACK
This doesn't make any sound yet, but it creates the JACK client and connects
the requested ports if any.
2013-08-06 19:24:55 -04:00
phantom eb301edc44 Enable LTO switch for configure script and automake 1.14 fix 2013-06-29 18:37:57 +02:00
Devin J. Pohly 1220dbe085 Revert "Round 2-2 of this."
This reverts commit 0ae4183f7b.
2013-06-04 23:47:22 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
Colby Klein 60cede24fe Add GLES2 files to Makefile and configure.ac (compile with --without-gles2 if you don't want to build it; it doesn't hurt anything though) 2012-12-09 03:01:08 -08:00
Colby Klein fbada6f17f Add support for PIUIO Linux kernel driver, courtesy of djpohly. 2012-08-12 14:35:40 -07:00
AJ Kelly 9931903f88 add CreateZip from SM4 betas. Someone should probably add this to the xcode project file. 2012-07-01 12:46:00 -05:00
Austen Dicken df32fc663d More FFMpeg adjustments
Since many distros don't have packages for FFMpeg 0.10 yet, allow a static
prebuilt package to be specifiec with --with-static-ffmpeg=/path/to/ffmpeg.

Also recreate the functionality of ./Utils/build.sh to now pull FFMpeg 0.10.2
from the web, statically build it, and link it into Stepmania.
2012-03-30 18:05:58 -05:00
Austen Dicken 0c94594541 remove the need for libtheora since we have ffmpeg to handle
theora videos
2012-03-12 23:26:34 -05:00
Jason Felds 354a345c4d Again, why the linux hate?
I know the functionality is busted, but still.
2012-03-12 15:12:55 -04:00
Jason Felds 56d1bd12fb Any reason this was excluded from the linux side?
It's on both Mac and Windows as far as I can tell.
Feel free to revert if there was a reason.
2012-03-12 15:01:05 -04:00
Jason Felds fd40fea9cb Remove PMSLoader.
The BPMSLoader now handles PMS files considering their
similarities.
2011-11-30 00:32:17 -05:00
ZipFile 94bb8a781a We already have dynamic linked one. 2011-10-09 16:45:05 +02:00
AJ Kelly e14b96cfbf part one of three-ish in reverting the Actors/ folder thing 2011-10-02 21:14:01 -05:00
Jason Felds 3bd53a5cb4 Hopefully linux is caught up. 2011-09-23 19:43:05 -04:00