4b6a19cdfb
better error reporter, use consistent exceptions if init fails, add notes which functions are currently unused
...
This was SVN commit r2515.
2005-07-22 18:41:49 +00:00
f715e6c226
ScriptableComplex.h: ScriptingHost already includes SpiderMonkey.h
...
scriptglue: additional refactoring
scriptinghost: remove useless GC function
SpiderMonkey.h: more dox
This was SVN commit r2497.
2005-07-20 04:53:58 +00:00
ec6b78b252
rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)
...
This was SVN commit r2447.
2005-06-28 04:06:25 +00:00
b657a1cbca
Added CStr and some other things to precompiled.h, to reduce build times.
...
Altered CStr/UniDoubler's macros, to avoid polluting/conflicting/etc.
Fixed headers in non-PCH builds.
Used the _d version of vorbisfile*.lib in Debug builds.
This was SVN commit r2366.
2005-06-01 20:12:45 +00:00
fd4eb91e93
debug_out -> debug_printf; MICROLOG moved to ps/Pyrogenesis.h
...
This was SVN commit r2285.
2005-05-11 18:56:30 +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
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
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
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
28c7a682b8
Fixed annoying crash when SpiderMonkey's GC ran.
...
Minor tooltip updates.
This was SVN commit r1542.
2004-12-21 18:41:58 +00:00
32854fc162
JS scripts are now loaded via VFS, as per "JS optimization" email from stu.
...
This was SVN commit r1502.
2004-12-15 14:23:27 +00:00
bc0c59b084
as per "JS Optimisation?" email from stu, updated to use VFS.
...
This was SVN commit r1500.
2004-12-14 17:58:37 +00:00
8d20cfefdb
remove cout << "initialized"
...
This was SVN commit r1463.
2004-12-07 01:08:56 +00:00
3136791492
Linux/GCC Compat(tm)
...
This was SVN commit r1284.
2004-11-07 21:30:47 +00:00
MarkT
2ab625720b
Fairly major XML/entprop changes; some more minor stuff that fell out as a consequence.
...
This was SVN commit r1220.
2004-10-07 19:23:35 +00:00
9c2fb5a466
stomped on vc2k5 warning (size_t -> uint)
...
This was SVN commit r1191.
2004-09-22 18:14:00 +00:00
df1b502bbd
Linux Compat and some updated PARANOIA code
...
This was SVN commit r1189.
2004-09-22 15:20:58 +00:00
348505ee14
Added g_ScriptingHost.[GS]etObjectProperty_Double, as a randomly useful function
...
This was SVN commit r1110.
2004-09-03 14:10:48 +00:00
8a19257cd4
Fixed conversion of non-NULL-terminated strings
...
This was SVN commit r1096.
2004-09-01 19:49:23 +00:00
9fa5e3b57a
Better Unicode support in the console
...
This was SVN commit r1038.
2004-08-24 11:07:50 +00:00
4d9c7684df
w00t! first batch of actual network support!
...
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
a9c197f549
Linux/GCC Compat
...
This was SVN commit r821.
2004-07-27 20:59:03 +00:00
fe1bee706b
Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
...
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
MarkT
befae8627d
Changed hotkey handling for groups and bookmarks; small pathfinding fixes.
...
This was SVN commit r809.
2004-07-23 10:56:52 +00:00
MarkT
194fdf9b4b
Unit selection and ordering, setTimeout, scheduler, fixed timestep code, various fixes and reinforcement of the JS<->Native code.
...
This was SVN commit r783.
2004-07-20 19:30:35 +00:00
82575127d4
Now calls JS_ShutDown (yay, undocumented functions...) to fix a couple of memory leaks
...
This was SVN commit r774.
2004-07-18 18:42:45 +00:00
1e40ed1543
More attempted error handling
...
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
ec63db7967
Make XMB files store line numbers, so XML inline scripts can be debugged easily
...
This was SVN commit r723.
2004-07-12 15:50:12 +00:00
ca5b760310
Linux/GCC: Changed a whole bunch of wide character format strings... In VC++,
...
the wide printf functions default %s to be a wide string. GCC defaults
it to
a narrow string. Everything I could find uses %ls or %hs as appropriate
now.
This was SVN commit r715.
2004-07-11 22:30:08 +00:00
4c1ef2df21
gcc warning fixes
...
This was SVN commit r701.
2004-07-11 12:37:52 +00:00
eb530b7d94
Use the correct JS lib for Debug/Release.
...
Errors are now also reported through debug_out to reduce the chance of
missing them.
This was SVN commit r640.
2004-07-07 10:52:45 +00:00
3109d4361a
- Get/SetGlobal() added
...
- Made CreateCustomObject call the constructor (JS_NewObject =>
JS_ConstructObject)
- Made the JS error reporter work even before the console has been
constructed
This was SVN commit r620.
2004-07-04 15:35:04 +00:00
32b6627645
Miscellaneous gcc fixes
...
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
48d94cd86a
Altered to work with the Unicode console
...
This was SVN commit r522.
2004-06-16 15:43:34 +00:00
MarkT
e4fe4ed602
JS Interface to entities. It even partially works now.
...
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
797f660ef0
take two.. the typedefs should match now - hopefully on both VC++ and GCC
...
This was SVN commit r466.
2004-06-09 22:47:02 +00:00
609d519d3d
GCC/linux compat (required extern qualifier, int/JSInt32 conversion)
...
This was SVN commit r447.
2004-06-09 14:02:40 +00:00
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
1eaadd38aa
ran everything though mark's newline stomper.
...
This was SVN commit r322.
2004-05-30 00:46:58 +00:00
Alan
8de401a3ee
Adding scripting interface code
...
This was SVN commit r281.
2004-05-28 13:07:54 +00:00