Glenn Maynard
4386b9bc83
add deflate compressing (simple, since we already use zlib)
2004-12-11 23:06:34 +00:00
Glenn Maynard
d171b8e306
don't always free pFile from ~RageFileObjInflate
2004-12-11 22:57:03 +00:00
Glenn Maynard
d924734232
track file position for writes, too
2004-12-11 22:51:07 +00:00
Glenn Maynard
1e4eb54010
update comment
2004-12-11 22:31:21 +00:00
Glenn Maynard
f504d87bed
don't load ""
2004-12-11 22:29:55 +00:00
Glenn Maynard
951206881d
fix loading ""
2004-12-11 22:08:49 +00:00
Glenn Maynard
56231370fe
fix warnings (format is "1:1")
...
no need to specify these; this is only really needed for menus that give
options in two dimensions, the defaults are usually fine
2004-12-11 21:55:13 +00:00
Glenn Maynard
b25dfebb5b
fix options menu selection
2004-12-11 21:49:55 +00:00
Glenn Maynard
29620a19bf
make 0% RandomSpeed no effect (like other mods), instead of 100%
...
fix options menu selection
2004-12-11 21:48:32 +00:00
Glenn Maynard
294ddd9100
fix unnecessary drawing
2004-12-11 12:58:34 +00:00
Glenn Maynard
bd2bd7e2bf
real arrow visibility fix
...
fix numbers not actually being random
2004-12-11 12:31:17 +00:00
Glenn Maynard
d9843f67f1
arrow visibility fix
2004-12-11 12:11:36 +00:00
Glenn Maynard
e9dde787f3
simplify
2004-12-11 11:58:56 +00:00
Steven Towle
e7f1204f41
added random speed modifier (as an experiment for random variables in modifiers)
2004-12-11 11:06:41 +00:00
Chris Danford
bdc8ded3cc
move background back into ScreenStage because it loads from a special theme element name
2004-12-11 10:23:55 +00:00
Chris Danford
a37c18fbb0
don't use a background for ScreenGameplay
2004-12-11 10:23:06 +00:00
Chris Danford
083db90df8
unload BGA for screens that don't have a background
2004-12-11 10:22:42 +00:00
Chris Danford
7d26f28dee
whoops. Fix AV on creation of first screen.
2004-12-11 10:03:39 +00:00
Glenn Maynard
b55604f1df
update
2004-12-11 09:56:28 +00:00
Chris Danford
8da1e887f4
fix wrong background loaded after a ScreenBranch
2004-12-11 09:54:08 +00:00
Chris Danford
2185c82ff8
ScreenBranch shouldn't try to load a background
2004-12-11 09:50:09 +00:00
Chris Danford
104b18f820
fix VC6 project missing files
2004-12-11 09:23:46 +00:00
Chris Danford
d0cece9bea
cleanup
2004-12-11 09:14:52 +00:00
Chris Danford
cc89b5a7b9
fix options screen always selects first choice in each row
2004-12-11 09:13:28 +00:00
Chris Danford
37cff8a09e
don't unload resources shared between backgrounds when loading a new background
2004-12-11 08:35:23 +00:00
Glenn Maynard
4059c657ca
split out deflate compression layer; this could also be used with gzip
2004-12-11 08:03:39 +00:00
Glenn Maynard
3e1bc98856
move some ZIP handling code into RageFileDriverSlice
2004-12-11 06:35:41 +00:00
Glenn Maynard
10e47f27e8
Run the absolute seek test twice.
2004-12-11 04:50:12 +00:00
Glenn Maynard
752d4ecdb8
simplify: use RageFileObjZipStored to create an abstract "file" within the ZIP, which is them simply passed to RageFileObjZipDeflate if it's compressed.
2004-12-11 04:48:16 +00:00
Glenn Maynard
1552944b98
generalize/cleanup
2004-12-11 04:23:48 +00:00
Glenn Maynard
de0eed990d
generalize/cleanup
2004-12-11 04:16:49 +00:00
Glenn Maynard
dd18027478
optimization
2004-12-11 04:03:12 +00:00
Chris Danford
848d302c70
update VC6 project
2004-12-11 03:35:33 +00:00
Glenn Maynard
614dfefd49
make buffering optional, to avoid accumulative overhead
2004-12-11 02:53:22 +00:00
Glenn Maynard
a946c220bc
whitespace cleanups (prefer tabs over spaces)
2004-12-11 02:30:24 +00:00
Glenn Maynard
ae92b86b34
RageFileBasic
2004-12-11 02:25:38 +00:00
Glenn Maynard
31f477b1b8
RageBasicFile -> RageFileBasic (sorts better), move it and RageFileObj (probably to be renamed) into a separate file since they're no longer "file driver"-specific
2004-12-11 02:21:56 +00:00
Glenn Maynard
7bb2cec302
simplify RageFileObjZipStored
2004-12-11 01:18:27 +00:00
Glenn Maynard
47994102b3
vc fix?
2004-12-10 13:13:14 +00:00
Glenn Maynard
8915e3944a
simplify; use RageBasicFile instead of RageFileObj
2004-12-10 10:04:32 +00:00
Glenn Maynard
2474150aeb
allow passing a file directly to IniFile
2004-12-10 09:46:09 +00:00
Glenn Maynard
57c218dd6e
add copy ctor, GetString
2004-12-10 09:27:11 +00:00
Glenn Maynard
2607397fde
move RageFileObjMem definition into header
2004-12-10 09:13:03 +00:00
Glenn Maynard
46ce532f18
simplify reference handling
2004-12-10 09:10:14 +00:00
Glenn Maynard
bcba89a2c9
cleanup
2004-12-10 08:53:52 +00:00
Glenn Maynard
287a150db7
Move buffering logic from RageFile into RageFileObj.
...
Common file interface class, RageBasicFile, shared by RageFile
and RageFileObj. This makes most uses of these objects interchangeable.
RageFile is now just a simple wrapper for RageFileObj, to create
files in FILEMAN's namespace; file objects can also be created
independently. This means that, for example, IniFile can be used
to write a file to a CString, without having to jump through hoops,
and without having to use a separate file access wrapper; just do
something like:
RageFileObjMem string_file;
ini.WriteFile( string );
const CString &sString = string_file.GetString();
2004-12-10 08:48:18 +00:00
Glenn Maynard
4feb167b6e
It's fine to call Close() on a file which isn't open.
2004-12-10 06:35:17 +00:00
Glenn Maynard
a526d09e3a
seek fix
2004-12-10 03:25:28 +00:00
Glenn Maynard
e2ea72dbac
internalize RageFileObj implementation functions
2004-12-10 03:14:01 +00:00
Glenn Maynard
2bf27c582c
cleanup
2004-12-09 11:52:49 +00:00