Dan Guzek
e67c8e010a
update CMake to use new ArchHooks_MacOSX.mm file
...
It is necessary to clear existing cmake cache and generate a new Xcode
project, following wolfman2000's instructions in ./Build/README.md
Witht that done, you can use the StepMania.xcodeproj generated by cmake
to successfully build a fresh StepMania.app and it properly logs the OS
X version.
2015-03-25 23:03:23 -04:00
Dan Guzek
2c16c6870c
log OS X version properly - take 2
...
There was code in place to log the OS X kernel version (14.1.0, for
example) to log, but it stopped working some time ago. "Mac OS X
unknown." has been logged for the last several releases.
This commit swaps out that C++ code for a some Obj-C which logs the OS
X release version (10.10.2, for example) correctly. In order to mix
Obj-C with an otherwise C++ file, I changed the file extension from .cpp
to .mm to make it Objective-C++.
At the suggestion of wolfman2000, I have updated
src/CMakeData-arch.cmake to reflect the changes in this commit; that
will follow in the next commit from me.
2015-03-25 22:53:42 -04:00
Jason Felds
541389ea7d
Resolve casting warning where no one would check.
2015-03-25 22:09:46 -04:00
Kyzentun
540c617485
Merge pull request #521 from kyzentun/load_only_from_cache
...
More aggressive caching.
2015-03-24 20:41:14 -06:00
Kyzentun
7ab01aa056
Merge pull request #510 from kyzentun/faster_timing_data
...
Faster TimingData lookups
2015-03-24 20:41:01 -06:00
Jason Felds
38cf1730db
Merge pull request #528 from wolfman2000/wolf-cmake-ffmpeg-quick
...
Don't have ffmpeg's download take forever.
2015-03-24 21:27:56 -04:00
Kyzentun
062b618bda
Changed ActorFrame::SetUpdateRate to reject a negative rate instead of crashing.
2015-03-24 18:28:11 -06:00
Jason Felds
8993ce7fa8
Important fixes to this branch:
...
* Don't download the repo again if it exists.
* Remember the include directories.
2015-03-24 20:04:48 -04:00
Jason Felds
6963e4d493
Don't have ffmpeg's download take forever.
...
Thanks for the assist teleshoes.
2015-03-24 19:12:28 -04:00
Kyzentun
f4da2988d9
Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.
2015-03-24 14:23:30 -06:00
Kyzentun
31ce1c7b39
Moved more things to happen only when a song isn't cached. Song::TidyUpData now only fetches a list files in the song dir once, instead of several times.
2015-03-24 12:05:41 -06:00
Kyzentun
96259ab951
Fixed voltage calculation by making avg_bps a float instead of an int.
2015-03-23 22:41:15 -06:00
freem
b9551cc392
vs2010 project is back to where it was before cmake
...
(that is to say, still messes up during the mapconv portion, but doesn't have any linking errors anymore)
2015-03-23 18:47:47 -05:00
Jason Felds
6e5b80fbfe
Right: 2011/2012 compiles PNG.
2015-03-23 19:43:46 -04:00
Jason Felds
5d232aad75
Restore cmake-less 2011/2012 VS support.
...
Move to cmake people!
2015-03-23 19:41:39 -04:00
freem
2d59abc9ce
fix vs2008 build
2015-03-23 17:58:06 -05:00
Jason Felds
0b312b1771
Merge pull request #524 from wolfman2000/wolf-vs-2013-fix
...
Fix compilation for cmake-less 2013 users.
2015-03-23 18:55:38 -04:00
Jason Felds
0a1f43dcbe
Fix compilation for cmake-less 2013 users.
...
This should compliment 7ac547a5 .
2015-03-23 18:54:58 -04:00
Ben "root" Anderson
1a0e1a0b91
Simpler, more robust ver.cpp generation (also automated whitespace cleanup, lol)
2015-03-23 15:16:01 -05:00
Kyzentun
a2798e16f4
More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache.
2015-03-23 11:35:30 -06:00
freem
8e1cb42164
Merge branch 'master' of github.com:stepmania/stepmania
2015-03-22 21:35:32 -05:00
freem
7ac547a5ea
recent cmake changes broke standalone windows building. argh.
...
This commit does not fix it, but it does get rid of the various lib errors it was throwing.
various linking errors remain
2015-03-22 21:35:11 -05:00
Jason Felds
b66b9143dc
Make it clearer for build types.
2015-03-22 17:08:54 -04:00
Colby Klein
ac211bb3c3
Merge pull request #519 from wolfman2000/wolf-cmake-fixes-shake
...
Linux cmake improvements as suggested by @shakesoda.
2015-03-22 13:22:57 -07:00
Jason Felds
05d341485d
Allow for system ffmpeg usage.
...
Warning: this is NOT advised right now.
2015-03-22 16:03:38 -04:00
Jason Felds
33f183938e
Allow for system pcre to take precedence.
2015-03-22 15:46:53 -04:00
Jason Felds
ecbec126af
Allow disabling GPL only components.
...
Only works for Linux right now.
2015-03-22 15:24:20 -04:00
Jason Felds
736338dab6
Make sure product_version is set for OS X.
...
This may go away when we move to cmake for good.
2015-03-22 10:03:50 -04:00
Colby Klein
27429d551f
Merge pull request #518 from wolfman2000/wolf-cmake-squashed
...
Introduce cmake (min 2.8.12) to StepMania.
2015-03-21 18:10:45 -07: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
63c709e9f2
Merge pull request #516 from sigatrev/AFT-crashes
...
Prevent 2 AFT related crashes
2015-03-21 00:55:35 -06:00
sigatrev
994b972d08
Prevent 2 AFT related crashes
...
Attempting to create a texture of 0 size or a texture with a name that
is already in use would crash SM.
2015-03-21 00:34:30 -05:00
AJ Kelly
05f455cc17
Merge pull request #515 from sigatrev/AFT-example-update
...
Update AFT examples
2015-03-19 22:06:17 -05:00
sigatrev
c5451c98d5
Update AFT examples
...
Added a note to example 3 specifying that it was demonstrating the
"float" property.
Added information about functionality I only just realized existed: the
ability to draw outside of the screen's draw cycle.
2015-03-19 19:20:39 -05:00
Colby Klein
75949d3646
Merge pull request #512 from wolfman2000/wolf-product-idless
...
Remove unused function.
2015-03-18 21:47:07 -07:00
Colby Klein
0834e601ac
Merge pull request #513 from sigatrev/ActorFrameTexture
...
Actor frame texture
2015-03-18 21:33:17 -07:00
Colby Klein
cbd61605ad
Merge pull request #481 from dguzek/OSX-Desktop-Dir
...
prevent OS X Desktop directory from being created
2015-03-18 21:29:49 -07:00
Colby Klein
0b1f888d10
Merge pull request #514 from Arvaneth/master
...
French translation
2015-03-18 21:00:29 -07:00
sigatrev
3af895b1bf
AFT examples
...
because it seem like I'm the only one who knows what these things do.
2015-03-17 21:46:22 -05:00
sigatrev
45a0952a3b
Prevent crash when AFT draws an AFT
...
by remember the previous render target.
2015-03-17 21:41:31 -05:00
sigatrev
cc5c05a4f1
Fix AFT DepthBuffer
2015-03-17 21:37:26 -05:00
Kyzentun
833754289c
Merged changelog conflicts.
2015-03-17 19:30:29 -06:00
Ben "root" Anderson
76d9ba6bf1
glFinish() to force the tightest input-to-screen coupling possible
2015-03-15 19:06:52 -05:00
Kyzentun
369368a019
Fixed loading of ssc format edit files.
2015-03-15 16:54:04 -06:00
Kyzentun
7be1a35d77
Fixed IniFile::RenameKey by adding RenameChildInByName to XmlFile. Only font loading uses RenameKey.
2015-03-15 13:23:23 -06:00
Jason Felds
3e965152c9
Remove unused function.
...
Is there really a point for us to have this?
2015-03-15 11:46:07 -04:00
Kyzentun
d85ac9af85
Added GetTexturePath lua function to Sprite.
2015-03-15 00:34:21 -06:00
Kyzentun
2b7ebb3729
Added lookup table system to TimingData so that GetBeatAndBPS and GetElapsedTime don't have to walk through the entire list of timing segments several times every frame during gameplay.
2015-03-14 23:17:35 -06:00
Kyzentun
d5b0b78ccf
Added changelog for language strings.
2015-03-12 21:24:50 -06:00
Kyzentun
3140c4f30f
Changed preview length setting to occur when the special preview file is set in edit mode.
2015-03-11 18:55:06 -06:00