1
0
forked from 0ad/0ad
Commit Graph

55 Commits

Author SHA1 Message Date
549150fe38 Atlas: simple camera control and terrain editing.
Terrain: added terrain-editing code to CTerrain, for better
encapsulation or something.
Console: simplified screen resizing.
Game/etc: removed some unnecessary header file inclusions.

This was SVN commit r2459.
2005-07-03 16:25:48 +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
d4617cbd3e Minor warning-fixes and miscellaneous tidiness
This was SVN commit r2416.
2005-06-20 22:04:08 +00:00
7577d224a6 Terrain XML loading, plus mouse/JS portability and some misc stuff to mix it up
This was SVN commit r2412.
2005-06-20 15:14:36 +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
aa027d20ec Fixed ScEd again - renamed the network system's CCommand to CNetCommand, since ScEd used that name first :-P
This was SVN commit r2337.
2005-05-23 02:39:07 +00:00
f1e9bf6227 Fixed warnings
This was SVN commit r2319.
2005-05-18 21:19:56 +00:00
d0f7cb015c - Linux/GCC (as usual :P)
- Ported lockless code to gcc inline assembly
- A few new net messages (gather, attack, add waypoint)
- Support for new messages in network->entity order converter
- Implemented rudimentary JS interface for Interaction
- issueCommand JS API, connected to the network
- Removed Interaction stuff now replaced by JS
- And something in there should probably break VS builds :P

This was SVN commit r2316.
2005-05-18 05:32:09 +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
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
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
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
5d9fe41fec NetServer onChat event and NetClient onDisconnect event added
This was SVN commit r1894.
2005-02-02 16:57:15 +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
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
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
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
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
a2a6f29ab3 s/Prometheus/Pyrogenesis/
This was SVN commit r1459.
2004-12-05 21:56:09 +00:00
86940ee0aa Minor changes in MP player handling, slightly more correct
This was SVN commit r1388.
2004-11-23 23:46:15 +00:00
b3cba5f48c Deadlock Fix in Linux code
This was SVN commit r1387.
2004-11-23 23:37:10 +00:00
b4fef6c1f2 fix incorrect 64-bit serialization
(was shifting u32 32 bits left, which is 0)

This was SVN commit r1350.
2004-11-18 20:51:49 +00:00
64646cfbbf Some more verbose error reporting
This was SVN commit r1307.
2004-11-12 22:11:04 +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
c32e6d5215 String conversion fix/extension
This was SVN commit r1285.
2004-11-07 21:57:46 +00:00
5e42dad394 CStr alterations
This was SVN commit r1282.
2004-10-31 20:29:09 +00:00
MarkT
d33d2e4450 Added some support for user profiles
This was SVN commit r1270.
2004-10-23 14:39:28 +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
6873de4ed0 GCC fixes: string.c_str() in LOG
This was SVN commit r1034.
2004-08-21 12:55:43 +00:00
4d9c7684df w00t! first batch of actual network support!
This was SVN commit r1006.
2004-08-16 15:19:17 +00:00
8ae3658f84 Fixed endless loop after closed socket connection
This was SVN commit r822.
2004-07-27 20:59:46 +00:00
027d18a8b5 Linux/GCC compat
This was SVN commit r685.
2004-07-10 18:57:13 +00:00
6559b5c8a6 Updates for PCH Compat, and other misc. revisions
This was SVN commit r623.
2004-07-04 15:41:17 +00:00
5b5726ed4d merge of (work in progress) VFS code with new dir layout
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
23e35513d3 - Naming Convention\n- Documentation\n- Cleanup
This was SVN commit r187.
2004-03-08 02:11:41 +00:00
f2de345f5e - Naming Convention changes
- windows compat

This was SVN commit r186.
2004-03-08 02:10:37 +00:00
f0bd3c597e - Naming Convention\n- Cleanup
This was SVN commit r185.
2004-03-08 02:08:12 +00:00
c7e551a82b Fixed a bug with integer deserialization, where the network size is less
than the code size

This was SVN commit r184.
2004-03-08 02:07:31 +00:00
65c5e0d6b0 Naming Convention changes
This was SVN commit r183.
2004-03-08 02:06:38 +00:00
c5a3087464 - Naming Convention changes
- Proper message-based operation of CMessageSocket (error message,
connect complete message, close request message)

This was SVN commit r182.
2004-03-08 02:06:06 +00:00
9cb0a192d6 Naming convention changes
This was SVN commit r181.
2004-03-08 02:04:34 +00:00
048f14120b - Array Support
- NetMessageType => ENetMessageType
- Some general message types

This was SVN commit r180.
2004-03-08 02:03:24 +00:00
91cb7f7138 minor changes (mainly header rename) for lib overhaul
This was SVN commit r157.
2004-03-02 23:54:51 +00:00
MarkT
ef68499bd3 [Entities and Events] Still incomplete, but compiles cleanly. Replaces version accidentally commited that didn't.
This was SVN commit r152.
2004-01-21 02:08:09 +00:00
73771118b7 IPv6 Compatability (DLL-detection aware), added GetString() and GetPort() to SocketAddress, Documentation
This was SVN commit r138.
2003-12-10 19:39:22 +00:00
50ad3a0e42 Cleanup, WSAAsyncSelect moved to win.h
This was SVN commit r137.
2003-12-10 19:34:39 +00:00
95b082e6e1 linux compat, uint seems to be a define
This was SVN commit r136.
2003-12-10 19:33:42 +00:00