Changeset c3b2f42 in lost-perception
- Timestamp:
- Nov 2, 2018, 3:02:21 AM (6 years ago)
- Branches:
- master
- Children:
- 0b84f13
- Parents:
- 1c27783
- Files:
-
- 10 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r1c27783 rc3b2f42 2 2 *.class 3 3 err.txt 4 Lost HavenRPG.jar4 LostPerception.jar -
main/LostHavenRPG.java
r1c27783 rc3b2f42 237 237 this.g = bufferStrategy.getDrawGraphics(); 238 238 this.gcsLogo.draw(this.g, 0, 0); 239 this.g.setColor(Color.green); 239 this.g.setColor(Color.black); 240 this.g.setFont(this.guiFont12); 240 241 this.g.drawString("Loading...", 368, 31); 241 242 this.g.dispose(); … … 244 245 245 246 private void loadGUI(final BufferStrategy bufferStrategy) { 246 this.font14 = new Font("Arial", 0, 14);247 247 this.gcsLogo = new DynamicImage("gui/gcslogo.png"); 248 this.g.setFont(this.font14); 248 this.guiFont12 = new Font("Garamond", 1, 12); 249 this.m = this.g.getFontMetrics(this.guiFont12); 249 250 this.updateLoadingScreen(bufferStrategy); 251 250 252 this.font11 = new Font("Arial", 0, 11); 251 253 this.font12 = new Font("Arial", 0, 12); 254 this.font14 = new Font("Arial", 0, 14); 252 255 this.font24 = new Font("Arial", 0, 24); 253 256 this.fontTT = new Font("Courier New", 0, 11); 254 this.guiFont12 = new Font("Garamond", 1, 12);255 257 this.guiFont14 = new Font("Garamond", 1, 14); 256 this.m = this.g.getFontMetrics(this.guiFont12);257 258 try { 258 259 final Font fontCustom = Utils.loadFont("images/gui/Last_words.ttf"); … … 262 263 this.fontCustom24 = fontCustom.deriveFont(0, 24.0f); 263 264 this.fontCustom30 = fontCustom.deriveFont(0, 30.0f); 264 } 265 catch (Exception e) { 265 } catch (Exception e) { 266 266 e.printStackTrace(); 267 267 } -
makefile
r1c27783 rc3b2f42 19 19 FILE_DEPS = $(DIALOG_FILE_DEPS) $(IMAGE_FILE_DEPS) $(MAP_FILE_DEPS) 20 20 21 Lost HavenRPG: $(CLASS_DEPS) $(FILE_DEPS)22 jar cfe [email protected] main. $@$^ $(INNER_DEPS)21 LostPerception: $(CLASS_DEPS) $(FILE_DEPS) 22 jar cfe [email protected] main.LostHavenRPG $^ $(INNER_DEPS) -
utils/Utils.java
r1c27783 rc3b2f42 33 33 import java.awt.GraphicsConfiguration; 34 34 35 public class Utils 36 { 35 public class Utils { 37 36 private static boolean RUNNING_FROM_JAR; 38 37 private static Utils classLoaderReference;
Note:
See TracChangeset
for help on using the changeset viewer.