1
0
forked from 0ad/0ad
Commit Graph

834 Commits

Author SHA1 Message Date
db344d5f51 add get_executable_path (used by file_rel_chdir)
This was SVN commit r920.
2004-08-05 19:21:35 +00:00
fb7e097d24 move some win-specific debug calls here (implements sysdep/debug)
This was SVN commit r919.
2004-08-05 19:21:16 +00:00
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
5f25030964 previous fix was incorrect; utf16 was new and not yet committed
This was SVN commit r917.
2004-08-05 15:07:05 +00:00
bcbb2a36c7 missing brace - d'oh!
This was SVN commit r916.
2004-08-05 14:06:16 +00:00
a91b0d9368 only store HMem if FILE_CACHE
This was SVN commit r915.
2004-08-05 14:02:10 +00:00
d274e4c7f9 more comments; also SECTOR_SIZE constant added
This was SVN commit r914.
2004-08-05 14:01:49 +00:00
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
aa1c08f6be Fixed double negative (#ifndef NDEBUG), to choose debug/release Vorbis libraries correctly
This was SVN commit r911.
2004-08-05 13:02:23 +00:00
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
affb03cbc4 add flags param for future use (as in vfs_store)
This was SVN commit r909.
2004-08-05 12:47:40 +00:00
a1cf32474a RES_TEMP scope alias: RES_NO_CACHE
This was SVN commit r908.
2004-08-05 12:45:56 +00:00
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
b51314d34a added flag parameter (default 0). wasn't necessary here, but will allow influencing caching strategy
This was SVN commit r906.
2004-08-05 12:44:29 +00:00
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
a823a00570 utf16() method for CStr8/W => utf16string conversion
This was SVN commit r904.
2004-08-05 12:15:53 +00:00
875ceeb9cf fix breakage: utf16 -> utf16string and include header
or was something else intended? no other occurence of "utf16"

This was SVN commit r903.
2004-08-05 12:15:19 +00:00
b986ff832b Some Linux wchar_t/jschar stuff.. JS uses UTF-16/UCS-2, so convert wchar strings before handing to JS unicode interfaces.
This was SVN commit r902.
2004-08-05 12:04:20 +00:00
f01b1ebb58 triviality: remove / from module filename in exception report
This was SVN commit r901.
2004-08-05 02:30:27 +00:00
5bc8cb1ddb when something goes wrong, LOG instead of exit
This was SVN commit r900.
2004-08-05 02:14:00 +00:00
9e19efa240 fix exception string (no longer always INVALID_HANDLE)
This was SVN commit r899.
2004-08-05 01:56:55 +00:00
notpete
8a77473ef0 Fix for lighting settings not loading from map files.
This was SVN commit r898.
2004-08-04 21:03:53 +00:00
9a2acadc2e add instrumentation showing when files are opened
This was SVN commit r891.
2004-08-03 12:57:06 +00:00
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
db702310d7 Fixed crash when reading invalid XML files
This was SVN commit r889.
2004-08-03 10:17:08 +00:00
MarkT
2b396ccb57 Minor improvements to some simulation code.
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
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
06725f7613 be less annoying when tag security check is undermined
This was SVN commit r884.
2004-08-02 21:29:55 +00:00
05f02111da split debug functions out into separate sysdep/debug header
This was SVN commit r883.
2004-08-02 13:47:38 +00:00
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
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
3e92b4a043 comment path conversion functions
This was SVN commit r880.
2004-08-02 13:44:48 +00:00
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
fc77eadd9e re-enable HRTs (had disabled for testing). oops
This was SVN commit r878.
2004-08-02 13:35:45 +00:00
f1bb625684 cleaned up ParseArgs
This was SVN commit r877.
2004-08-02 12:53:49 +00:00
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
30553628ab remove dead code
This was SVN commit r875.
2004-08-01 20:23:11 +00:00
18e55bba4f no message
This was SVN commit r874.
2004-08-01 20:14:14 +00:00
44a4262ab8 bugfix: correct path now returned.
This was SVN commit r873.
2004-08-01 01:08:54 +00:00
358cf63bf3 no message
This was SVN commit r872.
2004-07-31 19:55:36 +00:00
1bbb35b204 Variable fonts in the GUI
This was SVN commit r871.
2004-07-31 19:52:15 +00:00
4577ad00dc fix include path
This was SVN commit r870.
2004-07-31 19:47:40 +00:00
352a3bed64 fix warning
This was SVN commit r869.
2004-07-31 19:46:14 +00:00
29f5d23dae no change
This was SVN commit r868.
2004-07-31 19:36:46 +00:00
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
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
09f47d6820 Core Classes Reorganization:
- g_Terrain and g_Camera totally eradicated as globals, is now m_Terrain
of CWorld and m_Camera of CGameView
- terrainMain.cpp is almost completely empty with functionality moved
into the relevant core classes
- Miscellaneous global functions moved into Core Classes (mostly
GameView)

This was SVN commit r865.
2004-07-31 15:57:18 +00:00
aff7bd83e6 Some logging and more detailed error reporting
This was SVN commit r864.
2004-07-31 15:56:18 +00:00
ce742e37c2 Very important newline-at-end-of-file fix :-]
This was SVN commit r863.
2004-07-31 15:51:49 +00:00
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