Commit Graph

5551 Commits (9164f1708eb59fb3582d80a1ef17d4c8275a67ea)

Author SHA1 Message Date
Karl F 3b8b512857 Passengers aren't mass, remove "t" as unit for passengers 2020-02-23 15:19:03 +01:00
Karl F f2f3a628f1 Make police non-persistent in Goodstrader
Idea: one should be able to recognize the trustworthy black market merchants,
by them being persistent to each station. So you learn to recognize the name
of the market, e.g. "Honest Jim".

However, if _both_ police and the _true_ black market merchant are persistent,
you will recognize the name of both, so now you need to remember _which_ was
the fake one.

I much prefer the way it was in Frontier: the undercover police had a new name
every time you docked, so when returning to a station you would only recognize
one of the trader-names.
2020-02-23 14:57:33 +01:00
Karl F 1a296839e2 Fix unused/free cabins shown in station footer being wrong
closes #4806
2020-02-23 14:52:55 +01:00
vakhoir 339b08a0f5 Bulletin board view
Module adjustments to make them compatible with the pigui Bulletin Board
Allow passing Table to PiguiFace constructor
Optional targetResolution parameter to allow rescaling ui into smaller windows
Cleanup unused variables
Add SwitchTo method to pigui tabview
Apply InfoFace refactoring to ShipRepairs and Police
Added body font to char-form
Fixed commodity-market font-resizing
Fixed dialog option crashes
Resetting market views
Fixed Fuel Club to work with the pigui Bulletin Board
Using pionillium font in the Bulletin Board chat form
Window Resizing fix
2020-02-23 13:44:52 +01:00
vakhoir e77c11c35f Rename DrawTable to TextTable
Extract basic highlightable table from the Market widget
Created dedicated EquipmentMarket and CommodityMarket widgets
Added ChatForm widget
2020-02-22 08:12:05 +01:00
Webster Sheets 53849189c3
Merge pull request #4800 from pioneerspacesim/ui-hot-reload
Replace import() with require(); allow hot reloading of lua files

- Move all top-level lua-related files out of src/ into a topical folder.
- Provide a mechanism to fix the ImGui stack if lua throws an error in the middle of PiGui code
2020-02-22 00:33:46 -05:00
Pioneer Transifex 53a386679f auto-commit: translation updates 2020-02-22 03:01:30 +01:00
Webster Sheets 485643ce13 Merge branch 'ui-hot-reload-refactor' into master 2020-02-19 14:40:31 -05:00
Webster Sheets a568f0018e Update (most of) pigui code to use require() 2020-02-19 13:38:29 -05:00
Webster Sheets 64598540a0 Update lua files, part 1
Update everything but data/pigui, data/ui, and the import("ui/XXX.lua") calls.
These will be taken care of at a later date when we update the pigui lua style guid and rip out the newUI code, respectively
2020-02-19 13:38:29 -05:00
Karl F d682d4aee8 Move ShipRepair screen to PiGui 2020-02-16 16:57:36 +01:00
Pioneer Transifex 6acf6aef28 auto-commit: translation updates 2020-02-16 03:01:31 +01:00
Pioneer Transifex 81faaa1c04 auto-commit: translation updates 2020-02-15 03:01:48 +01:00
Karl F 70e62408ef Add another custom cargo to Cargo-mission
Silly time! We need stem bolts, and self sealing ones!
Finest self-sealing stem bolts in the sector.

