1
0
forked from 0ad/0ad
Commit Graph

3521 Commits

Author SHA1 Message Date
eb467745b3 Fixed a small bug - CEntity::m_extant was not initialized to true.
This was SVN commit r4089.
2006-07-13 00:16:11 +00:00
d2e8804ce0 Removed old attribute table code since it's no longer used.
This was SVN commit r4087.
2006-07-12 22:50:09 +00:00
c3879b182d # CSimulation cleanup and optimization.
- Modified CJSSharedProperty so it can be inherited. It now acts as our
"static property" class with a pointer-to-member field. It did much of
this before but it wasn't used much because of the way XML properties
were loaded.
- Modified CEntity and CBaseEntity so that virtually all properties are
now CJSSharedProperty's added with AddClassProperty in ScriptingInit.
- Removed m_run SEntityAction field, replacing its fields with separate
variables, so we can have proper pointer-to-members for them.
- Modified CTechnology to use CJSComplex::Get/SetProperty so that
attributes no longer need to be "registered" for use in techs.

This was SVN commit r4086.
2006-07-12 22:24:25 +00:00
bd3a188cf9 m_sectorValues should be per-entity, not a property of BaseEntity.
This was SVN commit r4084.
2006-07-12 19:31:27 +00:00
ca4a4613f1 # CSimulation optimization+cleanup (2)
made many (*)of the bools in CEntity into a bitfield (flags). this saves
a lot of space inside CEntity.
* only those that are not specified in XML and/or accessed via JS

This was SVN commit r4082.
2006-07-12 16:18:31 +00:00
397a350e45 svn:ignore auto-generated test .cpp files.
Territories: Fixed memory leaks.
Atlas: New section-toolbar. Fixed colour of brush grid. Moved open/save
into File menu. Added 3D-ish lighting control. Added 'busy'
notifications.

This was SVN commit r4079.
2006-07-12 14:49:10 +00:00
e4ed1d52b9 # CSimulation cleanup and optimization (1)
moved some fields (e.g. size of health bar) out of CEntity and into
BaseEntity so they can be shared between entities (instead of duplicated
in each).

TODO: is it ok to remove AddProperty for those properties in CEntity?
(BaseEntity is still adding them)

This was SVN commit r4078.
2006-07-12 14:36:59 +00:00
77b6565f7c Scenario tidyness
This was SVN commit r4077.
2006-07-11 05:32:05 +00:00
ef74236219 #Cantabrian Highlands proof-of-concept map created in the 'Atlas Editor.' May be used to assist random map scripters in designing the Cantabrian Highland RMS.
This was SVN commit r4075.
2006-07-10 06:23:57 +00:00
590086571b # More work on territories - Settlements are now claimable.
This was SVN commit r4074.
2006-07-09 23:13:20 +00:00
1034a980fe Added code for placement of socketted buildings.
This was SVN commit r4073.
2006-07-09 23:12:37 +00:00
eaf12ae666 #fix to isnan() bug
big thanks to philip for seeing the problem! :D
cause: not popping FPU stack. didn't happen on my athlonXP presumably
due to different FPU usage (possibly in drivers): pushing 8 values could
clear the stack and mask overflow. the cause was not due to compiler
(and FLD/FSTP param passing) because Philip uses VC2005 as well, but saw
the crash (on P4 CPU)

fixes #130

This was SVN commit r4072.
2006-07-09 00:24:21 +00:00
b0241cc4c8 Entity changes for territories (added the traits.is_territory_centre field).
This was SVN commit r4071.
2006-07-08 22:41:55 +00:00
7926b3d93c # Some groundwork for territories.
Entities with traits.is_territory_centre == true will act as territory
centres, and territory areas are calculated and displayed on the
minimap. It remains to display these areas in the game view and to make
Civ Centres "socketable" so you can build them on Settlements to claim
them.

This was SVN commit r4070.
2006-07-08 22:40:01 +00:00
e2e61b2e16 This was SVN commit r4069. 2006-07-07 01:40:32 +00:00
f1d984897b This was SVN commit r4068. 2006-07-07 01:29:23 +00:00
f3b3e0be6e # big refactor of error display code. fixes crash in release-mode selftest
* debug_write_crashlog and debug_dump_stack are now responsible for
detecting reentrancy (reported via new ERR_REENTERED error code).
* export debug_error_message_build to allow unit test of stack dumper
* split+clean up debug_display_error to allow this.
* error_description_r now returns buf for convenience
* ia32: fix typo causing disassembly to fail
* wdbg_sym: bugfix causing incorrect debug_walk_stack return value.
prevent recursive locking, provide locked version of
debug_resolve_symbol. add skip_this_frame for convenience.

refs #130

