• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: September 28th, 2023

help-circle
  • 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
    

  • Honestly, I’m worried about my job and how difficult it will be to get another if I get laid off (I work in Tech) due to business shenanigans and things out of my control. My mental health is at an all time low because of the anxiety; last month it was due to Trump and Elon’s attack on the integrity of US Govt Services, and before that the looming climate crisis. It’s affecting my sleep and recently I get slight headaches throughout the day. I’m so tired of feeling anxious all the time.

    I’m burnt out mentally; if I get laid off this year I’m just going to activate my NZ Working Holiday Visa (applied in advance in expectation of layoffs) and just chill.