Commit Graph

72 Commits

Author SHA1 Message Date
Jason Felds faae62ffb3 No need for an indexer here. 2013-05-05 07:34:04 -04:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds a3f37dc2b4 The big NULL replacement party part 3.
Getting there I think.
2013-05-03 23:16:39 -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
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds 77e4c710c4 Good variety of loops. 2013-05-01 23:00:25 -04:00
Jason Felds 09d6203fea The rest of Song Manager's const loops.
I thought I saw some smart pointer opportunities in here.
2013-04-30 19:28:28 -04:00
Jason Felds 25840d5fa8 Only some of the loops.
The rest can be done after work.
2013-04-30 07:38:33 -04:00
Jason Felds d54ae4f70c Simplify this loop while in the area. 2013-04-28 16:28:44 -04:00
Jason Felds a68e4aa3c4 Remove unused loop. 2013-04-28 16:28:11 -04:00
Jason Felds b6f2bf317c Where's my hg commit --amend command? 2013-04-27 15:20:30 -04:00
Jason Felds 7d56192e97 And back to normal with these loops. 2013-04-27 15:19:43 -04:00
Devin J. Pohly 8815da5f1f replace SongManager::GetSongFromSteps with use of song pointer 2013-01-20 19:51:59 -05:00
Devin J. Pohly bd0e2074ad replace ASSERT(0) with useful fail messages 2012-12-27 16:59:35 -05:00
Jason Felds 1fc16698ba War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
Devin J. Pohly 1acbf07466 war on -Werror, part 4: miscellany 2012-12-26 21:45:45 -05:00
AJ Kelly fe8578896b royal freem corporation. 2012-07-17 19:11:26 -05:00
AJ Kelly 87d77d6cde [SongManager] Ending a group's name in PreferredSongs with "/*" will now load all songs from that group automatically. 2012-06-27 20:25:59 -05:00
Thai Pangsakulyanont 3a82222c83 add background support to BMS files (only #BMP, not #BGA) 2012-05-21 13:58:40 +07:00
Jason Felds cdaaeeafd6 [editorKeysounds] This shouldn't crash I think.
This should also be in default.
2012-02-12 14:20:37 -05:00
AJ Kelly c7fab6014f [Various] Allow loading of *.jpeg in addition to *.jpg. 2011-12-17 03:21:12 -06:00
Mark Cannon 5f3a8c446a slightly saner formatting for this block of code 2011-09-16 23:22:16 +00:00
Jason Felds 8d6ccfb098 Whitespace wars. Deal with it later. 2011-09-16 23:01:45 -04:00
Jason Felds 10f0fa54f2 Added GetNumLockedSongs() Lua binding.
This gets the number of songs that are locked for any reason.

I wonder why the unlocked songs functions say that songs locked
by unlock entries are counted there, but fair enough.
2011-09-16 21:52:27 -04:00
AJ Kelly a0455b4fd2 Experiment over, dance is the default game again. 2011-09-07 17:44:37 -05:00
AJ Kelly 183888f4f1 [SongManager] Add SongToPreferredSortSectionName(song), WasLoadedFromAdditionalSongs(song), and WasLoadedFromAdditionalCourses(course) Lua bindings 2011-08-27 15:23:20 -05:00
AJ Kelly d5979dab6a [SongManager] Added GetPreferredSortSongs(), GetPreferredSortCourses(courseType,bIncludeAutogen), GetPopularCourses(courseType) Lua bindings. 2011-08-27 15:09:14 -05:00
AJ Kelly 8d5b50e876 [SongManager] Added GetCoursesInGroup(sCourseGroup,bIncludeAutogen), GetSongGroupBannerPath(songGroup), GetCourseGroupBannerPath(courseGroup), DoesSongGroupExist(songGroup), DoesCourseGroupExist(courseGroup), GetPopularSongs() Lua bindings. 2011-08-27 13:18:41 -05:00
Mark Cannon e1a447cc36 revert henke's loadingwindow "improvements"; if you're reading this, henke, you do *NOT* sacrifice readability for misguided optimization, and you do *NOT* use a globally externed variable for something with a useful lifetime of part of one function 2011-08-06 21:33:49 +00:00
Mark Cannon 067c49e299 and then i actually committed SongManager 2011-08-04 03:09:13 +00:00
Henrik Andersson 363947d46a [default->loading window] Catching up. 2011-07-20 20:06:28 +02:00
Jason Felds dbdab4759e [Xcode4] May as well fix switch warnings.
Still need some assistance for the linker error.
2011-07-20 11:11:04 -04:00
Henrik Andersson 1ee1bd384b [loading window] Hey look, the load can be aborted now!
Also, loading messages are now in the language file.
2011-07-11 14:56:44 +02:00
Jason Felds 376f17213e Only clean if there is a song to clean. 2011-06-20 13:44:20 -04:00
Henrik Andersson d7022c715a [default -> loading window] YAM 2011-06-11 12:22:06 +02:00
Jason Felds b6bf776716 New branch: [notesloader]
Time to better unify our files and refactor properly.
2011-06-09 13:46:30 -04:00
Henrik Andersson 881a6534e8 [loading window] Unloading should be reported as well. 2011-06-05 15:37:22 +02:00
Henrik Andersson 167cd9238a [loading window] Should really have included this in the initial design. Now it can be indeterminate too. 2011-06-05 11:32:51 +02:00
Thai Pangsakulyanont 6f624538ce display progress for song loading 2011-06-05 12:45:28 +07:00
Henrik Andersson 6c7ebfafe8 [loading window] Note to self #2: Refresh the file list before commiting. 2011-06-04 23:37:36 +02:00
Henrik Andersson 1dfb3a6f9a [loading window] More use of the global instead of as an argument. 2011-06-04 23:21:33 +02:00
Henrik Andersson 86cc2818e0 [loading window] Now the loading window has it's own thread. As such, the paint method is no longer needed. 2011-06-04 02:12:08 +02:00
AJ Kelly b5e34f4900 [SongManager] Make autogen courses have "Autogen" as the Scripter. 2011-06-02 22:32:39 -05:00
Jason Felds 750b688de4 Consistent insensitive string comparisons.
This seems to reduce the need for a #define,
but I need someone on the Windows side to check.
2011-05-11 16:48:51 -04:00
AJ Kelly bce91c399f [SongManager] Added GetCourseGroupNames Lua binding. 2011-04-23 21:13:28 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly 8880d2fa15 silence a warning 2011-03-16 21:20:42 -05:00
Jason Felds e9df4832f6 Bring shadowed variables back from the dark side.
Alright Colby, happy now?
2011-03-14 02:54:11 -04:00
AJ Kelly f6a0e25d86 Fix .sm-style edits not being loaded. 2011-02-21 03:38:44 -06:00