Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Ancient c++
Forum Updated to NodeBB v4.3 + New Features

Ancient c++

Scheduled Pinned Locked Moved The Lounge
8 Posts 4 Posters 1.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J.HilkJ Offline
    J.HilkJ Offline
    J.Hilk
    Moderators
    wrote on last edited by
    #1

    I recently found out, that EA actually released the source code for the C&C remastered, without assets of course.

    https://github.com/electronicarts/CnC_Remastered_Collection

    the idea is apparently to open up the game to the community/modders. You compile replacement dlls from the game.

    I took the time and browsed the code base for a while.
    I have to say for c++ code from 1994, surprisingly readable and structured. This was written a couple of years before C++98 after all.

    So take a look, if you want to, and let's talk about it.

    I'm most surprised about the use of template classes, that feature must have been added very recently in 94, right?

    Also, just an FYI, Diablo I can be found here:
    https://github.com/diasurgical/devilution
    For those interested


    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


    Q: What's that?
    A: It's blue light.
    Q: What does it do?
    A: It turns blue.

    JonBJ 1 Reply Last reply
    4
    • J.HilkJ J.Hilk

      I recently found out, that EA actually released the source code for the C&C remastered, without assets of course.

      https://github.com/electronicarts/CnC_Remastered_Collection

      the idea is apparently to open up the game to the community/modders. You compile replacement dlls from the game.

      I took the time and browsed the code base for a while.
      I have to say for c++ code from 1994, surprisingly readable and structured. This was written a couple of years before C++98 after all.

      So take a look, if you want to, and let's talk about it.

      I'm most surprised about the use of template classes, that feature must have been added very recently in 94, right?

      Also, just an FYI, Diablo I can be found here:
      https://github.com/diasurgical/devilution
      For those interested

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @J-Hilk
      So will you be porting it to use Qt, and be cross-platform? ;-)

      J.HilkJ 1 Reply Last reply
      1
      • JonBJ JonB

        @J-Hilk
        So will you be porting it to use Qt, and be cross-platform? ;-)

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @JonB tempting, but without the assets, one could at best show colored rectangles on the screen :D


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          What compiler can be used ?
          Im very interested in it and plan to buy the remaster.

          JonBJ J.HilkJ 2 Replies Last reply
          1
          • mrjjM mrjj

            Hi
            What compiler can be used ?
            Im very interested in it and plan to buy the remaster.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @mrjj
            Why do you need to rebuy it, if you can just compile source and use blob-rectangles for all the combatants? :D

            mrjjM 1 Reply Last reply
            0
            • JonBJ JonB

              @mrjj
              Why do you need to rebuy it, if you can just compile source and use blob-rectangles for all the combatants? :D

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @JonB
              I want to play it again. with units. :)

              1 Reply Last reply
              0
              • mrjjM mrjj

                Hi
                What compiler can be used ?
                Im very interested in it and plan to buy the remaster.

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @mrjj well,

                I‘m only assuming here, as I haven‘t found any details yet.

                It has a Visual Studio Solution file, and it runs on modern Win pcs, so MSVC2017 /19 ?

                Isn’t stuff like this described in the sln file ?


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  NoeC1
                  Banned
                  wrote on last edited by NoeC1
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved