teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Colby Klein
b4e02821e8
Revert "Improve handling of errors in lua functions and speed up calls. ( #1427 )"
...
This reverts commit f10e3ae36a .
(it was a joke PR, do not fear)
2017-04-04 17:21:55 -07:00
Kyzentun
f10e3ae36a
Improve handling of errors in lua functions and speed up calls. ( #1427 )
2017-04-04 11:36:23 -07:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Kyzentun
a74a49af78
Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
2014-08-02 00:38:18 -07:00
Kyzentun
95fe1a17e9
Replaced every use of lua_call with RunScriptOnStack. Modified RunScriptOnStack to report an error to log and system message using a passed in context string. Modified every use of RunScriptOnStack to avoid crashing so that the reported error can be seen.
2014-08-02 00:38:17 -07:00
Ben "root" Anderson
a040c4a586
1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence
2013-11-30 09:50:54 -06:00
Jason Felds
0a723885b7
Trying out locking entries. Need someone to test.
...
LUA hooks include UNLOCKMAN->LockEntryID and
UNLOCKMAN->LockEntryIndex. Similar to the Unlock
variants.
2013-06-04 20:20:59 -04:00
Jason Felds
a040cb0c62
Fix a...strange debug issue.
...
Didn't get this to happen on release testing.
2013-05-04 18:09:40 -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
106166f3cc
Make this O(n / 2). Or something like that.
...
This is designed to be transplantable.
2013-04-30 21:19:32 -04:00
Jason Felds
09c9ba234d
Most items in UnlockManager handled.
...
I purposefully left one loop block alone.
2013-04-30 21:13:34 -04:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
602aed8d97
Fix unlocking of steps via previous difficulty.
...
Thanks to Sta and Kevin for the fix.
2011-09-29 23:51:23 -04:00
Jason Felds
75d1c672c8
Added IsSongLocked() Lua binding.
...
To be honest, I'm wondering if this should be in SongManager
instead of or as well as UnlockManager.
2011-09-16 23:08:50 -04:00
AJ Kelly
cdca3d61d6
future ideas...
2011-08-27 15:50:45 -05:00
Jason Felds
7771ccf91a
Added requirepasschallengesteps Lua binding.
2011-08-22 22:56:13 -04:00
Jason Felds
509f70f54a
Add GetStepOfAllTypes binding.
2011-08-22 22:54:21 -04:00
Jason Felds
939b46c01e
Trying lua code to get the unlocked Step.
...
Untested right now.
Will doc it when confirmed working.
2011-08-12 23:55:36 -04: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
Jason Felds
b026159a27
New metric: SongsNotAdditional.
...
Set this to false to have AdditionalSongs be valid for
unlocking purposes.
2011-06-26 16:14:50 -07:00
Jason Felds
ad628e8191
New metric: AutoLockEditSteps.
...
This is mainly for anyone that wants to have
bonus charts available after passing Expert.
This will probably fail if there are bonus charts
after Hard, but no Expert.
2011-06-26 16:10:24 -07:00
Jason Felds
c67e4d2349
Add unlocking one step per steps type.
...
This is different from just unlocking one step for all step types.
2011-06-24 00:28:57 -04:00
AJ Kelly
e26bccdf27
well, it doesn't crash anymore. not sure if it breaks anything yet.
2011-06-15 21:50:43 -05:00
AJ Kelly
7508f27fc9
fix compile
2011-04-30 19:40:43 -05:00
AJ Kelly
56f503e29b
[UnlockManager] Added GetPoints(UnlockRequirement), GetPointsForProfile(Profile,UnlockRequirement) Lua bindings.
2011-04-30 19:35:51 -05:00
AJ Kelly
b053e931c2
[UnlockEntry] Added GetCourse, GetCode Lua bindings.
...
[UnlockManager] Added UnlockRequirement_NumUnlocked enum.
2011-04-30 18:41:14 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
9d13036e08
Add @briefs to the Luna classes.
...
Yeah...there was a lot. */
2011-02-19 12:26:18 -05: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