Glenn Maynard
508aaa2857
remove unused
2006-10-18 20:02:26 +00:00
Glenn Maynard
001a57c2e1
exchange one nonportable API for another, since newer Linux kernels changed their mind
2006-10-18 19:48:20 +00:00
Glenn Maynard
f7f21e2b8c
Replace PRNG with a standard MT.
...
RandomGen r; r(); now generates [0,2^31-1] on 32-bit platforms,
not [0,2^31-2]. No longer uses MAX_INT, so the default behavior
doesn't depend on the size of an int.
RandomInt no longer generates a float and truncates it. That
limited the values that could be returned to those that fit in
a 32-bit float.
Remove NR code. It's not free.
This code is not threadsafe. Locking access would kill performance.
The old code wasn't, either. I think most symptoms would be
innocuous enough to not worry about.
2006-10-18 02:28:06 +00:00
Glenn Maynard
08ca0d7721
hide RandomFloat(seed) interface
...
hide randseed
2006-10-18 01:46:15 +00:00
Glenn Maynard
697baec3c8
don't use RandomFloat(int*) interface; do this directly, since it
...
really does expect something like an LCG
2006-10-18 01:04:34 +00:00
Glenn Maynard
15d6f3b18f
fix popping; note position can depend on the column
2006-10-18 01:03:00 +00:00
Glenn Maynard
82be487b07
iiiii
2006-10-17 22:24:16 +00:00
AJ Kelly
5d5be07a1d
add missing ' on GhostArrowDim HitMineCommand
2006-10-17 21:45:11 +00:00
Glenn Maynard
dfaaa18a03
s[s.size()] is probably always going to work, but probably isn't actually valid
2006-10-17 21:41:55 +00:00
AJ Kelly
c0492d0bc1
change font, slightly change position, remove shadow
2006-10-17 21:12:11 +00:00
Steve Checkoway
eefc6e283f
BlendMode
2006-10-17 21:07:00 +00:00
Steve Checkoway
200063c9a4
Add bitmap text in lua. Just an example, feel free to make this look good now.
2006-10-17 20:23:22 +00:00
AJ Kelly
4d6d925aa5
fixed as mentioned on list (can someone please explain how I can call a BitmapText actor with Lua so I can re-add the text, or should I just use XML for the time being?)
2006-10-17 13:38:15 +00:00
Steve Checkoway
4ad2102387
Cleanup.
2006-10-17 10:00:18 +00:00
Steve Checkoway
96190e04b3
Stretch. Having widescreen graphics that we could just crop would be much better. Anyone want to make such backgrounds?
2006-10-17 09:25:25 +00:00
Glenn Maynard
d8a75ce90e
only one of sPath and sFullTitle may be set
2006-10-17 09:02:13 +00:00
Glenn Maynard
b30163e157
private
2006-10-17 08:58:58 +00:00
Glenn Maynard
0ade73be87
note PCRE license
2006-10-17 08:58:26 +00:00
Steve Checkoway
b863eef79a
Difficulty. Remove unused deprecated.
2006-10-17 08:41:33 +00:00
Steve Checkoway
9b7c143048
Fix path
2006-10-17 08:34:18 +00:00
Glenn Maynard
c7dff72292
PCRE 4.5 relicensed to standard BSD, like later versions
...
(with permission from Philip Hazel)
2006-10-17 08:34:03 +00:00
Steve Checkoway
e00b841aec
Fix extra stage.
2006-10-17 08:23:09 +00:00
Steve Checkoway
64138f7894
Enums.
2006-10-17 08:22:47 +00:00
Steve Checkoway
f0bf9264c2
static.
2006-10-17 08:14:45 +00:00
Steve Checkoway
b90d4f8769
Cleanup.
2006-10-17 07:56:48 +00:00
Glenn Maynard
99678eb50f
PlayerNumber
2006-10-17 07:54:04 +00:00
Steve Checkoway
22720e8338
Use filename.
2006-10-16 10:34:20 +00:00
Steve Checkoway
a19dad4716
Fix input crash and add text as subactors.
2006-10-16 10:16:47 +00:00
Steve Checkoway
156322028e
Play name entry music.
2006-10-16 09:31:28 +00:00
Steve Checkoway
ea383df3e1
Static.
2006-10-16 09:01:39 +00:00
Steve Checkoway
52e55b8efc
Cleanup. This is done in the metrics with lua.
2006-10-16 08:47:15 +00:00
Steve Checkoway
baa0c8e6c8
It does. RString( num, c ).
2006-10-16 08:44:12 +00:00
Steve Checkoway
59a7aee9b5
Use metrics.
2006-10-16 08:42:54 +00:00
Steve Checkoway
15a60d7f9d
Once CurrentStringIndex is equal to MAX_RANKING_NAME_LENGTH, it isn't going to change so break.
2006-10-16 08:27:49 +00:00
Steve Checkoway
07d33c3935
widescreen
2006-10-16 08:08:02 +00:00
Steve Checkoway
7fa809ed32
I am not totally positive that this is the correct way to do this, but it seems to work in widescreen now.
2006-10-16 08:05:53 +00:00
Steve Checkoway
d07dc2335a
static.
2006-10-16 07:30:25 +00:00
Steve Checkoway
8d02fa3eb3
Cleanup.
2006-10-16 07:18:03 +00:00
Steve Checkoway
793c616f38
Simplify.
2006-10-16 04:53:48 +00:00
Steve Checkoway
bffe668d00
Real unique names now.
2006-10-16 04:52:12 +00:00
Steve Checkoway
75564786d4
Generate a "unique" name based on line numbers.
2006-10-16 04:51:46 +00:00
Glenn Maynard
ab4e4a39a4
fix PCH
...
fix folder nesting
2006-10-16 03:28:40 +00:00
Glenn Maynard
260ce8a472
allow coroutine.corunning to return the main thread
...
http://lua-users.org/lists/lua-l/2006-09/msg00751.html
2006-10-15 21:01:34 +00:00
Glenn Maynard
84dc84627b
fix clean shutdown on abort (dtor order problem)
2006-10-15 20:50:27 +00:00
Steve Checkoway
1e3466997e
Cleanup.
2006-10-15 09:53:27 +00:00
Steve Checkoway
061df3ccfa
cleanup
2006-10-15 09:51:54 +00:00
Glenn Maynard
d491ae1af8
stash colors manually for now; havn't decided on a generic way to pass
...
parameters to actor loading
2006-10-15 09:30:31 +00:00
Steve Checkoway
4590dea0b3
Partial revert. Glenn knew what he was doing with lua_next(), even if I did not. =)
2006-10-15 08:47:31 +00:00
Glenn Maynard
1d5e21c778
old comment
2006-10-15 08:29:26 +00:00
Glenn Maynard
cea3b4ef5e
remove <Command> children. This was only used to generate
...
command names on the fly. If you need that, use Lua, eg.:
Actor.Quad {
[s .. "Command"] = cmd(x,10)
}
2006-10-15 08:28:11 +00:00