Commit Graph
18 Commits
Author SHA1 Message Date
AsdowandGitHub a32e276e4d Add possibility to match against helmet attachments (#77) 2023-01-15 23:02:28 +02:00
AsdowandGitHub 08982d92e7 Fix illegal array access (#53)
Array length was too small when using old skill trait system.
2022-12-25 17:10:46 +02:00
AsdowandGitHub 1f567d9602 Fix CTD when displaying long names in map inventory (#52) 2022-12-25 16:01:01 +02:00
AsdowandGitHub 8f22d13fd9 Cache result of evaluating strategicmap.lua (#32) 2022-11-23 21:59:27 +02:00
AsdowandGitHub 468756d93f Merge pull request #23 from 1dot13/misc
Change shift + B to also pick up back packs in tactical
2022-11-10 18:41:50 +02:00
Asdow 6dbbfa227a Change shift + B to also pick up back packs in tactical
Instead of always dropping backpacks, it will now either pick up or drop backpacks depending on if any have been dropped
2022-11-10 18:40:00 +02:00
AsdowandGitHub f06e85575d Merge pull request #18 from 1dot13/MapEditor
Mapeditor items tab fix
2022-11-08 18:13:10 +02:00
Asdow 06065bb62f Update EditorItems.cpp
Removed unused clippingRect
2022-11-07 19:53:40 +02:00
Asdow f4e729ee80 Update EditorItems.cpp
Improve readability
2022-11-07 19:42:08 +02:00
Asdow af9e221578 Removed remnants of editoritems buffer as it is no longer used 2022-11-07 19:12:53 +02:00
Asdow 9919531f56 Fix INT16 buffer overflow when displaying items in items tab
Original implementation initializes a ridiculously wide buffer where item graphics and names are then copied to and is then shown in parts depending on what items should be visible in item tab.  When item counts go over ~32k in x-direction in pixel coordinates, the very low level drawing functions int16 variables overflow and item graphics are then drawn over each other.

It's now changed to blit item graphics and names by on demand depending on the item indices, which does not require a huge buffer and works regardless of the amount of items, since only 11 are visible at any one time and the x-coordinate stays well within INT16 limits
2022-11-07 18:03:45 +02:00
Asdow 49bedd3179 Create .gitignore 2022-11-05 12:34:06 +02:00
AsdowandGitHub 2d20a2baba Merge pull request #14 from 1dot13/Asdow-patch-1
Delete .vs directory
2022-11-04 21:04:39 +02:00
AsdowandGitHub a6ca3abfe2 Delete .vs directory
Delete a file that should not have been committed in the previous pull request
2022-11-04 21:02:52 +02:00
AsdowandGitHub 8e99410f52 Merge pull request #13 from 1dot13/bugfix
r9404: Prevent illegal array access
2022-11-04 20:27:10 +02:00
Asdow 95e9d83165 r9404: Prevent illegal array access
Using kill all enemies cheat via ALT + o caused reading MercPtrs from index 254 when its last element is at 253
2022-11-04 20:26:01 +02:00
AsdowandGitHub 62f3fc8453 Merge pull request #8 from FunkyFr3sh/master
Detect cnc-ddraw and disable windowed mode
2022-10-15 21:04:25 +03:00
Asdow 5197ef21e5 r9402: Fixed nullptr dereference & assertion error
https://github.com/1dot13/source/issues/3#issue-1400794531
https://github.com/1dot13/source/issues/2#issue-1400794162
2022-10-10 07:45:20 +03:00