kitty624
4ae331c19e
IniOption Food items can show without using Food
...
- food items are usualy not shown in game without using Food
- option ALWAYS_FOOD allows them to be shown even without
- default is false, no food items without Food
2025-08-03 08:12:48 +02:00
Kitty and GitHub
b85380c958
Reverting Commit 9122d7a ( #474 ) from kitty624
...
Reverting Commit 9122d7a
it made: CAN_FAN_THE_HAMMER = FALSE now disables the burst mode on pistols
which effectivly resulted in pistols burst mode only being avaialbale with can fan the hammer active
which further resulted in being required to fire from hip mode when using burst with pistols
that's not a desired behaviour for burst on pistols, their burst should not depend on fan the hammer
therefore reverted
2025-08-01 21:10:57 +02:00
kitty624
eb3f62c3d5
Reverting Commit 9122d7a
...
it made: CAN_FAN_THE_HAMMER = FALSE now disables the burst mode on pistols
which effectivly resulted in pistols burst mode only being avaialbale with can fan the hammer active
which further resulted in being required to fire from hip mode when using burst with pistols
that's not a desired behaviour for burst on pistols, their burst should not depend on fan the hammer
therefore reverted
2025-08-01 20:52:22 +02:00
CptMoore
8644e5f8b9
Update build.yml
2025-07-25 10:25:46 +02:00
Asdow
872a356e82
Correct column size check
2025-07-23 15:11:03 +03:00
Asdow and GitHub
7bb7c54317
Guard against integer underflow ( #462 )
2025-07-20 17:30:22 -07:00
Asdow
49a56d01ac
Load correct militia icons for 720p resolution
2025-07-08 20:21:54 +03:00
Asdow
09ce332721
Allow 10 size squads for 720p resolution in UB
2025-06-27 16:00:10 +03:00
Asdow
5e2c61ef12
Externalized UB bloodcat quest sector
2025-06-25 22:54:53 +03:00
Asdow
4d948fda06
Fix powergen fan stopping in UB
...
Sector Y & Z coordinates were mixed up in code, which would then always fail the check for correct sector.
2025-06-24 22:54:44 +03:00
Asdow
2ae110971b
spelling fixes
2025-06-24 22:54:44 +03:00
Asdow
9a78e7dfa0
Formatting changes
2025-06-24 22:54:44 +03:00
Asdow
d95bae2bf6
Re-enable power generator fan sound effect for UB
2025-06-24 22:54:44 +03:00
Asdow
a1bb85ca95
Externalize fan exitgrid location in the source sector
2025-06-24 22:54:44 +03:00
Asdow
d9391de58a
Fix laptop crush popup text
...
Due to additional dialogue flag having the value 8, and UB not having a specific flag for mercs standing up after heli crash, the FindSoldierByProfileID would always find Steroid if he was on the team, and then display the crunched laptop popup text.
Adding a new flag that is checked before we go into that branch in HandleDialogue fixes the issue.
2025-06-22 12:43:33 +03:00
Asdow
c02bbc90cb
Fix helicopter for UB
...
No need to force an assert error here. We can simply ignore the meanwhile scene just like all the others.
2025-06-18 22:58:17 +03:00
Asdow
efb54202ea
Fix Mercprofile usStrategicInsertionData for bigmaps
...
NPCs would not appear in the map if their gridno was over 65535 in large maps
2025-06-15 14:42:34 +03:00
zwwooooo and majcosta
11caa6529c
Fix the issue of garbled UTF-8 text in the szTileSetDisplayName field of the StructureMove.xml file in the game's "Drag" menu.(Method provided by @Learner)
2025-05-10 14:28:14 -03:00
Asdow
e2f296c42c
Remove #pragma optimize("", off)
...
Managed to slip in in commit f21cb38 . Bad Asdow, bad!
2025-05-01 10:39:19 +03:00
Asdow
ee2807ae64
Default to 1st kit if deciding not to buy gear in UB
...
1st one is included in the hiring fee
2025-04-26 00:37:38 +03:00
Asdow
b23c9ac8b1
Do not prompt for buying inventory for 1st kit in UB
2025-04-26 00:37:38 +03:00
Asdow
fa0c5a2862
Prevent hiring MERC in UB if not enough funds
2025-04-26 00:37:38 +03:00
Asdow
db6da100e1
Reset selected gear kit when browsing mercs
2025-04-26 00:37:38 +03:00
Asdow
a3e7ce5794
Display special offer for 1st M.E.R.C. inv kit in UB
...
* Use weekly instead of daily salary for total cost calculation
2025-04-26 00:37:38 +03:00
Asdow
5062ae74f2
Display correct salary info for MERCs in UB campaign
2025-04-26 00:37:38 +03:00
Asdow
dd58f904f4
Do not offer surrender for multiplayer
2025-04-24 21:52:11 +03:00
Asdow
8dcb431ef2
Use (0,0) sector coordinates as unused cache
...
Makes the comment in Mod_Settings.ini valid advice
2025-04-17 23:51:44 +03:00
Asdow
5f45d06852
Fix possible integer overflow
2025-04-16 20:10:11 +03:00
Asdow
92103e36a6
Fix formatting
2025-04-16 01:28:07 +03:00
Asdow
8f98a9b985
Move UpdateAirspaceControl() out of #ifdef
...
Fixes UB not updating samsite airspace correctly after battle
2025-04-16 01:28:07 +03:00
Asdow
c2e78d0461
Use correct macro to index StrategicMap
2025-04-16 01:28:07 +03:00
Asdow and GitHub
3e45217a9a
Add compilationFlags to {exe} ( #428 )
...
* Add compilationFlags to {exe}
sgp.cpp is not recognizing JA2EDITOR preprocessor definition otherwise and therefore does not read EDITOR_SCREEN_RESOLUTION when starting map editor
* Add debugFlags too
2025-04-12 17:48:12 -03:00
CptMoore
9df885a264
Fixed tagged releases #2
v2
2025-04-09 20:33:32 +02:00
CptMoore and GitHub
5ed70befb4
Fixed tagged releases ( #429 )
...
Fixed tagged releases
2025-04-09 19:52:23 +02:00
Asdow
f21cb38647
Increase TileNo to UINT32
...
Bigmap grid number values go over uint16 max
2025-04-05 16:20:37 +03:00
Asdow
4823ef4929
Add check for vest position attachments
2025-03-06 17:39:35 +02:00
Asdow
586a46bb78
Remove last reference to gbPixelDepth
2025-02-24 23:08:52 +02:00
Asdow
fffb3a45fb
Remove 8bit mode
...
Obsolete and doesn't work
* Remove gbPixelDepth
* Remove 8-bit to 8-bit blitters
* FileNameForBPP now only calls strcopy
2025-02-24 21:42:36 +02:00
Asdow
9c951adfea
Read correct variable from CTHconstants.ini
2025-02-24 16:11:58 +02:00
Asdow
e3a542bf5d
Exclude robots from trying to activate panic triggers
2025-02-14 16:47:03 +02:00
Asdow
222daead0e
Remove unused ItemFlags
...
Detonator and Remote Detonator are specified by AttachmentClass
No items in items.xml actually even contained these flags.
2025-01-27 18:30:11 +02:00
Marco Antonio J. Costa and majcosta
ebd2e25e0f
Fix a wrong #ifdef to runtime check conversion
...
I didn't get this right the first time, non-Chinese text was looking
funny in dialog boxes
2025-01-09 21:37:19 -03:00
Marco Antonio J. Costa and majcosta
ff8376d625
Keep UB specific enum value for all builds
...
but at the end, not beginning as to not make a mess
along with an intro.lua change in gamedir/Data-UB/Scripts this gets rid of a nasty preprocessor conditional in a header file
2025-01-09 21:34:07 -03:00
Marco Antonio J. Costa and majcosta
7aa0e18352
Revert "make sure these steps run"
...
This reverts commit 1976dee738 .
Revert "yet another fix for the github actions"
This reverts commit 552951795c .
Revert "make sure CI to assemble release on 'v*' tag push or manually"
This reverts commit 8897769f0d .
2025-01-07 16:51:30 -03:00
Marco Antonio J. Costa and majcosta
1976dee738
make sure these steps run
...
otherwise there is no 'source' working directory for the final step
2025-01-07 14:13:46 -03:00
Marco Antonio J. Costa and majcosta
552951795c
yet another fix for the github actions
...
github.ref_name isn't 'master' when a tag is pushed, but the tag name,
so it won't trigger a release build when a 'v*' tag is pushed
2025-01-07 13:19:03 -03:00
Marco Antonio J. Costa and majcosta
8897769f0d
make sure CI to assemble release on 'v*' tag push or manually
...
also put bash script through shellcheck to be more posix compliant
2025-01-07 13:09:23 -03:00
Asdow
dcf202990f
Remove duplicate header includes
2025-01-05 17:08:02 +02:00
Asdow
db40cd433e
Move mapscreen bottom coordinates' initialization
...
Fixes radar map's initial position in strategic screen being in the top right corner.
2025-01-05 17:08:02 +02:00
Marco Antonio J. Costa and majcosta
ac6a1504df
add a space to string to prevent compilation errors in GB2312
2025-01-05 10:04:04 -03:00