(Referenced in sci-fi culture as a gadget with unclear use)
2020-02-14 09:07:59 +01:00
Karl F 6ebf3e2b63 Add number of total docking pads at station to lobby
Possibly we'd also like to add information about how many ships are currently
docked, as this only shows the total capacity.
2020-02-14 09:07:26 +01:00
Pioneer Transifex 685d5c2a22 auto-commit: translation updates 2020-02-14 03:01:40 +01:00
Karl F 05c492c28e Small fix, function - know thy self! 2020-02-13 18:03:45 +01:00
Karl F 623df6f52a Move Police tab to pigui
Features are 1:1 with old behavior plus notification of which faction
the police belongs to.
2020-02-13 18:03:45 +01:00
Webster Sheets 5c08ff0153 Replace broken module names in lua code
Note that this does not refactor the code base to use the require 'module.name' format yet; this simply allows the game to run under the new system.
2020-02-02 21:47:18 -05:00
Webster Sheets 5299492517
Merge pull request #4758 from cwyss/contbutton
Make continue button load _quicksave if autosave not active
2020-02-02 17:21:29 -05:00
Webster Sheets 0b3235ffeb Lua: Add package.core, remove import_core() 2020-02-01 21:18:39 -05:00
Webster Sheets 491ab1f37f Restore the ImGui stack after a lua error throw 2020-02-01 21:18:39 -05:00
Pioneer Transifex 105d06e33f auto-commit: translation updates 2020-01-31 03:01:20 +01:00
Pioneer Transifex 2fdfd89085 auto-commit: translation updates 2020-01-30 03:01:28 +01:00
Armin Kretschmer d2d4697a5b Trigger event on missile launch 2020-01-29 10:38:57 +01:00
Armin Kretschmer 6506fa763c Notice missile launch 2020-01-29 10:38:31 +01:00
Webster Sheets b902837ddb
Merge pull request #4764 from cwyss/onscreen-objects
Improve usabiltiy of in-space body indicators
2020-01-28 18:55:08 -05:00
Webster Sheets 4e7744af9a
Merge pull request #4770 from Gliese852/issue4719
Fix mission screen obscuring buttons
2020-01-28 18:46:38 -05:00
Webster Sheets 0fa7440eec
Merge pull request #4774 from vakhoir/feature/ship_market
Ship market
2020-01-28 18:42:26 -05:00
Webster Sheets f86d6ce467
Merge pull request #4767 from vakhoir/bugfix/savegame_dialog
ModalWindow class that allows nesting
2020-01-28 18:09:18 -05:00
vakhoir a5d696e7eb Ship market
Explicitly set ModelSpinner pauseTime to 0 in constructor
Launch Request button alignment fix in Lobby View
2020-01-25 18:21:50 +01:00
vakhoir 9d18440690 ModalWindow class that allows nesting
Checking isWindowHovered in market widget, so it ignores mouse events under a modal window
2020-01-25 18:18:57 +01:00
Gliese852 7cd3f5501a indent only 2020-01-20 16:00:56 +03:00
Gliese852 0a53193c2d file corrections, no indent
hide comms button in flight, because it duplicates the button function in the upper right corner of the window
hide the system-overview-window when we are not looking into the world
2020-01-20 15:52:36 +03:00
Gliese852 8063a5254b fix issues #4468 or #4699 - unpleasant scrollbars 2020-01-14 17:39:36 +03:00
cwyss 830b9e57be Restore feature: ctrl-click on in-space body selects SetSpeedTarget 2020-01-12 21:57:32 +01:00
cwyss e88d8476c2 Restore feature: clicking collapsed nav target clears target
- clicking on collapsed group of in-space bodies containing the
  nav target clears that target (no popup displayed)
- PiGui.GetProjectedBodiesGrouped(): return additional info for
  each group; code cleanup / partial rewrite
2020-01-12 21:57:11 +01:00
cwyss b1b64d0d6a Fix in-space body indicators
- Remove duplicate entry from collapsed bodies popup
- Centre selection area on body
- Shrink selection area to prevent overlapping areas of nearby bodies
2020-01-11 18:51:59 +01:00
Karl F 436db08636 Happy new decade!
May you live long and prosper!
2020-01-01 10:47:46 +01:00
cwyss 35231eee19 Restore feature: maximum display distance for ship indicators 2019-12-26 13:56:43 +01:00
cwyss 849b6b1fc9 Make continue button load _quicksave if autosave not active 2019-12-19 18:31:05 +01:00
Andrew Copland c3d4d7e9d2
Merge pull request #4757 from cwyss/latlon-fix
Fix calculation of latitude and longitude for PlanetaryInfo
2019-12-15 15:42:18 +00:00
cwyss b6649f626b Fix calculation of latitude and longitude for PlanetaryInfo 2019-12-15 11:32:57 +01:00
Pioneer Transifex 85cbf58877 auto-commit: translation updates 2019-12-10 03:01:14 +01:00
mike-f1 ad5032d669 Increase performances
Calls addStyledText only when labels are needed
2019-12-05 23:38:36 +01:00
mike-f1 95192675ef Restore a lost feature
Game can again show no icons and no label,
show only icons or show icons and label
2019-12-05 22:41:33 +01:00
Pioneer Transifex 39ef0e8a27 auto-commit: translation updates 2019-12-01 03:01:17 +01:00
vakhoir f04ea1e0eb Modal save/load window
Modal options window
2019-11-26 12:29:40 +01:00
Pioneer Transifex 0c66156d22 auto-commit: translation updates 2019-11-22 03:01:21 +01:00
Pioneer Transifex b108a4478f auto-commit: translation updates 2019-11-21 03:01:20 +01:00