Changeset bda3a92


Ignore:
Timestamp:
Aug 16, 2010, 12:07:53 PM (8 years ago)
Author:
Michael Seifert <mseifert@…>
Branches:
master
Children:
307168e
Parents:
b4e4dd3
Message:

sc2replay:
Added support for additional replay versions;
core:
Improved debug code

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/src/main/java/de/erichseifert/warp/core/DataPresenter.java

    rb4e4dd3 rbda3a92  
    9696                                // Parse replay
    9797                                Replay replay = null;
    98                                 String replayVersion = null;
    9998                                for (ReplayParser<?> parser : parsers) {
    10099                                                try {
     
    110109
    111110                                if (replay == null) {
    112                                         System.err.printf("No suitable parser for file %s (version=\"%s\")", replayFile.getAbsolutePath(), replayVersion);
     111                                        System.err.printf("No suitable parser for file %s"+System.getProperty("line.separator"), replayFile.getAbsolutePath());
    113112                                        elementsTotal--;
    114113                                }
  • sc2replay/src/main/java/de/erichseifert/warp/sc2replay/SC2ReplayParser_v2.java

    rb4e4dd3 rbda3a92  
    5252                addVersionSupport(SC2ReplayParser_v2.class, "0.16.0.15580");
    5353                addVersionSupport(SC2ReplayParser_v2.class, "0.17.0.15623");
     54                addVersionSupport(SC2ReplayParser_v2.class, "0.18.0.15655");
    5455        }
    5556
  • sc2replay/src/main/java/de/erichseifert/warp/sc2replay/SC2ReplayParser_v3.java

    rb4e4dd3 rbda3a92  
    4545public class SC2ReplayParser_v3 extends SC2ReplayParser {
    4646        static {
     47                addVersionSupport(SC2ReplayParser_v3.class, "0.19.0.15976");
     48                addVersionSupport(SC2ReplayParser_v3.class, "0.20.0.16036");
     49                addVersionSupport(SC2ReplayParser_v3.class, "1.0.0.16117");
     50                addVersionSupport(SC2ReplayParser_v3.class, "1.0.1.16195");
    4751                addVersionSupport(SC2ReplayParser_v3.class, "1.0.2.16223");
    4852        }
Note: See TracChangeset for help on using the changeset viewer.