Commit Graph

3445 Commits

Author SHA1 Message Date
janwas eab88e4354 param to InitVfs made const (BTW, why check argc?); remove lib_init
This was SVN commit r2012.
2005-03-18 22:19:38 +00:00
janwas a4aa9ab246 zip: add instrumentation, see how much time decompression takes
This was SVN commit r2011.
2005-03-18 22:18:34 +00:00
janwas c3bd4efa9b add O_NO_AIO_NP - if file.cpp doesn't want AIO access, the wposix code shouldn't open another (AIO capable) handle
wposix: also cleanup aio_reopen

This was SVN commit r2010.
2005-03-18 22:15:49 +00:00
janwas 9a75e31bbd wsdl: cleanup semaphore code, move mouse functions near other "misc" functions
wpthread: document problem encountered with CreateThread
win_internal: minor cleanup

This was SVN commit r2009.
2005-03-18 22:09:44 +00:00
janwas df38ee95a8 remove atexit2 - explicit init and shutdown is safer and easier to understand.
add some initial docs.

This was SVN commit r2008.
2005-03-18 22:07:55 +00:00
janwas 308535d58d add instrumentation to see what's slow when starting a session
renderer: also move list of alpha maps here from InitResources

This was SVN commit r2007.
2005-03-18 22:02:20 +00:00
janwas af0800fbdd uses 32 bit hash instead of 64 - faster (clears up long standing TODO)
This was SVN commit r2006.
2005-03-18 21:57:07 +00:00
Fire Giant b987de64a7 Fixed bug that made it impossible to start a game (music problem stopped the session load working).
This was SVN commit r2005.
2005-03-18 10:39:52 +00:00
Wijitmaker 460ee1a22f Malte's female sketchs
This was SVN commit r2004.
2005-03-18 10:24:00 +00:00
Fire Giant 246e319b1c First drafts of new MP GUI, commiting to stay in sync with the repository
This was SVN commit r2003.
2005-03-17 19:30:37 +00:00
Ykkrosh c2d8daa135 Updated archive builder a little bit more
This was SVN commit r2002.
2005-03-17 19:17:41 +00:00
Ykkrosh 1e52b32f6b Updated archive builder, to avoid compressing things which probably don't benefit from it
This was SVN commit r2001.
2005-03-17 17:52:53 +00:00
Ykkrosh ae172a9a01 Disabled mipmaps on GUI textures and cursors
This was SVN commit r1999.
2005-03-17 00:06:51 +00:00
Fire Giant 5a32947586 Added code for testing concept images on the loading screen.
This was SVN commit r1998.
2005-03-16 14:55:16 +00:00
Fire Giant 51aa0e2077 Adding temporary concept images for testing.
This was SVN commit r1997.
2005-03-16 14:54:17 +00:00
janwas c3da7f5e33 statically allocated per-CPU info (simplicity), and profiler WIP
This was SVN commit r1995.
2005-03-15 18:51:54 +00:00
janwas 8afc1d9daf use H_DEREF
This was SVN commit r1994.
2005-03-15 18:24:00 +00:00
janwas 1b2527c49e add dox to posix.h;
pre-existing dox have been converted to /* */; added "KEEP IN SYNC WITH
WIKI" warning

This was SVN commit r1993.
2005-03-15 18:23:13 +00:00
janwas f1f945c2fa fix for bug reported by philip: had dxt1a and dxt1 backwards
This was SVN commit r1991.
2005-03-10 20:29:27 +00:00
Ykkrosh d37b081b2c Made things mostly compile and run on ICC 9.0
This was SVN commit r1990.
2005-03-10 20:28:25 +00:00
janwas 3f15b5555c massive cleanup related to internal format. now calculated along with fmt during reload.
more changes pending (split TexData and its settings; make tex.cpp wrap
its data in Handle; clean up 'is loaded' checks)

This was SVN commit r1988.
2005-03-10 17:04:42 +00:00
janwas a61e31e0a3 hook up JPG encoder. minor changes with JPG (en|de)code function shutdown
This was SVN commit r1987.
2005-03-10 17:02:10 +00:00
janwas 6908cc1062 still getting 'incorrect symbol tag' assert (SymTagBaseClass). replaced with debug_out
This was SVN commit r1986.
2005-03-10 17:01:18 +00:00
janwas eab8c2957a add VFS destination plugin for jpeg-6b (allows writing out images as JPG)
removed unnecessary SIZEOF macro (replaced with sizeof)

This was SVN commit r1985.
2005-03-10 16:59:01 +00:00
janwas 19b3d2d388 rename oglExtAvail to oglHaveExtension
main.cpp: also provide for different screenshot file formats by passing
in extension
ogl.cpp: also add oglHaveVersion

