Ticket #42614

Externalize game mode initialization into the GAMEMODE lump

Date d'ouverture: 2021-07-12 01:13 Dernière mise à jour: 2021-07-19 04:07

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Accepted
Fichier:
4

Détails

We're looking into cleaning up a lot of internal source code and moving them into Zandronum's own special lumps. A good place to start is removing the GAMEMODE_Construct function that initialized the flags that all the built-in game modes used by default, and replacing it with a GAMEMODE lump placed inside zandronum.pk3 that would do exactly the same thing.

Ticket History (3/10 Histories)

2021-07-12 01:13 Updated by: akmdm
  • New Ticket "Externalize game mode initialization into the GAMEMODE lump" created
2021-07-12 01:13 Updated by: akmdm
  • Type Update from Bogues to Patches
2021-07-12 03:24 Updated by: akmdm
Commentaire

I added another patch which removes the DONTUSECOOPINFO and DONTUSESCOREBOARD game mode flags I added earlier. In the latter's case, it's redundant, as one can already use the gamesettings feature of GAMEMODE and (forcibly) enable sv_nocoopinfo, and with customizable scoreboards on the way I don't think the latter would be particularly useful either.

2021-07-12 05:06 Updated by: torr_samaho
Commentaire

Looks all fine! I added all patches.

2021-07-19 04:07 Updated by: akmdm
  • État Update from Ouvert to Atteints
2021-07-19 04:07 Updated by: akmdm
  • Résolution Update from Aucun to Accepted

Attachment File List

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion