Commit Graph

18853 Commits (master)

Author SHA1 Message Date
Andrew Copland e331bce0d6 Get std::string explicitly from json 2020-03-23 21:54:30 +00:00
Webster Sheets cde7642711
Update Changelog.txt 2020-03-21 14:48:19 -04:00
Webster Sheets b379c502f4
Merge pull request #4838 from fluffyfreak/starfield-moving
Starfield moving with player
2020-03-21 14:46:52 -04:00
Webster Sheets 7f9526596b clang-format Background 2020-03-21 14:22:02 -04:00
Andrew Copland 37cf0168c7 Make the SystemPaths for surrounding stars track the current star system so it moves with the player through the galaxy. Also remove the unused Refresh method. 2020-03-21 17:06:09 +00:00
Andrew Copland a91b6ce144 Array size at runtime without dynamic allocation is a GCC specific extension 2020-03-21 17:03:51 +00:00
Webster Sheets 5677acec92 Avoid massive (250 MCycle) initialization
We were calling Starfield::Fill() twice, which was resulting in 314,928 GetCached<Sector>() calls. This caused a 250+ MCycle performance cost under debug build.
2020-03-21 13:34:58 +00:00
Webster Sheets 133c31d3dd
Update Changelog.txt 2020-03-15 23:23:32 -04:00
Webster Sheets 669348d750
Merge pull request #4828 from impaktor/add_lua_histogram
Add histogram to pigui
2020-03-15 23:22:59 -04:00
Pioneer Transifex a181595e11 auto-commit: translation updates 2020-03-16 03:01:30 +01:00
Karl F c2f3305730 Merge branch 'new_commodity_prices' 2020-03-15 12:36:03 +01:00
Karl F 9d3bab8acd Significantly update commodity prices - need to be higher
For lengthy description and motivation see #4831

