Commit Graph
3900 Commits
Author SHA1 Message Date
majcostaandGitHub 24425a82b1 More unused stuff removal (#49)
* More unused stuff removal

delete:
- giant 'metaheaders' (JA2 All.h, Laptop All.h, etc), preferring to add #includes directly where needed
- unused ExceptionHandling and DbMan translation units
- unused WizShare.h, Bitmap.h, trle.h, video_private.h headers

* remove mentions from vc proj files too

* remove preprocessor conditionals for unused definitions

find . -iname '*.h' -o -iname '*.cpp' -exec unifdef.exe -m -UPRECOMPILED_HEADERS -UJA2_PRECOMPILED_HEADERS -UWIZ8_PRECOMPILED_HEADERS -UPRECOMPILEDHEADERS {} ';'

then manually fixed a couple files the tool errored out on

* yes, the comments too

as title
2023-01-03 15:51:48 +02:00
majcostaandGitHub 6024ed62b0 convert UTF-16LE files to UTF-8 (#55)
these three files were in UTF-16LE encoding for some reason, which led
to git treating them as binary files, which means they weren't being git
grep'd

I just converted them using iconv -f utf-16le -t utf8 [origFile] -o
[destFile]

use git show --text to view
2023-01-01 09:26:45 +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
majcostaandGitHub 03e5fbbffd remove Mutex Manager and associated dead code (#44)
this does nothing
2022-12-19 17:43:03 -08:00
12c778118e Remove write-only variable (#42)
git-svn-id: svn://tron.homeunix.org/ja2/trunk@30 5e31c081-6ce3-0310-bb30-f584a8092234

-

https://github.com/ja2-stracciatella/ja2-stracciatella/commit/d1d7fe722a68b07bc8bdc3c90ba9149746eec24e

Co-authored-by: tron <tron@5e31c081-6ce3-0310-bb30-f584a8092234>
2022-12-11 01:27:47 -08:00
rftrdevandGitHub d562424c4b LOBOT: enemies wear backpacks properly
If an enemy soldier gets a backpack when randomly generated, put it into the backpack inventory slot instead of a generic inventory slot.
2022-12-10 02:45:12 -08:00
rftrdevandGitHub 1bcdf6e198 Update build action (#40)
Remove version info from exes, add txt file with source and gamedir version info
2022-12-06 01:18:12 -08:00
AsdowandGitHub 8f22d13fd9 Cache result of evaluating strategicmap.lua (#32) 2022-11-23 21:59:27 +02:00
rftrdevandGitHub 1440f80c02 Update build information (#31)
* Update date format and add date to filename output

Date is now displayed numerically as YYYYMMDD

* Remove build date and SVN version
2022-11-22 23:51:40 -08:00
rftrdevandGitHub 7a0a56762b Revert of 7baeb20 (#30) 2022-11-21 18:24:43 -08:00
rftrdevandGitHub 7fb55752fa Fix IMPs having 0 need to sleep (#26) 2022-11-16 23:28:24 -08: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
greymeisterandGitHub 85f24810a8 Fix MapEditor target by adding legacy_stdio_definitions.lib to the additional libraries as per https://stackoverflow.com/a/34230122 (#21) 2022-11-09 18:10:13 -08:00
rftrdevandGitHub 98f481072a Rename map editor output (#22)
Add "ja2_" prefix
2022-11-09 18:06:21 -08:00
rftrdevandGitHub 5a7026c2d3 SCI builder (#20) 2022-11-09 10:12:12 -08:00
rftrdevandGitHub 8399aff39f Merge pull request #19 from zwwooooo/master
Chinese translation update(by TBS)
2022-11-09 00:01:10 -08:00
zwwooooo 40bc6d2d62 Chinese translation update(by TBS) 2022-11-09 15:35:19 +08: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
rftrdevandGitHub 78f2841058 Merge pull request #17 from rftrdev/arc-missions
Expanded the ARC feature with missions: https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24884
2022-11-07 00:37:16 -08:00
rftrdevandGitHub 164b388313 Merge branch '1dot13:master' into arc-missions 2022-11-05 12:56:22 -07:00
rftrdevandGitHub ffcda076b2 Merge pull request #16 from 1dot13/gitignore
Create .gitignore
2022-11-05 12:55:50 -07:00
Asdow 49bedd3179 Create .gitignore 2022-11-05 12:34:06 +02:00
rftrdev f6241feb34 Properly reduce ASD resources 2022-11-04 23:15:30 -07:00
rftrdev b401e3944e Update gameversion 2022-11-04 23:00:00 -07:00
rftrdev 76a5fa1731 Remove #pragma optimize 2022-11-04 22:55:38 -07:00
rftrdev 5dd002db29 Update text 2022-11-04 22:53:21 -07:00
rftrdev edad33eb9f Properly undo unrelated Chinese text changes 2022-11-04 22:45:54 -07:00
rftrdev 7c6f7d6d09 Revert "Undo unrelated Chinese text changes"
This reverts commit 75332ea219.
2022-11-04 22:42:09 -07:00
rftrdev f140e17b65 Merge branch 'arc-missions' of https://github.com/rftrdev/1dot13-source into arc-missions 2022-11-04 22:39:43 -07:00
rftrdev 75332ea219 Undo unrelated Chinese text changes 2022-11-04 22:39:33 -07:00
rftrdev 6f6d457188 Undo unrelated Chinese text changes 2022-11-04 22:37:28 -07:00
rftrdev a554f0de17 Remove #pragma optimize 2022-11-04 22:32:23 -07:00
rftrdevandGitHub 0aa1561ef8 Merge branch '1dot13:master' into arc-missions 2022-11-04 21:55:33 -07: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
rftrdev 568ee070a8 Disrupt ASD now blocks upgrades 2022-11-03 00:08:03 -07:00
rftrdev 32d565eb99 Change new mission screenmsg to green 2022-11-01 01:08:17 -07:00
rftrdev 70c7c0bf96 Fix bad screen message
Stop time compression when notifying player about missions
2022-10-31 17:40:27 -07:00
rftrdev 94b846e021 Simplify merc returning from mission prep 2022-10-29 01:27:53 -07:00
rftrdev c56946f9ba Remove todo 2022-10-29 00:10:56 -07:00
rftrdev 22404480ff Fix mission randomisation 2022-10-29 00:10:13 -07:00
rftrdev 62861ab38e Add notification when new missions are available 2022-10-28 00:56:35 -07:00