1
0
forked from 0ad/0ad
Commit Graph

259 Commits

Author SHA1 Message Date
21e685b1f6 fix refcount (now initialized to 1)
This was SVN commit r738.
2004-07-13 21:12:46 +00:00
dccdd0c747 Allow font unloading
This was SVN commit r734.
2004-07-12 20:08:34 +00:00
c27c765121 tiny comment and debug string change
This was SVN commit r719.
2004-07-12 14:22:17 +00:00
14aa03f3b0 Linux/GCC compat: wchar_t size fix for glCallLists
This was SVN commit r714.
2004-07-11 20:29:34 +00:00
1001aeacf5 Linux/GCC compat, headers and such
This was SVN commit r695.
2004-07-10 21:25:35 +00:00
4769a92894 Added newline at end
This was SVN commit r689.
2004-07-10 20:28:18 +00:00
d5197e3c77 revised mount logic; now stores the mount point and uses it to correctly convert from VFS to native paths
This was SVN commit r675.
2004-07-09 19:58:43 +00:00
af58e59633 pass FILE_NO_AIO at open instead of calling uncached_* (which ended up duplicating code)
This was SVN commit r674.
2004-07-09 19:57:59 +00:00
dc5e5dd774 PNG and BMP "encode" now operational
This was SVN commit r672.
2004-07-09 02:18:59 +00:00
41d8db6f81 add vfs_exists, uncached_io, and change IO interface to value-return buffer param (void**)
This was SVN commit r671.
2004-07-09 02:17:37 +00:00
306053c994 bring read interface into line with vfs_io (value-return buffer param)
This was SVN commit r670.
2004-07-09 02:14:21 +00:00
8306c53492 increase control block size to "plenty" until things settle
This was SVN commit r669.
2004-07-09 02:13:09 +00:00
226fd70292 now open files in binary mode on windows (thanks to philip for catching this)
This was SVN commit r661.
2004-07-08 15:10:26 +00:00
a779ef8595 common interface to texture format codecs; work started on encoders (to write textures)
This was SVN commit r658.
2004-07-08 14:40:24 +00:00
b7a05fd50b fix iterator invalidation bug triggered by multiple mount points; add vfs_uncached_io()
This was SVN commit r657.
2004-07-08 14:38:58 +00:00
875d78d10b reqnum = int; complain if watch failed
This was SVN commit r655.
2004-07-08 14:33:58 +00:00
0c05abb304 fixes for write code and new uncached_write routine (bypass cache, no file padding problem)
This was SVN commit r654.
2004-07-08 14:30:35 +00:00
bfafb8fce4 add to some comments
also removed redundant VFS file open flags

This was SVN commit r633.
2004-07-05 02:33:47 +00:00
7bb375ac69 completed support for writing files (hopefully). now adds them to the VFS tree.
also removed VFS file open flags, used file.h flags instead

This was SVN commit r632.
2004-07-05 02:32:43 +00:00
680d5dd7b4 revisions to file open flag comments. btw, these are now also used by VFS
This was SVN commit r631.
2004-07-05 02:31:32 +00:00
e9a7876e0d slight changes to open / stat interface to bring in line with SUS (and therefore POSIX, i hope)
also pass in pmode

