1034a980fe
Added code for placement of socketted buildings.
...
This was SVN commit r4073.
2006-07-09 23:12:37 +00:00
5f7855f7f0
Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/.
...
This was SVN commit r3930.
2006-06-02 02:10:27 +00:00
3d26549032
Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings)
...
This was SVN commit r3802.
2006-04-23 23:14:18 +00:00
2fbb899bb5
# Animate props.
...
tex: Reverted recent WARN_RETURN(ERR_TEX_CODEC_CANNOT_HANDLE) changes,
since (I think) it shouldn't warn about that being returned (because it
intentionally happens frequently).
XMLWriter: Trivial inconsequential optimisations (avoiding temporary
strings).
This was SVN commit r3801.
2006-04-23 22:22:18 +00:00
d3f57744d9
Refactored actor variation system, and added support for entity-level selections (controlled by the current animation).
...
Avoided tooltip error message.
Avoided noisy warnings when textures fail to load.
This was SVN commit r3653.
2006-03-17 03:59:49 +00:00
14cb08fc20
Fixed a crash on units that could have props added & removed from them, such as javelinists. It seems that the CModel destructor was made to remove the prop point from the parent's prop point list, causing a problem in existing prop replacement code that tried to do the same thing.
...
This was SVN commit r3287.
2005-12-26 10:57:25 +00:00
be44dc842e
Fix memory leaks in the new model code.
...
This was SVN commit r3063.
2005-10-30 21:31:10 +00:00
b10534d224
Transform normals using the original bone matrix instead of the inverse of the
...
transpose. This assumes orthogonal transformations (which we have
exclusively,
as far as I can tell), but is significantly faster, because calculating
the
inverse is slow.
This was SVN commit r3041.
2005-10-28 19:25:47 +00:00
a357c7334e
Props remember who they're attached to and other mostly bone matrix related
...
things that should fix the heads-detached-from-bodies problem.
This was SVN commit r3025.
2005-10-26 01:03:28 +00:00
04650efe7a
Lots of gcc -Wall fixes. The common ones:
...
- switch() statements don't handle all values in an enum
- missing \n at end of file
- non-virtual destructors in classes containing virtual functions
- order of initializers in constructor initializer lists
... some other stuff (signedness, nested comments, unused variables) as
well.
This was SVN commit r2864.
2005-10-07 15:24:29 +00:00
d98abf0685
final refactor (i hope). split up fmt / int_fmt determination to allow override of fmt without overriding int_fmt (useful for unifont.cpp). this changed the signature of ogl_tex_upload. better explained flags in OglTex and warn_if_uploaded.
...
also a few improvements / stomped on some warnings.
This was SVN commit r2809.
2005-09-29 17:33:30 +00:00
a0a01e7a7d
Linux/GCC Compat, added some includes, ported inline assembly stuff to gnu syntax (and misc. cleanup in ia32.cpp)
...
This was SVN commit r2702.
2005-09-12 23:37:52 +00:00
6f10e8c09c
Updated building placement cursor to make the object glow read and not be placeable if trying to place in an invalid area.
...
Also a small fix: made the selection bandbox not appear when the view is
being rotated using left+right drag (it doesn't make sense to show it
then).
This was SVN commit r2674.
2005-09-06 08:25:41 +00:00
9ec828f6fd
- both tex.cpp and ogl_tex.cpp had functions named tex_* - confusing. renamed to ogl_tex* to disambiguate.
...
- ogl_tex_bind now supports multitexturing (avoids need to get id and
then bind manually)
- provide nicer API for querying texture properties (no longer one big
getter). improved GUI determination of texture alpha.
- renderer: another see-if-texture-has-alpha and fixed alpha map code
(wasn't checking if all are same size. only worked because the first map
was larger than the rest
This was SVN commit r2647.
2005-09-02 02:54:02 +00:00
4aa740bff5
- split up lib/res into file, graphics and sound.
...
- wposix.cpp: initial support for MEM_RESERVE and MEM_COMMIT semantics
in mmap
- cstr: removed no longer necessary serialization header
- xmlutils: wrap new() calls in nommgr/mmgr; allows tracking other
allocs in this file.
- add u64_from_u32
- various minor comments/improvements.
This was SVN commit r2604.
2005-08-12 17:06:53 +00:00
b63bc42245
TextureManager: stopped memory leaks
...
wsdl: create window at expected size, and retrieve correct mouse coords
CStr: not ISerializable (=> not virtual)
Game: less excessive complaining, since the original problem seems to be
fixed
Entity: fixed evaluation order
Others: minor comments/etc
This was SVN commit r2591.
2005-08-09 21:26:40 +00:00
a69ac0dee9
- fix w4 warnings
...
- add convenience macros for config_db(CFG_GET_SYS_VAL)
- VFSUtil::EnumDirEnts now uses flags instead of bool recursive
- UNUSED() for params, UNUSED2 (<- need better name) for variables
- config.h defines must be tested with #if (always defined) -> allows
detecting misspellings thanks to compiler warnings
- replace debug_assert(0) with debug_warn (its sole purpose)
- replace ScriptingHost::ValueToInt et al with ToPrimitive
- use nommgr.h to disable both mmgr and VC debug heap
This was SVN commit r2585.
2005-08-09 15:55:44 +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
MarkT
d6c4bf3302
Changes to actor speed specifications.
...
This was SVN commit r2350.
2005-05-27 00:38:30 +00:00
26b1cf5556
Random animations.
...
This was SVN commit r2330.
2005-05-21 01:40:32 +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
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
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
MarkT
db168702df
Jason's animation events. Also reworked entity-types system.
...
This was SVN commit r2209.
2005-05-01 19:09:13 +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
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
9e8d3d6518
Mostly complete support for random actors
...
This was SVN commit r2021.
2005-03-22 17:09:36 +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
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
NoMonkey
704907db97
Player colors now recognize gaia as player 0 and allow for 8 regular player colors.
...
This was SVN commit r1865.
2005-01-29 18:20:16 +00:00
NoMonkey
d7b3d6b0c7
Added a new material, "player_trans.xml" which will give a model player color. So now if you want a player to be colored, just add this material!
...
This was SVN commit r1830.
2005-01-27 02:52:26 +00:00
NoMonkey
674433a51a
This was SVN commit r1759.
2005-01-23 07:54:17 +00:00
b534e640ca
Resource leak fixes
...
This was SVN commit r1513.
2004-12-16 12:01:47 +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
aa1442e8f8
Fix for mesh manager crashes (plus some parts of Boost, which may be a little excessive)
...
This was SVN commit r1488.
2004-12-12 18:40:00 +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
Calefaction
f257c67967
Updated to fix compile errors caued by missing CVertexProgram
...
This was SVN commit r1299.
2004-11-08 22:15:06 +00:00
Calefaction
e3137cd302
Various updates, including the new MeshManager
...
This was SVN commit r1295.
2004-11-08 22:02:01 +00:00
Calefaction
955ddcf9a1
More programmable pipeline updates
...
This was SVN commit r1280.
2004-10-30 21:57:46 +00:00
notpete
17a4174505
Minor additional functionality.
...
This was SVN commit r1218.
2004-10-06 18:45:59 +00:00
Calefaction
b1c269b72e
Complete materials checkin
...
This was SVN commit r1197.
2004-09-24 03:52:03 +00:00
73954008d0
renamed loop variable to avoid warning
...
This was SVN commit r554.
2004-06-19 14:39:24 +00:00
8d52add5ea
ran newline stomper; no real changes
...
This was SVN commit r423.
2004-06-08 12:10:51 +00:00
notpete
178e5a1c47
Modified to calculate bone transformation matrices in world space, rather than object space.
...
This was SVN commit r416.
2004-06-07 20:00:56 +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
notpete
2d0ce81aee
Optimistic bogus newline fix.
...
This was SVN commit r317.
2004-05-29 23:35:46 +00:00
notpete
7fb944a1e1
Either moved from terrain directory, or an inital revision, depending on the file. Whole bunch of changes related to props and animation.
...
This was SVN commit r306.
2004-05-29 20:56:24 +00:00