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
2ea40a23a3
VS2005 compatibility fixes and warning adjustments:
...
Updated DLLs.
Added DirectX headers/libraries, since they're not in the platform SDK.
Fixed invalid STL iterator usage.
Disabled STL in stack trace, since it breaks.
Added comments for some reported warnings.
Corrected some apparent off-by-one errors.
Defined strlen_s to strnlen.
Probably broke pre-beta2 versions of VC2005.
This was SVN commit r2454.
2005-07-02 21:42:55 +00:00
f3b5e08030
CStr: VC2005 fix - mustn't dereference end()
...
snd: Only open device once
This was SVN commit r2452.
2005-07-01 22:53:03 +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
cf37e9cbe6
Atlas: Added a button. Reorganised game<->UI communication system.
...
main.cpp: Allowed correct operation when not calling Init/Shutdown.
Game.cpp: Stopped complaint when starting game with no GUI.
This was SVN commit r2446.
2005-06-27 23:04:34 +00:00
064dd5699d
- read() and write() are now implemented as functions (avoids having to #undef them)
...
- HAVE_DEBUGALLOC renamed to HAVE_VC_DEBUG_ALLOC
This was SVN commit r2426.
2005-06-22 03:14:35 +00:00
f3951fbfae
all JS-dependent code now includes scripting/SpiderMonkey.h instead of <js*.h> directly - see rationale in that header.
...
singleton: removed unnecessary headers
This was SVN commit r2425.
2005-06-22 02:23:46 +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
92d221f183
Interact.cpp: Use double instead of float for storing absolute times (since the precision is required).
...
Atlas: Nicer handling of menus.
This was SVN commit r2400.
2005-06-17 23:14:06 +00:00
471fd5d6f3
Unbroke more; plus some minor changes.
...
This was SVN commit r2398.
2005-06-17 01:28:35 +00:00
40b26227d7
singleton.h: use assert2 (avoid trouble in wdbg code)
...
lib.h: reorder error codes (more clear) and add a few
detect.cpp, gfx.h: move gfx_mem (amount of video memory) here from ogl
This was SVN commit r2391.
2005-06-16 21:46:33 +00:00
dd3c8f6fb5
Use the standard Singleton for CLogger, to fix problems with unordered shutdown
...
This was SVN commit r2383.
2005-06-13 19:31:48 +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
982e051c54
Changed PSERROR to inherit from std::exception
...
This was SVN commit r2344.
2005-05-24 00:00:40 +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
21149d9fd0
Renamed translate() to I18n::translate(), to minimise conflicts
...
This was SVN commit r2334.
2005-05-22 22:58:27 +00:00
0331883a86
Temporary fix for mouse input. Improved performance in player-colour model renderer. Also improved performance in lighting, at least in unoptimised builds.
...
This was SVN commit r2328.
2005-05-20 17:09:47 +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
fd4eb91e93
debug_out -> debug_printf; MICROLOG moved to ps/Pyrogenesis.h
...
This was SVN commit r2285.
2005-05-11 18:56:30 +00:00
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