This was SVN commit r4067.
2006-07-07 01:22:23 +00:00
dd6679b0b8 # fixes to string_s selftest
snd_mgr: fix cppdoc comments (got shredded by IDE autofmt)
string_s: disable WARN_IF_PTR_LEN (too many false positives)
test_string_s: add missing debug_skip_next_err (fixes complaints on
VC2003)

refs #130

This was SVN commit r4066.
2006-07-06 15:52:59 +00:00
pyrolink
a95c72d0c1 Upgraded console (text wrap, help text), cinematic stuff
This was SVN commit r4065.
2006-07-06 03:17:44 +00:00
66306b553a This was SVN commit r4064. 2006-07-04 07:49:25 +00:00
dd31fa8d6a This was SVN commit r4063. 2006-07-04 07:49:04 +00:00
7e73481a2c This was SVN commit r4062. 2006-07-04 07:47:14 +00:00
266ec3f09d This was SVN commit r4061. 2006-07-04 07:29:24 +00:00
cd444810a5 This was SVN commit r4060. 2006-07-04 04:08:07 +00:00
7fc71ff1e2 This was SVN commit r4059. 2006-07-04 04:06:28 +00:00
7f1b7bd399 Basket texture; tech script. (I must have forgotten to re-add these when restoring the lost SVN revisions.)
This was SVN commit r4058.
2006-07-03 20:07:11 +00:00
b0600a9fd9 #New Hellenes Female Citizen
This was SVN commit r4056.
2006-07-03 00:59:59 +00:00
a0e92ee51c # small fixes
ia32: fix overly zealous error return in ia32_get_call_target
sysdep: more correct definition of fpclassify() (takes into account
argument size)

This was SVN commit r4055.
2006-07-02 20:03:05 +00:00
1422028b72 This was SVN commit r4054. 2006-07-02 06:06:18 +00:00
cf83617d07 This was SVN commit r4053. 2006-07-02 06:02:34 +00:00
62af0ff0f0 Added a simpler entity init function for quasi-entites to speed up simulation init time.
This was SVN commit r4052.
2006-07-02 04:30:33 +00:00
7b13395026 This was SVN commit r4051. 2006-07-01 17:00:32 +00:00
e86526ec2a This was SVN commit r4050. 2006-06-30 12:13:30 +00:00
1f663eaf14 (fix: didn't see compiler error message, oops.)
This was SVN commit r4049.
2006-06-29 22:59:10 +00:00
600adac871 # housekeeping and bugfix in Loader queue
remove old instrumentation, fix warnings, add measured timing results
Loader: bugfix: no more memory leak whenever callback returns a warning
code. this was a loophole in the callback return value docs.

This was SVN commit r4048.
2006-06-29 22:52:50 +00:00
fd38387778 map for basic game testing - feel free to modify as needed (doesn't need to look pretty)
This was SVN commit r4047.
2006-06-28 05:18:50 +00:00
0a0f0905f3 This was SVN commit r4046. 2006-06-28 05:16:24 +00:00
fc81dd9f29 # Cavalry attack animations
This was SVN commit r4045.
2006-06-27 04:46:50 +00:00
Aeros
4b0c04a272 This was SVN commit r4044. 2006-06-26 20:48:45 +00:00
5586f29c5f # housekeeping
remove no longer needed timers and debug_printfs.
delete JSInterface_*Entity.cpp files because they are empty and cause
linker warnings.

This was SVN commit r4043.
2006-06-26 12:47:23 +00:00
f9a4da9c34 This was SVN commit r4042. 2006-06-26 04:35:51 +00:00
468ec68d6b This was SVN commit r4041. 2006-06-26 04:35:38 +00:00
ccb5f540a2 This was SVN commit r4040. 2006-06-26 04:26:52 +00:00
aeed96dafa # improvements to build system for asm files
split ia32_asm code up into memcpy, color
premake: add (windows-only so far) support for NASM include paths -
required when using %include. see rationale in vs.c
refs #124

This was SVN commit r4039.
2006-06-25 20:58:03 +00:00
f2f4ff5fbe This was SVN commit r4038. 2006-06-25 19:01:12 +00:00
6d88e8e129 This was SVN commit r4037. 2006-06-25 19:00:51 +00:00
a23ca48867 This was SVN commit r4036. 2006-06-25 16:58:52 +00:00
77faccb6cb # small fixes.
add translate_free (avoids mem leak in translate API)
debug: when skipping errors but an unexpected one is raised, trigger a
warning.
test_archive_builder: properly clean up archive; decrease number of
files to speed things up.

This was SVN commit r4035.
2006-06-25 15:35:28 +00:00
3b753a4df8 # add cppdoc
refs #122

This was SVN commit r4034.
2006-06-25 15:31:58 +00:00
7582f8fbbc reversed spear
This was SVN commit r4033.
2006-06-25 04:48:19 +00:00