Commit Graph

18 Commits

Author SHA1 Message Date
Martin Kröning 37e60ffc97 Adjust to vanilla libpng 2020-06-20 12:35:04 +02:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Tatsh 3c8ee8675d Mac fixes (#1795)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent

* Fix setting CFBundleExecutable value

* Improve handling of system libpng

Header mismatch can cause a crash, so force the non-system png.h
if WITH_SYSTEM_PNG=no

* Better handling of TRUE/FALSE with newer versions of jpeglib

* Add JPEG include directory
2019-03-10 13:02:54 -07:00
Andrew Barbarello 43ec2f13b5 use corresponding free function for png_create_write_struct
Prevents access violation on PNG error in Texture Font Generator
2015-12-20 22:00:51 -05:00
Kyzentun Keeslala eb87ca4530 Screenshot crash fix from Yaniel: apparently libpng expects you to tell it what it will end up with instead of what you are giving it 2015-06-19 13:58:55 -06: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
Ben "root" Anderson 62313006c1 Keeping consistency between RS_Save_PNG and RS_Load_PNG 2013-10-29 22:29:05 -05:00
Jason Felds 07b9fb6da5 The big NULL replacement party part 6.
...and ', NULL' had even more to replace.
2013-05-03 23:49:23 -04:00
Jason Felds ba59dd1656 The big NULL replacement party part 2.
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
AJ Kelly 904e7ba2dd make some include paths less ugly on Windows. 2011-05-20 01:57:48 -05:00
Jason Felds 48a558e357 [sm130futures] Forgot non windows exclusive code. 2011-05-04 23:28:48 -04:00
Jason Felds b89dcc548f [sm130futures] Good on Windows...and Mac too?
We'll see if I'm lucky here.
2011-05-04 23:22:51 -04:00
AJ Kelly cf81f8cc3b remove xbox support; it doesn't work, and it'd take too much effort to get it working again 2011-03-19 19:28:57 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 7c4044a2fc Force consistent line endings.
I'd suggest enabling the EolExtension:
this way we won't go back and forth here.
2011-03-16 15:51:54 -04:00
Nicole Reid 1c494f6dd2 libpng 1.4 compatibility patch. 2010-04-17 01:07:06 -04:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00