Skip to content

Commit

Permalink
Fixed merge issues for #26 #27 #28 #29 #30
Browse files Browse the repository at this point in the history
  • Loading branch information
ViTeXFTW committed Oct 25, 2024
1 parent e2f0d11 commit 303648e
Show file tree
Hide file tree
Showing 13 changed files with 108,655 additions and 108,376 deletions.
14 changes: 12 additions & 2 deletions server/src/utils/antlr4ng/.antlr/MapIni.interp

Large diffs are not rendered by default.

1,630 changes: 820 additions & 810 deletions server/src/utils/antlr4ng/.antlr/MapIni.tokens

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions server/src/utils/antlr4ng/.antlr/MapIniLexer.interp

Large diffs are not rendered by default.

61,637 changes: 30,842 additions & 30,795 deletions server/src/utils/antlr4ng/.antlr/MapIniLexer.java

Large diffs are not rendered by default.

1,630 changes: 820 additions & 810 deletions server/src/utils/antlr4ng/.antlr/MapIniLexer.tokens

Large diffs are not rendered by default.

63,495 changes: 31,772 additions & 31,723 deletions server/src/utils/antlr4ng/.antlr/MapIniParser.java

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions server/src/utils/antlr4ng/MapIni.g4
Original file line number Diff line number Diff line change
Expand Up @@ -3794,8 +3794,8 @@ dialogEventClass: 'DialogEvent' WS audioevent_value WS* NEWLINE ((WS? audioevent
audioevent_properties: 'Filename' ((WS? EQ WS?) | WS) file
| 'MinVolume' ((WS? EQ WS?) | WS) INT
| 'LoopCount' ((WS? EQ WS?) | WS) INT
| 'Priority' ((WS? EQ WS?) | WS) ('lowest' | 'LOWEST' | 'low' | 'LOW' | 'normal' | 'NORMAL' | 'high' | 'HIGH' | 'critical' | 'CRITICAL' | None_value) (WS ('lowest' | 'LOWEST' | 'low' | 'LOW' | 'normal' | 'NORMAL' | 'high' | 'HIGH' | 'critical' | 'CRITICAL' | None_value))*
| 'Control' ((WS? EQ WS?) | WS) ('loop' | 'random' | All_value | 'postdelay' | 'interrupt' | None_value | 'Loop' | 'Random' | 'PostDelay' | 'Interrupt') (WS ('loop' | 'random' | All_value | 'postdelay' | 'interrupt' | None_value | 'Loop' | 'Random' | 'PostDelay' | 'Interrupt'))*
| 'Priority' ((WS? EQ WS?) | WS) ('lowest' | 'LOWEST' | 'Lowest' | 'low' | 'LOW' | 'Low' | 'normal' | 'NORMAL' | 'Normal' | 'high' | 'HIGH' | 'High' | 'critical' | 'CRITICAL' | 'Critical' | None_value) (WS ('lowest' | 'LOWEST' | 'Lowest' | 'low' | 'LOW' | 'Low' | 'normal' | 'NORMAL' | 'Normal' | 'high' | 'HIGH' | 'High' | 'critical' | 'CRITICAL' | 'Critical' | None_value))*
| 'Control' ((WS? EQ WS?) | WS) ('loop' | 'random' | All_value | 'postdelay' | 'interrupt' | None_value | 'Loop' | 'Random' | 'PostDelay' | 'Interrupt' | 'Postdelay') (WS ('loop' | 'random' | All_value | 'postdelay' | 'interrupt' | None_value | 'Loop' | 'Random' | 'PostDelay' | 'Interrupt' | 'Postdelay'))*
| 'Sounds' ((WS? EQ WS?) | WS) ID (WS ID)*
| 'SoundsNight' ((WS? EQ WS?) | WS) ID (WS ID)*
| 'SoundsEvening' ((WS? EQ WS?) | WS) ID (WS ID)*
Expand Down Expand Up @@ -4284,8 +4284,8 @@ locomotor_type: ('SET_NORMAL' | 'SET_PANIC' | 'SET_NORMAL_UPGRADED' | 'SET_SUPER
object_property: 'Object' ((WS? EQ WS?) | WS) object_value;
object_value: (ID | None_value);

kindof_value: (None_value | 'IGNORE_DOCKING_BONES' | 'IGNORES_SELECT_ALL' | 'IGNORED_IN_GUI' | 'CONSERVATIVE_BUILDING' | 'DEMOTRAP' | 'EMP_HARDENED' | 'TECH_BASE_DEFENSE' | 'CANNOT_RETALIATE' | 'REJECT_UNMANNED ' | 'AIRCRAFT_CARRIER' | 'OPTIMIZED_TREE' | 'PROP' | 'BLAST_CRATER' | 'BOOBY_TRAP' | 'REVEALS_ENEMY_PATHS' | 'MONEY_HACKER' | 'CLIFF_JUMPER' | 'DONT_AUTO_CRUSH_INFANTRY' | 'HERO' | 'INERT' | 'DISGUISER' | 'REVEAL_TO_ALL' | 'SUPPLY_SOURCE' | 'CANNOT_BUILD_NEAR_SUPPLIES' | 'SPAWNS_ARE_THE_WEAPONS' | 'SHOW_PORTRAIT_WHEN_CONTROLLED' | 'HULK' | 'IMMUNE_TO_CAPTURE' | 'BOAT' | 'GARRISONABLE_UNTIL_DESTROYED' | 'PARACHUTE' | 'PARACHUTABLE' | 'SUPPLY_SOURCE_ON_PREVIEW' | 'CLICK_THROUGH' | 'BALLISTIC_MISSILE' | 'DRONE' | 'PRODUCED_AT_HELIPAD' | 'POWERED' | 'TECH_BUILDING' | 'AUTO_RALLYPOINT' | 'FORCEATTACKABLE' | 'LOW_OVERLAPPABLE' | 'AIRCRAFT_PATH_AROUND' | 'DEFENSIVE_WALL' | 'WALK_ON_TOP_OF_WALL' | 'ATTACK_NEEDS_LINE_OF_SIGHT' | 'ALWAYS_SELECTABLE' | 'PORTABLE_STRUCTURE' | 'CLEANUP_HAZARD' | 'MINE' | 'UNATTACKABLE' | 'ALWAYS_VISIBLE' | 'SMALL_MISSILE' | 'CLEARED_BY_BUILD' | 'CAPTURABLE' | 'CRATE' | 'MOB_NEXUS' | 'SCORE_DESTROY' | 'SCORE_CREATE' | 'SCORE' | 'REBUILD_HOLE' | 'MP_COUNT_FOR_VICTORY' | 'DRAWABLE_ONLY' | 'CASH_GENERATOR' | 'STEALTH_GARRISON' | 'HEAL_PAD' | 'REPAIR_PAD' | 'WAVE_EFFECT' | 'WAVEGUIDE' | 'NO_GARRISON' | 'NO_COLLIDE' | 'NO_HEAL_ICON' | 'NO_SELECT' | 'PRELOAD' | 'PROJECTILE' | 'BRIDGE_TOWER' | 'LANDMARK_BRIDGE' | 'BRIDGE' | 'TRANSPORT' | 'WEAPON_SALVAGER' | 'ARMOR_SALVAGER' | 'SALVAGER' | 'LINEBUILD' | 'COMMANDCENTER' | 'HARVESTER' | 'DOZER' | 'HUGE_VEHICLE' | 'AIRCRAFT' | 'VEHICLE' | 'INFANTRY' | 'STRUCTURE' | 'SHRUBBERY' | 'STICK_TO_TERRAIN_SLOPE' | 'IMMOBILE' | 'SELECTABLE' | 'OBSTACLE' | 'FS_STRATEGY_CENTER' | 'FS_SUPPLY_CENTER' | 'FS_BLACK_MARKET' | 'FS_SUPERWEAPON' | 'FS_SUPPLY_DROPZONE' | 'FS_AIRFIELD' | 'FS_WARFACTORY' | 'FS_BARRACKS' | 'FS_ADVANCED_TECH' | 'FS_TECHNOLOGY' | 'FS_BASE_DEFENSE' | 'FS_FACTORY' | 'FS_POWER' | 'FS_INTERNET_CENTER' | 'FS_FAKE' | 'CAN_BE_REPULSED' | 'CAN_RAPPEL' | 'CAN_ATTACK' | 'CAN_CAST_REFLECTIONS' | 'CAN_SEE_THROUGH_STRUCTURE');
status_value: (None_value | 'DESTROYED' | 'CAN_ATTACK' | 'UNDER_CONSTRUCTION' | 'UNSELECTABLE' | 'NO_COLLISIONS' | 'NO_ATTACK' | 'AIRBORNE_TARGET' | 'PARACHUTING' | 'REPULSOR' | 'HIJACKED' | 'AFLAME' | 'BURNED' | 'WET' | 'IS_FIRING_WEAPON' | 'IS_BRAKING' | 'STEALTHED' | 'DETECTED' | 'CAN_STEALTH' | 'SOLD' | 'UNDERGOING_REPAIR' | 'RECONSTRUCTING' | 'MASKED' | 'IS_ATTACKING' | 'USING_ABILITY' | 'IS_AIMING_WEAPON' | 'NO_ATTACK_FROM_AI' | 'IGNORING_STEALTH' | 'IS_CARBOMB' | 'DECK_HEIGHT_OFFSET' | 'STATUS_RIDER1' | 'STATUS_RIDER2' | 'STATUS_RIDER3' | 'STATUS_RIDER4' | 'STATUS_RIDER5' | 'STATUS_RIDER6' | 'STATUS_RIDER7' | 'STATUS_RIDER8' | 'FAERIE_FIRE' | 'KILLING_SELF' | 'REASSIGN_PARKING' | 'BOOBY_TRAPPED' | 'IMMOBILE' | 'DISGUISED' | 'DEPLOYED');
kindof_value: ('+' | '-')? (None_value | All_value | 'IGNORE_DOCKING_BONES' | 'IGNORES_SELECT_ALL' | 'IGNORED_IN_GUI' | 'CONSERVATIVE_BUILDING' | 'DEMOTRAP' | 'EMP_HARDENED' | 'TECH_BASE_DEFENSE' | 'CANNOT_RETALIATE' | 'REJECT_UNMANNED ' | 'AIRCRAFT_CARRIER' | 'OPTIMIZED_TREE' | 'PROP' | 'BLAST_CRATER' | 'BOOBY_TRAP' | 'REVEALS_ENEMY_PATHS' | 'MONEY_HACKER' | 'CLIFF_JUMPER' | 'DONT_AUTO_CRUSH_INFANTRY' | 'HERO' | 'INERT' | 'DISGUISER' | 'REVEAL_TO_ALL' | 'SUPPLY_SOURCE' | 'CANNOT_BUILD_NEAR_SUPPLIES' | 'SPAWNS_ARE_THE_WEAPONS' | 'SHOW_PORTRAIT_WHEN_CONTROLLED' | 'HULK' | 'IMMUNE_TO_CAPTURE' | 'BOAT' | 'GARRISONABLE_UNTIL_DESTROYED' | 'PARACHUTE' | 'PARACHUTABLE' | 'SUPPLY_SOURCE_ON_PREVIEW' | 'CLICK_THROUGH' | 'BALLISTIC_MISSILE' | 'DRONE' | 'PRODUCED_AT_HELIPAD' | 'POWERED' | 'TECH_BUILDING' | 'AUTO_RALLYPOINT' | 'FORCEATTACKABLE' | 'LOW_OVERLAPPABLE' | 'AIRCRAFT_PATH_AROUND' | 'DEFENSIVE_WALL' | 'WALK_ON_TOP_OF_WALL' | 'ATTACK_NEEDS_LINE_OF_SIGHT' | 'ALWAYS_SELECTABLE' | 'PORTABLE_STRUCTURE' | 'CLEANUP_HAZARD' | 'MINE' | 'UNATTACKABLE' | 'ALWAYS_VISIBLE' | 'SMALL_MISSILE' | 'CLEARED_BY_BUILD' | 'CAPTURABLE' | 'CRATE' | 'MOB_NEXUS' | 'SCORE_DESTROY' | 'SCORE_CREATE' | 'SCORE' | 'REBUILD_HOLE' | 'MP_COUNT_FOR_VICTORY' | 'DRAWABLE_ONLY' | 'CASH_GENERATOR' | 'STEALTH_GARRISON' | 'HEAL_PAD' | 'REPAIR_PAD' | 'WAVE_EFFECT' | 'WAVEGUIDE' | 'NO_GARRISON' | 'NO_COLLIDE' | 'NO_HEAL_ICON' | 'NO_SELECT' | 'PRELOAD' | 'PROJECTILE' | 'BRIDGE_TOWER' | 'LANDMARK_BRIDGE' | 'BRIDGE' | 'TRANSPORT' | 'WEAPON_SALVAGER' | 'ARMOR_SALVAGER' | 'SALVAGER' | 'LINEBUILD' | 'COMMANDCENTER' | 'HARVESTER' | 'DOZER' | 'HUGE_VEHICLE' | 'AIRCRAFT' | 'VEHICLE' | 'INFANTRY' | 'STRUCTURE' | 'SHRUBBERY' | 'STICK_TO_TERRAIN_SLOPE' | 'IMMOBILE' | 'SELECTABLE' | 'OBSTACLE' | 'FS_STRATEGY_CENTER' | 'FS_SUPPLY_CENTER' | 'FS_BLACK_MARKET' | 'FS_SUPERWEAPON' | 'FS_SUPPLY_DROPZONE' | 'FS_AIRFIELD' | 'FS_WARFACTORY' | 'FS_BARRACKS' | 'FS_ADVANCED_TECH' | 'FS_TECHNOLOGY' | 'FS_BASE_DEFENSE' | 'FS_FACTORY' | 'FS_POWER' | 'FS_INTERNET_CENTER' | 'FS_FAKE' | 'CAN_BE_REPULSED' | 'CAN_RAPPEL' | 'CAN_ATTACK' | 'CAN_CAST_REFLECTIONS' | 'CAN_SEE_THROUGH_STRUCTURE');
status_value: ('+' | '-')? (None_value | All_value | 'DESTROYED' | 'CAN_ATTACK' | 'UNDER_CONSTRUCTION' | 'UNSELECTABLE' | 'NO_COLLISIONS' | 'NO_ATTACK' | 'AIRBORNE_TARGET' | 'PARACHUTING' | 'REPULSOR' | 'HIJACKED' | 'AFLAME' | 'BURNED' | 'WET' | 'IS_FIRING_WEAPON' | 'IS_BRAKING' | 'STEALTHED' | 'DETECTED' | 'CAN_STEALTH' | 'SOLD' | 'UNDERGOING_REPAIR' | 'RECONSTRUCTING' | 'MASKED' | 'IS_ATTACKING' | 'USING_ABILITY' | 'IS_AIMING_WEAPON' | 'NO_ATTACK_FROM_AI' | 'IGNORING_STEALTH' | 'IS_CARBOMB' | 'DECK_HEIGHT_OFFSET' | 'STATUS_RIDER1' | 'STATUS_RIDER2' | 'STATUS_RIDER3' | 'STATUS_RIDER4' | 'STATUS_RIDER5' | 'STATUS_RIDER6' | 'STATUS_RIDER7' | 'STATUS_RIDER8' | 'FAERIE_FIRE' | 'KILLING_SELF' | 'REASSIGN_PARKING' | 'BOOBY_TRAPPED' | 'IMMOBILE' | 'DISGUISED' | 'DEPLOYED');

ocl_value: (ID | None_value);

Expand Down Expand Up @@ -4333,7 +4333,7 @@ Null_value: 'Null' | 'NULL';
None_value: 'None' | 'NONE' | 'none';
All_value: 'All' | 'ALL' | 'all';
INT: DASH? [0-9]+;
FLOAT: DASH? [0-9]* '.' [0-9]+ 'f'?;
FLOAT: DASH? [0-9]* '.' ([0-9]+ 'f'?)?;
PERCENT: (INT | FLOAT) '%';
EQ: '=';
DASH: '-';
Expand Down Expand Up @@ -4380,7 +4380,7 @@ BOOLEAN: 'Yes' | 'yes' | 'YES' | 'No' | 'no' | 'NO';
STRING: '"' ( ~[\\"\n\r] | '\\' [\\"] )* '"' ;
ID: ([a-zA-Z_0-9][a-zA-Z_0-9%\-:]* | BOX);

NEWLINE: ([\r]?[\n]);
NEWLINE: WS* ([\r]?[\n]);

WS: [ \t]+;

Expand Down
14 changes: 12 additions & 2 deletions server/src/utils/antlr4ng/MapIni.interp

Large diffs are not rendered by default.

Loading

0 comments on commit 303648e

Please sign in to comment.