diff --git a/dwarfexplorer/MainWindow.cpp b/dwarfexplorer/MainWindow.cpp index c07e1c2..8f96696 100644 --- a/dwarfexplorer/MainWindow.cpp +++ b/dwarfexplorer/MainWindow.cpp @@ -1,7 +1,8 @@ /* - * Copyright 2019 Clement Vuchener + * Copyright 2019 Rafael Agundo * - * This file is part of qtlabors plugin for DFHack + * This file is part of dearfexplorer plugin for DFHack + * The code is based on Clement Vuchener qtlabors plugin for DFHack * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -19,6 +20,7 @@ */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_model.cpp b/dwarfexplorer/QtModel/df_model.cpp index 1a51a4b..9bb3104 100644 --- a/dwarfexplorer/QtModel/df_model.cpp +++ b/dwarfexplorer/QtModel/df_model.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_model_array.cpp b/dwarfexplorer/QtModel/df_model_array.cpp index 36a0816..a16d619 100644 --- a/dwarfexplorer/QtModel/df_model_array.cpp +++ b/dwarfexplorer/QtModel/df_model_array.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_model_data_from_structure.cpp b/dwarfexplorer/QtModel/df_model_data_from_structure.cpp index 6282047..18e4544 100644 --- a/dwarfexplorer/QtModel/df_model_data_from_structure.cpp +++ b/dwarfexplorer/QtModel/df_model_data_from_structure.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "../df_model.h" #include "node.h" #include diff --git a/dwarfexplorer/QtModel/df_model_data_from_type.cpp b/dwarfexplorer/QtModel/df_model_data_from_type.cpp index b39a812..bc40a6a 100644 --- a/dwarfexplorer/QtModel/df_model_data_from_type.cpp +++ b/dwarfexplorer/QtModel/df_model_data_from_type.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "../df_model.h" #include diff --git a/dwarfexplorer/QtModel/df_model_data_from_value.cpp b/dwarfexplorer/QtModel/df_model_data_from_value.cpp index 82ccf74..adbc6b8 100644 --- a/dwarfexplorer/QtModel/df_model_data_from_value.cpp +++ b/dwarfexplorer/QtModel/df_model_data_from_value.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_model_df_array.cpp b/dwarfexplorer/QtModel/df_model_df_array.cpp index 9c5bb0a..4231388 100644 --- a/dwarfexplorer/QtModel/df_model_df_array.cpp +++ b/dwarfexplorer/QtModel/df_model_df_array.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include "../df_model.h" diff --git a/dwarfexplorer/QtModel/df_model_pointer.cpp b/dwarfexplorer/QtModel/df_model_pointer.cpp index 928e150..c7b7418 100644 --- a/dwarfexplorer/QtModel/df_model_pointer.cpp +++ b/dwarfexplorer/QtModel/df_model_pointer.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_model_util.cpp b/dwarfexplorer/QtModel/df_model_util.cpp index aaf9e79..b0c59b3 100644 --- a/dwarfexplorer/QtModel/df_model_util.cpp +++ b/dwarfexplorer/QtModel/df_model_util.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "../df_model.h" #include "node.h" diff --git a/dwarfexplorer/QtModel/df_model_vector.cpp b/dwarfexplorer/QtModel/df_model_vector.cpp index 5fd6afe..d39d18c 100644 --- a/dwarfexplorer/QtModel/df_model_vector.cpp +++ b/dwarfexplorer/QtModel/df_model_vector.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include diff --git a/dwarfexplorer/QtModel/df_proxy_model.cpp b/dwarfexplorer/QtModel/df_proxy_model.cpp index 8b9b4c6..948d10c 100644 --- a/dwarfexplorer/QtModel/df_proxy_model.cpp +++ b/dwarfexplorer/QtModel/df_proxy_model.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "df_proxy_model.h" diff --git a/dwarfexplorer/QtModel/df_proxy_model.h b/dwarfexplorer/QtModel/df_proxy_model.h index a04d942..a8feab8 100644 --- a/dwarfexplorer/QtModel/df_proxy_model.h +++ b/dwarfexplorer/QtModel/df_proxy_model.h @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #ifndef DF_PROXY_MODEL_H #define DF_PROXY_MODEL_H #include diff --git a/dwarfexplorer/df_model.h b/dwarfexplorer/df_model.h index 10575c9..9285bc1 100644 --- a/dwarfexplorer/df_model.h +++ b/dwarfexplorer/df_model.h @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #ifndef DF_MODEL_H #define DF_MODEL_H #include diff --git a/dwarfexplorer/dfstructure_window.cpp b/dwarfexplorer/dfstructure_window.cpp index 775f756..91b6027 100644 --- a/dwarfexplorer/dfstructure_window.cpp +++ b/dwarfexplorer/dfstructure_window.cpp @@ -1,4 +1,24 @@ -#include "dfstructure_window.h" +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + +#include "dfstructure_window.h" #include "ui_dfstructure_window.h" #include "df_model.h" #include "node.h" diff --git a/dwarfexplorer/dfstructure_window.h b/dwarfexplorer/dfstructure_window.h index 52dc12c..868593a 100644 --- a/dwarfexplorer/dfstructure_window.h +++ b/dwarfexplorer/dfstructure_window.h @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #ifndef DFSTRUCTURE_WINDOW_H #define DFSTRUCTURE_WINDOW_H diff --git a/dwarfexplorer/generated/bitfield_values.cpp b/dwarfexplorer/generated/bitfield_values.cpp index ed6cab1..06797e5 100644 --- a/dwarfexplorer/generated/bitfield_values.cpp +++ b/dwarfexplorer/generated/bitfield_values.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -16,39 +36,39 @@ using namespace rdf; -std::array, 32> null_bitfield = { - {{"0", "@#", ""}, - {"1", "", ""}, - {"2", "", ""}, - {"3", "", ""}, - {"4", "", ""}, - {"5", "", ""}, - {"6", "", ""}, - {"7", "7", ""}, - {"8", "8", ""}, - {"9", "9", ""}, - {"10", "10", ""}, - {"11", "11", ""}, - {"12", "12", ""}, - {"13", "13", ""}, - {"14", "14", ""}, - {"15", "15", ""}, - {"16", "16", ""}, - {"17", "17", ""}, - {"18", "18", ""}, - {"19", "19", ""}, - {"20", "20", ""}, - {"21", "21", ""}, - {"22", "22", ""}, - {"23", "23", ""}, - {"24", "24", ""}, - {"25", "25", ""}, - {"26", "26", ""}, - {"27", "27", ""}, - {"28", "28", ""}, - {"29", "29", ""}, - {"30", "30", ""}, - {"31", "", ""}} +std::array, 32> null_bitfield = { + {{"0", "@#", ""}, + {"1", "", ""}, + {"2", "", ""}, + {"3", "", ""}, + {"4", "", ""}, + {"5", "", ""}, + {"6", "", ""}, + {"7", "7", ""}, + {"8", "8", ""}, + {"9", "9", ""}, + {"10", "10", ""}, + {"11", "11", ""}, + {"12", "12", ""}, + {"13", "13", ""}, + {"14", "14", ""}, + {"15", "15", ""}, + {"16", "16", ""}, + {"17", "17", ""}, + {"18", "18", ""}, + {"19", "19", ""}, + {"20", "20", ""}, + {"21", "21", ""}, + {"22", "22", ""}, + {"23", "23", ""}, + {"24", "24", ""}, + {"25", "25", ""}, + {"26", "26", ""}, + {"27", "27", ""}, + {"28", "28", ""}, + {"29", "29", ""}, + {"30", "30", ""}, + {"31", "", ""}} }; std::array, 32> announcement_flags_values = {{ @@ -6035,4 +6055,4 @@ std::array, 32>& get_bitfield_bits(DF_Type p_df_type) } return null_bitfield; } - + diff --git a/dwarfexplorer/generated/df_2_rdf.cpp b/dwarfexplorer/generated/df_2_rdf.cpp index d107b63..11eee2b 100644 --- a/dwarfexplorer/generated/df_2_rdf.cpp +++ b/dwarfexplorer/generated/df_2_rdf.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -2247,4 +2267,4 @@ RDF_Type df_2_rdf(DF_Type p_df_type) } return RDF_Type::None; } - + diff --git a/dwarfexplorer/generated/df_types_size.cpp b/dwarfexplorer/generated/df_types_size.cpp index 4005b42..4204d39 100644 --- a/dwarfexplorer/generated/df_types_size.cpp +++ b/dwarfexplorer/generated/df_types_size.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -2268,33 +2288,33 @@ std::size_t size_of_DF_Type(DF_Type p_type) auto result = DF_types_size_table[p_type]; return result; } - -// Function to return the string value of this enum class -std::string DF_Type_to_string(DF_Type p_type) -{ - switch (p_type) - { - case DF_Type::None: return "None"; - case DF_Type::int64_t: return "int64_t"; - case DF_Type::uint64_t: return "uint64_t"; - case DF_Type::int32_t: return "int32_t"; - case DF_Type::int16_t: return "int16_t"; - case DF_Type::uint32_t: return "uint32_t"; - case DF_Type::uint16_t: return "uint16_t"; - case DF_Type::uint8_t: return "uint8_t"; - case DF_Type::int8_t: return "int8_t"; - case DF_Type::Void: return "Void"; - case DF_Type::Char: return "Char"; - case DF_Type::Long: return "Long"; - case DF_Type::Bool: return "Bool"; - case DF_Type::Stl_string: return "Stl_string"; - case DF_Type::Static_string: return "Static_string"; - case DF_Type::Ptr_string: return "Ptr_string"; - case DF_Type::S_float: return "S_float"; - case DF_Type::D_float: return "D_float"; - case DF_Type::S_double: return "S_double"; - case DF_Type::Padding: return "Padding"; - case DF_Type::Stl_fstream: return "Fstream"; + +// Function to return the string value of this enum class +std::string DF_Type_to_string(DF_Type p_type) +{ + switch (p_type) + { + case DF_Type::None: return "None"; + case DF_Type::int64_t: return "int64_t"; + case DF_Type::uint64_t: return "uint64_t"; + case DF_Type::int32_t: return "int32_t"; + case DF_Type::int16_t: return "int16_t"; + case DF_Type::uint32_t: return "uint32_t"; + case DF_Type::uint16_t: return "uint16_t"; + case DF_Type::uint8_t: return "uint8_t"; + case DF_Type::int8_t: return "int8_t"; + case DF_Type::Void: return "Void"; + case DF_Type::Char: return "Char"; + case DF_Type::Long: return "Long"; + case DF_Type::Bool: return "Bool"; + case DF_Type::Stl_string: return "Stl_string"; + case DF_Type::Static_string: return "Static_string"; + case DF_Type::Ptr_string: return "Ptr_string"; + case DF_Type::S_float: return "S_float"; + case DF_Type::D_float: return "D_float"; + case DF_Type::S_double: return "S_double"; + case DF_Type::Padding: return "Padding"; + case DF_Type::Stl_fstream: return "Fstream"; case DF_Type::abstract_building: return "abstract_building"; case DF_Type::abstract_building__T_inhabitants: return "abstract_building__T_inhabitants"; case DF_Type::abstract_building__T_unk1: return "abstract_building__T_unk1"; @@ -4542,4 +4562,4 @@ std::string DF_Type_to_string(DF_Type p_type) return ""; } } - + diff --git a/dwarfexplorer/generated/enum_sizes.cpp b/dwarfexplorer/generated/enum_sizes.cpp index 606344f..e94316c 100644 --- a/dwarfexplorer/generated/enum_sizes.cpp +++ b/dwarfexplorer/generated/enum_sizes.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -701,4 +721,4 @@ std::pair enum_min_max(DF_Type p_enum) } return std::pair(-9999,+9999); } - + diff --git a/dwarfexplorer/generated/enum_values.cpp b/dwarfexplorer/generated/enum_values.cpp index a8db121..ee70908 100644 --- a/dwarfexplorer/generated/enum_values.cpp +++ b/dwarfexplorer/generated/enum_values.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -13290,4 +13310,4 @@ std::tuple get_enum_decoded(const NodeEnum* p } return std::tuple(-1111,"UNKNOWN DF_TYPE", ""); } - + diff --git a/dwarfexplorer/generated/fill_globals.cpp b/dwarfexplorer/generated/fill_globals.cpp index 7aad069..1087491 100644 --- a/dwarfexplorer/generated/fill_globals.cpp +++ b/dwarfexplorer/generated/fill_globals.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -1528,4 +1548,4 @@ void fill_globals(Node* p_node_parent) p_node_parent->m_children.push_back(n_written_content_next_id); } - + diff --git a/dwarfexplorer/generated/fill_nodes.cpp b/dwarfexplorer/generated/fill_nodes.cpp index 90dc8f6..622921c 100644 --- a/dwarfexplorer/generated/fill_nodes.cpp +++ b/dwarfexplorer/generated/fill_nodes.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -161199,4 +161219,4 @@ void fill_node(uint64_t p_address, Node* p_node_parent) default: break; } } - + diff --git a/dwarfexplorer/generated/fill_offsets.cpp b/dwarfexplorer/generated/fill_offsets.cpp index d5ed5d5..a5db5d5 100644 --- a/dwarfexplorer/generated/fill_offsets.cpp +++ b/dwarfexplorer/generated/fill_offsets.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -21704,4 +21724,4 @@ void generate_T_selection_rect_offsets(void* p_df_structure, std::unordered_map< } } - + diff --git a/dwarfexplorer/generated/offsets_cache.cpp b/dwarfexplorer/generated/offsets_cache.cpp index 480ebfe..b545050 100644 --- a/dwarfexplorer/generated/offsets_cache.cpp +++ b/dwarfexplorer/generated/offsets_cache.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include #include @@ -3803,4 +3823,4 @@ std::size_t OffsetsCache::get_offset(DF_Type p_type, const std::string& p_field) return 0; } } - + diff --git a/dwarfexplorer/generated/polymorphic_factory.cpp b/dwarfexplorer/generated/polymorphic_factory.cpp index 90f468a..d6c8a5f 100644 --- a/dwarfexplorer/generated/polymorphic_factory.cpp +++ b/dwarfexplorer/generated/polymorphic_factory.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include #include "DF_Types.h" #include "df_all.h" diff --git a/dwarfexplorer/hexviewer_window.cpp b/dwarfexplorer/hexviewer_window.cpp index d4caf8b..7554ddb 100644 --- a/dwarfexplorer/hexviewer_window.cpp +++ b/dwarfexplorer/hexviewer_window.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "hexviewer_window.h" #include "df_model.h" #include "node.h" diff --git a/dwarfexplorer/hexviewer_window.h b/dwarfexplorer/hexviewer_window.h index 3f01a16..a64064b 100644 --- a/dwarfexplorer/hexviewer_window.h +++ b/dwarfexplorer/hexviewer_window.h @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #ifndef HEXVIEWER_WINDOW_H #define HEXVIEWER_WINDOW_H diff --git a/dwarfexplorer/node.cpp b/dwarfexplorer/node.cpp index 4090ad6..e272c4f 100644 --- a/dwarfexplorer/node.cpp +++ b/dwarfexplorer/node.cpp @@ -1,3 +1,23 @@ +/* + * Copyright 2019 Rafael Agundo + * + * This file is part of dearfexplorer plugin for DFHack + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + */ + #include "node.h" using namespace rdf;