Skip to content

Commit 2b34588

Browse files
committed
Initial commit.
1 parent 93f0800 commit 2b34588

File tree

155 files changed

+2319
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+2319
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

OpenTracker.sln

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29806.167
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTracker", "OpenTracker\OpenTracker.csproj", "{9D32A24F-7FF0-4632-B663-5AD2D64A6C87}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{9D32A24F-7FF0-4632-B663-5AD2D64A6C87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{9D32A24F-7FF0-4632-B663-5AD2D64A6C87}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{9D32A24F-7FF0-4632-B663-5AD2D64A6C87}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{9D32A24F-7FF0-4632-B663-5AD2D64A6C87}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {868CD9CE-E3FC-4B46-B3DA-C05258D838A4}
24+
EndGlobalSection
25+
EndGlobal

OpenTracker/App.xaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Application xmlns="https://github.com/avaloniaui"
2+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3+
xmlns:local="clr-namespace:OpenTracker"
4+
x:Class="OpenTracker.App">
5+
<Application.DataTemplates>
6+
<local:ViewLocator/>
7+
</Application.DataTemplates>
8+
9+
<Application.Styles>
10+
<StyleInclude Source="avares://Avalonia.Themes.Default/DefaultTheme.xaml"/>
11+
<StyleInclude Source="avares://Avalonia.Themes.Default/Accents/BaseLight.xaml"/>
12+
</Application.Styles>
13+
</Application>

OpenTracker/App.xaml.cs

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using Avalonia;
2+
using Avalonia.Controls.ApplicationLifetimes;
3+
using Avalonia.Markup.Xaml;
4+
using OpenTracker.ViewModels;
5+
using OpenTracker.Views;
6+
7+
namespace OpenTracker
8+
{
9+
public class App : Application
10+
{
11+
public override void Initialize()
12+
{
13+
AvaloniaXamlLoader.Load(this);
14+
}
15+
16+
public override void OnFrameworkInitializationCompleted()
17+
{
18+
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
19+
{
20+
desktop.MainWindow = new MainWindow
21+
{
22+
DataContext = new MainWindowVM(),
23+
};
24+
}
25+
26+
base.OnFrameworkInitializationCompleted();
27+
}
28+
}
29+
}
Binary file not shown.
420 Bytes
427 Bytes
1.93 KB
2.43 KB
3.38 KB
3.72 KB
301 Bytes
306 Bytes
373 Bytes
374 Bytes
332 Bytes
348 Bytes
309 Bytes
321 Bytes
290 Bytes
306 Bytes
1.6 KB
1.8 KB
1.65 KB
361 Bytes
313 Bytes
314 Bytes
294 Bytes
308 Bytes
314 Bytes
315 Bytes
312 Bytes
1.58 KB
315 Bytes
418 Bytes
391 Bytes
247 Bytes
247 Bytes
239 Bytes
243 Bytes
359 Bytes
364 Bytes
285 Bytes
287 Bytes
328 Bytes
338 Bytes
312 Bytes
327 Bytes
290 Bytes
301 Bytes
256 Bytes
266 Bytes
331 Bytes
349 Bytes
313 Bytes
337 Bytes
547 Bytes
552 Bytes
380 Bytes
398 Bytes
405 Bytes
1.75 KB
1.78 KB
339 Bytes
356 Bytes
230 Bytes
229 Bytes
1.99 KB
2.3 KB
259 Bytes
266 Bytes
323 Bytes
326 Bytes
375 Bytes
383 Bytes
367 Bytes
310 Bytes
328 Bytes
308 Bytes
307 Bytes
1.75 KB
1.85 KB
3.6 KB
324 Bytes
337 Bytes
1.78 KB
1.93 KB
549 Bytes
3.53 KB
251 Bytes
248 Bytes
329 Bytes
340 Bytes
313 Bytes
328 Bytes
288 Bytes
300 Bytes
224 Bytes
230 Bytes
307 Bytes
328 Bytes
250 Bytes
253 Bytes
2.12 KB
1.58 KB
674 Bytes
722 Bytes
710 Bytes
731 Bytes
5.4 MB
4.88 MB

OpenTracker/Assets/avalonia-logo.ico

172 KB
Binary file not shown.

OpenTracker/Enums/Accessibility.cs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum Accessibility
4+
{
5+
None,
6+
Partial,
7+
Inspect,
8+
SequenceBreak,
9+
Normal,
10+
Cleared
11+
}
12+
}
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum DungeonItemShuffle
4+
{
5+
Standard,
6+
MapsCompasses,
7+
MapsCompassesSmallKeys,
8+
Keysanity
9+
}
10+
}

OpenTracker/Enums/ItemPlacement.cs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum ItemPlacement
4+
{
5+
Basic,
6+
Advanced
7+
}
8+
}

