Skip to content

Commit

Permalink
Added map stretching; Added fullscreen toggle hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
4aiman committed Feb 7, 2024
1 parent 9ae8817 commit 220de6f
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 56 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ The images were taken from [Dr. Cossack's Lab](https://www.interordi.com/mega_ma
- Use `Start`/`Stop` button to enable/disable memory reading.
- If you encounter an `Unknown` Room - press `Edit` it and give it a name.
- The name you've given will be used when loading images, e.g. when you're in the `Lan's Room`, the app will try to load `./images/Lan's Room.png` image.
- Use `+`/`-` buttons to add/delete spoils list found in room (blue, gree, purple mystery data, lotto codes etc)
- Double click spoil item to edit it
- Use `Stretch` checkbox if you want your map stretched (usefull for those streaming people)
- Use `Win`+`Y` global hotkey to toggle fullscreen (conflicts with mixed reality shortcut, not configurable atm)

The app should work under a regular user ***do not*** give this app (and 99.9% of all the other apps) admin privs

Expand Down
3 changes: 2 additions & 1 deletion mmbn5m.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<UseVersionInfo Value="True"/>
<AutoIncrementBuild Value="True"/>
<MinorVersionNr Value="1"/>
<RevisionNr Value="3"/>
<RevisionNr Value="4"/>
<BuildNr Value="18"/>
<Attributes pvaPrivateBuild="True"/>
</VersionInfo>
Expand All @@ -27,6 +27,7 @@
</BuildModes>
<PublishOptions>
<Version Value="2"/>
<OpenInFileMan Value="True"/>
<UseFileFilters Value="True"/>
</PublishOptions>
<RunParams>
Expand Down
72 changes: 36 additions & 36 deletions mmbn5m.lps
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<IsPartOfProject Value="True"/>
<EditorIndex Value="2"/>
<CursorPos X="69" Y="19"/>
<UsageCount Value="43"/>
<UsageCount Value="44"/>
<Loaded Value="True"/>
</Unit>
<Unit>
Expand All @@ -59,9 +59,9 @@
<ResourceBaseClass Value="Form"/>
<UnitName Value="Unit1"/>
<IsVisibleTab Value="True"/>
<TopLine Value="147"/>
<CursorPos X="17" Y="161"/>
<UsageCount Value="43"/>
<TopLine Value="352"/>
<CursorPos X="94" Y="363"/>
<UsageCount Value="44"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
</Unit>
Expand All @@ -70,138 +70,138 @@
<EditorIndex Value="3"/>
<TopLine Value="128"/>
<CursorPos Y="152"/>
<UsageCount Value="20"/>
<UsageCount Value="21"/>
<Loaded Value="True"/>
</Unit>
<Unit>
<Filename Value="C:\lazarus\fpc\3.2.2\source\rtl\objpas\sysutils\syshelph.inc"/>
<EditorIndex Value="1"/>
<TopLine Value="147"/>
<CursorPos X="16" Y="161"/>
<UsageCount Value="10"/>
<UsageCount Value="11"/>
<Loaded Value="True"/>
</Unit>
</Units>
<JumpHistory HistoryIndex="29">
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="110" Column="9" TopLine="68"/>
<Caret Line="165" Column="36" TopLine="141"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="211" Column="14" TopLine="170"/>
<Caret Line="227" Column="47" TopLine="195"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="213" Column="49" TopLine="171"/>
<Caret Line="151" Column="59" TopLine="144"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="214" Column="49" TopLine="172"/>
<Caret Line="155" Column="32" TopLine="144"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="213" Column="49" TopLine="171"/>
<Caret Line="126" Column="27" TopLine="121"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="214" Column="49" TopLine="172"/>
<Caret Line="153" Column="42" TopLine="140"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="213" Column="49" TopLine="171"/>
<Caret Line="211" Column="22" TopLine="209"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="212" Column="49" TopLine="170"/>
<Caret Line="235" Column="59" TopLine="211"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="213" Column="49" TopLine="171"/>
<Caret Line="216" TopLine="192"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="220" Column="49" TopLine="178"/>
<Caret Line="116" Column="18" TopLine="85"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="183" Column="17" TopLine="163"/>
<Caret Line="115" Column="24" TopLine="92"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="156" Column="47" TopLine="131"/>
<Caret Line="234" Column="46" TopLine="205"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="150" Column="20" TopLine="131"/>
<Caret Line="235" Column="45" TopLine="211"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="157" Column="86" TopLine="135"/>
<Caret Line="211" Column="11" TopLine="163"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="114" Column="23" TopLine="89"/>
<Caret Line="212" Column="53" TopLine="180"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="165" Column="36" TopLine="141"/>
<Caret Line="163" Column="43" TopLine="147"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="227" Column="47" TopLine="195"/>
<Caret Line="174" Column="73" TopLine="149"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="151" Column="59" TopLine="144"/>
<Caret Line="167" Column="47" TopLine="149"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="155" Column="32" TopLine="144"/>
<Caret Line="140" Column="20" TopLine="106"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="126" Column="27" TopLine="121"/>
<Caret Line="141" Column="54" TopLine="116"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="153" Column="42" TopLine="140"/>
<Caret Line="9" Column="36"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="211" Column="22" TopLine="209"/>
<Caret Line="60" Column="6" TopLine="36"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="235" Column="59" TopLine="211"/>
<Caret Line="130" Column="33" TopLine="99"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="216" TopLine="192"/>
<Caret Line="334" TopLine="293"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="116" Column="18" TopLine="85"/>
<Caret Line="301" Column="50" TopLine="266"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="115" Column="24" TopLine="92"/>
<Caret Line="352" TopLine="315"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="234" Column="46" TopLine="205"/>
<Caret Line="146" TopLine="139"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="235" Column="45" TopLine="211"/>
<Caret Line="140" Column="3" TopLine="138"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="211" Column="11" TopLine="163"/>
<Caret Line="144" Column="55" TopLine="131"/>
</Position>
<Position>
<Filename Value="unit1.pas"/>
<Caret Line="212" Column="53" TopLine="180"/>
<Caret Line="219" Column="51" TopLine="193"/>
</Position>
</JumpHistory>
<RunParams>
Expand Down
Binary file modified mmbn5m.res
Binary file not shown.
25 changes: 22 additions & 3 deletions unit1.lfm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
object Form1: TForm1
Left = 1033
Left = 1657
Height = 448
Top = 463
Top = 313
Width = 528
Caption = 'MMBN5M'
ClientHeight = 448
Expand All @@ -11,8 +11,8 @@ object Form1: TForm1
Font.Name = 'Liberation Mono'
Font.Pitch = fpFixed
Font.Quality = fqDraft
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
Position = poScreenCenter
LCLVersion = '2.2.6.0'
object room_name_label: TLabel
Expand Down Expand Up @@ -153,6 +153,25 @@ object Form1: TForm1
OnClick = minus_spoil1Click
TabOrder = 3
end
object map_stretch_checkbox: TCheckBox
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = spoils_listbox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = map_image
AnchorSideBottom.Control = plus_spoil
Left = 8
Height = 22
Top = 370
Width = 120
Anchors = [akLeft, akRight, akBottom]
BorderSpacing.Left = 8
BorderSpacing.Top = 8
BorderSpacing.Right = 8
BorderSpacing.Bottom = 8
Caption = 'Stretch'
OnChange = map_stretch_checkboxChange
TabOrder = 4
end
object Timer1: TTimer
Enabled = False
OnTimer = Timer1Timer
Expand Down
Loading

0 comments on commit 220de6f

Please sign in to comment.