Commit graph

372 commits

Author SHA1 Message Date
janwas
ca9174e1d8 update vfs_load; now returns handle with the correct file size (i.e. leaving out padding)
This was SVN commit r934.
2004-08-07 13:45:03 +00:00
janwas
58a0437e66 fix comment on not storing aiocb in struct File
This was SVN commit r933.
2004-08-07 13:44:28 +00:00
janwas
09cf9dce75 add support for lying about a memory handle's actual allocation (useful for the file code, which allocates extra room for padding yet wants to return the allocation's handle)
This was SVN commit r932.
2004-08-07 13:34:43 +00:00
janwas
58ae20116a due to mem fix, DDS file size is correct; assert that verifies that was moved here from ogl_tex and un-commented-out
This was SVN commit r931.
2004-08-07 13:33:30 +00:00
janwas
5026705fe8 moved DDS file size check to tex (it's file format-specific)
This was SVN commit r930.
2004-08-07 13:32:32 +00:00
Ykkrosh
4e517d52f7 oglCheck() function, which blows up when you add invalid OpenGL code
This was SVN commit r923.
2004-08-06 14:58:58 +00:00
janwas
db344d5f51 add get_executable_path (used by file_rel_chdir)
This was SVN commit r920.
2004-08-05 19:21:35 +00:00
janwas
fb7e097d24 move some win-specific debug calls here (implements sysdep/debug)
This was SVN commit r919.
2004-08-05 19:21:16 +00:00
janwas
c1dc584e22 use get_executable_path (sysdep) instead of relying solely on argv0
This was SVN commit r918.
2004-08-05 19:20:45 +00:00
janwas
bcbb2a36c7 missing brace - d'oh!
This was SVN commit r916.
2004-08-05 14:06:16 +00:00
janwas
a91b0d9368 only store HMem if FILE_CACHE
This was SVN commit r915.
2004-08-05 14:02:10 +00:00
janwas
d274e4c7f9 more comments; also SECTOR_SIZE constant added
This was SVN commit r914.
2004-08-05 14:01:49 +00:00
olsner
b2afef529c Introducing: The Pre-Game State. The game instance is not created on program load as before, but can be started by JS functions.
This was SVN commit r912.
2004-08-05 13:07:51 +00:00
janwas
338b849b4c FILE_CACHE flag: overrides default of not caching the file handle (see explanation in latest build thread)
This was SVN commit r910.
2004-08-05 12:48:13 +00:00
janwas
affb03cbc4 add flags param for future use (as in vfs_store)
This was SVN commit r909.
2004-08-05 12:47:40 +00:00
janwas
a1cf32474a RES_TEMP scope alias: RES_NO_CACHE
This was SVN commit r908.
2004-08-05 12:45:56 +00:00
janwas
146491beed add too-many-file open warning when opening, too (but the underlying problem is fixed)
This was SVN commit r907.
2004-08-05 12:45:27 +00:00
olsner
7d608e084a Include the real fam header instead of the one for Windows FAM emulation
This was SVN commit r905.
2004-08-05 12:17:06 +00:00
janwas
f01b1ebb58 triviality: remove / from module filename in exception report
This was SVN commit r901.
2004-08-05 02:30:27 +00:00
janwas
9e19efa240 fix exception string (no longer always INVALID_HANDLE)
This was SVN commit r899.
2004-08-05 01:56:55 +00:00
janwas
9a2acadc2e add instrumentation showing when files are opened
This was SVN commit r891.
2004-08-03 12:57:06 +00:00
janwas
f1c7af9a95 ignore .xmb files when reloading (not critical, just avoids output clutter)
This was SVN commit r890.
2004-08-03 12:56:44 +00:00
MarkT
2b396ccb57 Minor improvements to some simulation code.
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
janwas
78d47d3016 fixed funny bug: file write handles were cached; VFS writes (eg. screenshots) led to reload -> wiped out file contents
temp solution: do not cache file writes; see latest build thread.

This was SVN commit r885.
2004-08-02 22:16:18 +00:00
janwas
06725f7613 be less annoying when tag security check is undermined
This was SVN commit r884.
2004-08-02 21:29:55 +00:00
janwas
05f02111da split debug functions out into separate sysdep/debug header
This was SVN commit r883.
2004-08-02 13:47:38 +00:00
janwas
8485fc3d82 cleanup; keep_open scheme that means resources will actually be cached (default is now to keep in mem). caching control is still missing
This was SVN commit r882.
2004-08-02 13:46:44 +00:00
janwas
4c3f1027dd small optimization: rounds offset down (and restores later) to avoid buffer copy in waio
This was SVN commit r881.
2004-08-02 13:45:35 +00:00
janwas
3e92b4a043 comment path conversion functions
This was SVN commit r880.
2004-08-02 13:44:48 +00:00
janwas
85b1f26f65 inline in the hopes the compiler will leave out the call (so call stack isn't polluted)
This was SVN commit r879.
2004-08-02 13:38:05 +00:00
janwas
fc77eadd9e re-enable HRTs (had disabled for testing). oops
This was SVN commit r878.
2004-08-02 13:35:45 +00:00
janwas
0d9523d921 fix aiocb struct size assumption (was included in resource control block; now allocated dynanmically)
This was SVN commit r876.
2004-08-01 20:23:53 +00:00
janwas
30553628ab remove dead code
This was SVN commit r875.
2004-08-01 20:23:11 +00:00
janwas
18e55bba4f no message
This was SVN commit r874.
2004-08-01 20:14:14 +00:00
janwas
44a4262ab8 bugfix: correct path now returned.
This was SVN commit r873.
2004-08-01 01:08:54 +00:00
janwas
358cf63bf3 no message
This was SVN commit r872.
2004-07-31 19:55:36 +00:00
janwas
4577ad00dc fix include path
This was SVN commit r870.
2004-07-31 19:47:40 +00:00
janwas
29f5d23dae no change
This was SVN commit r868.
2004-07-31 19:36:46 +00:00
janwas
a060a65a95 attempt to get Zip archives working (problem with directory traverse in VFS). not quite there yet
This was SVN commit r867.
2004-07-31 19:36:06 +00:00
janwas
7618033b3a no longer emulate FAM, due to a stupid design flaw. instead, implement sysdep/dir_watch interface
This was SVN commit r866.
2004-07-31 19:35:22 +00:00
olsner
ce742e37c2 Very important newline-at-end-of-file fix :-]
This was SVN commit r863.
2004-07-31 15:51:49 +00:00
janwas
1739f66428 no longer emulate FAM, due to a stupid design flaw. instead, implement sysdep/dir_watch interface
This was SVN commit r862.
2004-07-31 15:50:30 +00:00
olsner
1ffe320d23 Updated include path for files moved into sysdep/
This was SVN commit r861.
2004-07-31 15:44:20 +00:00
janwas
d5142ff7f8 move from lib/ to lib/sysdep
This was SVN commit r859.
2004-07-31 14:10:06 +00:00
Ykkrosh
bbb57ac6db Removed references to font.h
This was SVN commit r856.
2004-07-31 12:44:13 +00:00
janwas
fa4fc7f4ee change CVFSFile header path
This was SVN commit r855.
2004-07-31 11:38:13 +00:00
janwas
363fba9b94 moved from lib/res/ to ps/
This was SVN commit r854.
2004-07-31 11:36:44 +00:00
janwas
ab2b08d97b fix a problem that allowed use of non-open but cached resources
This was SVN commit r853.
2004-07-31 11:29:57 +00:00
janwas
2c23606c31 hook up aio; cleanup; commenting
This was SVN commit r850.
2004-07-31 11:03:17 +00:00
janwas
1d57c77aed greatly simplified (1500 -> 1000 lines) by stripping out previous overly complicated caching mechanism.
will replace with new, simpler cache that only stores temp buffers for
first and last block when reading from ZIp (everything else is covered
by handle manager cache)

This was SVN commit r848.
2004-07-31 02:02:44 +00:00