TL;DR: Change prices to be from current price range of [-3,260],
to [-4,2100], increases potential profit from ~$70/t to ~$300/t
- almost a five fold increase.
2020-03-15 12:32:12 +01:00
Andrew Copland 392277f65f
Merge pull request #4836 from fluffyfreak/resize_star_point_2
Resize star_point_2.png to be power of 2
2020-03-14 10:43:02 +00:00
Karl F 2f5636f1e4 Add plotHistogram to pigui, from Imgui 2020-03-14 11:17:56 +01:00
Andrew Copland bdffaf36e0 Resize star_point_2.png to be power of 2 2020-03-14 10:15:46 +00:00
Andrew Copland 277affc463
Update Changelog.txt 2020-03-13 21:21:03 +00:00
Andrew Copland b1293a17b3
Merge pull request #4835 from Web-eWorks/texture-cache-visualizer
Texture Cache Visualizer and Memory Usage Tracker
2020-03-13 21:20:38 +00:00
Andrew Copland 0c361bb312
Added a new contributor 2020-03-13 21:15:29 +00:00
Andrew Copland 7711734766
Update Changelog.txt 2020-03-13 21:08:59 +00:00
Andrew Copland eb1c4548d2
Update Changelog.txt 2020-03-13 21:08:49 +00:00
Andrew Copland 28df3c4ce8
Merge pull request #4833 from tsoj/master
Stars that are brighter are now bigger and have a brighter color on the Starfield
2020-03-13 21:07:59 +00:00
Webster Sheets 535b342ee9 Add tooltip to texture cache viewer. 2020-03-13 15:03:31 -04:00
Webster Sheets 05f23c73c2 Handle POT-extended textures correctly 2020-03-13 14:50:14 -04:00
Webster Sheets 1913d4a969 Add texture cache visualizer and texture inspector 2020-03-13 14:28:16 -04:00
Webster Sheets f2956c5efc Add Texture VRAM size tracking
Only works for DDS textures at the moment, needs better calculations for auto-generated mipmap sizes
Added six new stats to track the number and memory usage of textures in the cache
2020-03-13 14:06:52 -04:00
Webster Sheets 8d6a84d70c Expose read-only access to the texture cache
Required for a few things, most notably debug tooling to visualize the cache
2020-03-13 14:06:52 -04:00
Webster Sheets 99388c8c52 Formatting updates to TextureGL.cpp 2020-03-13 14:06:52 -04:00
Webster Sheets a91f411822 Update scripts
- better clang-format handling, fix minor issues with deploy script
2020-03-13 14:06:52 -04:00
Webster Sheets cb1b100728 Properly handle DDS mipmaps below 16x16
- Get rid of MIN_COMPRESSED_TEXTURE_DIMENSION
- Still a little work needed to handle non-power-of-two textures
- Also updated Texture::BuildMipmaps() to only regenerate mipmaps without valid data.
- Some work still needed to properly calculate mip levels for uncompressed textures when creating the texture
2020-03-13 14:06:52 -04:00
Webster Sheets 43159624a3 Update pigui image code for new TextureBuilder changes.
Use an explicit return constructor to appease VS
2020-03-13 14:06:49 -04:00
Andrew Copland d29cdd1437 Add basic texture array support
Add TextureBuilder overloads for array textures
2020-03-13 14:06:37 -04:00
Andrew Copland 43cd23b8dc
Merge pull request #4834 from fluffyfreak/update-vs2019
Update the vs2019 project files to reflect recent changes
2020-03-12 22:18:31 +00:00
Andrew Copland 94cc5e959d Update the vs2019 project files to reflect recent changes 2020-03-12 22:17:47 +00:00
tsoj 00748a46ab Fixed Starfield population bug 2020-03-12 22:12:10 +01:00
tsoj 052437c0e8 I like these Starfield settings the most for now 2020-03-12 19:00:07 +01:00
tsoj b9f04df382 Now reloading Starfield after hyperjump 2020-03-12 18:21:39 +01:00
tsoj f6262aa110
Update Starfield.ini 2020-03-10 16:46:30 +01:00
tsoj e6b44e6f97
Update Starfield.ini 2020-03-10 04:49:12 +01:00
tsoj 9ce78f0384 Replaced spaces with tabs 2020-03-10 04:14:18 +01:00
tsoj 83e04d8d7c Describing comments for properties in Starfield.ini 2020-03-10 04:07:42 +01:00
tsoj 93ee40192a Background stars vary now in size and brightness. 2020-03-10 03:48:08 +01:00
Webster Sheets 4f005e44ae
Update Changelog.txt 2020-03-04 14:44:05 -05:00
Webster Sheets b7024e9421
Merge pull request #4819 from Web-eWorks/ui-cleanup
NewUI Cleanup, part 1
2020-03-04 13:54:12 -05:00
Webster Sheets cc9868b667
Merge pull request #4794 from cwyss/inspace-bodies
Some fixes to the handling of in-space bodies in flight-ui
2020-03-04 13:50:46 -05:00
Webster Sheets 3b2116e52c
Merge pull request #4827 from cwyss/mousefix
Prevent change of Pioneer's mouse pointer when hiding HUD
2020-03-04 13:45:43 -05:00
Pioneer Transifex 037f0510ed auto-commit: translation updates 2020-03-03 03:01:20 +01:00
Pioneer Transifex 687fb0931a auto-commit: translation updates 2020-03-02 03:01:44 +01:00
cwyss 13b433307f Prevent change of Pioneer's mouse pointer when hiding HUD
- When hiding HUD in flight-ui with double TAB (i.e. Pi::DrawGUI==false),
  prevent a change of Pioneer's custom mouse pointer to the system
  default pointer (fixes #4762)
- This also fixes a bug with Pioneer crashing occasionally after TAB-
  toggling the HUD off/on (#4812)
2020-03-01 16:18:17 +01:00
Andrew Copland 16efb1236d
Update Changelog.txt 2020-03-01 15:10:09 +00:00
Andrew Copland 859f052263
Perf counter Windows memory info (#4820)
* Fixup projects after many changes

* Use GetProcessMemoryInfo to get memory details

* Moved bracket, spaced the header includes to preserver order, added psapi libs to cmake build

* Buggered up the CMake file
2020-03-01 15:02:49 +00:00