Skip to content
Snippets Groups Projects

Gametype refactor

Open Lactozilla requested to merge gametype-refactor-1 into next

New:

  • Added gametypes[] to Lua
  • Made possible to replace gametypes through SOC
  • Turned rankings_type into its own enumeration, RANKINGS_

Fixed:

  • Fixed some code that ignored if the gametype had spectators

Backwards compatible:

  • Nothing to add

Backwards incompatible:

  • Nothing to add

Lua gametype fields:

Field Description Returns
name Name string
rules Rules GTR_ enum
type_of_level Type of level used TOL_ enum
intermission_type Intermission type int_ enum
rankings_type Rankings type (for HUD) RANKINGS_ enum
point_limit Point limit integer
time_limit Time limit integer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading