1ff0d112d2
revise loader return values - nicer interface now.
...
This was SVN commit r2281.
2005-05-11 04:39:21 +00:00
ab980c1a31
Updated map format, to store lighting information in XML. Also, vital whitespace consistency improvements.
...
This was SVN commit r2276.
2005-05-11 03:07:08 +00:00
bc5122fa08
UTF-8->CStrW conversion; used in saved console history.
...
This was SVN commit r2272.
2005-05-10 18:15:03 +00:00
MarkT
86dc351205
Projectile code and updates to some actors that can use it (celt_ijv and hele_iar)
...
This was SVN commit r2266.
2005-05-10 07:13:25 +00:00
229a6b7a16
Loader: reword comment
...
EntityHandles.cpp: 4096 -> MAX_HANDLES
This was SVN commit r2259.
2005-05-09 04:37:36 +00:00
01588f267f
Corrected garbage collection problem
...
This was SVN commit r2255.
2005-05-09 03:26:04 +00:00
f8f94e02aa
add high-level dox and updated some comments
...
This was SVN commit r2249.
2005-05-06 20:02:00 +00:00
daddeed4bb
fix really stupid bug in ReadFileLines - was always setting first array element
...
This was SVN commit r2246.
2005-05-05 16:41:16 +00:00
1bcf156680
added macro that takes care of boilerplate "check for timeout and return progress" code.
...
This was SVN commit r2242.
2005-05-04 23:10:11 +00:00
05a2ec78d3
add default ctors for XMBElement and XMBElementList (required by ReadXML closure)
...
This was SVN commit r2234.
2005-05-03 21:39:51 +00:00
22ee082694
- more accurate progress calculation (avoids accumulating errors)
...
- revised time accounting allows updates during a task that's
interrupted
- cleaned up LDR_NonprogressiveLoad
This was SVN commit r2233.
2005-05-03 21:39:03 +00:00
1f1642bfe3
revise thunks to not free their MemFun_t if the registered function times out
...
This was SVN commit r2232.
2005-05-03 21:37:49 +00:00
f0e311440e
all functions called via delay-load mechanism now return int (allows closures that can interrupt themselves when time is up)
...
This was SVN commit r2231.
2005-05-03 21:36:57 +00:00
f34cd1ee08
more revisions to comments to match dox
...
This was SVN commit r2229.
2005-05-03 16:57:56 +00:00
b8cb80898f
split common error handling code into macro.
...
documented each function (contents from wiki)
This was SVN commit r2228.
2005-05-03 16:41:09 +00:00
c79a71ec4d
This was SVN commit r2225.
2005-05-03 05:16:10 +00:00
ee9757b79b
- add usage comment for each function
...
- remove unnecessary vfs_exists
- improve error handling
- <path> is already dir+name
This was SVN commit r2224.
2005-05-03 05:15:18 +00:00
03a3fd6091
update EnumDirEnts docs. disambiguate <path> parameter - it's dir+name
...
This was SVN commit r2220.
2005-05-03 05:03:27 +00:00
MarkT
c8cd52578a
Put the extra animation event in the struct def, also adding Jan's VFS script wrapper.
...
This was SVN commit r2218.
2005-05-03 04:27:07 +00:00
87f4cc2592
This was SVN commit r2212.
2005-05-02 19:47:06 +00:00
MarkT
db168702df
Jason's animation events. Also reworked entity-types system.
...
This was SVN commit r2209.
2005-05-01 19:09:13 +00:00
dc210f9f0e
playercolor adjustments
...
This was SVN commit r2205.
2005-05-01 11:51:07 +00:00
64c7bbd91d
Player color tweaks
...
This was SVN commit r2202.
2005-05-01 00:05:34 +00:00
889b81433a
[Subtle hint to the autobuilder that it might want to upload the newest version...]
...
This was SVN commit r2192.
2005-04-29 04:46:14 +00:00
7327e942d6
replaced Ykkrosh clone with "Clausewitz". exercise for the reader: who's that? >:-)
...
This was SVN commit r2176.
2005-04-26 20:49:08 +00:00
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
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
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
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
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
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
MarkT
3c99f0f2eb
Minor JavaScript updates
...
This was SVN commit r2073.
2005-03-28 22:13:47 +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
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
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
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
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
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
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