Description:
Further improve dialog.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -3,27 +3,34 | |||||
|
3 | Source: Bain Collection, Via Library of Congress |
|
3 | Source: Bain Collection, Via Library of Congress |
|
4 | URL: https://www.example.com |
|
4 | URL: https://www.example.com |
|
5 | Filename: 51105041943_e5527c802e_o.jpg.converted4grey_medium_reorder.jpg |
|
5 | Filename: 51105041943_e5527c802e_o.jpg.converted4grey_medium_reorder.jpg |
|
|
6 | Subjects: 1 | ||
|
6 | - Description: This is a person |
|
7 | - Description: This is a person |
|
7 | Subject: Person |
|
8 | Subject: Person |
|
8 | Source: Bain Collection, Via Library of Congress |
|
9 | Source: Bain Collection, Via Library of Congress |
|
9 | Filename: 51346251445_ae7044d163_o.jpg.converted4grey_medium_reorder.jpg |
|
10 | Filename: 51346251445_ae7044d163_o.jpg.converted4grey_medium_reorder.jpg |
|
|
11 | Subjects: 1 | ||
|
10 | - Description: This is a person |
|
12 | - Description: This is a person |
|
11 | Subject: Person |
|
13 | Subject: Person |
|
12 | Source: Bain Collection, Via Library of Congress |
|
14 | Source: Bain Collection, Via Library of Congress |
|
13 | Filename: 51104913627_bf626a8a53_o.jpg.converted4grey_medium_reorder.png |
|
15 | Filename: 51104913627_bf626a8a53_o.jpg.converted4grey_medium_reorder.png |
|
|
16 | Subjects: 1 | ||
|
14 | - Description: Sun Fo |
|
17 | - Description: Sun Fo |
|
15 | Subject: Person |
|
18 | Subject: Person |
|
16 | Source: Bain Collection, Via Library of Congress |
|
19 | Source: Bain Collection, Via Library of Congress |
|
17 | Filename: 9684139377_9f74e12129_o.jpg.converted4grey_medium_reorder.png |
|
20 | Filename: 9684139377_9f74e12129_o.jpg.converted4grey_medium_reorder.png |
|
|
21 | Subjects: 1 | ||
|
18 | - Description: M-4 tank crews of the United States, Ft. Knox, Ky. |
|
22 | - Description: M-4 tank crews of the United States, Ft. Knox, Ky. |
|
19 | Subject: Person |
|
23 | Subject: Person |
|
20 | Source: Bain Collection, Via Library of Congress |
|
24 | Source: Bain Collection, Via Library of Congress |
|
21 | Filename: service-pnp-fsac-1a35000-1a35200-1a35210v.jpg.converted4grey_medium_reorder.png |
|
25 | Filename: service-pnp-fsac-1a35000-1a35200-1a35210v.jpg.converted4grey_medium_reorder.png |
|
|
26 | Subjects: 4 | ||
|
22 | - Description: Yuvaraja of Mysore |
|
27 | - Description: Yuvaraja of Mysore |
|
23 | Subject: Person |
|
28 | Subject: Person |
|
24 | Source: Bain Collection, Via Library of Congress |
|
29 | Source: Bain Collection, Via Library of Congress |
|
25 | Filename: service-pnp-ggbain-20000-20016r.jpg.converted4grey_medium_reorder.png |
|
30 | Filename: service-pnp-ggbain-20000-20016r.jpg.converted4grey_medium_reorder.png |
|
|
31 | Subjects: 1 | ||
|
26 | - Description: Mrs. Marie L. Baldwin |
|
32 | - Description: Mrs. Marie L. Baldwin |
|
27 | Subject: Person |
|
33 | Subject: Person |
|
28 | Source: Bain Collection, Via Library of Congress |
|
34 | Source: Bain Collection, Via Library of Congress |
|
29 | Filename: 5926007035_9d728b1837_o.jpg.converted4grey_medium_reorder.png |
|
35 | Filename: 5926007035_9d728b1837_o.jpg.converted4grey_medium_reorder.png |
|
|
36 | Subjects: 1 |
@@ -105,7 +105,7 | |||||
|
105 | CurrentDialog = dialog, |
|
105 | CurrentDialog = dialog, |
|
106 | CurrentSpeaker = speaker.Trim(), |
|
106 | CurrentSpeaker = speaker.Trim(), |
|
107 | Options = this.Story.currentChoices |
|
107 | Options = this.Story.currentChoices |
|
108 | .Select(option => BleepString(option.text, |
|
108 | .Select(option => BleepString(this.Grammar.Flatten(option.text), |
|
109 | profanity_setting )) |
|
109 | profanity_setting )) |
|
110 | .ToList()}); |
|
110 | .ToList()}); |
|
111 |
|
111 | ||
@@ -155,7 +155,8 | |||||
|
155 | CurrentDialog = dialog, |
|
155 | CurrentDialog = dialog, |
|
156 | CurrentSpeaker = speaker.Trim(), |
|
156 | CurrentSpeaker = speaker.Trim(), |
|
157 | Options = this.Story.currentChoices |
|
157 | Options = this.Story.currentChoices |
|
158 | .Select(option => option.text) |
|
158 | .Select(option => BleepString(this.Grammar.Flatten(option.text), |
|
|
159 | profanity_setting )) | ||
|
159 | .ToList()}); |
|
160 | .ToList()}); |
|
160 |
|
161 | ||
|
161 | var index = DialogSpawner.GetSpeakerImageIndex(this.Grammar, this.Random, speaker); |
|
162 | var index = DialogSpawner.GetSpeakerImageIndex(this.Grammar, this.Random, speaker); |
@@ -94,7 +94,7 | |||||
|
94 | CurrentDialog = this.Grammar.Flatten(dialog), |
|
94 | CurrentDialog = this.Grammar.Flatten(dialog), |
|
95 | CurrentSpeaker = this.Grammar.Flatten(speaker).Trim(), |
|
95 | CurrentSpeaker = this.Grammar.Flatten(speaker).Trim(), |
|
96 | Options = this.Story.currentChoices |
|
96 | Options = this.Story.currentChoices |
|
97 | .Select(option => option.text) |
|
97 | .Select(option => this.Grammar.Flatten(option.text)) |
|
98 | .ToList()}); |
|
98 | .ToList()}); |
|
99 |
|
99 | ||
|
100 | AddComponent(newDialog, new WindowTypeComponent { |
|
100 | AddComponent(newDialog, new WindowTypeComponent { |
@@ -102,7 +102,7 | |||||
|
102 | AddComponent(newDialog, |
|
102 | AddComponent(newDialog, |
|
103 | new VisibilityComponent{ visible = true}); |
|
103 | new VisibilityComponent{ visible = true}); |
|
104 |
|
104 | ||
|
105 | index = GetSpeakerImageIndex(this.Grammar, this.Random, speaker); |
|
105 | index = GetSpeakerImageIndex(this.Grammar, this.Random, speaker, 1); |
|
106 |
|
106 | ||
|
107 | AddComponent(newDialog, new ImageComponent { |
|
107 | AddComponent(newDialog, new ImageComponent { |
|
108 | ImageIndex = index}); |
|
108 | ImageIndex = index}); |
@@ -9,14 +9,24 | |||||
|
9 | using Microsoft.Xna.Framework; |
|
9 | using Microsoft.Xna.Framework; |
|
10 | using Microsoft.Xna.Framework.Graphics; |
|
10 | using Microsoft.Xna.Framework.Graphics; |
|
11 |
|
11 | ||
|
|
12 | using isometricparkfna.Spawners; | ||
|
|
13 | |||
|
12 | namespace isometricparkfna |
|
14 | namespace isometricparkfna |
|
13 | { |
|
15 | { |
|
|
16 | // public enum Role { | ||
|
|
17 | // Unspecified, | ||
|
|
18 | // Assistant, | ||
|
|
19 | // Governor | ||
|
|
20 | // } | ||
|
|
21 | |||
|
14 | public struct ImageMetadata { |
|
22 | public struct ImageMetadata { |
|
15 | public string Description; |
|
23 | public string Description; |
|
16 | public string Subject; |
|
24 | public string Subject; |
|
17 | public string Source; |
|
25 | public string Source; |
|
18 | public string URL; |
|
26 | public string URL; |
|
19 | public string Filename; |
|
27 | public string Filename; |
|
|
28 | public OrganizationType[] OrganizationType; | ||
|
|
29 | public int Subjects; | ||
|
20 | } |
|
30 | } |
|
21 |
|
31 | ||
|
22 | public class ImageMap |
|
32 | public class ImageMap |
You need to be logged in to leave comments.
Login now