]> git.tdb.fi Git - poefilter.git/log
poefilter.git
6 years agoAdd equality comparison for conditions
Mikko Rasa [Fri, 17 Aug 2018 17:26:37 +0000 (20:26 +0300)]
Add equality comparison for conditions

6 years agoMake the helper functions in CompoundCondition static
Mikko Rasa [Fri, 17 Aug 2018 17:23:02 +0000 (20:23 +0300)]
Make the helper functions in CompoundCondition static

Merge_two now takes an explicit parent parameter to fix an inconsistency
between the can_merge call from add_merged_to and the actual merge call
in merge_two.

6 years agoTighten some parameters and return values
Mikko Rasa [Fri, 17 Aug 2018 16:56:59 +0000 (19:56 +0300)]
Tighten some parameters and return values

6 years agoRemove duplicates when merging choice conditions
Mikko Rasa [Fri, 17 Aug 2018 15:49:27 +0000 (18:49 +0300)]
Remove duplicates when merging choice conditions

6 years agoAdd .gitignore file
Mikko Rasa [Fri, 17 Aug 2018 15:29:18 +0000 (18:29 +0300)]
Add .gitignore file

6 years agoAdd a script to generate some categories
Mikko Rasa [Fri, 17 Aug 2018 15:24:23 +0000 (18:24 +0300)]
Add a script to generate some categories

Currently only maps.

6 years agoActually recognize the cancel statement
Mikko Rasa [Fri, 17 Aug 2018 15:17:32 +0000 (18:17 +0300)]
Actually recognize the cancel statement

6 years agoMinor tweaks to the item scraping script
Mikko Rasa [Fri, 17 Aug 2018 15:17:16 +0000 (18:17 +0300)]
Minor tweaks to the item scraping script

6 years agoAdd another script to scrape more item data from the wiki
Mikko Rasa [Fri, 17 Aug 2018 15:16:54 +0000 (18:16 +0300)]
Add another script to scrape more item data from the wiki

6 years agoMerge overlapping or adjacent ranges in or conditions
Mikko Rasa [Fri, 17 Aug 2018 15:16:26 +0000 (18:16 +0300)]
Merge overlapping or adjacent ranges in or conditions

6 years agoChange the minimum value of itemlevel and droplevel to 1
Mikko Rasa [Thu, 16 Aug 2018 16:44:34 +0000 (19:44 +0300)]
Change the minimum value of itemlevel and droplevel to 1

6 years agoCreated combined best/second_at_level categories
Mikko Rasa [Thu, 16 Aug 2018 16:44:22 +0000 (19:44 +0300)]
Created combined best/second_at_level categories

6 years agoReplace Staff with Stave
Mikko Rasa [Thu, 16 Aug 2018 16:43:02 +0000 (19:43 +0300)]
Replace Staff with Stave

The item classes in the game are pluralized.  For most classes the
singular form matches as well, but the plural of staff is staves.

6 years agoAllow lower level items to be considered as upgrades
Mikko Rasa [Thu, 16 Aug 2018 14:45:00 +0000 (17:45 +0300)]
Allow lower level items to be considered as upgrades

But only if it doesn't downgrade anything

6 years agoAdd debug output to the item data scraper
Mikko Rasa [Thu, 16 Aug 2018 14:35:17 +0000 (17:35 +0300)]
Add debug output to the item data scraper

6 years agoRemove a block of commented out code
Mikko Rasa [Thu, 16 Aug 2018 14:35:00 +0000 (17:35 +0300)]
Remove a block of commented out code

6 years agoStore item data in a list instead of a dict
Mikko Rasa [Thu, 16 Aug 2018 14:34:33 +0000 (17:34 +0300)]
Store item data in a list instead of a dict

6 years agoConsider mods when detecting item upgrades in the scraper
Mikko Rasa [Thu, 16 Aug 2018 13:50:23 +0000 (16:50 +0300)]
Consider mods when detecting item upgrades in the scraper

6 years agoFix a bug in merging ChoiceConditions
Mikko Rasa [Thu, 16 Aug 2018 07:51:40 +0000 (10:51 +0300)]
Fix a bug in merging ChoiceConditions

