kitty624
b682856044
Update SectorNames.xml
...
D2 Changed water type to 1 (drinkable) since there are watertabs in buildings, a reasonable watersource
2024-01-03 03:52:10 +01:00
Kitty and GitHub
6840394610
Merge branch '1dot13:master' into Backgrounds
2024-01-03 03:01:34 +01:00
Asdow and GitHub
57bf3d9fa7
Call RemovePlayerFromGroup instead of RemoveGroup ( #260 )
...
There was a bug in a provided save where a merc's group had persistent flag set, even though the assignment was DRILL_MILITIA, which should never have a persistent group. When the code was calling RemoveGroup instead of RemovePlayerFromGroup at this point, it would crash the game with an assertion error in CancelEmptyPersistentGroupMovement() as the group in fact was not empty! Now we're removing the merc first and then checking if the group is empty and if so, attempt to delete it.
2024-01-03 00:39:44 +02:00
olafwqq and GitHub
fd4b531d53
Fix GetAllForticationGridNo ( #259 )
...
It was still returning gridnos as 16-bit integers.
2024-01-02 11:53:29 +02:00
olafwqq and GitHub
4d09bea13e
Address two compiler warnings ( #258 )
2024-01-01 22:43:31 +02:00
Asdow and GitHub
62dd0914fc
Allocate one INT8 for ZStripInfo pbZChange ( #256 )
...
Fixes assertion errors in DEBUG build when LOBOT is enabled.
2023-12-24 17:29:01 +02:00
Asdow and GitHub
3d5294003a
Copy drag info to dummy soldier ( #255 )
...
Fixes merc location shifted by one tile during loading a save when A* pathfinding is enabled
2023-12-24 13:48:21 +02:00
Kitty and GitHub
668a4e96ad
Merge branch '1dot13:master' into Backgrounds
2023-11-08 01:27:57 +01:00
Kitty and GitHub
36fcfd9151
Merge pull request #12 from zwwooooo/master
...
Chinese translation update(by Forum of Playbar)
2023-11-07 23:02:15 +01:00
zwwooooo
5a833b7e92
Chinese translation update(by Forum of Playbar)
2023-11-07 20:48:20 +08:00
Marco Antonio Jaguaribe Costa and majcosta
f11393728c
Unbreak Github Actions
...
our CI expects GameVersion.cpp to be at the root directory. just unbreak
for now.
2023-10-23 19:28:23 -03:00
majcosta and GitHub
ae55496e39
Move main executable source to its own directory ( #248 )
...
* Move main executable files to their own directory
* Adapt the build to the new file structure
... and fix some weird #include's that were relying on the project root
being an include directory.
2023-10-23 15:46:51 -03:00
Marco Antonio Jaguaribe Costa and majcosta
5d3118ea75
pluck multiplayer into its own lib
2023-10-23 10:36:35 -03:00
majcosta and GitHub
381ab936eb
Rename 'Standard Gaming Platform' to 'sgp' ( #246 )
...
* rename 'Standard Gaming Platform' to 'sgp'
* Adapt CMakeLists.txt files to renamed SGP directory
* Lowercase it
2023-10-23 10:18:20 -03:00
Asdow and GitHub
f88b07b99b
Fix loading item temp files ( #245 )
...
Call PruneWorldItems() before sectorinfo gets written to the save file.
Resetting the SF_ITEM_TEMP_FILE_EXISTS would not transfer correctly into the save file.
2023-10-22 14:52:21 +03:00
Asdow
3f7b35c1a1
Delete JA2Prototypes.h
2023-10-21 15:38:31 +03:00
Asdow
153eb5fb10
Delete JA2 Demo Ads.h
2023-10-21 15:38:31 +03:00
Asdow
f5f3bb94de
Remove Install & RegInst .cpp and .h
...
Unused
2023-10-21 15:38:31 +03:00
Asdow
58a682db89
Remove flic.cpp & h
...
Not used anywhere and even inside the .cpp functions such as FlicPlay() had everything commented out and replaced with "return 1"
2023-10-21 15:38:31 +03:00
Asdow
2849590ef2
Remove readdir.cpp & h
...
Unused
2023-10-21 15:38:31 +03:00
Asdow
5b635784cd
Remove FileCat.cpp & .h
...
Not used anywhere in the code.
Moved ChompSlash from FileCat.cpp to image.cpp, as the only two references besides ones in filecat.cpp for the function were in there. The references are inside an #ifdef 0 block so they are not compiled currently, but this should prevent them from not working IF we ever enable them
2023-10-21 15:38:31 +03:00
Asdow
d43a597423
Remove commented out ifdefs
2023-10-21 15:38:31 +03:00
Asdow
5a7ef1930f
Remove unused defines
2023-10-21 15:38:31 +03:00
Asdow
1483f15832
Remove unused globals
2023-10-21 15:38:31 +03:00
Asdow
db0787b5a3
Remove unused functions
...
GetFreeSpaceOnHardDriveWhereGameIsRunningFrom()
GetFreeSpaceOnHardDrive()
FileReadLine() <- non VFS version
DoesUserHaveEnoughHardDriveSpace()
2023-10-21 15:38:31 +03:00
Asdow
b7f974f41b
Remove unused AddSubdirectoryToPath() & FileIsOlderThanFile()
2023-10-21 15:38:31 +03:00
Asdow
c07f3f460b
Remove unused autosave and filetime functions
2023-10-21 15:38:31 +03:00
Asdow
eff1ccfe63
Remove unused functions
...
FileDebug()
DirectoryExists()
FileCopy()
FileMove()
2023-10-21 15:38:31 +03:00
Asdow
62b8d272e6
Remove GetHandleToRealFile()
2023-10-21 15:38:31 +03:00
Asdow
6c0b62cb42
Remove W32toSGPFileFind()
2023-10-21 15:38:31 +03:00
Asdow
02f733ce2f
Remove CreateFileHandle() & DestroyFileHandle()
2023-10-21 15:38:31 +03:00
Asdow and GitHub
8f454e2aab
Container.cpp & .h delete ( #242 )
...
* Remove GetFilesInDirectory()
* Remove BuildFileDirectory
* Remove container.cpp & .h
Not used in the code
2023-10-20 21:30:39 +03:00
Asdow and GitHub
a47ed9ed55
Correct for loop end condition ( #241 )
2023-10-19 19:08:39 +03:00
Kitty and GitHub
8080b06be4
Merge pull request #239 from zwwooooo/master
...
Fixed "14POINTARIAL" font height for Chinese Version.
2023-10-15 18:21:59 +02:00
zwwooooo
e6f1f40aea
Fixed "14POINTARIAL" font height for Chinese Version.
2023-10-15 22:05:59 +08:00
Asdow and GitHub
5ec08231a3
Match new with delete ( #238 )
...
Only applicable if we actually fail to create a vsurface
2023-10-10 23:37:11 +03:00
Asdow and GitHub
7483829c65
Merge pull request #236 from 1dot13/container
...
Remove use of Container.cpp in vsurface, dialogue and event systems
2023-10-10 23:02:49 +03:00
Asdow
d6a3a27b58
Address review feedback
...
* Dialogue control.cpp
* vsurface.cpp
* Event pump.cpp
2023-10-10 19:53:19 +03:00
Asdow
f00214d00d
Use std::queue and std::vector in event system
...
instead of old custom code from container.cpp
* Removed initialize and shutdown event manager calls from Init.cpp as they were only used to create and destroy the old HLIST globals
* Moved code from Event Manager.cpp to Event Pump.cpp as the event queue system is only used in said file.
* Removed now useless event manager.cpp and .h files
2023-10-09 23:07:54 +03:00
Asdow
029af63eb8
Remove unused global
2023-10-09 23:01:49 +03:00
Asdow
d3b4874af0
Remove unused global
2023-10-09 23:01:49 +03:00
Asdow
8525d3f869
Use std::vector for HVSURFACE->RegionList
...
Replaces the use of old custom list implementation in container.cpp
2023-10-09 23:01:33 +03:00
Asdow and GitHub
48722f26d6
Merge pull request #237 from 1dot13/remove-novfs-ifdefs
...
Remove ifdefs related to USE_VFS
2023-10-08 18:53:35 +03:00
Asdow
5a922e3a42
Remove useless function
2023-10-08 16:48:18 +03:00
Asdow
f11534e792
Remove orphan function declaration
2023-10-08 16:47:38 +03:00
Asdow
f5e0d0bbd8
Remove useless function
2023-10-08 16:47:13 +03:00
Asdow
74a25a2069
Remove empty function
2023-10-08 16:46:36 +03:00
Asdow
0b5f14a3ad
Remove empty function
2023-10-08 16:46:01 +03:00
Asdow
4b1de56b01
Remove #ifdefs for USE_VFS
2023-10-08 16:45:06 +03:00
Asdow
56a55f1bc4
Use std::queue instead of old custom queue
...
implemented in container.cpp
2023-10-07 18:53:39 +03:00