Page 2 of 2

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Wed Jul 22, 2020 1:20 pm
by kleiner77
Okey, thank you i'll deal with the days and work me in there. Thank you very much for everything........

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Wed Jul 22, 2020 2:40 pm
by kleiner77
Milo wrote: Tue Jul 21, 2020 6:04 pm
Adding two rows to the display can be done.

If you use Windows, you can download a modified version of oolite.exe from here to see the effect (put it in your oolite.app folder, make a backup of the current oolite.exe). This modified oolite.exe is based on the nightly build with other personal edits so I don't recommend playing with it unless you have the rest of the nightly build package and take some other modified files from me. The other modified Resources files can be downloaded from here (first install the latest nightly build then overwrite with my modified files).

Image

What I changed:

Code: Select all

diff --git a/src/Core/Entities/PlayerEntity.h b/src/Core/Entities/PlayerEntity.h
index d184d93c..1d50febb 100644
--- a/src/Core/Entities/PlayerEntity.h
+++ b/src/Core/Entities/PlayerEntity.h
@@ -145,8 +145,8 @@ enum
 	GUI_ROW_MARKET_START				= 2,
 	GUI_ROW_MARKET_SCROLLUP				= 4,
 	GUI_ROW_MARKET_SCROLLDOWN			= 16,
-	GUI_ROW_MARKET_LAST					= 18,
-	GUI_ROW_MARKET_END					= 19,
+	GUI_ROW_MARKET_LAST					= 20,
+	GUI_ROW_MARKET_END					= 21,
 	GUI_ROW_MARKET_CASH					= 20,
 	GUI_ROW_INTERFACES_HEADING			= 1,
 	GUI_ROW_INTERFACES_START			= 3,
What I changed (revised per phkb's comments below):

Code: Select all

diff --git a/src/Core/Entities/PlayerEntity.h b/src/Core/Entities/PlayerEntity.h
index 37e157a4..6172580e 100644
--- a/src/Core/Entities/PlayerEntity.h
+++ b/src/Core/Entities/PlayerEntity.h
@@ -141,13 +141,13 @@ enum
 	GUI_MAX_ROWS_EQUIPMENT				= 12,
 	GUI_ROW_EQUIPMENT_DETAIL			= GUI_ROW_EQUIPMENT_START + GUI_MAX_ROWS_EQUIPMENT + 1,
 	GUI_ROW_EQUIPMENT_CASH				= 1,
-	GUI_ROW_MARKET_KEY					= 1,
-	GUI_ROW_MARKET_START				= 2,
+	GUI_ROW_MARKET_KEY					= 0,
+	GUI_ROW_MARKET_START				= 1,
 	GUI_ROW_MARKET_SCROLLUP				= 4,
 	GUI_ROW_MARKET_SCROLLDOWN			= 16,
-	GUI_ROW_MARKET_LAST					= 18,
-	GUI_ROW_MARKET_END					= 19,
-	GUI_ROW_MARKET_CASH					= 20,
+	GUI_ROW_MARKET_LAST					= 19,
+	GUI_ROW_MARKET_END					= 20,
+	GUI_ROW_MARKET_CASH					= 21,
 	GUI_ROW_INTERFACES_HEADING			= 1,
 	GUI_ROW_INTERFACES_START			= 3,
 	GUI_MAX_ROWS_INTERFACES				= 12,
Obligatory legal note: This distribution of a derivative work is licensed under GPL v2 and/or CC BY-NC-SA 3.0 with attributions (Giles C Williams, Jens Ayton and contributors) and other terms as described in the OoliteReadMe.pdf included with Oolite.

Full list of changes compared to the nightly build:

Code: Select all

1. use shipdata key instead of name for ship.noPrimaryRole log message
2. disable "wait for station rotation alignment before assigning ships a dock"
3. sanity check for non-zero break pattern counter in-flight
4. double max entities limit (2048 -> 4096)
5. allow abandonShip from shipDied worldscript event
6. torus speed factor increased
7. display station blip instead of planet blip when basic compass changes target to station inside planetary or station aegis
8. recognize SHIFT+fast-activation-key to prime instead of activating
9. add new fast activation keys [ and ]
10. ctrl+fast activation key = mode, instead of prime
11. add two rows to the market screen
Windows erkennt jetzt die . Exe und konnte sie runterladen und im Ordner speichern, aber leider hängt sich die .exe beim starten auf . Reagiert nicht und wird geschlossen :-( wenn ich die orginal.exe starte läuft alles normal aber leider nicht die neue .exe :-(

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Wed Jul 22, 2020 3:16 pm
by Milo
The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Wed Jul 22, 2020 4:14 pm
by kleiner77
Milo wrote: Wed Jul 22, 2020 3:16 pm
The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.
Thanks now everything is running :-) Super work you've done, respect for the effort.

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Sun Apr 11, 2021 1:11 pm
by Cholmondely
The links here have withered away!

Is there a link for adding extra keys for Fast Priming?

Re: Markt, zusätzliche Verkaufswarenanzeigen

Posted: Sun Jun 26, 2022 12:39 pm
by Cholmondely
Milo wrote: Wed Jul 22, 2020 3:16 pm
The new exe hangs on startup? That's strange. Try this exe instead? I zipped it first, maybe that will help.
The links here have withered away!

Is there a link for adding extra keys for Fast Priming?