Nicolas Hake
a026bda561
Aul: Let error handler count warnings and prepend severity
...
Instead of explicitly writing to the log, let C4AulParse and
C4ScriptHost warnings go to the error handler to do with as it sees fit.
2017-02-13 15:07:50 +01:00
Nicolas Hake
5f520c6326
C4AulCompiler: Don't double-count compile time warnings
2017-02-13 15:07:50 +01:00
Sven Eberhardt
2b888fd136
Enlarge initial client connection dialogue to accommodate long ipv6 addresses
2017-02-12 11:48:55 -05:00
Maikel de Vries
60e0417dd2
defense enemy: refactor code for better overloading
2017-02-10 17:57:33 +01:00
Sven Eberhardt
ef5626774d
Add another default scenario template
2017-02-05 16:08:30 -05:00
Sven Eberhardt
22306bd266
Editor: Add templates for new scenarios
2017-02-05 16:08:29 -05:00
Sven Eberhardt
2f44b48e7d
Fix German string table entry for map size in new scenario dialogue
2017-02-05 16:08:29 -05:00
Nicolas Hake
7284d65685
Remove unintentional semicolon after if()
...
Also changed some other instances of the if(); pattern to use an empty
block in order to suppress the new warning.
2017-02-05 14:22:09 +01:00
Nicolas Hake
a33d98ee71
Aul: Warn on empty controlled statement
...
Aul will now emit a warning if you type something like
if (...); return true;
(note the semicolon right after the condition). It will also warn on an
empty 'else' branch. If you actually intended to have a no-op there, use
an empty block '{}'.
2017-02-05 14:17:37 +01:00
Nicolas Hake
9a201441d5
Mat insertion: Fix broken conditional
2017-02-05 13:51:04 +01:00
Nicolas Hake
9bddba53df
Improve CStdStream const correctness
2017-02-05 13:26:24 +01:00
Nicolas Hake
b0898f4e1a
C4Group: Pull most the data members out of the header
2017-02-05 13:26:23 +01:00
Nicolas Hake
bcbd368ffd
C4Group: Rename "Status" enum to "SourceType"
2017-02-05 13:20:18 +01:00
Nicolas Hake
71f8cb0699
C4Application: Remove unused flag IsInGameTick
2017-02-05 13:20:18 +01:00
David Dormagen
56fa6ca157
fish: fixed silent defect (usage of wrong variable)
...
This most likely does not change the behaviour, as VisionMaxRange was a higher value than VisionMaxAngle and probably capped during the fuzzyfication.
2017-02-04 15:07:41 +01:00
Maikel de Vries
2be444c297
defense goal: clean up wave control
...
Merge this into enemy control, which did handle most of the control stuff already.
2017-02-04 15:01:03 +01:00
Lukas Werling
487fcc362d
Linux: Read IPv6 addresses from /proc/net/if_inet6
...
In contrast to getifaddrs(), /proc/net/if_inet6 allows filtering
deprecated privacy addresses. As these addresses generally won't be
useful for new connections, there's no reason to include them and they
only cause unnecessary connection attempts.
2017-02-02 22:23:12 +01:00
Maikel de Vries
27fa2410f4
defense: only provide infinite grenade launcher ammo if homebase is active
2017-02-02 21:47:57 +01:00
Maikel de Vries
caca643c83
ai: add bomber and improve defense ai
2017-02-02 21:47:57 +01:00
Maikel de Vries
2807f36319
indicate which items are explosive
2017-02-02 21:47:57 +01:00
Maikel de Vries
0dbfa2dd91
ai: airship gets new pilot if old one is lost
2017-02-02 21:47:57 +01:00
Maikel de Vries
7b26e1fa13
ai: put a message when an intruder is spotted
2017-02-02 21:47:57 +01:00
Maikel de Vries
ac38e1d23a
ai: unify settings
2017-02-02 21:47:56 +01:00
Maikel de Vries
b3ace26ae3
put ai movement into a separate script
2017-02-02 21:47:56 +01:00
Maikel de Vries
b43ce3080a
ai: prohibit movement if ai has command and climb down ladders correctly
2017-02-02 21:47:56 +01:00
Maikel de Vries
a61743a4d5
improve movement of defense boom attack
2017-02-02 21:47:56 +01:00
Maikel de Vries
c02a76119a
ai: fix script runtime errors in target finding
2017-02-02 21:47:56 +01:00
Maikel de Vries
d221289886
defense goal: fix awarding bonus after game has finished
2017-02-02 21:47:56 +01:00
Maikel de Vries
957d74bbae
update king of the hill to new ai and small improvements
2017-02-02 21:47:56 +01:00
Maikel de Vries
21f82e6c41
update defense enemies to new ai
2017-02-02 21:47:56 +01:00
Maikel de Vries
7d3062277a
ai: attack messages, logging and better target finding
2017-02-02 21:47:56 +01:00
Maikel de Vries
8159d73be6
ai: implement airship
2017-02-02 21:47:56 +01:00
Maikel de Vries
4d6be35c32
allow script players to join in network rounds ( #1885 )
2017-02-02 21:47:56 +01:00
Maikel de Vries
c5078b269e
windmill: remove obsolete HitCheck.c
...
Done by friendly fire rule.
2017-02-02 21:47:56 +01:00
Maikel de Vries
da6ce3d5d6
ranged ai: use upper ballistic angle if lower is blocked
2017-02-02 21:47:56 +01:00
Maikel de Vries
706f4455d4
ai: add protection using the club
2017-02-02 21:47:55 +01:00
Maikel de Vries
4f420766b7
ai: implement healing
2017-02-02 21:47:55 +01:00
Maikel de Vries
ef69ee9d5f
move ai protection and target finding into separate definitions
2017-02-02 21:47:55 +01:00
Maikel de Vries
a6fd976a77
ai: fix saving & editor props, make public calls safe
2017-02-02 21:47:55 +01:00
Maikel de Vries
8d56434fc5
fix possible script runtime error in aim manager library
2017-02-02 21:47:55 +01:00
Maikel de Vries
a89af833c7
ai: fix ai getting and implement axe + club
2017-02-02 21:47:55 +01:00
Maikel de Vries
ff51f07eeb
fix double static declaration warnings in defense scenarios
2017-02-02 21:47:55 +01:00
Maikel de Vries
8ad872930b
rework AI: new effects, use effect target
...
This is a big change but does make it possible to separate the different scripts into different definitions.
2017-02-02 21:47:55 +01:00
Maikel de Vries
2aa1b961ea
AI: don't increase normal throw speed for javelin
...
Javelin uses ranged mechanism for using/throwing.
2017-02-02 21:47:55 +01:00
Maikel de Vries
3282806d7d
move AI ranged and melee control to separate files
2017-02-02 21:47:55 +01:00
Maikel de Vries
7fb300896a
fix AI SetGuardRange
2017-02-02 21:47:55 +01:00
Maikel de Vries
3fb539522d
clean up AI script
2017-02-02 21:47:55 +01:00
Julius Michaelis
80c07d34e4
Add [Landscape] Secret to Scenario.txt to default-disable black NO_OWNER viewports
...
Related to: c569036d1d
2017-01-24 18:50:30 +01:00
Maikel de Vries
8208a19c8f
delete interaction menu effect when menu is closed
...
This prevents a lot of effects without command target from floating around.
2017-01-22 10:49:58 +01:00
Sven Eberhardt
b51dbc3717
Fix duplicate static definitions in Hot Ice
2017-01-21 21:31:57 -05:00