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
db1a6ddf38
minor improvements
...
This was SVN commit r1974.
2005-03-09 12:57:52 +00:00
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
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
89d9248116
Persian CC and HC
...
This was SVN commit r1970.
2005-03-08 16:30:04 +00:00
11d546d70a
persian fancy props
...
This was SVN commit r1969.
2005-03-08 16:29:47 +00:00
4231bb25d0
persian fancy update
...
This was SVN commit r1968.
2005-03-08 16:28:54 +00:00
0aa41ad0e4
Committing some persian stuff.
...
This was SVN commit r1967.
2005-03-08 16:27:10 +00:00
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
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
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
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
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
08792355a6
Extra happiness on VC2005
...
This was SVN commit r1957.
2005-02-28 18:20:53 +00:00
35540e806e
This was SVN commit r1955.
2005-02-28 15:50:35 +00:00
ed887b4eda
wposix: add SIZE_MAX
...
add header for string_s
This was SVN commit r1954.
2005-02-28 15:36:19 +00:00
8e16010d3e
implementation of secure CRT string functions
...
This was SVN commit r1953.
2005-02-28 15:27:04 +00:00
f8f2245846
Persian building stuff, and a few temporary palm trees
...
This was SVN commit r1952.
2005-02-28 04:50:17 +00:00
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
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
621f710724
much more efficient: watches entire subtrees instead of single directories (=> mount time and memory usage significantly reduced). buffer size smaller.
...
This was SVN commit r1946.
2005-02-27 14:37:06 +00:00
a8ef1b911e
make reload ignore logic more clear
...
This was SVN commit r1945.
2005-02-27 14:35:38 +00:00
8e7b800521
remove atexit, minor improvements
...
This was SVN commit r1944.
2005-02-27 14:34:46 +00:00
ab67b4f3fa
move VFS::is_subpath to file::file_is_subpath
...
This was SVN commit r1943.
2005-02-27 14:33:59 +00:00
f70703bc78
set sound master gain from config file (sound.mastergain)
...
This was SVN commit r1942.
2005-02-26 21:44:21 +00:00
16ad78abae
add sound master gain and additionally bind console to F10 for non-us keyboard layouts (where backquote is a dead key)
...
This was SVN commit r1941.
2005-02-26 21:43:52 +00:00
efe5e3cdcc
marked a few of my completed tasks as such
...
This was SVN commit r1939.
2005-02-26 15:38:41 +00:00
2250434263
renamed to udbg for consistency
...
This was SVN commit r1938.
2005-02-26 15:15:52 +00:00
157f77887c
types.h => lib/types.h (avoid name collision)
...
This was SVN commit r1937.
2005-02-26 15:15:36 +00:00
91d330d040
MinGW fixes
...
This was SVN commit r1936.
2005-02-26 15:14:55 +00:00
e6c8cef293
types.h => lib/types.h (avoid name collision)
...
This was SVN commit r1935.
2005-02-26 15:13:15 +00:00
3eb6d152d6
add high level dox to snd.h; improve comments; slight improvements to GCC-compat fixes
...
This was SVN commit r1934.
2005-02-26 14:52:57 +00:00
ed3c740fa8
Doesn't look like I'll be able to finish off the session coordinate adjustment this weekend, so committing one more shared file so it doesn't conflict with someone else's work.
...
This was SVN commit r1933.
2005-02-25 17:25:42 +00:00
71701ba244
Not finished with session yet, so committing just the shared bits I've modified (ie anything without *session*.* in the title) so that Malte can do his network GUI now that Simon's committed his changes. *nudge* *nudge*
...
This was SVN commit r1932.
2005-02-23 21:13:36 +00:00
85a95e3e41
Fixed warnings. Made invalid-player-ID complaint less annoying.
...
This was SVN commit r1930.
2005-02-21 19:49:20 +00:00
7bcc12373b
- Created JSMap
...
- Changed player colour JS interface: setColour(...) instead of a colour
property
- Introduced a network log and replaced most network LOG() calls with
NET_LOG()
- Moved to a slot-based system for Pre-Game and extended a lot of the JS
APIs to networking stuff
- A bit of cleanup in the low-level network code (Unix parts)
- Clients now keep track of all other connected clients on the server
(And exposes this info to JS)
- Split out GameAttributes to its own file
- Removed unused class AttributeMap
- Changed CJSObject to use T* pointers in JS_SetPrivate (needed to make
ToScript work with multiple inheritance)
This was SVN commit r1929.
2005-02-21 17:13:31 +00:00
642e107242
Made a few changes on udbg to make it work with two different libbfd versions as well as made a few mmgr assertions more verbose
...
This was SVN commit r1928.
2005-02-21 17:08:51 +00:00
3776f91aeb
Stopped crash when restarting a game
...
This was SVN commit r1926.
2005-02-20 23:55:07 +00:00
a52d392f4f
Changed the global test texture... toned down the shadows and increased the rez
...
This was SVN commit r1925.
2005-02-18 19:25:36 +00:00
14c5dcb1f0
The global goods from my little demo!
...
This was SVN commit r1924.
2005-02-18 06:33:40 +00:00
96aeec3547
Taking out 2 old horse actors that are pointing to animations that have one less tail bone and causing an error
...
This was SVN commit r1923.
2005-02-13 23:44:04 +00:00
75ee00792a
Removed unnecessary crashlog exception-catching from ScEd, to let non-Debug versions compile
...
This was SVN commit r1922.
2005-02-11 15:03:10 +00:00
03a6b6e804
Stopped ScEd crashing when loading maps. Avoided crashes from invalid animations. Moved game-specific code out of XMLWriter.
...
This was SVN commit r1920.
2005-02-11 12:57:19 +00:00
414015ca57
Deleted redundant required-libraries.txt
...
This was SVN commit r1918.
2005-02-09 23:36:05 +00:00
3b1395d80b
Optimised game-loading, by not reading terrain textures or calculating bounding boxes when not necessary; maps load about twenty seconds faster (at least in Debug mode). Also fixed possible minor bug (FLT_MIN vs -FLT_MAX) and other trivial things.
...
This was SVN commit r1917.
2005-02-09 23:19:48 +00:00
614e523c89
mmgr.h: slightly better comments / spacing
...
wdbg: fixed root cause of assert noted during 2005-02-05 meeting (now
skip UDT child symbols that don't have an offset, i.e. uninteresting
stuff like BaseClass symbols)
This was SVN commit r1915.
2005-02-08 21:08:00 +00:00
ce27068bac
Fixed some Atlas coordinates to fit in with improved input box, and some optimisations.
...
This was SVN commit r1914.
2005-02-08 19:11:02 +00:00
ebf76cf517
Carthaginian update for their structures. Unwrapped, skinned, and textured (complete with player color). No props yet, so they look a little bit plain, but they look better than yellow textures with carthaginian plastered all over them ;)
...
This was SVN commit r1913.
2005-02-06 07:15:24 +00:00
afbf08ab1d
Avoid infinite recursion in debug_warn/assert2
...
This was SVN commit r1911.
2005-02-05 19:14:56 +00:00
Gee
c710b84b88
Alright, I've taken all the input controls in the atlas, and removed their sprite parameter and their hidden parameter, and changed their style to "atlas_input". This is the beauty of styles and it should be utilized. A standard control should only need size/name/style (let's call it, Gee's trinity :P). Anyway, I've also adjusted the size of the input control's sprite, I have explained why in the file. Finally, hidden="false" was removed (on all input controls, but it can be removed for the others too) because it's implicit, it'll always be the standard value, so it can be omitted whenever not 'true', trust me, it'll be much neater code.
...
This was SVN commit r1910.
2005-02-05 18:38:54 +00:00