janwas
b259381fbf
1) minor error handling improvements (was passing back invalid handle error, instead of the cause; also added a CHECK_ERR)
...
2) we attempt to load missing files (see bug #32 ). with the fix above,
CHECK_ERR would fire every run (which it should until the problem is
fixed :P), which is annoying.
Instead, FileUnpacker now checks if the file exists; if not, it throws
immediately and thereby bypasses the VFS error mechanism.
This was SVN commit r1503.
2004-12-15 14:24:12 +00:00
janwas
9d317d8164
1) removed scaffolding from file
...
2) VFS: add path_copy convenience routine
3) various lib code: removed unnecessary const cluttering things (like
const char* _const_ name in param list)
This was SVN commit r1483.
2004-12-09 23:12:02 +00:00
janwas
6c2f455547
added tga and raw encoders (based on common routine extracted from bmp encoder), so I wouldn't have to add NOT_IMPLEMENTED error returns :P
...
This was SVN commit r1435.
2004-12-01 21:34:49 +00:00
janwas
af56d5829b
improved png write code while searching for cause of bug #24
...
This was SVN commit r1373.
2004-11-22 00:10:16 +00:00
janwas
0868b2ee6c
VC2k5 fix: strchr return value saved as const char* (cf Stu's CVS report #161 )
...
This was SVN commit r1183.
2004-09-21 18:43:58 +00:00
Ykkrosh
7925a3fc4d
Avoid crashing when something minor that should never fail fails (though the cause of that failure is fairly major (but currently unknown))
...
This was SVN commit r1174.
2004-09-20 18:27:22 +00:00
janwas
a872461a47
no longer 2 tex_write calls - just one that fills a TexInfo directly => no longer need mem_assign to wrap a pointer, only to dereference immediately thereafter
...
This was SVN commit r1157.
2004-09-19 13:43:53 +00:00
janwas
7c269d7735
better encapsulation of header (=> less dependencies)
...
This was SVN commit r1151.
2004-09-19 11:36:26 +00:00
janwas
7c36638fd0
minor bugfix / commenting
...
This was SVN commit r958.
2004-08-10 15:59:11 +00:00
Ykkrosh
abfe9faadc
New zlib/libpng libraries
...
This was SVN commit r942.
2004-08-08 18:50:44 +00:00
janwas
ec7e3c890c
texture loaders now flip png (always) and bmp+tga (if top-down)
...
also more clear TGA header use (struct instead of direct offset)
This was SVN commit r939.
2004-08-08 18:07:46 +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
olsner
1001aeacf5
Linux/GCC compat, headers and such
...
This was SVN commit r695.
2004-07-10 21:25:35 +00:00
janwas
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
janwas
dc5e5dd774
PNG and BMP "encode" now operational
...
This was SVN commit r672.
2004-07-09 02:18:59 +00:00
janwas
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
janwas
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
Ykkrosh
32b6627645
Miscellaneous gcc fixes
...
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
Ykkrosh
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
janwas
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
janwas
0dc6007fbd
(re)added headers so it'll work without HAVE_PCH
...
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
janwas
719b8f1074
fixed *nix libpng include fix
...
This was SVN commit r361.
2004-06-02 16:33:59 +00:00
olsner
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
janwas
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
janwas
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
janwas
1c5a2d8f10
started vfs enumerate directory support, not finished or functional
...
This was SVN commit r292.
2004-05-29 12:00:53 +00:00
MarkT
51375831f1
Desync-ed unit motion.
...
This was SVN commit r274.
2004-05-26 23:47:46 +00:00
janwas
0c8ea18853
upgrade to new libpng and zlib (see announcements thread)
...
This was SVN commit r270.
2004-05-26 19:28:42 +00:00
notpete
7b2a86a862
Added support for mipmapping DDS textures
...
This was SVN commit r229.
2004-05-15 17:47:48 +00:00
janwas
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
janwas
d1036b9a18
VFS updates; texture reloading now works, tex.cpp is WIP
...
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
janwas
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
olsner
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
janwas
630e5c628c
no message
...
This was SVN commit r194.
2004-04-07 13:45:57 +00:00
janwas
d6dbf229a5
no message
...
This was SVN commit r193.
2004-04-06 16:17:04 +00:00
olsner
a470253b0b
big merge goes linux! ; )
...
This was SVN commit r171.
2004-03-04 20:36:31 +00:00
janwas
89c5b0d88c
the big merge (tm). see forum post for changes made.
...
This was SVN commit r158.
2004-03-02 23:56:51 +00:00