Skip to content

Commit

Permalink
Still wip
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Dec 25, 2024
1 parent 5a00547 commit 9cf64f4
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 326 deletions.
2 changes: 0 additions & 2 deletions Courseplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ function Courseplay:loadMap(filename)
--- Ugly hack to get access to the global AutoDrive table, as this global is dependent on the auto drive folder name.
self.autoDrive = FS25_AutoDrive and FS25_AutoDrive.AutoDrive
CpUtil.info("Auto drive found: %s", tostring(self.autoDrive~=nil))

g_courseEditor:load()
end

function Courseplay:deleteMap()
Expand Down
6 changes: 3 additions & 3 deletions config/EditorCategories.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</Tab>
-->
<Tab name="advanced" iconSliceId="cpIconSprite.circle">
<Brush name="changeTurn" class="CpBrushChangeTurnWP" iconSliceId="editorChangeTurn" isCourseOnly="true"/>
<Brush name="moveExtended" class="CpBrushAdvancedMoveWP" iconSliceId="editorAdvancedMove"/>
<Brush name="curveInsert" class="CpBrushCurveInsertWP" iconSliceId="editorAdvancedInsert"/>
<Brush name="changeTurn" class="CpBrushChangeTurnWP" iconSliceId="cpUi.editorChangeTurn" isCourseOnly="true"/>
<Brush name="moveExtended" class="CpBrushAdvancedMoveWP" iconSliceId="cpUi.editorAdvancedMove"/>
<Brush name="curveInsert" class="CpBrushCurveInsertWP" iconSliceId="cpUi.editorAdvancedInsert"/>
</Tab>
</Category>
8 changes: 6 additions & 2 deletions config/MasterTranslations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1516,8 +1516,12 @@ The course is saved automatically on closing of the editor and overrides the sel
</Category>
<Category name="Course editor">
<Translation name="CP_editor_course_title">
<Text language="de"><![CDATA[Kurseditor]]></Text>
<Text language="en"><![CDATA[Course editor]]></Text>
<Text language="de"><![CDATA[Kurseditor : %s]]></Text>
<Text language="en"><![CDATA[Course editor : %s]]></Text>
</Translation>
<Translation name="CP_editor_custom_field_title">
<Text language="de"><![CDATA[Randkurseditor : %s]]></Text>
<Text language="en"><![CDATA[Custom field editor : %s]]></Text>
</Translation>
<Translation name="CP_editor_change_lane_offset">
<Text language="de"><![CDATA[Ausgewählten Bahnenversatz(%s) ändern]]></Text>
Expand Down
Loading

0 comments on commit 9cf64f4

Please sign in to comment.