Chris Danford
ddab166dad
fix "can't lay mines"
2005-01-21 06:47:50 +00:00
Chris Danford
a3ed21da36
turn off sphere mapping on tex unit 0 after rendering
2005-01-21 06:14:20 +00:00
Chris Danford
663bd5d8b7
fix misspelling
2005-01-21 06:13:45 +00:00
Chris Danford
434d49a70b
update VC6 proj
2005-01-21 06:01:18 +00:00
Chris Danford
d92379cc5d
update screen testing
2005-01-21 05:58:31 +00:00
Glenn Maynard
2b73f63ea8
RetryCancel -> AbortRetry
...
remove Dialog::cancel
2005-01-20 19:40:24 +00:00
Glenn Maynard
38c6dcbb0b
ugly hack to fix crash on "retry"
2005-01-20 19:16:47 +00:00
Glenn Maynard
6b2e1e6d13
more branch conversions
2005-01-20 18:29:20 +00:00
Glenn Maynard
75c7d7ec62
jump through fewer hoops with ScreenStage
2005-01-20 18:13:37 +00:00
Glenn Maynard
65e5d35937
unneeded include
2005-01-20 17:18:51 +00:00
Glenn Maynard
59d04d5755
proper portable fallback
2005-01-20 16:05:17 +00:00
Glenn Maynard
583eaf5532
fix syntax problem in some compilers
2005-01-20 14:53:22 +00:00
Glenn Maynard
cc70e8dd82
fix old sort not being selected in sort menu
2005-01-20 03:15:01 +00:00
Glenn Maynard
a2e18e1f78
update
2005-01-20 03:12:02 +00:00
Glenn Maynard
5670caf20d
update
2005-01-20 02:39:22 +00:00
Glenn Maynard
808f7ab7d5
fix m_meterSongPosition finishing too soon
2005-01-20 02:21:55 +00:00
Glenn Maynard
43ae26174e
removed
2005-01-20 02:11:59 +00:00
Glenn Maynard
6fdf6bfa57
cleanup
2005-01-20 02:07:02 +00:00
Glenn Maynard
d00062b915
fix gcc compile
2005-01-20 02:04:46 +00:00
Glenn Maynard
b19f730790
script fix
2005-01-20 01:51:30 +00:00
Glenn Maynard
362c2a1d10
remove some unused stuff
2005-01-20 01:50:56 +00:00
Glenn Maynard
7ac35530e9
comment
2005-01-20 01:49:04 +00:00
Glenn Maynard
5f4ee474f5
comments
2005-01-20 01:47:45 +00:00
Glenn Maynard
b8532a2880
update
2005-01-20 01:46:13 +00:00
Glenn Maynard
ce043592f3
Remove Xbox stuff from LoadingWindow_SDL; I don't think that build uses SDL anymore. Note that this type of platform-specific stuff doesn't belong in generic drivers like this ...
2005-01-20 01:44:46 +00:00
Glenn Maynard
1a1ab12c1f
cleanup
2005-01-20 01:42:06 +00:00
Glenn Maynard
9fc3addf45
cleanup
2005-01-20 01:42:05 +00:00
Glenn Maynard
9ebd1d19dd
more renames
2005-01-20 01:35:49 +00:00
Glenn Maynard
4a442d1699
more renames
2005-01-20 01:30:56 +00:00
Glenn Maynard
24250824de
At the cost of losing change history, I'm renaming a couple "SDL" filenames
...
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00
Glenn Maynard
21316d7904
use GetArg, so parameters are evaluated correctly
2005-01-20 01:09:34 +00:00
Glenn Maynard
e3ce7e8e73
fix script loading
...
move @expression evaluation into LuaManager (LuaManager::RunAtExpression)
evaluate string command parameters
2005-01-20 01:08:26 +00:00
Glenn Maynard
ae1329802b
SelectEvaluationScreen()
2005-01-20 00:38:25 +00:00
Glenn Maynard
6493010e49
Use a Lua script to select the evaluation screen, instead of a ScreenBranch.
...
This approach has several advantages. It's more flexible; full conditionals
can be used. It mixes with things like the "bGoingToPlayTheSameMusic"
logic in ScreenAttract much better; it gets the real real next screen, not
the branch. It also mixes with screen preloading, such as used by ScreenStage.
(I don't know if grouping functions that are used like branches makes sense;
I'm not sure how Lua will be used in general, so this stuff might get reorganized
later.)
2005-01-20 00:37:33 +00:00
Glenn Maynard
d18a8342fc
s/Lua/Scripts/ (we don't call the "Graphics" directory "Png/" ...)
2005-01-19 23:46:09 +00:00
Glenn Maynard
714bf62d5d
add "Trace" (in here and not RageLog because I'm not yet quite ready
...
to make everything in Rage depend on Lua ...)
2005-01-19 23:43:28 +00:00
Glenn Maynard
5ef0d4159d
Load global Lua scripts.
...
This is appropriate for global scripts which are loaded only once, and
used multiple times: the scripts can safely affect global state (eg. override
functions), and stay in memory. There's no way to unload them short
of resetting the Lua state. It's not appropriate for one-shot scripts, such
as those that might be associated with BGAnimations. (needs more work)
2005-01-19 23:36:15 +00:00
Glenn Maynard
dd3aa1c12e
I'd hoped to not need explicit initialization of Lua, but it's more
...
trouble than it's worth.
Add LuaManager::RunScriptFile, LuaManager::RunScript, LuaManager::Init.
2005-01-19 23:33:19 +00:00
Glenn Maynard
0f4aec8584
change Lua to a singleton object
...
hide Lua state
2005-01-19 23:01:53 +00:00
Glenn Maynard
91a6486f9e
start changing Lua to a singleton object
2005-01-19 22:27:24 +00:00
Glenn Maynard
048ff316e7
comment
2005-01-19 21:45:09 +00:00
Glenn Maynard
e9789a861d
Once a screen is queued to load, discard further inputs
2005-01-19 21:44:03 +00:00
Glenn Maynard
d8b7d68842
Make lua a global library. I'm not sure this is best (PrefsManager needs it), but it's nice to simply be able to define Lua functions anywhere ... (fixes build of some tests)
2005-01-19 18:23:19 +00:00
Glenn Maynard
41622d238c
Use sysfs to probe memory cards. This has several advantages:
...
all of the information we need is in one place, with proper links so we
don't have to do weird hacks to connect data together
we don't have to touch /proc/bus/usb/devices; doing so generates USB
messages to all devices, which can cause problems
works for all removable devices; usb-storage or ub should both work with
no changes, as long as mountpoints exist in /etc/fstab
doesn't need to fork lsusb
Old support is removed; unless serious, unfixable problems are found with
this method, the old code is too big and confusing to keep around. This
code needs more testing.
2005-01-19 18:11:13 +00:00
Glenn Maynard
b0df65805e
Update iLastHeldRow even when out of range, to be sure it's clamped
...
properly. Fixed hold counting glitches.
2005-01-18 08:20:14 +00:00
Glenn Maynard
9344535419
fix Command/ActorUtil::Command ambiguity
2005-01-17 22:45:00 +00:00
Glenn Maynard
288b5c903b
cleanup
2005-01-17 22:42:57 +00:00
Glenn Maynard
c456148b37
quiet aclocal 1.8 warnings
2005-01-17 17:51:18 +00:00
Chris Danford
5d6eb1d236
put ActorUtil functions in a namespace
2005-01-17 05:42:52 +00:00
Chris Danford
cda4c3b04a
make Actor LoadFromNode signatures consistent
2005-01-17 05:28:16 +00:00