NorthFury and majcosta
77faa11a0f
inline the tooltip log font
2023-05-27 21:52:35 -03:00
NorthFury and majcosta
e6d0b5ae0e
fix tooltip scaling when winfonts are enabled
2023-05-27 21:52:35 -03:00
NorthFury and majcosta
456cfa18cf
added option to scale tooltip rendering
2023-05-27 21:52:35 -03:00
rftrdev and GitHub
c13a44c445
Add version to asserts screen ( #158 )
...
* Add version info to asserts
* Add gMAXITEMS_READ to arms dealer init assert
2023-05-27 12:02:54 -07:00
sun-alf
9fc9d1c6e8
[Fix] Incorrect displaying info and tooltips in Advances Properties Tab
...
* Tooltips were shifted by one position due to wrong handling "Accuracy modifier".
* DrawAdvancedValues():
if ( iFloatModifier[0] > 1.0 || ( fComparisonMode && iComparedFloatModifier[0] > 1.0 ) )
it checks number of laser range tiles (iFloatModifier[0] > 1.0, "meters" / CELL_X_SIZE) right before actual drawing a line with values. So if someone put 1..9 into XML (<BestLaserRange>) it will not print that value. But number of "meters" was checked (like x > 0) everywhere prior to this code.
so all the code before decided to draw line with icon for laser range, but the guilty code line didn't
I suppose not to draw laser info at all if a modder screwed up <BestLaserRange> putting a 1..9 value
so all values 0..9 basically mean 0 tiles, i.e. there is no laser ability.
2023-05-27 21:04:17 +03:00
rftrdev and GitHub
119c6fe6bb
Fix FindBestNearbyCover() and delete global var ( #156 )
2023-05-26 21:28:00 -07:00
zwwooooo
7383d6b3f6
Merge branch 'master' of github.com:1dot13/source
2023-05-26 15:35:00 +08:00
Asdow and GitHub
f2ab296b49
Display icon and tooltip for belt fed weapons ( #155 )
2023-05-26 08:12:55 +03:00
Asdow and GitHub
66c7fc1c8d
Remove compiler warning for exceeding stack size ( #154 )
...
Use std::map & std::set instead of two 16001 elements long arrays
2023-05-25 23:36:55 +03:00
Asdow and GitHub
e4e1d472fd
Remove compiler warning for exceeding stack size. ( #153 )
...
* Use std::map instead of 16001 elements long array
* Remove old commented out code
2023-05-25 22:46:18 +03:00
majcosta
dd004dc114
Clean up .gitignore
...
To set up a personal .gitignore:
using Git Bash:
`echo shelve/ >> ~/.gitignore`
`git config --global core.excludesFile ~/.gitignore`
using Command Prompt, replace `~` with `%USERPROFILE%`
2023-05-23 20:02:42 -03:00
sun-alf and GitHub
27954babf5
Merge pull request #149 from 1dot13/master_1dot13
...
[Fix] A bunch of fixes for artillery strike
2023-05-23 16:25:24 +02:00
sun-alf
ab2a26accb
[Fix] A bunch of fixes for artillery strike
...
* Avoid using hard-coded Signal and HE mortar shell indices. This caused art.strikes malfunctioning in item mods.
* Trim max nubers of waves to duration of signal smoke. Otherwise art.strike turns into unnatural stupidity.
* If enemy AI tried to get art.strike but lacked of resources, player will not a warning anymore.
2023-05-22 22:06:18 +03:00
Robert Biter and GitHub
6e30d24ce5
make gitignore Visual Studio definitions more specific ( #144 )
...
* make gitignore Visual Studio definitions more specific
2023-05-20 19:56:27 -03:00
Asdow and GitHub
35bb9a70ec
Do not load language specific icon file ( #146 )
...
Unnecessary, as there is no translated text in the image files
2023-05-19 16:47:42 +03:00
Asdow and GitHub
690d2054c6
Added new filters for LOBOT ( #145 )
...
* Weapon class for SECONDHANDPOS items
* Check if weapon is two handed for HANDPOS and SECONDHANDPOS
2023-05-18 23:33:17 +03:00
rftrdev and GitHub
a0aa58f9e5
Update disease flags (hand and face) so that they can be used on the same item ( #143 )
...
* Allow an item to have both disease flags enabled
* Remove extra line break for disease hand protection helptext
2023-05-15 00:51:37 -07:00
90cd7be71d
Add instructions to the README.md file ( #142 )
...
* Add instructions to the README.md file
* Update README.md
Co-authored-by: Robert Biter <robert.biter@zalando.de >
---------
Co-authored-by: Robert Biter <robert.biter@zalando.de >
2023-05-09 12:08:33 -03:00
Marco Antonio Jaguaribe Costa and majcosta
760f8ab3d7
Remove all MSBuild files
...
now that CI is using cmake, we can be clean up the tree quite a bit
btw, cmake can still configure for the msbuild generator for those so inclined:
create the folder, cmd to it, run `cmake [project_root_dir] -G"Visual Studio 17 2022" -A Win32 -DLanguages=ENGLISH -DApplications=JA2` once, then open the solution file using Visual Studio 2022
2023-05-08 06:44:35 -03:00
Marco Antonio Jaguaribe Costa and majcosta
18417ce45a
Get CMake's MSBuild generator to work correctly
...
- MSBuild has safe exception handlers (safeseh) enabled by default, which
some of our libraries don't support
- also needs legacy_stdio_definitions.lib to be linked
2023-05-07 07:23:07 -03:00
Marco Antonio Jaguaribe Costa and majcosta
74f4979296
A few nits
...
create empty CMakeUserPresets.json file so build happens on first run
comment doesn't apply anymore
no need to specify the compiler when using msbuild@xxx
ask ninja for the verbose command line when building
2023-04-22 04:31:37 -03:00
CptMoore and majcosta
d8728c9b92
GitHub Workflow: Adjusted for CMake.
2023-04-22 04:31:37 -03:00
Marco Antonio Jaguaribe Costa and majcosta
3173b73ba0
don't build ja2 export tool by default
...
most users don't need this, better if whoever needs it just set
BUILD_JA2EXPORT=ON on their end
2023-04-22 01:40:11 -03:00
Kitty and GitHub
ad1f926f4a
Merge pull request #5 from zwwooooo/master
...
Chinese translation update(by TBS)
2023-04-15 11:51:23 +02:00
zwwooooo
2e5aabe615
Merge branch 'master' of github.com:1dot13/source
2023-04-12 16:44:15 +08:00
zwwooooo and GitHub
fd7ac29917
Chinese translation update(by TBS) ( #136 )
...
* Chinese translation update(by TBS)
* Chinese translation update(by TBS)
2023-04-12 11:22:03 +03:00
zwwooooo
f272703c76
Chinese translation update(by TBS)
2023-04-12 14:12:47 +08:00
zwwooooo
0ac6c3eb2d
Chinese translation update(by TBS)
2023-04-12 13:54:16 +08:00
zwwooooo
700734db10
Merge branch 'master' of github.com:1dot13/source
2023-04-12 13:49:10 +08:00
CptMoore and GitHub
dc12e1f4f1
Merge pull request #135 from 1dot13/fixed-github-workflow-latest-release-again
...
Fixed github workflow latest release again
2023-04-08 10:36:58 +02:00
CptMoore and GitHub
172d7d20ba
Fixed github workflow latest release again
2023-04-08 10:36:47 +02:00
CptMoore and GitHub
67a9860ed9
Merge pull request #31 from 1dot13/trigger-fix-2
...
trigger-fix-2
2023-03-29 19:59:42 +02:00
CptMoore and GitHub
f7b5c791e0
trigger-fix-2
2023-03-29 19:59:34 +02:00
CptMoore and GitHub
f3e0a28e80
Merge pull request #30 from 1dot13/trigger-fix
...
trigger-fix
2023-03-29 19:57:12 +02:00
CptMoore and GitHub
b2800577a2
trigger-fix
2023-03-29 19:56:58 +02:00
FunkyFr3sh and GitHub
bf85b2e948
Use better default shader ( #29 )
2023-03-29 10:14:11 +03:00
CptMoore and GitHub
94ac6d97ec
Merge pull request #133 from 1dot13/fix-broken-build-process
...
Fix broken build process
2023-03-21 13:14:09 +01:00
CptMoore and GitHub
6618309895
Fix broken build process
2023-03-21 13:13:48 +01:00
rftrdev and GitHub
ff360153c7
Redraw inventory panel when changing selected merc in strategic view ( #127 )
2023-02-21 23:22:30 -08:00
Asdow and GitHub
e1f7fa7bfb
Fix button glitches in widescreen UI ( #125 )
...
In widescreen strategic UI, team panel sort buttons would be hidden when transferring items to and fro merc inventory via CTRL + left click
Exit inventory panel button should always be disabled in widescreen UI
2023-02-15 16:36:57 +02:00
Asdow and GitHub
f669fa4bdd
Added default setting for alternate pathfinding ( #28 )
2023-02-15 11:53:17 +02:00
Asdow and GitHub
17a0a08097
Add Astars pathing to ingame options ( #124 )
...
* Enabled astars pathing
* Add toggleable pathfinding choice to ingame options
You can choose between original and A* pathfinding algorithms
2023-02-15 11:49:04 +02:00
Marco Antonio Jaguaribe Costa and majcosta
aa3e10cd29
missing NO_ZLIB_COMPRESSION compile definition for SGP
...
forgot about that one
2023-02-01 10:02:46 -03:00
Asdow and GitHub
35109a5615
Guard against possible illegal array access (by Seven) ( #121 )
...
ClosestPanicTrigger() can return -1 but its use in indexing gTacticalStatus.bPanicTriggerIsAlarm was not checked in all the places in the code
2023-01-31 20:26:21 +02:00
Marco Antonio Jaguaribe Costa and majcosta
f8f8461a65
replace header preprocessor conditional with cpp function
2023-01-30 09:25:01 -03:00
rftrdev and GitHub
b5ec955324
Disable backpack climb check for non-player soldiers ( #117 )
2023-01-27 17:56:46 -08:00
Marco Antonio Jaguaribe Costa and majcosta
30fe4bd33b
better name for the app/lang dependent shared lib targets
2023-01-27 20:51:25 -03:00
Marco Antonio Jaguaribe Costa and majcosta
dc5eaf7b67
better name for the executable target
2023-01-27 20:51:25 -03:00
Marco Antonio Jaguaribe Costa and majcosta
7bbe68e6dd
improve the comments on root CMakeLists.txt file
2023-01-27 20:51:25 -03:00
Marco Antonio Jaguaribe Costa and majcosta
319a0ca979
Extract Debug definitions to some syntactic sugar
...
this will be used in more targets in the future, this will avoid
repetition
2023-01-27 20:51:25 -03:00