Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4 #1459

Open
wants to merge 868 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
868 commits
Select commit Hold shift + click to select a range
6b9dc68
Option to allow damage to penetrate IC/FS and separate toggle for FS …
Starkku Aug 5, 2024
38cce9f
Allow removing all shield types with Warhead without explicitly listi…
Starkku Aug 5, 2024
d8baa05
Fixes & additions to AE RevengeWeapon / ReflectDamage logics
Starkku Aug 5, 2024
615bc0d
Fix issue with reflect damage house checks causing crashes
Starkku Aug 6, 2024
7f14256
Attempt to prevent recursion of ReflectDamage
Starkku Aug 6, 2024
c5be52d
Minor perf improvement to ReflectDamage hook
Starkku Aug 6, 2024
e04f28c
Voxel Light Source Position Customization (#1336)
Metadorius Aug 6, 2024
5cb625e
Fix CreateUnit.AlwaysSpawnOnGround=no creating immune jumpjet units
Starkku Aug 9, 2024
5e5cbb0
Customizable Rocker Amplitude (#1258)
Coronia Aug 11, 2024
2b446e8
Fix Shield.Respawn.Amount not defaulting to shield type default if no…
Starkku Aug 11, 2024
6dc1df0
Fix warp-in delay not being updated on units converted from types wit…
Starkku Aug 11, 2024
4ad88ed
Add missing checks from game's spread damage function to cellspread H…
Starkku Aug 11, 2024
537d30b
Add option for CreateUnit to create vehicles with parachute and AI mi…
Starkku Aug 11, 2024
b275a4c
Voxel light source position/tilting fix (#1344)
Metadorius Aug 12, 2024
f0dcc25
Fix AttachEffect PenetratesForceShield not being read & serialized
Starkku Aug 14, 2024
833767f
[Minor] Another reloader crash fix (#1356)
Coronia Aug 14, 2024
4daf90f
Correct Frame By Frame description CSF label error, append missing an…
DeathFishAtEase Aug 15, 2024
34491c5
Fixed disguised units not using the correct palette if target has cus…
NetsuNegi Aug 15, 2024
fb19f53
Fix crash that can occur if CreateUnit spawns a jumpjet unit in air
Starkku Aug 15, 2024
ac02fe7
Fix a regression with Tint.Intensity and vehicle voxels
Starkku Aug 17, 2024
24acb27
Affected target enum now considered buildings considered as vehicles …
Starkku Aug 19, 2024
7ec9685
Clarify changelog for ConsideredVehicle affected target enum change a…
Starkku Aug 19, 2024
f69344a
Improve fallback of anim owner checks on anim damage to include paren…
Starkku Aug 19, 2024
99b7ad4
Dump Object Info now includes destination info for units
Starkku Aug 24, 2024
052ef61
Fix MovementZone=Subterannean harvester dock finding
Starkku Aug 24, 2024
8e482a0
Add option to check weapon AE requirements from firer instead of target
Starkku Aug 24, 2024
ce1fa08
Allow self-check AE requirement to work on walls/force fire on cell a…
Starkku Aug 24, 2024
7a8157c
Fix weapon AE filter interaction with NoSecondaryWeaponFallback
Starkku Aug 24, 2024
ae20581
Add an optional extra anim to be displayed at Warhead detonation if i…
Starkku Aug 24, 2024
dbccb0b
Allow redefining LimboDelivery/SW.Next RandomWeights in maps etc
Starkku Aug 24, 2024
797f46b
Fix a potential crash with weapon AE filters
Starkku Aug 24, 2024
2f06b35
Fix issues with CreateUnit
Starkku Aug 24, 2024
9402f17
Further improvements to subterranean harvester fixes
Starkku Aug 24, 2024
8cb8645
Fix some of the formatting for ObjectInfo
Starkku Aug 24, 2024
4eacc41
Add Warhead option to not show hit anim on damaging shield
Starkku Aug 24, 2024
d336bc7
Fixup to subterranean harvester stuff
Starkku Aug 24, 2024
b15bd67
Allow customizing AI superweapon logic delay
Starkku Aug 25, 2024
6369e23
Revert the subterranean harvester fixes, at least for now
Starkku Aug 25, 2024
fe8f447
Allow excluding specific factory buildings from providing MultipleFac…
Starkku Aug 27, 2024
cf85073
Quick code style fix
Starkku Aug 27, 2024
6f5607c
Allow customizing ChronoSphere teleport delays for units
Starkku Aug 27, 2024
efbd406
Fix doc for ChronoSphere delays
Starkku Aug 28, 2024
6e9507f
Add option to toggle various Warhead detonations to use damage area i…
Starkku Jun 23, 2024
119b6de
Fix a bug caused by copy paste error
Starkku Aug 28, 2024
f15f6da
Fix a bug that caused DamageArea to not apply Phobos Warhead effects …
Starkku Aug 28, 2024
e934e4d
Fix PowersUpToLevel > 0 upgrade animation inconsistencies (#1305)
Starkku Aug 28, 2024
4396edd
Fix doc error from merge
Starkku Aug 28, 2024
2c6ba54
SimpleDeployer fixes for Hover locomotor units (#1270)
Starkku Aug 28, 2024
8baebb6
Add allowed / disallowed type lists for FactoryPlant (#1337)
Starkku Aug 28, 2024
4ce6739
New & restored TerrainType features (#1241)
Starkku Aug 28, 2024
49d1f45
Allow forbidding parallel AI queues for specific TechnoTypes (#1301)
Starkku Aug 28, 2024
0c83f16
Nonprovocative Warheads (#1226)
Starkku Aug 28, 2024
918ff3e
Minor credits / changelog fixes
Starkku Aug 28, 2024
3402e22
Fix an issue with BulletClass::Logics end hook crashing on one code path
Starkku Aug 29, 2024
8ba0425
Streamline BulletClass extra logics (ExtraWarheads et al) hook to pot…
Starkku Aug 30, 2024
e37dbce
Clean up Warhead anim selection code, maybe fix an edge case crash
Starkku Aug 30, 2024
c0d5682
Fix unstable AmbientDamage.Warhead hook
Starkku Aug 30, 2024
a3b64aa
Restore PowerSurplus setting, enabled by a toggle
Starkku Aug 30, 2024
7cda0f8
Only draw TunnelLocomotor shadow when idle
Starkku Jul 25, 2024
d15667d
Use a different tag to show planning path when debugging
chaserli Sep 5, 2024
5d5573b
Fix crash caused by Temporal targeting enslaved infantry
Starkku Sep 8, 2024
da248f6
Refine the fix in previous commit
Starkku Sep 8, 2024
04d099b
Allow Warheads to apply multiplier to shield ReceivedDamage caps
Starkku Sep 10, 2024
86d8d22
Fix ExtData allocation
Starkku Sep 11, 2024
3b0b9cc
Upgrade to `upload-artifact@v4` to fix GH Actions
Metadorius Sep 11, 2024
816d992
Add `FireOnce` weapon infantry sequence reset toggle
Starkku Sep 13, 2024
adc078f
fix a typo
chaserli Sep 14, 2024
9c8d2e8
Fix cb's multisection destroyer's nospawnalt's shadow
chaserli Sep 14, 2024
6f19e74
Revert 7cda0f80 and project the shadow
chaserli Sep 14, 2024
0455a77
[Minor] Fix LimboKill function (#1378)
CrimRecya Sep 15, 2024
890eca0
[BugFix]Tunnel/Walk/Mech locomotor being stuck when moving too fast b…
NetsuNegi Sep 20, 2024
9105cea
tolerate spaces when parsing ae string lists
chaserli Sep 21, 2024
49d0e20
try fitting voxelanim's shadow with the current convention
chaserli Sep 21, 2024
4bf1486
make Enumerable non virtual
chaserli Sep 21, 2024
d1ecdca
Fix MakeInfantry unit palette anims not using cell lighting even if U…
Starkku Sep 21, 2024
0873ad8
Add AE property to serialization that was missing from it
Starkku Sep 22, 2024
afedd4a
Fix SelfHealGainType=none not working (replace with value called noheal)
Starkku Sep 23, 2024
76a8f44
Fixes to AE CumulativeAnims logic and minor AE optimizations
Starkku Sep 22, 2024
29efd60
minor refactor new trajectory boilerplate
chaserli Sep 23, 2024
9d0f94e
Credit @Belonit for dark theme switcher
Metadorius Sep 23, 2024
fca5e1f
Assign Super Weapon cameo to any sidebar tab (#1387)
NetsuNegi Sep 23, 2024
efbcf18
Two skirmish AI behavior dehardcoded and a minor improvement (#1350)
TaranDahl Sep 26, 2024
e1eaecd
Air unit level light customization (#1358)
Starkku Sep 26, 2024
ff86fc7
Fix UnitsGainSelfHeal affecting aircraft by default
Starkku Sep 29, 2024
f2d991e
Increment dev build number
Starkku Sep 30, 2024
56583d8
Fix AE movement-based discard conditions to not consider jumpjet idle…
Starkku Sep 30, 2024
fbd5721
Add temporary additional logging for anim pointer invalidation to tra…
Starkku Sep 30, 2024
e03b2cd
Remove duplicated tags in efbcf184
chaserli Oct 1, 2024
3afa1ec
Add additional logging to AnimClass::AI for time being
Starkku Oct 1, 2024
4de837d
Fix EditorConfig warnings
Belonit Oct 1, 2024
78ed44a
Restore failsafe as expected in efbcf18
chaserli Oct 2, 2024
a236394
Short demo on refactoring new trajectories' boilerplates
chaserli Oct 2, 2024
454aaea
Format some source files
Belonit Oct 2, 2024
690ed4c
Format Commands\ObjectInfo.cpp
Belonit Oct 2, 2024
1b0b865
Remove `InfDeath=9` WH vs jumpjet inf 0 damage hardcode
chaserli Oct 3, 2024
cae1860
Replace raw TrajectoryType ptr with unique_ptr
chaserli Oct 3, 2024
94d0e35
Format a few more files
Belonit Oct 3, 2024
db19446
Format Ext\Building\Body.cpp again
Belonit Oct 3, 2024
27530fa
Replace raw Trajectory ptr with unique_ptr
chaserli Oct 4, 2024
b6f96c9
Replace trajectories' flag with similar rtti as game abstractclass
chaserli Oct 4, 2024
6c8d460
Remove the accidentally introduced Speed in cae1860c
chaserli Oct 6, 2024
90ebc4d
Fix Nonprovocative not suppressing warnings on shielded objects
Starkku Oct 6, 2024
f88dcd6
CreateUnit changes
Starkku Oct 6, 2024
ec5b01f
Make attempt to attach cumulative AE on target with maximum count of …
Starkku Oct 7, 2024
3dd7912
Improvements / additions to AE discard logic
Starkku Oct 7, 2024
eb74004
Refactor parsing AE info from techno/WH INI sections, AE attach/detac…
Starkku Oct 9, 2024
b8325c5
Airburst/Splits reimplementation (#1302)
Starkku Oct 9, 2024
0f63b56
Buildings as destroyable pathfinding obstacles (#1204)
Starkku Oct 9, 2024
112a181
Animation visibility customization settings (#1300)
Starkku Oct 9, 2024
caf39b3
Light effect customizations (#1205)
Starkku Oct 9, 2024
4222e15
Allow customizing dock unit repair (#1399)
Starkku Oct 9, 2024
a0cc30a
Build area customizations (#1397)
Starkku Oct 9, 2024
dbf9e0e
Scorch / Flamer fire animation spawning customization (#1339)
Starkku Oct 9, 2024
b3ad958
EMPulse improvements (#1340)
Starkku Oct 9, 2024
9525d02
Allow water/shore/cliff/bridge tilesets to be parsed correctly for lu…
Starkku Oct 13, 2024
66b753a
[Minor] Fix IgnoreInhibitors overriding IgnoreDesignators (#1405)
Coronia Oct 13, 2024
bd72dae
Fix FactoryPlant.Allow/DisallowTypes not working with LimboDelivery
Starkku Oct 14, 2024
76edd62
Fix FactoryPlant.Multiplier calculating results wrong for type-restri…
Starkku Oct 14, 2024
de25e5d
Allow Strafing.Shots to affect actual spy planes
Starkku Oct 14, 2024
cbdd38f
Update YRpp
chaserli Oct 15, 2024
62a77ce
rad timer load fix that has no effect and no one would ever notice
chaserli Oct 15, 2024
96e8895
Deprecate OptionalStruct
chaserli Oct 15, 2024
dc6ce9e
Minor cleanup/optimization for BulletClass::Logics() hooks
Starkku Oct 15, 2024
de2eb05
Allow customizing Warhead parasite removal/deletion
Starkku Oct 17, 2024
3f9a288
Clean up TechnoType/Hooks.cpp
Starkku Oct 17, 2024
940f066
Cleanup Techno hook files
Starkku Oct 17, 2024
694ef29
Cleanup Building/Hooks.cpp
Starkku Oct 17, 2024
8743ea9
Fix outputting develop warning for missing palettes crashing the game
Starkku Oct 18, 2024
8cf154b
AE improvement / changes
Starkku Oct 19, 2024
51c3543
Combat light fix and addition
Starkku Oct 20, 2024
0fc97b7
Fix one of AnimClass CTOR codepaths having the hook for creating ExtD…
Starkku Oct 21, 2024
2af564c
remove manual ccfile alloc
chaserli Oct 21, 2024
c0f0e61
[Minor] Make tooltips background effects not only work in sidebar (#1…
CrimRecya Oct 21, 2024
08ea98f
Change dark theme docs search highlight color
Bittah Oct 21, 2024
284960d
Fix Crit.AnimList interaction with AnimList.CreateAll and couple of o…
Starkku Oct 23, 2024
344b121
Couple of infantry sequence-related improvements
Starkku Oct 26, 2024
9b6cb5a
Fix AttackFriendlies technos /w ally targets having their target rese…
Starkku Oct 26, 2024
164f2cf
Update YRpp
Starkku Oct 26, 2024
cc3cb3c
Remove sanity checks after gamecreate
chaserli Oct 27, 2024
6ed1610
Fix local ccini dealloc
chaserli Oct 27, 2024
50e9c43
Append Ares' SW.Shots usage to SW tooltip (#1392)
chaserli Oct 27, 2024
659d8b0
Parse (some) enums like the game did
chaserli Oct 27, 2024
e17c8b0
Remove meaningless globals inside globals
chaserli Oct 28, 2024
6c856f0
Make Enumerable array contiguous again
chaserli Oct 28, 2024
0449bdd
Attempt on curing kirov's Parkinson
chaserli Oct 28, 2024
804eadb
Fix code for ExtraWarheads/ReturnWeapon concerning FirerHouse
Starkku Oct 31, 2024
db0385b
Revert "MP houses are named and allowed to house TechnoTypes owned by…
ZivDero Nov 2, 2024
a876b3d
Move drawing matrix-related hook from Hooks.Jumpjet to Hooks.Drawing
Starkku Nov 3, 2024
b42d807
Allow `<Player @ X>` as owner of pre-placed map objects
Starkku Nov 3, 2024
d99c44c
Unoptimize framestep command strings
ZivDero Nov 3, 2024
587cba7
Add ChargeTurret delay customization and fix an interaction with AE R…
Starkku Nov 5, 2024
9cddbe2
Fix building unit repair feature interaction with Hospital buildings
Starkku Nov 5, 2024
4637167
Fix follower vehicle index for preplaced vehicles being thrown off by…
Starkku Nov 6, 2024
f21e471
Simplify Ares interface
chaserli Nov 6, 2024
a5fbfe7
Allow restricting whether AE ArmorMultiplier is applied to damage dea…
Starkku Nov 6, 2024
42fde76
Extract all matrix op to a standalone file
chaserli Nov 10, 2024
df0e145
Split AnimClass_CTOR
chaserli Nov 12, 2024
542c343
Misc codestyle fixes
chaserli Nov 12, 2024
42f488b
Fix typo in 42fde764
chaserli Nov 12, 2024
b68cec2
[Minor] Fix an issue that limbo building only increases without decre…
CrimRecya Nov 24, 2024
f1f8ceb
inline short shield methods
chaserli Nov 24, 2024
3e44d4e
Drive/Jumpjet/Ship/Teleport locomotor did not power on when it is un-…
NetsuNegi Nov 24, 2024
490ad17
[Minor]fixed bug that event 601 & 602 don't work properly in single p…
handama Nov 25, 2024
13d71be
Clean 3e44d4ec
chaserli Nov 25, 2024
bf113dd
Prevent new wh effects from affecting units being warpedout
chaserli Nov 26, 2024
e0d6ee8
Allow customizing subterranean movement speed and allow parsing float…
Starkku Nov 27, 2024
2af0a77
Partially revert 9b6cb5ad for unknown reason
chaserli Nov 27, 2024
ed922fe
A bug fix in FootClass_Mission_Capture_ForbidUnintended (#1432)
TaranDahl Nov 29, 2024
6d9775d
[Minor] Use country index for all events and actions (#1430)
handama Nov 29, 2024
90903b9
[Minor] Fix develop branch's `DiskLaser=yes` error (#1419)
CrimRecya Dec 1, 2024
ac89487
sort modules info in log
chaserli Dec 1, 2024
715ebea
Rename AresInit file
chaserli Dec 1, 2024
eb8150a
Fix invisible placement created by Ares' abduction (#1417)
chaserli Dec 1, 2024
5804665
Suppress Ares' swizzle warning when parsing tags and taskforces
chaserli Dec 2, 2024
69e8812
Fit `getCellSpreadItems` return type to the current convention
chaserli Dec 5, 2024
1528f0d
Redirect Ares' getCellSpreadItems to Phobos'
chaserli Dec 5, 2024
6f9b1c4
Update YRpp
chaserli Dec 5, 2024
e7a1310
Increment devbuild number and copyright year
chaserli Dec 5, 2024
f749352
Fix CellSpread helper typo
CrimRecya Dec 8, 2024
06e0285
Temporary fix for CreateUnit not being added to airtracker
chaserli Dec 8, 2024
43a7588
[Minor] Fix Fire Super Weapon Action bug (#1444)
handama Dec 8, 2024
fd935c3
Add missing #pragma endregion in Hooks.BugFixes.cpp
Starkku Dec 8, 2024
5889d51
Make lunar tileset parsing fix opt-in
Starkku Dec 8, 2024
d0aca00
Initialize Enumerable array when loading game from client
chaserli Dec 9, 2024
1fc263b
Fix missing check on WH anim CreateAll for crit anims
Starkku Dec 10, 2024
796b2b4
Partially revert 6c856f03 for multiple file parsing
chaserli Dec 11, 2024
a650e6b
[Minor] Fix an error in a Markdown formatted character in the documen…
DeathFishAtEase Dec 16, 2024
f0791ed
[Minor] Fix an incorrect flag in the document (#1457)
DeathFishAtEase Dec 20, 2024
3b63de7
Fix Ares' Academy on InitialPayload
chaserli Dec 21, 2024
fa48f61
Add docs for academy on factory-built InitialPayload
Metadorius Dec 21, 2024
31afb49
[Minor] Phobos Tester Credits (#1462)
Coronia Dec 24, 2024
b0bb0e0
Fix PowerPlantEnhancers S/L
chaserli Dec 28, 2024
b881e23
Fix Ares' InitialPayload for teams spawned by trigger actions (#1283)
chaserli Dec 28, 2024
5a5cfb9
Fix SuspendedEMPulseSWs S/L
chaserli Dec 28, 2024
42939dd
donot call `AnimClass->SetOwnerObject` on `nullptr` anim
Otamaa Jan 3, 2025
bdf7a0f
[Minor] Fix a RE caused by `DeployToFire` (#1490)
CrimRecya Jan 7, 2025
6803da8
Fix changelog section name
Starkku Jan 25, 2025
6ecfb7c
Fix recursive type conversion for WH's & SW's and remove unnecessary …
Starkku Jan 25, 2025
2f47375
doc formatting and link fixes
DeathFishAtEase Feb 2, 2025
e48e21a
Fix Shield.SelfHealing.RestartInCombat(Delay) not being parsed from I…
Starkku Feb 6, 2025
dbc5d06
NoSecondaryWeaponFallback can now cancel the weapon selection for wal…
DeathFishAtEase Feb 6, 2025
d3ade26
DropPodPuff is a Flag under the AudioVisual section
DeathFishAtEase Feb 6, 2025
b97a23a
a handful of document fixes
DeathFishAtEase Feb 6, 2025
4fb8537
Make index.po keep up with the current version
DeathFishAtEase Feb 7, 2025
d9372e1
Update the slightly outdated Readme.md release branch
DeathFishAtEase Feb 7, 2025
e703de1
『Where is the position of the button』
DeathFishAtEase Feb 12, 2025
3861f01
fix link
DeathFishAtEase Feb 14, 2025
cb31917
semantic problem
DeathFishAtEase Feb 14, 2025
436770f
uniform format when referencing images from a mod
DeathFishAtEase Feb 14, 2025
defc365
An EVA entry with missing reference format
DeathFishAtEase Feb 14, 2025
cf42bcb
[doc]content of jumpjet fix belong to the bug category
DeathFishAtEase Feb 14, 2025
0cae1db
[doc]fix a wrong key value
DeathFishAtEase Feb 14, 2025
ff4304c
ditto
DeathFishAtEase Feb 14, 2025
8a8e7af
Unify the use of X for both MuzzleFlashX and MuzzleFlashN
DeathFishAtEase Feb 15, 2025
cfc64f5
missing format
DeathFishAtEase Feb 15, 2025
2ab4199
abnormal separator ". "
DeathFishAtEase Feb 15, 2025
a5d1d90
Uniformly before the code block, use 'in *.ini' with a colon after
DeathFishAtEase Feb 15, 2025
2f3fd6d
missing format
DeathFishAtEase Feb 15, 2025
e5b6c8f
did not use italic correctly for *(Ares feature)*
DeathFishAtEase Feb 16, 2025
c57923d
missing period symbol
DeathFishAtEase Feb 16, 2025
2d6f41b
An extra space
DeathFishAtEase Feb 16, 2025
f4cff72
Sequence adjustment
DeathFishAtEase Feb 16, 2025
3d96370
[Docs][zh-cn]Fixed-or-Improved
DeathFishAtEase Feb 16, 2025
ad0cf9b
[Docs] A small change
DeathFishAtEase Feb 16, 2025
41860d8
[Docs] a few
DeathFishAtEase Feb 17, 2025
2f84ecc
[Docs] a few
DeathFishAtEase Feb 17, 2025
047966b
SW.Shots
DeathFishAtEase Feb 17, 2025
9bc4967
[Docs] a few
DeathFishAtEase Feb 18, 2025
50fdbb9
[Vanilla Fix] Fix impassable invisible barrier created by chronospher…
CrimRecya Feb 20, 2025
3cf507c
[Minor] Fix Ammo features and tank bunkers.
Fryone Feb 20, 2025
f11c75f
Fix #1106 : Deployer = yes to no infantry conversion sequence update …
chaserli Feb 20, 2025
0fdcab0
Avoid InvisibleInGame targets in new scripts (#1312)
FS-21 Feb 20, 2025
9b98d84
[Vanilla Fix]Terror drone return fix (#1342)
TaranDahl Feb 9, 2025
edc708c
Fix aircraft `MovementZone` and `SpeedType` inconsistencies
CrimRecya Jan 12, 2025
5cc3897
[doc] $Include
DeathFishAtEase Feb 21, 2025
52e4c66
[Docs] a few
DeathFishAtEase Feb 22, 2025
ee9cb7c
[Minor] Fix Insignia.Weapon parsing (#1530)
Coronia Feb 24, 2025
1f6c1a5
[Docs] update
DeathFishAtEase Feb 25, 2025
bc84f1d
[Minor] Ground units being lifted will not turn to attacker (#1548)
CrimRecya Feb 25, 2025
8ad2242
Improve performance of Anim attached ParticleSystem invalidation
Starkku Feb 24, 2025
79cd6b4
Improve performance of Anim techno pointer invalidation
Starkku Feb 24, 2025
cb50498
Harvester counter improvements
Starkku Feb 25, 2025
e7a1362
Allow disabling radiation damage vs building hook for perf optimization
Starkku Feb 25, 2025
8b507d8
Fix issues with previous implemented optimizations
Starkku Feb 25, 2025
553ccbe
[Minor] Add validity check for NearByLocation and fix incorrect usage…
CrimRecya Feb 26, 2025
3bd2770
[Doc] Radiation performance issue
DeathFishAtEase Feb 26, 2025
18547b6
Destroyed unit leaves sensors fix (#1541)
NetsuNegi Feb 26, 2025
6f4d124
[Doc] Add the missing contributor names
DeathFishAtEase Feb 26, 2025
9abfa6e
Fit to the terms of the updated modding guidelines
Metadorius Feb 27, 2025
5614463
[Doc][zh-cn] Fit to the terms of the updated modding guidelines
DeathFishAtEase Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
reviews:
request_changes_workflow: false
high_level_summary: true
poem: false
review_status: false
collapse_walkthrough: false
auto_review:
enabled: false
chat:
auto_reply: false
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ indent_style = tab
indent_size = 4

# Json Code Style settings
[*.{json,vsconfig}]
[*.json]
indent_style = space
indent_size = 2

Expand Down Expand Up @@ -49,6 +49,9 @@ trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset

[.vsconfig]
generated_code = true

# C++ Code Style settings
[*.{c++,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
name: Feature or Enhancement Suggestion
description: Open an issue to suggest a feature or an enhancement.
title: "Your new feature title here"
title: "Your new feature or enhancement title here"
labels: ["Feature / Enhancement"]
body:
- type: markdown
attributes:
value: |
*__NOTE:__ Feature requests are usually low-priority unless it's a feature that's supported by a majority of users or some developer has interest in that particular feature. Please understand that Phobos contributors work on the project for fun and are not obliged to implement every suggestion.*
> **Warning**
> Before posting a suggestion, please read the **checklist at the bottom**.

Thanks for taking the time to submit out this feature suggestion! If you wish to discuss the feature in detail first, join us on the [C&C Mod Haven Discord](https://discord.gg/an3bDxtksM) server in the __#phobos-chat__ channel.

Please make sure you follow these instructions and fill in every question with as much detail as possible.

- type: checkboxes
id: checks
attributes:
label: First check
description: Please confirm and check all the following options;
options:
- label: The suggestion is **NOT** related to functionality of Ares, HAres, Kratos or any other YR engine extension.
required: true
- label: The suggested feature / enhancement is **NOT** implemented in Ares/Phobos yet and the existing possibilites are not viable or good enough to achieve the wanted result.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the feature is implemented.
required: true
- label: I added a very descriptive title to this issue.
required: true
- label: I used the GitHub search and read the issue list to find a similar issue and didn't find it.
required: true
- label: I thought out how the feature / enhancement should work and described it in the most detailed and clear way.
required: true
> **Note**
> Feature requests are usually low-priority unless it's a feature that's supported by a majority of users or some developer has interest in that particular feature. Please understand that Phobos contributors work on the project for fun and are not obliged to implement every suggestion.*

- type: textarea
id: description
Expand Down Expand Up @@ -58,3 +41,22 @@ body:
label: Additional context
description: |
Attach additional files or links to content related to the feature report here (example images, gifs, videos to illustrate the suggestion etc).

- type: checkboxes
id: checks
attributes:
label: Checklist
description: Please read and ensure you followed all the following options.
options:
- label: The suggestion is **NOT** related to functionality of Ares, HAres, Kratos or any other YR engine extension.
required: true
- label: The suggested feature / enhancement is **NOT** implemented in Ares/Phobos yet and the existing possibilites are not viable or good enough to achieve the wanted result.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the feature is implemented.
required: true
- label: I added a very descriptive title to this topic.
required: true
- label: I used the GitHub search and read the topic list to find a similar topic and didn't find it.
required: true
- label: I thought out how the feature / enhancement should work and described it in the most detailed and clear way.
required: true
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Suggest a feature or enhancement
url: https://github.com/Phobos-developers/Phobos/discussions/new?category=ideas-and-feedback
about: If you want to suggest your idea to the project and/or upvote some idea.
- name: Official channels on C&C Mod Haven
url: https://discord.gg/an3bDxtksM
about: If you want to discuss something with us without filing an issue.
37 changes: 20 additions & 17 deletions .github/ISSUE_TEMPLATE/phobos_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,13 @@ body:
- type: markdown
attributes:
value: |
> **Warning**
> Before posting a suggestion, please read the **checklist at the bottom**.

Thanks for taking the time to fill out this bug report! If you need real-time help, join us on the [C&C Mod Haven Discord](https://discord.gg/an3bDxtksM) server in the __#phobos-chat__ channel.

Please make sure you follow these instructions and fill in every question with as much detail as possible.

- type: checkboxes
id: checks
attributes:
label: First check
description: Please confirm and check all the following options;
options:
- label: The issue happens on the **latest official** version of Phobos and wasn't fixed yet.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
required: true
- label: I added a very descriptive title to this issue.
required: true
- label: I used the GitHub search and read the issue list to find a similar issue and didn't find it.
required: true
- label: I have attached as much information as possible *(screenshots, gifs, videos, debug and exception logs, etc)*.
required: true

- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -106,3 +92,20 @@ body:
- a savegame file with used mod to reproduce the exact conditions;
- a debug log, crash dump and exception file (mandatory if you're submitting a crash report);
- sync logs, crash dumps for all the players (mandatory in case you're submitting a desync report).

- type: checkboxes
id: checks
attributes:
label: Checklist
description: Please read and ensure you followed all the following options.
options:
- label: The issue happens on the **latest official** version of Phobos and wasn't fixed yet.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
required: true
- label: I added a very descriptive title to this issue.
required: true
- label: I used the GitHub search and read the issue list to find a similar issue and didn't find it.
required: true
- label: I have attached as much information as possible *(screenshots, gifs, videos, debug and exception logs, etc)*.
required: true
41 changes: 22 additions & 19 deletions .github/ISSUE_TEMPLATE/vanilla_bugfix_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,13 @@ body:
- type: markdown
attributes:
value: |
> **Warning**
> Before posting a suggestion, please read the **checklist at the bottom**.

Thanks for taking the time to fill out this bug report! If you need real-time help, join us on the [C&C Mod Haven Discord](https://discord.gg/an3bDxtksM) server in the __#phobos-chat__ channel.

Please make sure you follow these instructions and fill in every question with as much detail as possible.

- type: checkboxes
id: checks
attributes:
label: First check
description: Please confirm and check all the following options;
options:
- label: The issue is not introduced by Phobos or any other engine extension, such as Ares, Kratos etc.
required: true
- label: The issue wasn't fixed in the most recent version of Ares/Phobos yet.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
required: true
- label: I added a very descriptive title to this issue.
required: true
- label: I used the GitHub search and read the issue list to find a similar issue and didn't find it.
required: true
- label: I have attached as much information as possible *(screenshots, gifs, videos, debug and exception logs, etc)*.
required: true

- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -99,3 +83,22 @@ body:
- a savegame file with used mod to reproduce the exact conditions;
- a debug log, crash dump and exception file (mandatory if you're submitting a crash report);
- sync logs, crash dumps for all the players (mandatory in case you're submitting a desync report).

- type: checkboxes
id: checks
attributes:
label: Checklist
description: Please read and ensure you followed all the following options.
options:
- label: The issue is not introduced by Phobos or any other engine extension, such as Ares, Kratos etc.
required: true
- label: The issue wasn't fixed in the most recent version of Ares/Phobos yet.
required: true
- label: I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
required: true
- label: I added a very descriptive title to this issue.
required: true
- label: I used the GitHub search and read the issue list to find a similar issue and didn't find it.
required: true
- label: I have attached as much information as possible *(screenshots, gifs, videos, debug and exception logs, etc)*.
required: true
13 changes: 5 additions & 8 deletions .github/actions/build-phobos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ runs:
using: "composite"
steps:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{inputs.sln-path}}
shell: cmd
uses: microsoft/[email protected]
with:
vs-version: '[16.0, )'

- uses: ammaraskar/msvc-problem-matcher@master

Expand All @@ -29,9 +26,9 @@ runs:

- name: Upload Artifact
if: ${{success()}}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: compiled-dll-${{github.sha}}
path: |
${{inputs.sln-path}}/${{inputs.build-config}}/Phobos.dll
${{inputs.sln-path}}/${{inputs.build-config}}/IntDir/Phobos.pdb
${{inputs.sln-path}}/${{inputs.build-config}}/Phobos.pdb
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
20 changes: 0 additions & 20 deletions .github/workflows/editorconfig.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
70 changes: 41 additions & 29 deletions .github/workflows/pr-nightly-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,51 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v3
- name: Get the PR number
run: |
# Query the issue search API to get the PR associated with it
PR_RAW=$(curl 'https://api.github.com/search/issues?q=${{ github.event.workflow_run.head_commit.id }}')
# Get the event number from the search results, which will
# be the PR number
# Filter by PRs only in this repository, as a PR with an identical head commit may be made in another repository (e.g. a fork)
# Assume the 0th index in the array of found PRs is the correct one (it seems to usually be the latest one)
PR_NUM=$(echo $PR_RAW | jq '.items | map(select(.repository_url=="https://api.github.com/repos/${{ github.repository }}")) | .[0].number')
echo "PR_NUM=${PR_NUM}" >> ${GITHUB_ENV}

- name: Comment on PR
uses: actions/github-script@v7
with:
# This snippet is public-domain, taken from
# https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml
# and modified to allow comments on external PRs
script: |
const {owner, repo} = context.repo;
const run_id = ${{github.event.workflow_run.id}};
const pull_head_sha = '${{github.event.workflow_run.head_sha}}';
const pull_user_id = ${{github.event.sender.id}};
async function upsertComment(owner, repo, issue_number, purpose, body) {
const {data: comments} = await github.rest.issues.listComments(
{owner, repo, issue_number});

const marker = `<!-- bot: ${purpose} -->`;
body = marker + "\n" + body;

const issue_number = await (async () => {
const pulls = await github.pulls.list({owner, repo});
for await (const {data} of github.paginate.iterator(pulls)) {
for (const pull of data) {
if (pull.head.sha === pull_head_sha && pull.user.id === pull_user_id) {
return pull.number;
}
}
const existing = comments.filter((c) => c.body.includes(marker));
if (existing.length > 0) {
const last = existing[existing.length - 1];
core.info(`Updating comment ${last.id}`);
await github.rest.issues.updateComment({
owner, repo,
body,
comment_id: last.id,
});
} else {
core.info(`Creating a comment in issue / PR #${issue_number}`);
await github.rest.issues.createComment({issue_number, body, owner, repo});
}
})();
if (issue_number) {
core.info(`Using pull request ${issue_number}`);
} else {
return core.error(`No matching pull request found`);
}

const {data: {artifacts}} = await github.actions.listWorkflowRunArtifacts({owner, repo, run_id});
const {owner, repo} = context.repo;
const run_id = ${{github.event.workflow_run.id}};

const artifacts = await github.paginate(
github.rest.actions.listWorkflowRunArtifacts, {owner, repo, run_id});
if (!artifacts.length) {
return core.error(`No artifacts found`);
}
Expand All @@ -43,14 +61,8 @@ jobs:
body += `\n* [${art.name}.zip](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;
}

body += `\nThis comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.`;
body += `\nThese artifacts will expire in 90 days and will not be available for download after that time.`;
body += `\n\n_This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build._`;

const {data: comments} = await github.issues.listComments({repo, owner, issue_number});
const existing_comment = comments.find((c) => c.user.login === 'github-actions[bot]');
if (existing_comment) {
core.info(`Updating comment ${existing_comment.id}`);
await github.issues.updateComment({repo, owner, comment_id: existing_comment.id, body});
} else {
core.info(`Creating a comment`);
await github.issues.createComment({repo, owner, issue_number, body});
}
core.info("Review thread message body:", body);
await upsertComment(owner, repo, ${{ env.PR_NUM }}, "nightly-link", body);
2 changes: 1 addition & 1 deletion .github/workflows/pr-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
# ref: ${{ github.event.pull_request.head.sha }}
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ docs/locale/.doctrees/
/.vscode/c_cpp_properties.json
/.vscode/cspell.json
/.vscode/settings.json

build
cmake-*
out
.idea
Loading