Skip to content

Commit

Permalink
removestar --in-place .
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 10, 2023
1 parent f3744fe commit 9b592cd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
3 changes: 2 additions & 1 deletion sc2reader/engine/engine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import collections
from sc2reader.events import *
from sc2reader.events import (CommandEvent, ControlGroupEvent, Event, GameEvent, MessageEvent,
TrackerEvent)
from sc2reader.engine.events import InitGameEvent, EndGameEvent, PluginExit


Expand Down
2 changes: 1 addition & 1 deletion sc2reader/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from sc2reader import utils, log_utils
from sc2reader.decoders import ByteDecoder
from sc2reader.constants import *
from sc2reader.constants import GATEWAY_LOOKUP, LOBBY_PROPERTIES, LOCALIZED_RACES

Location = namedtuple("Location", ["x", "y"])

Expand Down
15 changes: 11 additions & 4 deletions sc2reader/readers.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import struct

from sc2reader.exceptions import ParseError, ReadError
from sc2reader.objects import *
from sc2reader.events.game import *
from sc2reader.events.message import *
from sc2reader.events.tracker import *
from sc2reader.objects import Attribute
from sc2reader.events.game import (CameraEvent, CommandManagerStateEvent, HijackReplayGameEvent,
PlayerLeaveEvent, ResourceTradeEvent, SelectionEvent,
UpdateTargetPointCommandEvent, UpdateTargetUnitCommandEvent,
UserOptionsEvent, create_command_event,
create_control_group_event)
from sc2reader.events.message import ChatEvent, PingEvent, ProgressEvent
from sc2reader.events.tracker import (PlayerSetupEvent, PlayerStatsEvent, UnitBornEvent,
UnitDiedEvent, UnitDoneEvent, UnitInitEvent,
UnitOwnerChangeEvent, UnitPositionsEvent, UnitTypeChangeEvent,
UpgradeCompleteEvent)
from sc2reader.utils import DepotFile
from sc2reader.decoders import BitPackedDecoder, ByteDecoder

Expand Down
3 changes: 2 additions & 1 deletion sc2reader/scripts/sc2replayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def getch():

import argparse
import sc2reader
from sc2reader.events import *
from sc2reader.events import (CameraEvent, CommandEvent, GameStartEvent, PlayerLeaveEvent,
SelectionEvent)


def main():
Expand Down

0 comments on commit 9b592cd

Please sign in to comment.