This was SVN commit r1984.
2005-03-10 16:57:42 +00:00
janwas 274771620a checks if buffer size == sizeof(char*), which suggests a bug in the calling code
This was SVN commit r1983.
2005-03-10 16:56:13 +00:00
janwas 2e13ec5ff1 fix stupid sizeof bug reported by philip
This was SVN commit r1981.
2005-03-10 00:47:23 +00:00
Wijitmaker cdecd9b242 Fixed floating prop on the persian CC and bad UV on the persian TC
This was SVN commit r1980.
2005-03-10 00:41:42 +00:00
Ykkrosh c2450ac266 Negligibly improved PMDExp's chances of compiling
This was SVN commit r1979.
2005-03-09 18:13:35 +00:00
janwas 11419fc1fe add pitch shift capability to snd.cpp and JS binding
This was SVN commit r1977.
2005-03-09 16:17:26 +00:00
janwas 3050d4c7fe posix: add semaphore.h
wposix: add ETIMEDOUT errno
wpthread: interface fix (was returning void from 2 functions); cleanup;
removed TerminateThread (dangerous!); add sem_timedwait
wtime: thread implementation switched to pthread - avoids
TerminateThread issue

This was SVN commit r1976.
2005-03-09 15:52:35 +00:00
janwas db1a6ddf38 minor improvements
This was SVN commit r1974.
2005-03-09 12:57:52 +00:00
janwas 5b3d4a196c mucking about with base lib headers:
lib/posix_types.h: wrapper for stdint / sysdep/win/wposix_types.h
included by types.h; replaces posix.h there.
(works around wsock conflicts by not pulling in all posix stuff
everywhere)

This was SVN commit r1973.
2005-03-09 12:56:02 +00:00
Ykkrosh 56af3ca47d Made lodbias and vsync config options work. Removed CHEEZY_NOMIPMAP (which forced mipmaps to be enabled), since it's evil.
This was SVN commit r1971.
2005-03-09 00:55:22 +00:00
Wijitmaker 89d9248116 Persian CC and HC
This was SVN commit r1970.
2005-03-08 16:30:04 +00:00
Wijitmaker 11d546d70a persian fancy props
This was SVN commit r1969.
2005-03-08 16:29:47 +00:00
Wijitmaker 4231bb25d0 persian fancy update
This was SVN commit r1968.
2005-03-08 16:28:54 +00:00
Wijitmaker 0aa41ad0e4 Committing some persian stuff.
This was SVN commit r1967.
2005-03-08 16:27:10 +00:00
Acumen 0d6035ea68 Committing revised "game session" GUI coordinates (sorry, doesn't make much cosmetic difference, but it's an improvement on the code side). The command buttons and build lists still need to be revised (hence they're upside down -- the coordinate system has flipped), so please note that's a known problem.
This was SVN commit r1966.
2005-03-07 18:25:13 +00:00
janwas da1622ca06 reloading is optimized and armor-plated. eliminated an evil race condition.
wdir_watch.cpp: remove debug output and fix dir_get_changed_file
interface bug (was returning ERR_AGAIN instead of 1)

This was SVN commit r1964.
2005-03-02 12:06:40 +00:00
janwas 2b33ba8ade security push: checked every strcpy / strncpy. converted most to strcpy_s; some are flagged as "safe" (e.g. if copying literal that's obviously OK)
This was SVN commit r1962.
2005-03-01 20:13:00 +00:00
Wijitmaker 4034a58437 *persian building fixes - posts, player color, bad actor file
*'fixed' bobbo's prop errors for his roman buildings, eliminating all
the loading errors

This was SVN commit r1961.
2005-03-01 04:14:11 +00:00
janwas 1ca489e0fc incorporate changes suggested by philip: replace goto, comment out self-test, move #if
This was SVN commit r1959.
2005-03-01 01:40:19 +00:00
Ykkrosh 08792355a6 Extra happiness on VC2005
This was SVN commit r1957.
2005-02-28 18:20:53 +00:00
janwas 35540e806e This was SVN commit r1955. 2005-02-28 15:50:35 +00:00
janwas ed887b4eda wposix: add SIZE_MAX
add header for string_s

This was SVN commit r1954.
2005-02-28 15:36:19 +00:00
janwas 8e16010d3e implementation of secure CRT string functions
This was SVN commit r1953.
2005-02-28 15:27:04 +00:00
Wijitmaker f8f2245846 Persian building stuff, and a few temporary palm trees
This was SVN commit r1952.
2005-02-28 04:50:17 +00:00
Ykkrosh da5816e971 Re-enabled VC's memory debugging by default (when not using USE_MMGR). Hopefully fixed the resulting memory leaks. Also fixed incompatibilities with VC2005.
This was SVN commit r1950.
2005-02-27 22:11:26 +00:00
janwas 540a76e88b clean up reload code; add cache invalidate call when reloading (make sure file contents are actually loaded)
This was SVN commit r1948.
2005-02-27 19:11:39 +00:00