OpenTracker/Enums/ItemType.cs

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum ItemType
4+
{
5+
Bow,
6+
SilverArrows,
7+
Boomerang,
8+
RedBoomerang,
9+
Hookshot,
10+
Bomb,
11+
BigBomb,
12+
Powder,
13+
MagicBat,
14+
Mushroom,
15+
TowerCrystals,
16+
FireRod,
17+
IceRod,
18+
Bombos,
19+
BombosDungeons,
20+
Ether,
21+
EtherDungeons,
22+
Quake,
23+
QuakeDungeons,
24+
Shovel,
25+
GanonCrystals,
26+
Lamp,
27+
Hammer,
28+
Flute,
29+
FluteActivated,
30+
Net,
31+
Book,
32+
MoonPearl,
33+
Bottle,
34+
CaneOfSomaria,
35+
CaneOfByrna,
36+
Cape,
37+
Mirror,
38+
GoMode,
39+
Aga,
40+
Gloves,
41+
Boots,
42+
Flippers,
43+
HalfMagic,
44+
Sword,
45+
Shield,
46+
Mail,
47+
GreenPendant,
48+
Pendant,
49+
Crystal,
50+
RedCrystal,
51+
HCSmallKey,
52+
DPSmallKey,
53+
ToHSmallKey,
54+
ATSmallKey,
55+
PoDSmallKey,
56+
SPSmallKey,
57+
SWSmallKey,
58+
TTSmallKey,
59+
IPSmallKey,
60+
MMSmallKey,
61+
TRSmallKey,
62+
GTSmallKey,
63+
EPBigKey,
64+
DPBigKey,
65+
ToHBigKey,
66+
PoDBigKey,
67+
SPBigKey,
68+
SWBigKey,
69+
TTBigKey,
70+
IPBigKey,
71+
MMBigKey,
72+
TRBigKey,
73+
GTBigKey
74+
}
75+
}

OpenTracker/Enums/LocationID.cs

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum LocationID
4+
{
5+
Pedestal,
6+
LumberjackCave,
7+
BlindsHouse,
8+
TheWell,
9+
BottleVendor,
10+
ChickenHouse,
11+
Tavern,
12+
SickKid,
13+
MagicBat,
14+
RaceGame,
15+
Library,
16+
MushroomSpot,
17+
ForestHideout,
18+
CastleSecretEntrance,
19+
LinksHouse,
20+
GroveDiggingSpot,
21+
PyramidLedge,
22+
PyramidFairy,
23+
HauntedGrove,
24+
HypeCave,
25+
BombosTablet,
26+
SouthOfGrove,
27+
DiggingGame,
28+
WitchsHut,
29+
WaterfallFairy,
30+
ZoraArea,
31+
Catfish,
32+
SahasrahlasHut,
33+
BonkRocks,
34+
KingsTomb,
35+
GraveyardLedge,
36+
DesertLedge,
37+
AginahsCave,
38+
CShapedHouse,
39+
TreasureGame,
40+
BombableShack,
41+
Blacksmith,
42+
PurpleChest,
43+
HammerPegs,
44+
BumperCave,
45+
Dam,
46+
MiniMoldormCave,
47+
IceRodCave,
48+
Hobo,
49+
MireShack,
50+
CheckerboardCave,
51+
OldMan,
52+
SpectacleRock,
53+
EtherTablet,
54+
SpikeCave,
55+
SpiralCave,
56+
ParadoxCave,
57+
SuperBunnyCave,
58+
HookshotCave,
59+
FloatingIsland,
60+
HyruleCastle,
61+
Agahnim,
62+
EasternPalace,
63+
DesertPalace,
64+
TowerOfHera,
65+
PalaceOfDarkness,
66+
SwampPalace,
67+
SkullWoods,
68+
ThievesTown,
69+
IcePalace,
70+
MiseryMire,
71+
TurtleRock,
72+
GanonsTower
73+
}
74+
}

OpenTracker/Enums/MapID.cs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum MapID
4+
{
5+
LightWorld,
6+
DarkWorld
7+
}
8+
}

OpenTracker/Enums/WorldState.cs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace OpenTracker.Enums
2+
{
3+
public enum WorldState
4+
{
5+
StandardOpen,
6+
Inverted
7+
}
8+
}
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace OpenTracker.Interfaces
2+
{
3+
interface IItemControlVM
4+
{
5+
void ChangeItem(bool alternate = false);
6+
}
7+
}

OpenTracker/Interfaces/ILocation.cs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using OpenTracker.Enums;
2+
using OpenTracker.Models;
3+
using System.Collections.Generic;
4+
5+
namespace OpenTracker.Interfaces
6+
{
7+
public interface ILocation
8+
{
9+
List<LocationPlacement> Placements { get; }
10+
Accessibility GetAccessibility();
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace OpenTracker.Interfaces
2+
{
3+
public interface IMapLocationControlVM
4+
{
5+
void SetColor();
6+
}
7+
}
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using OpenTracker.Enums;
2+
using OpenTracker.Interfaces;
3+
using System.Collections.Generic;
4+
5+
namespace OpenTracker.Models
6+
{
7+
public class EntranceLocation : ILocation
8+
{
9+
public List<LocationPlacement> Placements { get; }
10+
11+
public Accessibility GetAccessibility()
12+
{
13+
throw new System.NotImplementedException();
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)