summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-10-16Added helper function for item parametersscript-item-param-cleanupThorbjørn Lindeijer1-142/+51
2024-10-16Merge branch 'blaming-the-tools'Thorbjørn Lindeijer25-148/+456
Build system overhaul: attoconf from python 2->3, add CMake Merge request !280
2024-10-16CI: Disable 'make test' job for CMake projectThorbjørn Lindeijer1-1/+2
Tests are not supported by the CMake project for now.
2024-10-16Use GIT_SUBMODULE_STRATEGY instead of manual updatingThorbjørn Lindeijer1-3/+1
This way it also applies to all jobs.
2024-10-15CMake: Include hpp and tcc files in sources listThorbjørn Lindeijer1-3/+6
This shouldn't affect the build, but it does make sure that these header files are recognized as part of the project by IDEs. Also removed 'strtest' from the list since there is no such directory.
2024-10-15Allow item ID as parameter to builtin getitemlinkThorbjørn Lindeijer1-2/+7
In addition to item name. Alternative to https://git.themanaworld.org/legacy/serverdata/-/merge_requests/808
2024-09-17This fixes <META http-equiv="Refresh" ... /> placement.Hello TMW1-1/+1
This tag should reside within <head> tag. Placing it before head seems to de-facto work, but technically appears to be bug. Reported-by: lilly ****
2024-08-30sc_phys_shield_itemHoraK-FDF5-7/+12
2024-08-30sc_cooldown_sg, sc_slowmove, sc_cantmoveHoraK-FDF5-4/+26
2024-08-30GM restricted item handlingHoraK-FDF3-4/+8
2024-08-30Max Weight OverrideHoraK-FDF3-1/+14
2024-08-30Max Weight Add BonusHoraK-FDF2-0/+5
2024-08-30Max Weight BonusHoraK-FDF1-0/+4
2024-08-30map hashHoraK-FDF3-0/+53
as it was not possible to store a string variable with the current format of the athena.txt I though a hash could help to identify the maps since this one can be stored as a permanent char bound variable in athena.txt
2024-06-19CMake: Added install rules for configuration and dataThorbjørn Lindeijer1-0/+7
2024-06-19shared: Also print pathFreeyorp1-12/+16
Try to be even more helpful, since configuration can vary.
2024-06-19shared: Explain why startup failed on conf failFreeyorp1-0/+12
This prints out the filename and what it tried to do, rather than raising SIGABRT and silently dumping a core.
2024-06-07README.md: Update to reflect renamesFreeyorp1-1/+1
Note this is not yet updated to reflect the availability of cmake.
2024-06-07README.md: Reword with friendlier languageFreeyorp1-201/+80
2024-06-07Use -ggdb everywhereFreeyorp3-2/+2
-fvar-tracking and -fvar-tracking-assignments are enabled by default when available, so are not explicitly set here.
2024-06-07activity add sd checkingHoraK-FDF1-5/+10
2024-06-06README.md: Reword with friendlier languageFreeyorp1-201/+80
2024-06-06KeepAfterUse + DontUseAmmoHoraK-FDF6-24/+61
**** Approved-by: Free Yorp <thefreeyorp+git@gmail.com> Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl> Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
2024-06-06CI: Split attoconf and cmake artifactsFreeyorp2-9/+18
Artifacts of the same name from different runs can overwrite each other. This makes sure that tests of the cmake pipeline actually test the cmake artifacts, and similarly for attoconf.
2024-06-05real.make: rank-fwd: Allow src/conf specificationFreeyorp1-1/+1
Previously, only ../conf style includes were excluded from expecting a fwd.hpp file to be provided for the directory. Permit src/conf style includes too.
2024-06-05DTEST: Provide LD_LIBRARY_PATHFreeyorp1-1/+1
How did this ever work before? Did it expect there to be a previously installed libtmwa-shared.so and run tests against that, rather than what was just built?
2024-06-05real.make: Permit existant SRC_DIR relative pathsFreeyorp1-2/+6
This allows files that already exist to be specified relative to SRC_DIR, rather than just relative to the current file. This is used in tests, though it appears not to be used in main tmwa.
2024-06-05debug-debug: Update deprecated gdb syntaxFreeyorp1-3/+3
2024-06-05configure: srcdir for GTEST_DIR defaultFreeyorp1-1/+1
The default value for GTEST_DIR should be deps/googletest/googletest under the source directory, not under the build directory. The build directory will often not have anything in it at all in the case of an out-of-tree build. This allows some tests to run for out-of-tree builds.
2024-06-05Create generated files in the build directoryFreeyorp4-15/+12
Also, just require the use of full paths when #including a generated file. This fixes fresh out-of-tree builds using attoconf, and gets rid of a lot of annoying terminal output when attoconf is tracing dependencies.
2024-06-05real.make: Fix out-of-tree buildsFreeyorp1-2/+8
I appreciate and respect how densely packed Makefile code can be. hahahaahahahaaa
2024-06-05python3: Add explicit encoding='utf-8' for python3.6Freeyorp1-1/+1
2024-06-05python3: Add explicit list()s for python3.6Freeyorp4-9/+9
This should be reverted once we drop support for Ubuntu 18.04, and therefore python3.6, as it does clutter up the code a bit. Sourced from specing's work on the porting process. See https://git.themanaworld.org/legacy/tmwa/-/merge_requests/256
2024-06-05python3: Update namesFreeyorp2-59/+54
- unicode -> str - u'' -> '' - cStringIO -> io Sourced from specing's work on the porting process. See https://git.themanaworld.org/legacy/tmwa/-/merge_requests/256
2024-06-05python3: Strip old __future__ referencesFreeyorp6-10/+0
2024-06-05CI: Add cmake buildFreeyorp1-8/+36
2024-06-05CMakeLists.txt: Add install targetFreeyorp1-0/+5
2024-06-05CMakeLists.txt: Remove dead code, add TODOsFreeyorp1-4/+2
2024-06-05CI: Out-of-tree build by defaultFreeyorp1-2/+8
2024-06-05Update attoconfFreeyorp1-0/+0
- Correctly handle files in subdirectories in out-of-tree builds - Handle UTF-8 properly - Close file resources properly
2024-06-05Fix CIFreeyorp1-6/+4
2024-06-05real.make: Allow generated files not in conf-rawFreeyorp1-1/+4
2024-06-05real.make: Split dependency sanitization stepFreeyorp1-4/+12
If we want to be able to filter specific other entries, such as for the sake of more generated files, we'll want to be doing this over a list that has already been made relative and simplified.
2024-06-05real.make: Document dependency sanitization stepFreeyorp1-1/+32
A little indentation and formatting, and quite a lot of commenting, goes a long way. This doesn't change any code, it only reformats it.
2024-06-05Fix up .d generation for generated filesFreeyorp1-0/+8
2024-06-05.gitignore: Add newly generated filesFreeyorp1-0/+2
2024-06-05version.mk: Always generate version.hppFreeyorp2-2/+8
2024-06-05version.mk: make version target PHONYFreeyorp1-0/+1
2024-06-05Generate {install,version}.hpp through attoconfFreeyorp5-5/+31
Or more specifically, in the attoconf buildchain. attoconf itself directly generates src/conf/install.hpp alongside Makefile, but version inforation is only available later. To generate version.hpp, I extended version.mk slightly to provide the recipe. It's not anywhere near as generic as real.make tends to be, but with any luck we'll soon be doing all builds through cmake going forward. The template for install.hpp has been changed to use variables actually provided by attoconf. PACKAGE{SYSCONF,LOCALSTATE}DIR are actually only defined in real.make, and then only in terms of SYSCONFDIR and LOCALSTATEDIR, adding `/tmwa`. It's simpler to just use the attoconf variable and adjust the template, which conveniently also simplifies the construction in CMakeLists.txt, too.
2024-06-05VENDOR_SOURCE: github.com -> git.themanaworld.orgFreeyorp2-2/+2