sync: randomize imports: themes order, MCQ and UCQ choices

This commit is contained in:
nemunaire 2018-12-02 05:05:59 +01:00
commit abd7fc6bef
3 changed files with 24 additions and 2 deletions

View file

@ -44,8 +44,9 @@ type ExerciceFlagMCQChoice struct {
// ExerciceFlagMCQ holds information about a MCQ flag.
type ExerciceFlagMCQ struct {
Label string `toml:",omitempty"`
Choice []ExerciceFlagMCQChoice
Label string `toml:",omitempty"`
Choice []ExerciceFlagMCQChoice
NoShuffle bool
}
// ExerciceFlagUCQChoice holds a choice for an UCQ flag.
@ -65,6 +66,7 @@ type ExerciceFlagUCQ struct {
Choices_Cost int64 `toml:",omitempty"`
Choice []ExerciceFlagUCQChoice
LockedFile []ExerciceUnlockFile `toml:"unlock_file,omitempty"`
NoShuffle bool
}
// ExerciceParams contains values parsed from defines.txt.