A submodule is a link to another repository, the contents of which are not stored in the main one. The submodule can be a link to the original author's own repository, or to another one.
However - one issue with Git is it does not handle submodules automatically. It does require a little bit of remembering extra commands, especially if you're using a CUI where it is typically expected you remember this stuff automatically.
In order to do a full clone (from scratch) of GZDoom's repository now, you use the following command:
Code: Select all
git clone https://github.com/coelckers/gzdoom --recurse-submodules
Code: Select all
git pull
git submodule init
git pull --recurse-submodules
In order to do a pull for the current branch:
Code: Select all
git pull --recurse-submodules
Code: Select all
git fetch --recurse-submodules
The extra parameter will cause git to scan and merge linked repositories as indicated by the command you used.
The commands for commit and push are unchanged.
---
If this is all correctly done, then the next time you build GZDoom, you should get a game_widescreen_gfx.pk3 file populated with the widescreen resources in their current state.
Note that this file is *NOT* commercial-project friendly, and like game_support.pk3 - *must* be removed prior to distributing the engine with a commercial game.