This was SVN commit r630.
2004-07-05 02:30:53 +00:00
64444251d4 fixed bug (missing else) reported by philip. thanks!
This was SVN commit r615.
2004-06-30 18:47:15 +00:00
ddd7821425 res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
766a0b4077 split tex code into (file format specific) loaders and opengl texture ops like upload()
This was SVN commit r601.
2004-06-25 22:18:03 +00:00
cc02e9ea97 more abstraction in VFS<->dir watch interface (thinking of using dazuko and/or FAM)
This was SVN commit r594.
2004-06-23 16:29:03 +00:00
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
24f0756712 bail if #chars = 0 (avoid BC warning); fix debug messages
This was SVN commit r574.
2004-06-21 12:49:37 +00:00
c01eb01dfb Linux fixedness
This was SVN commit r567.
2004-06-19 21:13:10 +00:00
aed6d949d5 new #included
This was SVN commit r566.
2004-06-19 21:12:39 +00:00
2299573567 now catches bad_alloc exceptions thrown during reloads (=> no need to wrap new in exception handler there)
This was SVN commit r558.
2004-06-19 14:45:46 +00:00
d181ccf97e Hopefully now working in gcc *and* MSVC
This was SVN commit r542.
2004-06-18 19:14:42 +00:00
32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
3b6ad836e2 Minor header adjustments
This was SVN commit r536.
2004-06-18 18:34:04 +00:00
38bfabeb38 fixed goto problem with gcc - was jumping over an (unused) var decl
This was SVN commit r535.
2004-06-18 14:59:50 +00:00
941f7c3661 bullet-proofing - fail if reloading VDir
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
8347bebebc Spelling corrction
This was SVN commit r524.
2004-06-16 16:29:38 +00:00
f149e007e1 Unicode fonts
This was SVN commit r520.
2004-06-16 15:36:49 +00:00
358f43205a Allow texture format override, so that the 8-bit GL_ALPHA fonts can work
This was SVN commit r519.
2004-06-16 15:35:05 +00:00
e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
da1e6df5f0 uhoh, yet another problem. quick fix so others aren't impacted; investigating
This was SVN commit r496.
2004-06-13 17:15:38 +00:00
3893d1597d fixed loophole in mount path handling (cannot now mount parent dir of a previous mounting)
This was SVN commit r495.
2004-06-13 16:58:22 +00:00
f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
641ad1e382 moved fmod shutdown here from main - this module is responsible for that.
This was SVN commit r485.
2004-06-13 15:32:34 +00:00
15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
MarkT
e4fe4ed602 JS Interface to entities. It even partially works now.
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
a30a82469e some toe-stepping that evidently resulted in two prot variables :P
This was SVN commit r465.
2004-06-09 22:38:37 +00:00
bb1a9bad7d fail file_map requests for empty files (avoids bc warning)
This was SVN commit r460.
2004-06-09 16:10:23 +00:00
25d2a41c64 glprintf: ignore empty strings (avoids bc warning)
This was SVN commit r459.
2004-06-09 16:09:07 +00:00
ca523e9f3c GCC compat (init skipped by goto)
This was SVN commit r442.
2004-06-09 13:49:32 +00:00
5d440712f2 GCC compat
This was SVN commit r441.
2004-06-09 13:48:49 +00:00
5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
825289242a added vfs_get_path (bad name) - returns the VFS path to a given real dir
(used by res.cpp to translate paths from WFAM)

This was SVN commit r426.
2004-06-08 15:21:42 +00:00
d7dbf08bc2 auto-reload finished (last remaining problem: translating OS paths to VFS)
This was SVN commit r425.
2004-06-08 15:18:01 +00:00
78fa30be94 export path conversion function for res.cpp interaction with FAM
This was SVN commit r424.
2004-06-08 15:16:50 +00:00
f9ad314f5a fix empty-statement warning (i.e. comment out - that spot isn't implemented yet)
This was SVN commit r407.
2004-06-07 00:04:37 +00:00
815e177beb now responsible for watching mountings for changes via FAM
This was SVN commit r406.
2004-06-07 00:04:02 +00:00
2dcb0d8056 more header fixes
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
7b9e881039 initial code using FAM API. unfinished; one problem remaining is how to convert absolute paths to their VFS equivalent
This was SVN commit r400.
2004-06-04 17:44:56 +00:00
0dc6007fbd (re)added headers so it'll work without HAVE_PCH
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
c15300446e fix stupid mmap bug reported by simon
This was SVN commit r387.
2004-06-03 14:20:09 +00:00
0b3d0c9e5c small interface changes to bring in line with vfs and file
This was SVN commit r386.
2004-06-03 13:57:36 +00:00
cb75497412 documentation! w00t
This was SVN commit r385.
2004-06-03 13:57:00 +00:00
2339389870 implemented refcount for mmap
This was SVN commit r376.
2004-06-03 00:27:50 +00:00
2d51e32878 some bulletproofing; completed+documented mmap
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
af3949ab7a updated file mapping (was partially unimplemented)
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
f8dafe455d CVS dirs are skipped when mounting
This was SVN commit r362.
2004-06-02 16:58:35 +00:00
719b8f1074 fixed *nix libpng include fix
This was SVN commit r361.
2004-06-02 16:33:59 +00:00
4ba7fc3b7c yet more tree_lookup fixes for bug pointed out by simon
This was SVN commit r358.
2004-06-02 16:12:13 +00:00
85f335e0fe fixed tree_lookup - now allows dir names (with optional trailing slash)
This was SVN commit r354.
2004-06-02 15:32:42 +00:00
c0d33d3330 Linux/GCC compat, a few newlines at end of file, minor changes
This was SVN commit r353.
2004-06-02 15:31:55 +00:00
9bdbc49306 now pull in .lib file via source (more convenient than using project settings)
This was SVN commit r339.
2004-06-02 01:07:25 +00:00
kezz
11979a48fa kezz - adding preliminary sound code
This was SVN commit r336.
2004-06-01 22:19:53 +00:00
3abf9ac4b5 lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
47a4af4c82 fixed bug found via mem leak: handles now closed at exit regardless of refcount
This was SVN commit r323.
2004-05-30 00:57:20 +00:00
1eaadd38aa ran everything though mark's newline stomper.
This was SVN commit r322.
2004-05-30 00:46:58 +00:00
notpete
86eaf95476 Added function for retrieving GL texture object from a texture handle.
This was SVN commit r296.
2004-05-29 20:45:18 +00:00
1c5a2d8f10 started vfs enumerate directory support, not finished or functional
This was SVN commit r292.
2004-05-29 12:00:53 +00:00
672c25084b fixed log location; win code modules now register init/shutdown (=> less dependencies, more control over init order)
This was SVN commit r277.
2004-05-27 17:30:06 +00:00
bb3db6daf8 fixed remnant of set-root-dir problem; now finally works correcly when started from batch file. no extra path/chdir necessary.
This was SVN commit r276.
2004-05-27 01:11:21 +00:00
9aacf9b4bf no message
This was SVN commit r275.
2004-05-27 00:29:54 +00:00
MarkT
51375831f1 Desync-ed unit motion.
This was SVN commit r274.
2004-05-26 23:47:46 +00:00
0c8ea18853 upgrade to new libpng and zlib (see announcements thread)
This was SVN commit r270.
2004-05-26 19:28:42 +00:00
6c608edd60 linefix stomped everything :P
This was SVN commit r266.
2004-05-25 23:16:21 +00:00
df6fceba62 fixed some signed/unsigned warnings; added gamma control via SDL
This was SVN commit r258.
2004-05-24 20:25:48 +00:00
34c3c12934 fixes for VC6 build problems reported by Stu.
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
556afb4a5c fixed current directory problem. added healthy does of paranoia to file_rel_chdir, and removed bogus chdir from main.cpp (from test code)
This was SVN commit r238.
2004-05-17 13:23:39 +00:00
fbba2e463d merged in rich's demo
This was SVN commit r236.
2004-05-16 03:31:29 +00:00
notpete
7b2a86a862 Added support for mipmapping DDS textures
This was SVN commit r229.
2004-05-15 17:47:48 +00:00
c6054e9c4f automagic reload implemented (vfs and file monitor)
This was SVN commit r227.
2004-05-14 21:20:23 +00:00
76b52d1d8a remove vc6,vc7; use premake instead (will generate workspace in workspaces\vc7 , vc6)
This was SVN commit r226.
2004-05-13 17:23:07 +00:00
d1036b9a18 VFS updates; texture reloading now works, tex.cpp is WIP
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
f383cfd4a8 fix for vc7 (incomplete type in container). also some updates to vfs
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
591c02acb0 no message
This was SVN commit r218.
2004-05-07 01:27:05 +00:00
5b5726ed4d merge of (work in progress) VFS code with new dir layout
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
aa2999a865 - Extended tex_info for terrain stuff
- Commented out assertion (due to the file size bug)

This was SVN commit r204.
2004-04-13 16:55:55 +00:00
89ab9643dc file_wait_io: -EINPROGRESS => EINPROGRESS, removed stray bytes_transferred assertion
This was SVN commit r196.
2004-04-09 12:38:16 +00:00
630e5c628c no message
This was SVN commit r194.
2004-04-07 13:45:57 +00:00
d6dbf229a5 no message
This was SVN commit r193.
2004-04-06 16:17:04 +00:00
ce9c517eb4 fix 2 lib resource leaks; update h_mgr dox
This was SVN commit r179.
2004-03-07 15:00:51 +00:00
dc4cc78e7b dox now in /**/ comments
This was SVN commit r178.
2004-03-07 14:24:47 +00:00
757aca19ef h_mgr dox update; fixed redefinition error in wposix.h when building against DLL CRT
This was SVN commit r177.
2004-03-07 14:17:23 +00:00
5aa404a8f2 no message
This was SVN commit r174.
2004-03-05 16:23:31 +00:00
a470253b0b big merge goes linux! ; )
This was SVN commit r171.
2004-03-04 20:36:31 +00:00
a8d448ad19 no message
This was SVN commit r167.
2004-03-03 15:16:20 +00:00
9c2a8a5658 fixed little gremlin due to i64 handle change (implicit conversion in overloaded function)
This was SVN commit r163.
2004-03-03 00:37:41 +00:00
58ab55ab78 removed files that have since been renamed or moved
This was SVN commit r161.
2004-03-03 00:03:37 +00:00
89c5b0d88c the big merge (tm). see forum post for changes made.
This was SVN commit r158.
2004-03-02 23:56:51 +00:00