MarkT
414960a654
Forcing update of EntityPredicate.h
...
This was SVN commit r2092.
2005-03-30 18:25:07 +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
827e06b8e4
Updated ScEd.
...
This was SVN commit r2083.
2005-03-30 02:06:00 +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
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
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
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
79da4bf050
On-demand loading of actors (sort of)
...
This was SVN commit r2017.
2005-03-19 11:55:27 +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
e6c8cef293
types.h => lib/types.h (avoid name collision)
...
This was SVN commit r1935.
2005-02-26 15:13:15 +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
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
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
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
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
6fa79e0247
This was SVN commit r1791.
2005-01-23 21:58:06 +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
60afb0ee2d
This was SVN commit r1736.
2005-01-18 10:49:32 +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
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
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
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
c9d89e964b
Moved g_Gui.TickObjects to the main render loop and update the scheduler when no game is running
...
This was SVN commit r1531.
2004-12-18 23:25:58 +00:00
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
77196dbe06
less dependencies on res/res.h in headers (a bad thing) => less recompiles when I change vfs.h :)
...
This was SVN commit r1467.
2004-12-07 02:04:38 +00:00
a2a6f29ab3
s/Prometheus/Pyrogenesis/
...
This was SVN commit r1459.
2004-12-05 21:56:09 +00:00
445915942a
Fix to restore setInterval() to its former functioning glory.
...
This was SVN commit r1447.
2004-12-02 23:36:47 +00:00
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
30ad195c0b
Linux/GCC Compat
...
This was SVN commit r1393.
2004-11-23 23:56:10 +00:00
5a09dcd81b
"*.xml" filter as per new vfs_next_dirent
...
This was SVN commit r1390.
2004-11-23 23:52: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
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
442c6f315f
Added 'const' to appropriate bits of Xeromyces
...
This was SVN commit r1226.
2004-10-07 20:49:35 +00:00
53719430d1
Minor bug fixes
...
This was SVN commit r1223.
2004-10-07 20:02:58 +00:00
MarkT
3469e90636
Couple of files missing from previous commit.
...
This was SVN commit r1222.
2004-10-07 19:35:08 +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
011666f393
Minor fixes for Linux/GCC
...
This was SVN commit r1201.
2004-09-26 21:21:34 +00:00
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
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
6e9c7dd532
Fixed minor type-conversion warnings
...
This was SVN commit r1026.
2004-08-20 14:03:49 +00:00
4d9c7684df
w00t! first batch of actual network support!
...
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
9cd4cab693
A few log categories
...
This was SVN commit r994.
2004-08-15 20:57:31 +00:00
972596878e
remove mods/official from pathname
...
This was SVN commit r968.
2004-08-11 20:17:13 +00:00
5f25030964
previous fix was incorrect; utf16 was new and not yet committed
...
This was SVN commit r917.
2004-08-05 15:07:05 +00:00
875ceeb9cf
fix breakage: utf16 -> utf16string and include header
...
or was something else intended? no other occurence of "utf16"
This was SVN commit r903.
2004-08-05 12:15:19 +00:00
b986ff832b
Some Linux wchar_t/jschar stuff.. JS uses UTF-16/UCS-2, so convert wchar strings before handing to JS unicode interfaces.
...
This was SVN commit r902.
2004-08-05 12:04:20 +00:00
MarkT
2b396ccb57
Minor improvements to some simulation code.
...
This was SVN commit r887.
2004-08-02 23:14:54 +00:00
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
5f810002c7
Changed error handling in Xeromyces
...
This was SVN commit r845.
2004-07-29 16:17:21 +00:00
00420a8815
fix some minor warnings
...
This was SVN commit r834.
2004-07-28 15:07:54 +00:00
415662c4cd
First set of Core Classes changes! w00t :P
...
This was SVN commit r823.
2004-07-27 21:00:53 +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
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
4a9262afb6
Fixed heap corruption, hopefully correctly
...
This was SVN commit r793.
2004-07-21 12:29:32 +00:00
MarkT
7fd55bae7f
Minor fix to timing code
...
This was SVN commit r786.
2004-07-20 21:12:28 +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
1e40ed1543
More attempted error handling
...
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
abff8d12c4
Don't crash when units exist off the map
...
This was SVN commit r726.
2004-07-12 16:08:41 +00:00
c62940201f
Removed trailing newlines in log messages
...
This was SVN commit r705.
2004-07-11 16:05:58 +00:00
7bef7160ca
gcc warning fixes
...
This was SVN commit r702.
2004-07-11 12:49:44 +00:00
0eecb81bac
wchar_t/etc fixes
...
This was SVN commit r692.
2004-07-10 20:56:15 +00:00
970685e82c
wchar_t/etc fixes
...
This was SVN commit r690.
2004-07-10 20:33:42 +00:00
29de67dff8
Fixed potential memory leak
...
This was SVN commit r681.
2004-07-10 12:56:17 +00:00
a8f48ff7e0
XMB
...
This was SVN commit r665.
2004-07-08 15:22:09 +00:00
f588f903d3
Avoid some warnings
...
This was SVN commit r616.
2004-07-01 09:56:44 +00:00
6348dc1f0e
Fixed null-pointer crash-on-exit
...
This was SVN commit r599.
2004-06-24 16:09:29 +00:00
fd701dc5d9
more L4 warnings stomped
...
This was SVN commit r585.
2004-06-22 13:22:46 +00:00
00442470a2
Added newline at end, for gcc
...
This was SVN commit r539.
2004-06-18 18:49:12 +00:00
114313771b
Replace L".." with (XMLCh*)L"...", for gcc
...
This was SVN commit r538.
2004-06-18 18:46:34 +00:00
ea68626ec1
Remove new new (Xerces doesn't like it)
...
This was SVN commit r516.
2004-06-15 21:08:05 +00:00
71a81f3432
Fixed minor memory leak
...
This was SVN commit r514.
2004-06-15 20:54:55 +00:00
17fb3238c7
fixed some unfreed XMLString::transcode's
...
This was SVN commit r505.
2004-06-13 23:37:37 +00:00
15ca5cbf21
newline stomper and fixed warnings
...
This was SVN commit r473.
2004-06-11 02:14:18 +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
2521765276
added hack to CEntity::processGotoNoPathing - avoids BC warning in the case where delta -> 0
...
This was SVN commit r461.
2004-06-09 17:56:03 +00:00
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
9a9c0055dc
Use the VFS wrapper instead of Xerces' local file input source
...
This was SVN commit r383.
2004-06-03 13:27:01 +00:00
MarkT
d32be2011f
Pathfinding tweaks; coldet fixes.
...
This was SVN commit r379.
2004-06-03 02:20:48 +00:00
4daa183dd3
stripped some headers from deprecated prometheus.h => huge rearrange
...
This was SVN commit r378.
2004-06-03 01:43:33 +00:00
7c86e3459e
fixed usage of vfs_next_dirent
...
This was SVN commit r363.
2004-06-02 16:58:55 +00:00
c09ab35453
Extended the hash_map kludge to detect gcc
...
This was SVN commit r359.
2004-06-02 16:28:12 +00:00
df501b11ac
- Minor GCC compat changes
...
- return( [CLASS]() ); generates a parse error (GCC Bug)
This was SVN commit r357.
2004-06-02 16:11:32 +00:00
a1fb048fe5
Converted to VFS enumeration
...
This was SVN commit r356.
2004-06-02 16:06:19 +00:00
3abf9ac4b5
lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
...
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
MarkT
015a62df51
Fixing leaks. More leaks.
...
This was SVN commit r326.
2004-05-30 02:18:49 +00:00
MarkT
04cef944e9
Fixing leaks.
...
This was SVN commit r325.
2004-05-30 01:57:26 +00:00
notpete
6535db7fd4
Minor changes to use CUnit::GetModel() and CUnit::GetObject() instead of m_Model and m_Object, as these are no longer public.
...
This was SVN commit r308.
2004-05-29 20:58:11 +00:00
notpete
f4d09178a9
Fixed #include.
...
This was SVN commit r307.
2004-05-29 20:56:55 +00:00
MarkT
ac082709cd
Added some pathfinding code. (SparsePath)
...
This was SVN commit r284.
2004-05-29 03:32:33 +00:00
MarkT
cb93be5272
Entity code reorganization.
...
This was SVN commit r279.
2004-05-28 04:01:30 +00:00
MarkT
0b8ff2d0da
Entity code reorganization.
...
This was SVN commit r278.
2004-05-28 02:57:50 +00:00
MarkT
51375831f1
Desync-ed unit motion.
...
This was SVN commit r274.
2004-05-26 23:47:46 +00:00
MarkT
089472eb24
Early form of collision detection/avoidance added.
...
This was SVN commit r272.
2004-05-26 20:57:25 +00:00
MarkT
ece29bb59d
Collision detection code (unused at present).
...
This was SVN commit r268.
2004-05-26 03:14:33 +00:00
MarkT
011bd189ea
Further miscellaneous warning-squashing.
...
This was SVN commit r260.
2004-05-24 21:01:50 +00:00
d63248d276
fixed some signed/unsigned warnings
...
This was SVN commit r259.
2004-05-24 20:27:25 +00:00
MarkT
8f9dc744df
Finished testing TortoiseCVS, removing some temp files.
...
This was SVN commit r256.
2004-05-22 22:12:51 +00:00
MarkT
1de04c4990
Testing a theory with TortoiseCVS
...
This was SVN commit r255.
2004-05-22 22:04:50 +00:00
MarkT
8efddda682
Testing a theory with TortoiseCVS
...
This was SVN commit r254.
2004-05-22 22:01:15 +00:00
MarkT
ed1a9432ca
Testing a theory with TortoiseCVS
...
This was SVN commit r253.
2004-05-22 21:59:49 +00:00
MarkT
f9ad4c0331
Added standard overview/usage comments to the entity files.
...
This was SVN commit r248.
2004-05-22 00:57:54 +00:00
MarkT
6d5afc10ff
Added PASAP entity systems
...
This was SVN commit r246.
2004-05-21 23:46:16 +00:00