1
0
forked from mirrors/0ad
Commit Graph

65 Commits

Author SHA1 Message Date
janwas 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
janwas 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
Ykkrosh 6d7d049d89 Attempted to minimise dependencies between header files (to make compilation minorly faster)
This was SVN commit r1490.
2004-12-12 19:43:55 +00:00
janwas 8d20cfefdb remove cout << "initialized"
This was SVN commit r1463.
2004-12-07 01:08:56 +00:00
janwas 4d83cba7e6 add required precompiled header include
This was SVN commit r1431.
2004-12-01 06:52:39 +00:00
MarkT f930bf1df4 Added semi-intelligent text parser for XMLs - so that numeric properties on entities are no longer stored as strings instead.
This was SVN commit r1409.
2004-11-27 20:02:51 +00:00
olsner 30ad195c0b Linux/GCC Compat
This was SVN commit r1393.
2004-11-23 23:56:10 +00:00
janwas cda100e72d fix warning: cast -1 to uint
This was SVN commit r1353.
2004-11-18 20:56:45 +00:00
janwas df2e7f1b08 fix warning: add typecast to JSVAL_NULL
This was SVN commit r1352.
2004-11-18 20:56:13 +00:00
MarkT d30e10042f Minor changes to sound-script interface.
This was SVN commit r1332.
2004-11-15 22:30:01 +00:00
MarkT 793794649f Combat code, some scripting, broken network, and fixed some bugs.
This was SVN commit r1301.
2004-11-11 07:09:32 +00:00
olsner 3136791492 Linux/GCC Compat(tm)
This was SVN commit r1284.
2004-11-07 21:30:47 +00:00
MarkT d33d2e4450 Added some support for user profiles
This was SVN commit r1270.
2004-10-23 14:39:28 +00:00
Acumen 6b084c3173 Fixes to comply with VC2005.
This was SVN commit r1229.
2004-10-07 22:03:12 +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
janwas 9c2fb5a466 stomped on vc2k5 warning (size_t -> uint)
This was SVN commit r1191.
2004-09-22 18:14:00 +00:00
olsner df1b502bbd Linux Compat and some updated PARANOIA code
This was SVN commit r1189.
2004-09-22 15:20:58 +00:00
olsner eb2989176e startGame() shouldn't crash and burn if the game's already been started
This was SVN commit r1181.
2004-09-21 16:10:46 +00:00
olsner 777f06143d - A lot of small network fixes
- Connecting client(s) to a server and giving orders to a shared set of
entities now works - Yeah!
- Removed thread sync from CNetServer

This was SVN commit r1180.
2004-09-21 14:40:43 +00:00
Ykkrosh 3a3a5b6c34 Added getFPS(), so the GUI can draw the FPS counter. Also added getLanguageID(), so it knows what language it's using
This was SVN commit r1122.
2004-09-05 11:28:59 +00:00
Ykkrosh 3ef7b1b67b Corrected JS_AddRoot usage (it wants a JSObject**/JSString**/jsval*/etc)
This was SVN commit r1116.
2004-09-04 14:43:23 +00:00
Ykkrosh 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
Ykkrosh 03ae01c44a Replaced all CStr16 with CStrW, because its name was too confusing
This was SVN commit r1109.
2004-09-03 14:08:12 +00:00
Ykkrosh 8a19257cd4 Fixed conversion of non-NULL-terminated strings
This was SVN commit r1096.
2004-09-01 19:49:23 +00:00
Ykkrosh 3b91514dbe buildTime() function, as a temporary version identifier for distributed builds
This was SVN commit r1084.
2004-08-30 11:20:59 +00:00
Ykkrosh 9fa5e3b57a Better Unicode support in the console
This was SVN commit r1038.
2004-08-24 11:07:50 +00:00
Ykkrosh 0e55379b36 Initial i18n integration
This was SVN commit r1029.
2004-08-21 11:45:01 +00:00
Ykkrosh 35baf71fe8 Define XP_* globally, for anything that uses SpiderMonkey directly
This was SVN commit r1025.
2004-08-20 14:02:53 +00:00
olsner 4d9c7684df w00t! first batch of actual network support!
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
Ykkrosh 9cd4cab693 A few log categories
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
Ykkrosh cc9ae228f9 _mem() JS function, for extremely basic VRAM usage information
This was SVN commit r987.
2004-08-14 11:21:29 +00:00
olsner b2afef529c Introducing: The Pre-Game State. The game instance is not created on program load as before, but can be started by JS functions.
This was SVN commit r912.
2004-08-05 13:07:51 +00:00
MarkT 2b396ccb57 Minor improvements to some simulation code.
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
olsner 09f47d6820 Core Classes Reorganization:
- g_Terrain and g_Camera totally eradicated as globals, is now m_Terrain
of CWorld and m_Camera of CGameView
- terrainMain.cpp is almost completely empty with functionality moved
into the relevant core classes
- Miscellaneous global functions moved into Core Classes (mostly
GameView)

This was SVN commit r865.
2004-07-31 15:57:18 +00:00
Ykkrosh fe061f4f11 Added JS setCursor(name)
This was SVN commit r857.
2004-07-31 12:45:30 +00:00
olsner a9c197f549 Linux/GCC Compat
This was SVN commit r821.
2004-07-27 20:59:03 +00:00
Ykkrosh 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 6d8b9e33ef Minor additions: Added hotkeys to GUI buttons, camera bookmarking (not sure if this system will stay), shoring up some JS error checking, moved a bunch of constants into the config file and added a new rotation mode.
This was SVN commit r804.
2004-07-22 16:18:12 +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
Ykkrosh 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
Ykkrosh 56e41b3003 Yet more fun with errors
This was SVN commit r771.
2004-07-18 11:51:15 +00:00
Ykkrosh 1e40ed1543 More attempted error handling
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
Ykkrosh 8684287360 Linux fixes
This was SVN commit r763.
2004-07-15 19:59:27 +00:00
Ykkrosh e01f4a540d New JS function: crash(). Generates an access violation.
This was SVN commit r762.
2004-07-15 19:31:09 +00:00
Ykkrosh 82de48832e MICROLOG function for high-speed logging of everything that happened just before a crash
This was SVN commit r761.
2004-07-15 19:29:56 +00:00
Ykkrosh 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
olsner 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
olsner c1e55c3824 Linux/GCC Compat: new js headers require XP_UNIX defined
This was SVN commit r713.
2004-07-11 20:28:46 +00:00
Ykkrosh cf9d8b9797 GUI/scripting updates
This was SVN commit r706.
2004-07-11 16:22:35 +00:00