MarkT
bcabe3aa53
Script integration work - valueOf() is no longer required most of the time; also property-change watches and enumeration over entities (but not yet other native objects), rudimentary beginnings of a global events system, and adjusted the status orb to update only on changes.
...
This was SVN commit r2157.
2005-04-22 07:12:55 +00:00
08921f56b4
Moved icon, so that compilation doesn't depend on anything in 'binaries'
...
This was SVN commit r2155.
2005-04-20 20:18:20 +00:00
58f0ce296e
Wondering whether automated builds work again...
...
This was SVN commit r2154.
2005-04-20 19:54:29 +00:00
550bbec3d0
hopefully fixed bug #57 (limit on version info length was too low). while at it, made cpu_type's length externally visible; split sound stuff into sysdep/snd.h (as with gfx, cpu, mem) and in general cleaned up a bit.
...
This was SVN commit r2151.
2005-04-19 17:07:05 +00:00
771a9ba0dd
label each system_info field (because even I was getting confused :P). nicer network host/IP detect code
...
This was SVN commit r2150.
2005-04-19 17:04:12 +00:00
04e7b1b16a
fix warning (cast size() to int)
...
This was SVN commit r2149.
2005-04-19 17:02:57 +00:00
4c08a07052
Fixed warnings and bug. Updated binaries.
...
This was SVN commit r2136.
2005-04-15 22:40:15 +00:00
MarkT
2120576bc7
Gathering and unit training (engine-side); also other minor improvements
...
This was SVN commit r2132.
2005-04-15 04:23:33 +00:00
b3cd340eec
Updated binaries, and ScEd.
...
This was SVN commit r2129.
2005-04-13 05:08:45 +00:00
c5bb56507e
disable (failing) test
...
This was SVN commit r2128.
2005-04-13 04:55:42 +00:00
5d541e664a
WIP; fixed compile error; armor-plated and started documenting list functions
...
This was SVN commit r2127.
2005-04-13 04:41:33 +00:00
82d2b7e49f
initial lockless data structures - incomplete and not fully tested
...
This was SVN commit r2126.
2005-04-12 01:08:39 +00:00
c179210519
pthread: add pthread_once and thread-local storage
...
This was SVN commit r2123.
2005-04-09 22:26:48 +00:00
9fd08fb044
vfs_tree: revise hash table implementation to make it reusable (not yet finished)
...
This was SVN commit r2122.
2005-04-09 22:25:23 +00:00
479f59e386
adts, lib: add some minor comments
...
This was SVN commit r2121.
2005-04-09 22:24:08 +00:00
Gee
1302be8009
This was SVN commit r2116.
2005-04-07 09:14:09 +00:00
Gee
1e8d354404
This was SVN commit r2115.
2005-04-07 09:13:10 +00:00
d2948937a0
Fixed prop player-colouring. Allowed per-object colours. (Coming soon: data to demonstrate it.)
...
This was SVN commit r2113.
2005-04-07 04:29:07 +00:00
6a0b5fa0ab
ScEd: Added unit deletion. Made zoom less frustrating. Let >2 players work.
...
Fixed random actor props.
This was SVN commit r2109.
2005-04-03 05:02:00 +00:00
5e742f5615
Setup all the sample players in SP games [bug #52 ]
...
This was SVN commit r2099.
2005-03-31 05:14:17 +00:00
9d139926c9
file: provide FILE_TEXT flag that enables newline translation - useful when outputting XML files, so notepad doesn't see "\n" (which it can't handle)
...
vfs: no longer watch dirs when mounting - need to pass flag. allows
turning this off for screenshots dir (where hotloading doesn't make
sense)
vfs_tree: expand hash table when 3/4 full; 1/2 was quite wasteful.
main: do CPU init early, so timing during init can use TSCmain: do CPU
init early, so timing during init can use TSC
This was SVN commit r2098.
2005-04-29 13:17:17 +00:00
dfb576c563
wposix: seriously speed up mounting by removing hand-brake (i.e. checking file system name in every stat() ) call. thanks to philip for reporting the problem!
...
This was SVN commit r2097.
2005-03-30 23:49:50 +00:00
0eb78450c0
Maybe fixed GUI event-handler function things. Other minor changes and fixes.
...
This was SVN commit r2096.
2005-03-30 22:33:10 +00:00
MarkT
701fd17595
Sorry, SVN doesn't seem to be picking up modifications today.
...
This was SVN commit r2093.
2005-03-30 18:32:16 +00:00
MarkT
414960a654
Forcing update of EntityPredicate.h
...
This was SVN commit r2092.
2005-03-30 18:25:07 +00:00
31fb8c37c4
Entity XML inheritance graph generator. (Basically just Graphviz.)
...
This was SVN commit r2091.
2005-03-30 18:03:47 +00:00
MarkT
bb7a22f32a
First draft of a GPG3-style profiler (including tracing into scripts, after a fashion)
...
This was SVN commit r2090.
2005-03-30 16:14:19 +00:00
8b12c84df7
ScEd: allowed creation of non-entity objects, pending total entitisation
...
This was SVN commit r2085.
2005-03-30 05:43:22 +00:00
b07d9954e0
Actor Editor: Copy-and-paste. Folder memory. Entity creation. Fixed importing.
...
This was SVN commit r2084.
2005-03-30 10:37:44 +00:00
827e06b8e4
Updated ScEd.
...
This was SVN commit r2083.
2005-03-30 02:06:00 +00:00
9cc11918d3
Fixed small bug in GUI event-handler setting
...
This was SVN commit r2081.
2005-03-29 23:34:58 +00:00
a1fe270ff4
Fixed bug that caused entities to have no bounding boxes. (Oops.)
...
This was SVN commit r2080.
2005-03-29 22:26:48 +00:00
249aaf436f
Allowed JS access to GUI object event handlers, via object.onPress etc.
...
Stopped crashes when ordering entities without bounding boxes.
This was SVN commit r2079.
2005-03-29 22:04:38 +00:00
22dd4dd67b
Entities: Removed Tag attribute; it is taken from the filename instead. Made entity XML files be loaded on demand. Probably stopped crash when maps contain non-existent entities. Fixed a few bugs in entity definitions.
...
Maps: Stored non-entity objects in XML instead of PMP, for easier manual
editing. Updated existing maps to newest format, so that they can still
work. Added undocumented _rewriteMaps() JS function. Also renamed _mem
to vmem, and reclassified its undocumentedness as unintentional, since
it's reasonably useful.
Loader: added NonprogressiveLoad function, for ScEd/_rewriteMaps/etc
which don't care about progressiveness.
main.cpp: re-enabled vfs_display, since it doesn't crash now
Vector3D: stopped warning
This was SVN commit r2078.
2005-03-29 20:50:04 +00:00
e86001f45e
- file bugfix: truncate when opening for writing (problem reported by philip)
...
- file: now return size at close() time for use with VFS
- zip: tested open speed, added [exec time] notes
This was SVN commit r2075.
2005-03-29 06:27:35 +00:00
MarkT
3c99f0f2eb
Minor JavaScript updates
...
This was SVN commit r2073.
2005-03-28 22:13:47 +00:00
e2c61d1519
Actor Editor: Changed serialisation system for import/export/undo/redo, so that file-opening can be undone/redone correctly.
...
This was SVN commit r2071.
2005-03-27 23:53:41 +00:00
fd14510005
minor improvements: squelch warnings when dumping; debug_out an indication that is_string_ptr raised an exception
...
This was SVN commit r2070.
2005-03-27 18:17:03 +00:00
71705b5aa4
Actor Editor: Most-recently-used files list. 'New' menu item. Shuffled some header inclusions around.
...
This was SVN commit r2069.
2005-03-27 18:07:01 +00:00
36cd555ba7
slight change to error paths for convenience (RETURN_ERR)
...
This was SVN commit r2068.
2005-03-27 17:40:40 +00:00
2fa430a4e6
- fix bug (wasn't setting mount_point of dir being mounted => crash while writing screenshot)
...
- add check for changing filters while enumerating dirents
- add path_component_valid
- change iterator to only return valid entries (removing that burden
from user code)
This was SVN commit r2067.
2005-03-27 17:27:49 +00:00
f777979cc8
detect: add posix.h so _SC_* defines are visible (enables mem detect)
...
in several files, expand one-line function bodies (hard to debug)
This was SVN commit r2066.
2005-03-27 17:24:57 +00:00
bfe7c1b491
Made icon implementation less bad, so that it doesn't conflict with ScEd
...
This was SVN commit r2065.
2005-03-27 14:03:30 +00:00
204960c8ee
add vfs_init, shorten load timeslice
...
This was SVN commit r2059.
2005-03-27 01:47:36 +00:00
6bf2600808
huge change:
...
- replace std::map with custom filename lookup container (more
efficient)
- split into 3 parts (was too big)
also added struct stat-like fields to vfsDirEnt
still under heavy development.
This was SVN commit r2058.
2005-03-27 01:46:54 +00:00
a1981970e5
new EnumDirEnts call; replaces previous implementation in BaseEntityCollection.cpp that didn't handle subdirectories
...
This was SVN commit r2057.
2005-03-27 01:44:41 +00:00
ba636ca96c
wposix: fix for USE_MMGR: undef getcwd
...
singleton: switch to assert2
loader: simpler HaveTimeForNextTask check
This was SVN commit r2056.
2005-03-27 01:37:10 +00:00
12eab0ded6
faster default options; try-catch around padding checks to catch really bogus pointers; our heap-valid checks come before the system's (because they're better behaved/more robust)
...
This was SVN commit r2055.
2005-03-27 01:33:18 +00:00
ffdc1d8360
add lower-case hash (used by VFS) and revise match_wildcard to accept anything if pattern=0
...
This was SVN commit r2054.
2005-03-27 01:31:39 +00:00
2fb2f80aa0
Actor Editor: Open / save / save as. Confirmation on exit. Allow launch from command line / Explorer.
...
This was SVN commit r2053.
2005-03-30 10:35:43 +00:00
a321f1cc9f
Added simple icon (on Windows)
...
This was SVN commit r2052.
2005-03-26 19:23:52 +00:00
2073733761
Fixed support for extra-new actor format. Updated binaries.
...
This was SVN commit r2050.
2005-03-26 00:22:42 +00:00
c11465cfbf
Updated actor references to use filenames instead of names, to allow more efficient loading. Added backward-compatible file support to the Actor Editor.
...
This was SVN commit r2049.
2005-03-25 23:04:36 +00:00
fea0755911
wpthread - better comments
...
wtime - fix stupid CALIBRATION_FREQ bug - it was set to 1000 [i.e. "ms
interval"]
This was SVN commit r2048.
2005-03-25 20:24:39 +00:00
481cd97d92
fix timeout calc bug reported by philip (thanks!)
...
This was SVN commit r2047.
2005-03-25 18:55:26 +00:00
c2b7df72ce
Updated ScEd binary. Fixed problem with loading maps.
...
This was SVN commit r2046.
2005-03-24 20:57:42 +00:00
af7fa2fc6c
Actor Editor: File-selection dialogs in appropriate places. (They're not very nice, but they work most of the time)
...
This was SVN commit r2045.
2005-03-24 19:01:06 +00:00
6dbe768dd9
Actor Editor: Combo-box lists, loaded from XML. Allowed right click to edit cells.
...
This was SVN commit r2044.
2005-03-24 12:53:48 +00:00
b58a6339bb
Stopped undesirable loading-screen blending
...
This was SVN commit r2043.
2005-03-24 00:02:54 +00:00
5078dc1f67
Actor Editor: Allowed undo of import, though not quite correctly. Tidied up other undo-related code a little.
...
This was SVN commit r2042.
2005-03-23 21:14:03 +00:00
020645d583
Hacked up ScEd a bit, to disable its actor editor and to let users place entities (rather than actors) on the map.
...
This was SVN commit r2039.
2005-03-22 23:31:30 +00:00
f19d8dafee
improved update frequency and accuracy of progress bar (by splitting up more init functions).
...
also add thunk mechanism to ease binding to member functions;
finally, added instrumentation to measure how long functions really take
This was SVN commit r2038.
2005-03-22 21:00:56 +00:00
5460b8982e
Various small fixes and minimal improvements
...
This was SVN commit r2035.
2005-03-22 13:54:37 +00:00
5b11dbb6b0
Corrected string conversion slightly
...
This was SVN commit r2034.
2005-03-22 12:09:11 +00:00
6d792365aa
rough but functional loading progress bar support.
...
numerous TODOs remaining - initial update instead of only after
completing first job; fix GUI overdraw issue; decrease granularity
(currently only 3 updates)
This was SVN commit r2033.
2005-03-22 02:17:55 +00:00
5e3b0f06ec
documented and revised after review by philip (thanks!) - progress is now calculated from estimated duration; next instead of current description is returned
...
This was SVN commit r2032.
2005-03-21 13:33:21 +00:00
046e1e3adc
Fixed a failure caused by "Intel(R) 82845G/GL/GE/PE/GV Graphics Controller" being preposterously long
...
This was SVN commit r2031.
2005-03-20 21:34:01 +00:00
0b93abaa7c
config: console alternate key=f9 (not f12, because that triggers a breakpoint in VC)
...
moved write-screenshot key to f10 and disable wsdl hook => printscreen
key copies to clipboard
This was SVN commit r2029.
2005-03-20 15:45:52 +00:00
77d3c5d0b5
initial loader implementation - provides a queue that is worked off from the main loop; a timeout ensures responsiveness.
...
this is the framework that will allow progress bar updates.
This was SVN commit r2027.
2005-03-20 14:32:43 +00:00
06d6cd17f5
Actor Editor: pretty colours
...
This was SVN commit r2026.
2005-03-20 00:46:39 +00:00
d0146135c4
Initial Actor Editor code
...
This was SVN commit r2025.
2005-03-19 22:29:32 +00:00
afcf7453a3
Random actors, now with fewer missing files
...
This was SVN commit r2022.
2005-03-19 19:10:52 +00:00
9e8d3d6518
Mostly complete support for random actors
...
This was SVN commit r2021.
2005-03-22 17:09:36 +00:00
1019dffdc3
fixed occasional deadlock at exit
...
This was SVN commit r2019.
2005-03-19 14:23:26 +00:00
79da4bf050
On-demand loading of actors (sort of)
...
This was SVN commit r2017.
2005-03-19 11:55:27 +00:00
219509f00f
Fixed another missing posix.h. Documented a little bit of main.cpp.
...
This was SVN commit r2016.
2005-03-18 23:04:29 +00:00
468657479c
philip points out precompiled.h -> string_s.h includes posix.h - too heavy for the PCH
...
replaced that with posix_types.h, which now defines size_t.
this change exposed a lot of code that relied on posix.h being included
implicitly; fixed those as well.
This was SVN commit r2015.
2005-03-18 22:44:55 +00:00
475dfb2c78
Partial support for new actor format. Partialer support for missing actors without crashing.
...
This was SVN commit r2014.
2005-03-18 22:30:23 +00:00
ffd141c1e3
remove no longer necessary include guard define (it used to work around a mmgr and crtdbg conflict, but that has since been fixed)
...
This was SVN commit r2013.
2005-03-18 22:26:49 +00:00
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
a4aa9ab246
zip: add instrumentation, see how much time decompression takes
...
This was SVN commit r2011.
2005-03-18 22:18:34 +00:00
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
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
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
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
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
c2d8daa135
Updated archive builder a little bit more
...
This was SVN commit r2002.
2005-03-17 19:17:41 +00:00
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
ae172a9a01
Disabled mipmaps on GUI textures and cursors
...
This was SVN commit r1999.
2005-03-17 00:06:51 +00:00
c3da7f5e33
statically allocated per-CPU info (simplicity), and profiler WIP
...
This was SVN commit r1995.
2005-03-15 18:51:54 +00:00
8afc1d9daf
use H_DEREF
...
This was SVN commit r1994.
2005-03-15 18:24:00 +00:00
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
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
d37b081b2c
Made things mostly compile and run on ICC 9.0
...
This was SVN commit r1990.
2005-03-10 20:28:25 +00:00
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
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
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
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
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
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
2e13ec5ff1
fix stupid sizeof bug reported by philip
...
This was SVN commit r1981.
2005-03-10 00:47:23 +00:00
c2450ac266
Negligibly improved PMDExp's chances of compiling
...
This was SVN commit r1979.
2005-03-09 18:13:35 +00:00
11419fc1fe
add pitch shift capability to snd.cpp and JS binding
...
This was SVN commit r1977.
2005-03-09 16:17:26 +00:00
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
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
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
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
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
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
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
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
afbf08ab1d
Avoid infinite recursion in debug_warn/assert2
...
This was SVN commit r1911.
2005-02-05 19:14:56 +00:00
7134b17949
Fixed warnings, and made some minor changes for consistency with other code (wchar_t(' ') => L' ', and stack-allocated CFonts)
...
This was SVN commit r1908.
2005-02-05 14:53:06 +00:00
Gee
008f62b026
Removed temporary log output
...
This was SVN commit r1906.
2005-02-05 07:32:06 +00:00
Gee
5c8ed144ed
handlers section slightly updated.
...
This was SVN commit r1905.
2005-02-05 07:25:41 +00:00
Gee
4113aa0a36
GUI Update. Mostly with Input Control Beta :)
...
This was SVN commit r1904.
2005-02-05 07:25:16 +00:00
880634b598
Small changes to ScEd, to remove some hacky bits and to make it not crash with player-colours
...
This was SVN commit r1899.
2005-02-04 23:16:42 +00:00
aca9ce6c3c
MiniMap GCC and crash bug fix as well as some miscellany
...
This was SVN commit r1896.
2005-02-02 17:03:37 +00:00
28602d600d
mmgr ported to linux
...
This was SVN commit r1895.
2005-02-02 17:01:33 +00:00
5d9fe41fec
NetServer onChat event and NetClient onDisconnect event added
...
This was SVN commit r1894.
2005-02-02 16:57:15 +00:00
11904b70b3
symbol->descriptive_string cache - avoids redundant debug_resolve_symbol calls.
...
basically extracted all portable symbol code from wdbg and mmgr, so that
we can use it on linux as well.
This was SVN commit r1891.
2005-02-02 03:35:25 +00:00
3f71d8f6f3
mmgr: further cleanup; reduced size of struct Alloc; use caching symbol resolver in debug.cpp
...
lib.h: move debug_warn to debug.h; use assert2 instead of assert
wdbg: better explanation of "get current CONTEXT"; remove "tag ==
SymTagData" assert (triggered when dumping UDT)
This was SVN commit r1890.
2005-02-02 03:32:11 +00:00
79c7ca4cf6
fix for file_rel_chdir: check if n_path is valid, instead of argv0 (since argv0 is 0 when running sced)
...
This was SVN commit r1889.
2005-02-02 03:27:40 +00:00
12232b03d2
win_internal: winnt version=0x0501 for HeapSetInformation (to enable LFH)
...
win.cpp: enable low-fragmentation heap (if available)
This was SVN commit r1888.
2005-02-02 03:26:38 +00:00
7cb28a242c
win_internal: removed contents of crtdbg and malloc.h (no longer needed, since precompiled.h now correctly includes the mem trackers and all memory-related system headers)
...
precompiled: restructured, documented everything, memory system headers
are now included before mmgr.h to prevent conflicts (before, had
#defined include guard of crtdbg.h and malloc.h and manually declared
their contents - a hack)
This was SVN commit r1885.
2005-01-30 23:09:51 +00:00
bc4351b1c8
_control87 is now ia32_control87 and overrides _control87 via macro. after adding float.h to precompiled.h, compiler was thinking _control87 was dllexport and creating an .exp file (confusing)
...
This was SVN commit r1884.
2005-01-30 23:07:55 +00:00
6d807d1c9f
add win_alloc, used by wpthread to allocate memory for critical sections (safe allocator that may be called at any time, even before _cinit and during static dtors)
...
This was SVN commit r1882.
2005-01-30 17:40:24 +00:00
be3be6cede
log only flushes to disk if option MMGR_FLUSH_ALL is set.
...
log is shut down in log_shutdown, instead of in every static dtor
(speeds up shutdown)
minor cleanup.
This was SVN commit r1881.
2005-01-30 17:31:20 +00:00
f1d322d5af
- add simplify_stl_func, so STL functions are stripped of crap like std::less<int> and std::allocator<*>
...
- hook strdup and getcwd, since they allocate memory internally
- better reporting of owner in case only partial information is
available (don't give up and report "unknown")
This was SVN commit r1879.
2005-01-30 16:23:12 +00:00
d34780fb79
win_internal: add _getcwd prototype, made all extern
...
file: correct getcwd return value
This was SVN commit r1878.
2005-01-30 16:13:15 +00:00
a17998b91a
debug_resolve_symbol now tries to return information even if one step fails; output params are zeroed.
...
wposix: getcwd is now a function that calls _getcwd, to cooperate with
mmgr's #define hook
This was SVN commit r1877.
2005-01-30 16:08:14 +00:00
NoMonkey
983ddb2283
Just submitting a few optimizations to the player renderer and the executables for all the non-programmers :)
...
This was SVN commit r1873.
2005-01-30 06:49:51 +00:00
NoMonkey
0b903415dd
Player models now render shadows.
...
Viewing rectangle now moves with the camera on the mini-map and shows
it's FOV correctly. Currently it is a little out of place and possibly
out of scale as well.
This was SVN commit r1872.
2005-01-30 06:27:07 +00:00
NoMonkey
704907db97
Player colors now recognize gaia as player 0 and allow for 8 regular player colors.
...
This was SVN commit r1865.
2005-01-29 18:20:16 +00:00
f093b53459
Fixed problems in texture converter's DDS output, and in the game's DDS input.
...
This was SVN commit r1862.
2005-01-29 17:18:14 +00:00
4ed4a7e16d
Fix for the crash when a client connects, as well as some minor additions to client/server code
...
This was SVN commit r1861.
2005-01-29 16:51:13 +00:00
41e2f48daf
add reference to required .lib files to fix linker errors reported by stu
...
This was SVN commit r1860.
2005-01-29 16:43:46 +00:00
60ee5acd2b
Made invalid-attempt-to-get-player errors less subtle. Word-wrapping in assert2 dialog box.
...
This was SVN commit r1857.
2005-01-29 00:11:50 +00:00
e372bd3f5a
Fixed probable mistyping. Removed apparently-unnecessary ScEd code.
...
This was SVN commit r1855.
2005-01-28 22:19:09 +00:00
10e1ce7511
Texture converter executable (plus some others to launch it with specific settings)
...
This was SVN commit r1854.
2005-01-28 22:16:50 +00:00
4c6713b582
again hooked up 0ad exception handler (pending cleanup of the exception code)
...
This was SVN commit r1852.
2005-01-28 19:11:30 +00:00
60dbb779eb
Texture converter source, plus modified DevIL.
...
This was SVN commit r1851.
2005-01-28 19:05:33 +00:00
f25f6a2d70
wdbg: fix crash when exiting abnormally (alt+f4) - was erasing elements from container while iterating through it
...
win internal files: slight changes while looking through
This was SVN commit r1850.
2005-01-28 18:16:51 +00:00
39389b7bb2
Proper blending for player-colours
...
This was SVN commit r1847.
2005-01-28 15:38:49 +00:00
b48ede5438
Accept DDS files with mipmaps
...
This was SVN commit r1846.
2005-01-28 15:37:01 +00:00
b704c7b0e4
endian.h renamed (conflict with linux system header)
...
This was SVN commit r1844.
2005-01-27 20:00:47 +00:00
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
f55107c114
sysdep: inline vsprintf2 definition (no need for printf.h)
...
win.cpp: remove hWnd (not needed for clipboard code) and TSC reference
(a temporary hack)
This was SVN commit r1840.
2005-01-27 15:50:11 +00:00
09985eaa7e
split thread/mutex/sem defs out of wposix to wpthread (reduce default dependencies)
...
waio: add include guard; include from waio.cpp
This was SVN commit r1839.
2005-01-27 15:46:02 +00:00
f3a61e4f69
wsdl: add prototypes for VC endian swap routines (avoid warning)
...
endian.*: split out of lib.* to reduce default dependencies
tex,zip: now include endian.h
This was SVN commit r1838.
2005-01-27 15:40:23 +00:00
faff797cd6
include SDL or lib/input.h where needed (since lib.h no longer pulls it in)
...
input.h now includes SDL (no more macro hackery to avoid the dependency)
This was SVN commit r1837.
2005-01-27 15:31:06 +00:00
f6c95b259d
include exception handler code only if EXCEPTION_HACK_0AD is required. (since some PS-specific code leaked into wdbg.cpp, have to disable that until i get around to cleaning it up)
...
This was SVN commit r1836.
2005-01-27 15:22:47 +00:00
NoMonkey
d7b3d6b0c7
Added a new material, "player_trans.xml" which will give a model player color. So now if you want a player to be colored, just add this material!
...
This was SVN commit r1830.
2005-01-27 02:52:26 +00:00
969ed22f97
- provide for 1-byte ints (debug info is weird; dunno why it's stored as such, but they exist)
...
- if tag != SymTagDataType, don't dump the symbol (to be safe). this is
unexpected, but Philip reports it triggered.
- assert dialog is resizeable (grr, have to do that manually)
This was SVN commit r1828.
2005-01-26 16:25:56 +00:00
bc1c05b7db
wrap operator new call site in nommgr.h / mmgr.h
...
This was SVN commit r1827.
2005-01-26 16:22:08 +00:00
c756aff9c5
wposix: AllocConsole wrapper is now a standard function call (before, a direct jump saved a few bytes but was unsafe - not smart)
...
This was SVN commit r1825.
2005-01-26 01:06:48 +00:00
3e82535375
wdll: fixed operator_new (discussed at meeting) issue - turns out that was a bad idea. unless mmgr.h is included, operator_new isn't defined, so it's taken to be a function => it was never getting called in wdll
...
defining operator_new in a global file is a bad idea- if we forget
that, hard-to-track errors result
so, no more operator new; instead, #include "nommgr.h" before local
operator new definitions and #include "mmgr.h" again afterwards
This was SVN commit r1824.
2005-01-26 01:05:22 +00:00
2d1ba66dc8
mmgr.cpp: uses assert2 when something fails (so you get a pretty stack trace
...
mmgr.h: remove everything if !defined(USE_MMGR); move dox to end of file
debug.h: fix stupid n00b bug in assert2 (expr wasn't in "()" )
This was SVN commit r1822.
2005-01-26 00:33:45 +00:00
NoMonkey
ed27392768
Made the minimap display the player colors and represent their positions correctly.
...
This was SVN commit r1821.
2005-01-26 00:19:17 +00:00
e7dcbfd19e
further cleanup; stack trace + dialog part done for now; will clean up exception part later (discussed with philip)
...
This was SVN commit r1820.
2005-01-25 23:55:49 +00:00
c12c6a0e4d
main: remove __try (non-portable). wdbg exception handler will cover it. if that needs to be debugged, add __try in win.cpp around call to main()
...
This was SVN commit r1817.
2005-01-25 18:56:43 +00:00
711bff0d3a
lib.h: moved assert2 to sysdep/debug.h
...
mmgr: remove wdbg calls (was prototype); use sysdep/debug interface
wdbg: no longer call it dbghelp63.h; should be installed normally in
compiler dir
win_internal.h: fix inevitable MS screwups in new dbghelp.h (*sigh*)
This was SVN commit r1816.
2005-01-25 18:54:48 +00:00
0d80a05aec
wdbg: much improved dbghelp stack dump, thanks to availability of new dox. should succeed with user-defined types - voodoo programming no more. benefits are reaped when using assert2 in code (recommended!) or an exception is raised.
...
also made "program error" dialog a bit nicer - it's now attached to
desktop and resizeable.
This was SVN commit r1814.
2005-01-25 18:42:42 +00:00
cb74250a51
- moved assert2 to sysdep/debug.h
...
- sysdep/debug.h includes platform-specific version, so they can define
debug_break
- no longer a debug_break wrapper that calls to specific versions (so
that the debugger breaks in the target function directly)
- unix-specific stuff is only debug ATM; call it udbg instead of unix.*
This was SVN commit r1813.
2005-01-25 18:27:00 +00:00
c73a3fe2c4
platform-specific debug header (included from sysdep/debug) is responsible for defining debug_break, or mapping it to the implementation function (result: if can be defined as a macro (e.g. on win32 or ia32), debugger breaks directly at the target location, instead of one function lower)
...
This was SVN commit r1812.
2005-01-25 17:58:15 +00:00
NoMonkey
8192c5b1c5
This was SVN commit r1810.
2005-01-25 03:27:38 +00:00
NoMonkey
f96b676fc9
This was SVN commit r1809.
2005-01-25 03:12:04 +00:00
NoMonkey
12bbe9cda1
This was SVN commit r1808.
2005-01-25 00:25:13 +00:00
36c5db05cd
Added includes for non-pch build
...
This was SVN commit r1807.
2005-01-24 23:08:30 +00:00
NoMonkey
b2e50cfea9
This was SVN commit r1805.
2005-01-24 08:28:03 +00:00
NoMonkey
bdafae6453
This was SVN commit r1804.
2005-01-24 06:33:20 +00:00
NoMonkey
761dfde0c5
This was SVN commit r1803.
2005-01-24 06:14:13 +00:00
NoMonkey
85ed304a25
This was SVN commit r1798.
2005-01-23 23:04:00 +00:00
13bcff918e
Let Testing/Release builds be built
...
This was SVN commit r1797.
2005-01-23 22:42:37 +00:00
NoMonkey
ce63d90bd7
This was SVN commit r1796.
2005-01-23 22:40:30 +00:00
NoMonkey
3851e7b9d9
This was SVN commit r1795.
2005-01-23 22:38:13 +00:00
41a924665b
Added CEntity::SetPlayer (from John)
...
This was SVN commit r1794.
2005-01-23 22:32:10 +00:00
NoMonkey
02cc4d9c8e
This was SVN commit r1793.
2005-01-23 22:21:37 +00:00
225446d648
Alternative player-colour rendering, which probably works with lights
...
This was SVN commit r1792.
2005-01-23 22:02:36 +00:00
NoMonkey
6fa79e0247
This was SVN commit r1791.
2005-01-23 21:58:06 +00:00
NoMonkey
19fd48b1d5
This was SVN commit r1790.
2005-01-23 21:56:47 +00:00
NoMonkey
2af3b77d7e
This was SVN commit r1789.
2005-01-23 21:56:00 +00:00
6ca71568f5
vfs, ps/game.cpp: lint
...
dbghelp_funcs: no longer needed, since we load dbghelp statically
This was SVN commit r1788.
2005-01-23 19:49:45 +00:00
699b38e350
config: remove HAVE_DEBUGALLOC
...
Xeromyces.cpp,xmlutils,XercesErrorHandler.cpp: use nommgr.h
This was SVN commit r1787.
2005-01-23 18:25:28 +00:00
8c7df579bc
precompiled: hook up mmgr (needs to be included in all files)
...
tex: lint fixes
unifont: split out glvprintf
This was SVN commit r1786.
2005-01-23 18:23:29 +00:00
4d25441c2a
split out of wposix (less dependencies)
...
SDL_*: $id string
This was SVN commit r1785.
2005-01-23 18:21:20 +00:00
cca00f9555
memory tracker work-in-progress. detects memory leaks, overruns, and all sorts of goodies.
...
This was SVN commit r1784.
2005-01-23 18:19:28 +00:00
e4bcd210d3
win_internal: move VC debug heaps here to avoid conflicts with mmgr
...
vfs: lint fixes
mem: remove h_add_ref from mem_get_ptr (was a hack, breaks some code)
This was SVN commit r1783.
2005-01-23 18:17:46 +00:00
4facc59833
new init seg
...
This was SVN commit r1782.
2005-01-23 18:09:55 +00:00
9cadcd875d
lint fixes; no longer dynamically load dbghelp (can always distribute required version)
...
work in progress: cleaning up debug info, add functions for mmgr to
query caller
This was SVN commit r1781.
2005-01-23 18:07:34 +00:00
4e454b31f0
lint fixes; more armor-plating for SDL_SetVideoMode
...
This was SVN commit r1780.
2005-01-23 18:05:33 +00:00
9e3ae3bdf2
further lint fixes
...
new init seg, group "C" called before libc init
better critsec impl, doesn't break if called after shutdown
This was SVN commit r1779.
2005-01-23 18:04:34 +00:00
468fb35ab5
waio.h: moved some signal handler defs here from wposix
...
This was SVN commit r1778.
2005-01-23 18:04:02 +00:00
9b7af0ce08
safer mutex impl; split some parts out into waio (signal defs, only used in aiocb) and wposix_types
...
This was SVN commit r1777.
2005-01-23 17:57:52 +00:00
bc52269989
lint fixes; changed wtime init order
...
This was SVN commit r1776.
2005-01-23 17:56:00 +00:00
85fd8a0f0e
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
also KB -> KiB, MB -> MiB
This was SVN commit r1775.
2005-01-23 17:54:20 +00:00
44ffb32169
fix include path (relative to lib)
...
This was SVN commit r1774.
2005-01-23 17:50:07 +00:00
e332d876f8
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
This was SVN commit r1773.
2005-01-23 17:48:32 +00:00
a43205148b
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
This was SVN commit r1772.
2005-01-23 17:45:25 +00:00
4360c501d8
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1771.
2005-01-23 17:42:28 +00:00
fbc212ea5d
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1770.
2005-01-23 17:41:01 +00:00
d7bf0b7fbe
use of new made suitable for mmgr's macro
...
This was SVN commit r1769.
2005-01-23 17:37:45 +00:00
ad16ecfb36
fix bug: was assigning char to pointer, instead of writing to *pointer
...
This was SVN commit r1768.
2005-01-23 17:36:57 +00:00
d29833e4ed
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1767.
2005-01-23 17:35:36 +00:00
e8121ca394
Also allow access to the last player ;-)
...
This was SVN commit r1765.
2005-01-23 12:54:14 +00:00
NoMonkey
0df00e5b16
This was SVN commit r1761.
2005-01-23 08:28:56 +00:00
NoMonkey
d9f1a06b34
This was SVN commit r1760.
2005-01-23 08:22:52 +00:00
NoMonkey
674433a51a
This was SVN commit r1759.
2005-01-23 07:54:17 +00:00
6dcac374e7
Oops, forgot to add the PS_MAX_PLAYERS constant
...
This was SVN commit r1757.
2005-01-23 04:14:49 +00:00
bcf89936c1
Fixed a few memory leaks as well as the CPlayer/SColour crash-on-exit bug
...
This was SVN commit r1756.
2005-01-23 01:36:47 +00:00
113d89e148
Possible texture environment code for single-pass player-colour rendering
...
This was SVN commit r1754.
2005-01-22 21:25:27 +00:00
71e3b4e289
Allow clipboard pasting into input boxes (with the same hotkeys as the console - insert or ctrl+v)
...
This was SVN commit r1752.
2005-01-22 18:46:03 +00:00
e717aaf997
Fixed warnings
...
This was SVN commit r1751.
2005-01-22 18:38:58 +00:00
ae38aee3d2
Revamped CNetClient/CNetServer JS Interface and new CGameAttributes
...
implementation (moving towards a merger of CGameAttribs into CGame).
This was SVN commit r1746.
2005-01-19 22:32:25 +00:00
a410c2852c
Updated ScEd's handling of players (though in a rather nasty way, since it doesn't actually have a CGame, and so it has no CPlayers, and so there are loads of HACK comments everywhere)
...
This was SVN commit r1740.
2005-01-18 12:45:56 +00:00
MarkT
9a2979edec
This was SVN commit r1738.
2005-01-18 10:57:17 +00:00
MarkT
1b961ec163
This was SVN commit r1737.
2005-01-18 10:52:22 +00:00
MarkT
60afb0ee2d
This was SVN commit r1736.
2005-01-18 10:49:32 +00:00
MarkT
20ce33094f
This was SVN commit r1735.
2005-01-18 10:49:06 +00:00
MarkT
6b64327a19
This was SVN commit r1734.
2005-01-18 10:48:51 +00:00
MarkT
25fdbfd931
Fixes for two pathfinding bugs (neither of which were actually pathfinding bugs), added player objects (details in TM)
...
This was SVN commit r1733.
2005-01-18 00:46:18 +00:00
4b5aff926d
Fixed compilation errors
...
This was SVN commit r1731.
2005-01-17 10:20:47 +00:00
2077698156
New JavaScript interface for the network client, plus some linux/gcc/misc fixes
...
This was SVN commit r1730.
2005-01-17 04:52:02 +00:00
1c044ac229
Primitive entity player-selection in ScEd
...
This was SVN commit r1727.
2005-01-16 23:09:41 +00:00
551bef482a
Prevented crash when loading non-existent maps
...
This was SVN commit r1721.
2005-01-15 17:20:51 +00:00
38b30e5eb4
Corrected ICC errors and some warnings. Removed some unnecessarily verbose logging. Did minor things.
...
This was SVN commit r1718.
2005-01-13 00:17:31 +00:00
4720a00f98
Made ScEd output entities into an XML file.
...
Added CStrW::utf8() (used by XMLWriter).
This was SVN commit r1716.
2005-01-12 14:31:47 +00:00
fc4a34d768
Nicer XML-writing system
...
This was SVN commit r1711.
2005-01-11 20:15:39 +00:00
15fcf8f054
Neatened some debug messages. Changed main.cpp so ScEd can use it. Fixed minor inconsistencies and warnings.
...
This was SVN commit r1708.
2005-01-11 16:58:16 +00:00
16a3ee4a4b
Fixed fix, to correct precedence (as warned about by the friendly compiler ;-) )
...
This was SVN commit r1707.
2005-01-11 16:40:01 +00:00
629e5999e0
vfs: fixed an apparently untested "quick change" to an assert that was triggering. boo!
...
This was SVN commit r1704.
2005-01-10 22:51:08 +00:00
a571688b1d
Minor auto-builder fix
...
This was SVN commit r1702.
2005-01-10 22:21:56 +00:00
75c714b8df
Made ScEd compile more pleasantly
...
This was SVN commit r1700.
2005-01-10 22:13:18 +00:00
2ad77b16db
Optimised a couple of functions to save ~1.5 secs when loading ScEd
...
This was SVN commit r1699.
2005-01-10 22:05:38 +00:00
3ae57e7b0d
Inverted my accidental inversion of logic
...
This was SVN commit r1697.
2005-01-10 21:07:24 +00:00
fba99c3414
vfs: fix mounting archive contents - now relative to mount point as it should.
...
added flags to vfs_mount that enable looking for archives and mounting
subdirectories (previously always done, but slow)
main: uses above flags when mounting
This was SVN commit r1695.
2005-01-10 18:44:41 +00:00
e632c0ff1d
zip: fix overrun when reading uncompressed data: truncate to output buffer size
...
vfs: fix archive file add routine: wasn't starting at mount point,
didn't handle files in archive root dir correctly
tex: add tex_is_known_fmt
lib: add ERR_TIMED_OUT
This was SVN commit r1693.
2005-01-10 13:42:10 +00:00
56949e6fc4
lib: add big endian readers; add VC intrinsic bswap routines
...
tex: improve flip / bgr convert (now generalized "transforms"); add
support for transforming image before encoding
wsdl: add SDL_ShowCursor, minimize when tasking out
main: WriteScreenshot improved, fixes flipped screenshots
This was SVN commit r1689.
2005-01-09 14:23:59 +00:00
d56ae48aa1
Made the archive builder guess its location more correctly
...
This was SVN commit r1674.
2005-01-08 18:32:21 +00:00
37d2d83a9d
Adjusted things to work with the new top-down orientation
...
This was SVN commit r1668.
2005-01-07 14:10:14 +00:00
8633123520
default orientation is now top-down to match Photoshop DDS plugin (thanks, Philip!)
...
This was SVN commit r1667.
2005-01-07 13:48:49 +00:00
974292c5b7
forgot to add yesterday :/
...
I/O plugin for libjpg that reads from memory
This was SVN commit r1661.
2005-01-07 11:13:20 +00:00
dd3a0dd657
tex:
...
- complete+document+fix texture orientation code
- add JPG codec
- file extension check bugfix: now case-insensitive
also some general cleanup.
This was SVN commit r1660.
2005-01-07 02:00:14 +00:00
c5de965814
wsdl:
...
- add SDL_WaitEvent
- fixed evil bug due to incorrect interpretation of
PIXELFORMATDESCRIPTOR.cColorBits (destabilized ATI drivers)
- remove ps/ dependency in "screenshot" key hook
- fix bug in gamma functions
- remove asm trampolines, replace with plain inline calls (efficiency <
safety)
- SDL thread calls implemented in terms of POSIX functions
This was SVN commit r1659.
2005-01-07 01:25:10 +00:00
f503a1f4e7
handle.h: include guard
...
vfs: path_append and exact-case handling bugfixes
wtime: added FILETIME->time_t conversion; small improvements
This was SVN commit r1658.
2005-01-07 01:16:43 +00:00
e6a12f76e2
aio: check for NULL aiocb* params; made aio_h get/set static; various small improvements
...
mem: explicit mem_shutdown call - try to avoid exit order problems
unifont: remove logger calls (dependency on ps/)
This was SVN commit r1657.
2005-01-07 01:13:48 +00:00
577c23d936
cursor: remove dependency on CVFSFile (all lib/res files must not depend on ps/, so that they can be reused in other projects)
...
wposix:
- FILETIME->time_t conversion for *stat
- improve opendir/readdir etc.; add readdir_stat_np
- add pthread_join and pthread_cancel
- add portable sem_* semaphore functions (alternative to SDL semaphores)
file: use readdir_stat_np instead of reading non-portable struct dirent
fields
This was SVN commit r1656.
2005-01-07 01:10:00 +00:00
090ea2301a
wdbg: temporarily removed LOCALIZED_TEXT so this works in another project. must find long-term solution: lib/ must not be dependent on ps/!
...
sysdep.h: add pick_dir
sysdep/win/win.cpp: .. and its win32 implementation
This was SVN commit r1655.
2005-01-07 00:59:52 +00:00
39783e6a17
lib.h: corrected 2 casts:
...
- problem when using CHECK_ERR with functions returning a Handle
- incorrect sign conversion when passing non-ascii (> 0x80) chars to
FOURCC
precompiled.h: include lib/types.h
This was SVN commit r1654.
2005-01-07 00:55:53 +00:00
2077d4fd1d
timer.cpp: start FPS value = 60 => faster convergence
...
timer.h: TIMER uses debug_out
main/input: moved game_ticks to input.cpp (only used if input.cpp is
included)
This was SVN commit r1653.
2005-01-07 00:52:05 +00:00
f7e82dbc16
add ps/Errors.h and/or lib/types.h headers (shouldn't rely on precompiled.h to pull those in).
...
also prepended ps/ to make location clear.
This was SVN commit r1652.
2005-01-07 00:47:44 +00:00
dbfc576458
Fixed a bug in the autobuilder that occurs when tools (such as the autobuilder) are updated.
...
This was SVN commit r1642.
2005-01-05 19:46:31 +00:00
ff34bf40b1
Automated build system code (mainly for backup purposes - it won't work on anyone else's machine without a few bits of reconfiguration)
...
This was SVN commit r1641.
2005-01-05 19:38:45 +00:00
618c6cbbe7
Avoid flickering when zooming at near-zero speeds
...
This was SVN commit r1639.
2005-01-04 22:16:03 +00:00
bb8e24ec60
Corrected spelling
...
This was SVN commit r1637.
2005-01-04 22:07:17 +00:00
0de796c5ea
Send Load event to GUI objects after (instead of while) loading the rest of the engine
...
This was SVN commit r1635.
2005-01-04 21:51:23 +00:00
a61a961edd
Don't display blank tooltips
...
This was SVN commit r1634.
2005-01-04 21:37:51 +00:00
31f0e62c83
Changed the add_color GUI sprite effect to use alpha=0 by default
...
This was SVN commit r1625.
2005-01-03 22:23:27 +00:00
0a99e2a189
Another extremely important whitespace fix
...
This was SVN commit r1624.
2005-01-03 20:40:32 +00:00
cff12c4127
Extremely important whitespace fix
...
This was SVN commit r1623.
2005-01-03 20:34:38 +00:00
a84351441e
Fixed invalid GL commands (as complained about by 82845G drivers)
...
This was SVN commit r1612.
2005-01-02 00:26:48 +00:00
f791239396
Fix for strange machine with no audio
...
This was SVN commit r1611.
2005-01-02 00:05:33 +00:00
43271f7618
Ctrl+home, ctrl+end go to top/bottom of console
...
This was SVN commit r1609.
2005-01-01 18:12:23 +00:00
15bb170328
SessionStart event sent to GUI objects upon starting a game
...
This was SVN commit r1608.
2005-01-01 17:30:55 +00:00
fcd1adcea3
Removed my earlier 'fix' (related to a bug when adding new files to a directory that was previously archived) which was completely rubbish, and replaced it with one that is hopefully less stupid (and actually fixes the problem)
...
This was SVN commit r1605.
2005-01-01 13:43:43 +00:00
f9c51d8ec7
Replaced - with _ in GUI
...
This was SVN commit r1604.
2005-01-01 12:06:17 +00:00
1c2acfed8c
CInput textcolor
...
This was SVN commit r1602.
2004-12-31 12:20:22 +00:00
855e1a7f81
Small ScEd updates
...
This was SVN commit r1601.
2004-12-30 23:01:09 +00:00
e533f5c7fc
Executable version of archive-builder
...
This was SVN commit r1600.
2004-12-30 18:08:09 +00:00
170c511c58
Mostly complete archive-builder
...
This was SVN commit r1599.
2004-12-30 17:42:22 +00:00
7efc7a7903
Fixed memory leak
...
This was SVN commit r1598.
2004-12-30 17:27:53 +00:00
ed55ad4d82
Put crashlog into ScEd.
...
This was SVN commit r1590.
2004-12-28 20:53:54 +00:00
94f89e130b
Let ScEd open maps with non-VFS filenames. Probably stopped leaking memory.
...
This was SVN commit r1588.
2004-12-28 16:17:17 +00:00
9e2413acab
Allowed \\ in tooltip text. Fixed tooltips.
...
This was SVN commit r1587.
2004-12-28 13:13:27 +00:00
aab60e9ab8
Unbroke text-alignment buffer-zones. Allowed \n in tooltip text.
...
This was SVN commit r1585.
2004-12-28 12:38:45 +00:00
156ff7cf56
Minimal text-alignment ability in Text GUI objects
...
This was SVN commit r1584.
2004-12-28 12:17:04 +00:00