Commit graph

33 commits

Author SHA1 Message Date
turleypol
7e07fbe33a
moved polcfg to plib (#732)
removed unused remainings of incremential save
2024-11-03 14:37:38 +01:00
turleypol
9d2bf0ec60
replaced all uppercase hex formatting with lowercase variant (#645) 2024-05-05 09:13:12 +02:00
turleypol
d848deae18
POLLOG* macros use the new formatting (#598)
* POLLOG* macros use the new formatting
removed all old logging functions

* removed old fmt lib from everything except StreamWriter
removed unneeded functions

* fixed review comments
2024-01-16 17:55:42 +01:00
turleypol
0e675c516a
use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595)
* use new formatter for ERROR_PRINT, added ERROR_PRINTLN

* remove old log define

* fix comments
2024-01-12 06:51:44 +01:00
turleypol
43b776b94d
New format lib version (#592)
* renamed include guard to be able to use both format lib versions in
parallel

* build Fmt lib and link it into clib

* use std::string instead of format Writer for logging
added variant "2" for logging with new fmt lib

* use new logging variant for two logs

* always add \n to flush log, lets see if the assumption holds

* use new lib for tostring

* replaced all INFO_PRINTS in clib

* formatter for Token, BObject and BObjectImp

* started with bsccript

* use function instead of actual object for logging

* remaining bscript, started plib

* logvariant without newline added, more template magic

* format support for base types, added test for format padding
new version for fdump

* chanhed ecompile/runecl fixed compilation with ESCRIPT_PROFILE

* rewrite INFO_PRINT in plib,poltool/uoconvert/uotool

* replaced remaining INFO_PRINTS, renamed macros INFO_PRINT for logging
without newline, INFO_PRINTLN for newline addition.
Replaced also INFO_PRINT_TRACE and renamed it to INFO_PRINTLN_TRACE

* gitignore for fmt lib

* cleanup vim leftovers
2024-01-10 18:29:10 +01:00
Fernando Rozenblit
4ac5eac48f
Uoconvert improvements 3 (#561)
---------

Co-authored-by: Kevin Eady <8634912+KevinEady@users.noreply.github.com>
2023-11-23 01:15:52 +01:00
Admin-Yukiko
fcadf1428f
Added to uoconvert: Surface the partial hue flag in tiles.cfg for art that has the flag et in tiledata, eg. PartialHue 1. (#473)
Co-authored-by: Admin-Yukiko <hopelivesproject@gmail.com>
2022-08-26 08:18:42 +02:00
turleypol
fe301c82ea
Misc test preparation improvements and fixes (#196)
* uodir parameter for uoconvert tiles/landtiles/multis
limit decay sleeptime to 500ms
exit_code cannot be "fixed" with a later call
2020-08-09 15:10:52 +02:00
Kevin Eady
162f9b1dce fix loop, namespace, trimming 2020-01-12 19:56:27 +01:00
Kevin Eady
74666b02a6 Read pol.cfg UoDataFileRoot from Windows Registry 2020-01-12 19:42:16 +01:00
Admin\Me
65b0f29a90 Added: uoconvert.exe will now surface the AnimID for equippables to tiles.cfg. This can be used to look-up the gump pic for wearables that are displayed on the paper doll. Add this number to 50000 for male gumpart or 60000 for female gump art. The resulting number will be the gump art that is displayed in the paper doll. 2019-02-02 02:57:43 -06:00
Fernando Rozenblit
50341fa6f2 It's starting to look more civilized :P 2019-01-23 01:04:38 +01:00
Fernando Rozenblit
8479fadc0f More uoconvert cleanup 2019-01-23 00:06:05 +01:00
Fernando Rozenblit
563c53f534 Removing dead code 2019-01-22 23:51:51 +01:00
Fernando Rozenblit
474b08141d Starting cleanup of uoconvert's code 2019-01-22 23:51:19 +01:00
turleypol
25dae4fc21 fixed namespaces of moved files 2018-12-22 00:32:47 +01:00
turleypol
e1b14dcd00 moved polfile/uofile files into plib to cleanup atleast a bit the
compile dependencies
2018-12-21 20:27:05 +01:00
turleypol
0d4cca785d cleanup of compilerspecifics, ancient compilers arent supported.
ran tidy to use bools instead of ints
2018-11-03 13:14:53 +01:00
turleypol
a5e6206164 Added cmake option to run clang-tidy
used everywhere nullptr
2018-10-09 16:36:35 +02:00
turleypol
f28e4d65ef Fixed compiler warnings 2018-03-18 16:57:00 +01:00
Fernando Rozenblit
a6dcfd4e92 Secret conversion function was failing to compile on linux... 2018-02-26 23:34:33 +01:00
Fernando Rozenblit
4fd9572b75 Finished docs for UOP support in uoconvert. UOP files will be used by default. 2018-02-26 23:04:48 +01:00
Fernando Rozenblit
5116f85acc UOP is mostly done. Needs some documentation and changelogs, but would be enough for testing now. 2018-02-20 00:59:33 +01:00
Fernando Rozenblit
0cb233172b Moved uop handling to plib and started refactoring old map-handling code 2018-02-19 21:31:52 +01:00
Fernando Rozenblit
8de691745c Added a simple command ("uoptomul") to test out the uop parsing. It takes "mapid" as a parameter and converts the "map[mapid]LegacyMUL.uop" to "map[mapid].mul". I'll probably move it into uotool later ;) 2018-02-19 18:35:20 +01:00
turleypol
dbb25bdb62
Include and buildsystem cleanup (#45)
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
frozenblit
b52cc332b8 Uoconvert was ignoring the pol.cfg values for MaxTileID
This code really needs some refactoring...!! The change works because a
default value is set for max_tile_id when starting uoconvert.
2016-10-14 11:17:45 +02:00
turley
189cad3479 Formating everything
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00
turley
0293599380 Corrected some virtual overrides, re-activated corresponding warning.
Plus some other warning corrections
2015-12-26 17:39:58 +01:00
turley
44d1a2d37d Corrected uoconvert parameter parse 2015-12-25 14:13:37 +01:00
frozenblit
b3b9bb1fb6 Removing dependence on useless includes.
Preparing to reorganize the uofile code by removing useless includes
from the rest ;)
2015-12-04 00:50:14 +01:00
Thomas Volkert
7c2016ff25 Fixed uoconvert 2015-11-14 11:39:26 +01:00
Thomas Volkert
4ddca6cda3 Added uoconvert to the build process 2015-11-14 00:25:39 +01:00