• Ardyssian
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    9 hours ago

    There’s a thread on Reddit showcasing some hilarious Code Comments within the Generals Codebase: https://old.reddit.com/r/commandandconquer/comments/1izpkmh/funny_generals_source_code_comments/

    Examples:

        // Assumption: Things with a KINDOF_STRUCTURE flag can never be built from 
        // a factory (ProductionUpdateInterface), because the building can't move
        // out of the factory. When we do our Starcraft port and have flying Terran
        // buildings, we'll have to change this ;-)
        // Remember: To ASSUME makes an ASS out of U and ME. 
        Player.cpp
    
        // HERE WOULD BE A GREAT PLACE FOR AN IDIOT TEST:
      // REJECT SIMULATION NODES THAT ARE OFF SCREEN!!!!!!!!!!
        // HERE WOULD BE A GREAT PLACE FOR AN IDIOT TEST:
      // REJECT SIMULATION NODES THAT ARE OFF SCREEN!!!!!!!!!!
      W3DTerrainVisual.cpp
    
      //
      // force the tree control to redraw, it seems to have problems updating
      // the plus signs, lame ass Microsoft
     //
      HeirarchyView.cpp
    
      ; String is returned by const for a reason.  Bad things will happen 
      ; if you modify it.  You have been warned.
      locale.cpp
    
      // We need to be able to grab w3d's from a localization dir, since Germany hates exploding people units.
      W3DFileSystem.cpp
    
      // I can't take it any more.  Let the record show that I think the UpgradeMux multiple inheritence is CRAP.
    getAutoHealBehaviorModuleData()->m_upgradeMuxData.muxDataProcessUpgradeRemoval(getObject());
      AutoHealBahaviour.h
    
  • weker01
    link
    fedilink
    English
    arrow-up
    29
    ·
    12 hours ago

    EA? Why, what happened? Is it truly the end of time?!

    No but seriously, does someone know what the motivation is?

    • jayandp
      link
      fedilink
      English
      arrow-up
      27
      ·
      edit-2
      11 hours ago

      Reminds me of the recent news that the Pebble Smartwatch founder asked Google for the Pebble OS source code, and Google actually released it.

    • VindictiveJudge@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      11 hours ago

      They put an old Westwood dev in charge of the franchise a few years ago and basically just let him do anything he wants.

  • TheLowestStone@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    12 hours ago

    Weird, I had the same reaction to this and the news that Ron DeSantis said the Tate brothers aren’t welcome in Florida. “That’s nice but you’re still a massive piece of shit.”

  • dicksteele@lemm.ee
    link
    fedilink
    English
    arrow-up
    50
    ·
    17 hours ago

    Oh man. Generals was the last game that me and some friends played on lan together. Many many hours of fun. Sadly those days are long gone.

    • AlexWIWA@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 hours ago

      Open RA isn’t doing a reverse engineering project, so they’ll probably just keep working on it. They are doing a full gameplay modernization.

    • erin@social.sidh.bzh
      link
      fedilink
      arrow-up
      13
      ·
      17 hours ago

      If videos and musics are also changed to creative commons than OpenRA can officially integrate them without that CD detection step…

      edit: typo

    • xploit@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      17 hours ago

      I wouldn’t be surprised if it didn’t mean that much, if anything OpenRA is ahead of what the original engine was. The only issue is saw with OpenRA’s engine was the odd unit pathing every now and then, so perhaps that could be one thing for them to look at (not that it was consistently great in C&C)

      • Tar_Alcaran
        link
        fedilink
        English
        arrow-up
        5
        ·
        16 hours ago

        The only issue is saw with OpenRA’s engine was the odd unit pathing every now and then

        It was pretty iffy in the original too

      • stoy@lemmy.zip
        link
        fedilink
        English
        arrow-up
        6
        ·
        17 hours ago

        That is fair, I could also see them not looking at the source to avoid being influenced and keeping OpenRA their thing.

  • UnderpantsWeevil@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    17 hours ago

    Could breath new life into the modding scene with this alone. Look at what a map editor did for the Warcraft franchise.