6 years agoCheck for and prune non-viable branches in the condition tree
Mikko Rasa [Wed, 15 Aug 2018 22:27:37 +0000 (01:27 +0300)]
Check for and prune non-viable branches in the condition tree

6 years agoFurther merge conditions while flattening
Mikko Rasa [Wed, 15 Aug 2018 22:08:46 +0000 (01:08 +0300)]
Further merge conditions while flattening

6 years agoAllow range conditions to be merged within and conditions
Mikko Rasa [Wed, 15 Aug 2018 21:31:28 +0000 (00:31 +0300)]
Allow range conditions to be merged within and conditions

6 years agoRework condition merging
Mikko Rasa [Wed, 15 Aug 2018 21:03:36 +0000 (00:03 +0300)]
Rework condition merging

The condition tree is now actually flattened and adjacent similar
conditions merged rather than just producing special output.

6 years agoUse covariant return type for Condition::clone
Mikko Rasa [Wed, 15 Aug 2018 20:59:20 +0000 (23:59 +0300)]
Use covariant return type for Condition::clone

6 years agoChange template parameter name to not be the same as the typedef for it
Mikko Rasa [Wed, 15 Aug 2018 20:55:56 +0000 (23:55 +0300)]
Change template parameter name to not be the same as the typedef for it

6 years agoAdd a script to scrape armor and weapon data from the website
Mikko Rasa [Wed, 15 Aug 2018 15:56:16 +0000 (18:56 +0300)]
Add a script to scrape armor and weapon data from the website

6 years agoAllow categories to use other categories as conditions
Mikko Rasa [Wed, 15 Aug 2018 15:55:47 +0000 (18:55 +0300)]
Allow categories to use other categories as conditions

6 years agoAdd statement to import filter definitions from another file
Mikko Rasa [Wed, 15 Aug 2018 15:55:27 +0000 (18:55 +0300)]
Add statement to import filter definitions from another file

6 years agoFavor vector over list for simple types
Mikko Rasa [Wed, 15 Aug 2018 00:11:51 +0000 (03:11 +0300)]
Favor vector over list for simple types

6 years agoUse implicit instead of explicit category ordering
Mikko Rasa [Wed, 15 Aug 2018 00:05:58 +0000 (03:05 +0300)]
Use implicit instead of explicit category ordering

Categories from wildcards now appear in the output filter in the same
order as they were defined in the source.  This feels more intuitive than
manually assigning arbitrary numbers.  I may add new relative ordering
statements in the future if a use case arises.

6 years agoAdd show flag to filter blocks
Mikko Rasa [Tue, 14 Aug 2018 23:53:01 +0000 (02:53 +0300)]
Add show flag to filter blocks

The hide statement no longer erases blocks from the filter but rather
adds blocks with the hide command.  A new cancel statement does what
hide used to do.  The default hide command at the end has been removed
and must be explicitly defined in filters.

6 years agoAdd inheritance for appearances
Mikko Rasa [Tue, 14 Aug 2018 23:47:53 +0000 (02:47 +0300)]
Add inheritance for appearances

6 years agoAdd alpha channel support for colors
Mikko Rasa [Tue, 14 Aug 2018 23:22:59 +0000 (02:22 +0300)]
Add alpha channel support for colors

6 years agoAssociate categories and appearances at filter level
Mikko Rasa [Tue, 14 Aug 2018 23:08:20 +0000 (02:08 +0300)]
Associate categories and appearances at filter level

Categories can still define appearance properties but can no longer refer
to appearances in the theme.

Since categories now know their name, enable printing of category names
in the output.

6 years agoRevamp appearance definitions
Mikko Rasa [Mon, 13 Aug 2018 21:35:25 +0000 (00:35 +0300)]
Revamp appearance definitions

Appearance data is now stored in a separate class and whole appearances
can be defined in the theme.

6 years agoInitial version from when I last played
Mikko Rasa [Mon, 13 Aug 2018 19:32:23 +0000 (22:32 +0300)]
Initial version from when I last played