File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream
Generals/Code/GameEngine/Source/GameClient/MessageStream Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -661,7 +661,22 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
661
661
// -------------------------------------------------------------------------------------------------
662
662
/* static */ void MetaMap::generateMetaMap ()
663
663
{
664
+ // TheSuperHackers @info A default mapping for MSG_META_SELECT_ALL_AIRCRAFT would be useful for Generals
665
+ // but is not recommended, because it will cause key mapping conflicts with original game languages.
666
+
667
+ {
668
+ // Is mostly useful for Generals.
669
+ MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_TOGGLE_FAST_FORWARD_REPLAY);
670
+ if (map->m_key == MK_NONE)
671
+ {
672
+ map->m_key = MK_F;
673
+ map->m_transition = DOWN;
674
+ map->m_modState = NONE;
675
+ map->m_usableIn = COMMANDUSABLE_GAME;
676
+ }
677
+ }
664
678
{
679
+ // Is useful for Generals and Zero Hour.
665
680
MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_TOGGLE_PAUSE);
666
681
if (map->m_key == MK_NONE)
667
682
{
@@ -672,6 +687,7 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
672
687
}
673
688
}
674
689
{
690
+ // Is useful for Generals and Zero Hour.
675
691
MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_STEP_FRAME);
676
692
if (map->m_key == MK_NONE)
677
693
{
Original file line number Diff line number Diff line change @@ -723,7 +723,22 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
723
723
// -------------------------------------------------------------------------------------------------
724
724
/* static */ void MetaMap::generateMetaMap ()
725
725
{
726
+ // TheSuperHackers @info A default mapping for MSG_META_SELECT_ALL_AIRCRAFT would be useful for Generals
727
+ // but is not recommended, because it will cause key mapping conflicts with original game languages.
728
+
729
+ {
730
+ // Is mostly useful for Generals.
731
+ MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_TOGGLE_FAST_FORWARD_REPLAY);
732
+ if (map->m_key == MK_NONE)
733
+ {
734
+ map->m_key = MK_F;
735
+ map->m_transition = DOWN;
736
+ map->m_modState = NONE;
737
+ map->m_usableIn = COMMANDUSABLE_GAME;
738
+ }
739
+ }
726
740
{
741
+ // Is useful for Generals and Zero Hour.
727
742
MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_TOGGLE_PAUSE);
728
743
if (map->m_key == MK_NONE)
729
744
{
@@ -734,6 +749,7 @@ MetaMapRec *MetaMap::getMetaMapRec(GameMessage::Type t)
734
749
}
735
750
}
736
751
{
752
+ // Is useful for Generals and Zero Hour.
737
753
MetaMapRec *map = TheMetaMap->getMetaMapRec (GameMessage::MSG_META_STEP_FRAME);
738
754
if (map->m_key == MK_NONE)
739
755
{
You can’t perform that action at this time.
0 commit comments