Skip to content

Commit

Permalink
missing symetry table entries added for smoothlog, replaced magic out…
Browse files Browse the repository at this point in the history
…colour constant by enum in ui part
  • Loading branch information
osi1 committed Jul 14, 2024
1 parent d80e5eb commit d30585a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions XaoS.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ wasm {
lessThan(QT_MINOR_VERSION, 5): error("requires Qt >= 6.5.2")
}

QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic

TEMPLATE = app

QT += widgets
Expand Down
12 changes: 12 additions & 0 deletions src/engine/formulas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ const struct formula formulas[] = {
{INT_MAX, 0, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, 0, 0, NULL},
{INT_MAX, 0, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1482,6 +1483,7 @@ const struct formula formulas[] = {
{0, 0, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{0, 0, 0, NULL},
{0, 0, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1522,6 +1524,7 @@ const struct formula formulas[] = {
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, 0, 2, sym6},
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1562,6 +1565,7 @@ const struct formula formulas[] = {
{0, 0, 2, sym8},
{INT_MAX, INT_MAX, 0, NULL},
{0, 0, 2, sym8},
{0, 0, 2, sym8},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1602,6 +1606,7 @@ const struct formula formulas[] = {
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, 0, 2, sym6},
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1642,6 +1647,7 @@ const struct formula formulas[] = {
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, 0, 2, sym6},
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -1682,6 +1688,7 @@ const struct formula formulas[] = {
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, 0, 2, sym6},
{INT_MAX, 0, 2, sym6},
{INT_MAX, INT_MAX, 0, NULL},
},
{
Expand Down Expand Up @@ -2434,6 +2441,7 @@ const struct formula formulas[] = {
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
{INT_MAX, INT_MAX, 0, NULL},
Expand Down Expand Up @@ -2473,6 +2481,7 @@ const struct formula formulas[] = {
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
{INT_MAX, INT_MAX, 0, NULL},
Expand Down Expand Up @@ -2512,6 +2521,7 @@ const struct formula formulas[] = {
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
{INT_MAX, INT_MAX, 0, NULL},
Expand Down Expand Up @@ -2592,6 +2602,7 @@ const struct formula formulas[] = {
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
{INT_MAX, INT_MAX, 0, NULL},
Expand Down Expand Up @@ -2642,6 +2653,7 @@ const struct formula formulas[] = {
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
{INT_MAX, INT_MAX, 0, NULL},
},
{
{INT_MAX, INT_MAX, 0, NULL},
Expand Down
3 changes: 2 additions & 1 deletion src/ui-hlp/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "filter.h"
#include "config.h"
#include "formulas.h"
#include "fractal.h" // For OutColormodeType osi1 20220213
#include "ui_helper.h"
#include "plane.h"
#include "xmenu.h"
Expand Down Expand Up @@ -1536,7 +1537,7 @@ static int uih_selectedplane(struct uih_context *c, int n)

static void uih_setouttruecolor(struct uih_context *c, int n)
{
uih_setoutcoloringmode(c, 10);
uih_setoutcoloringmode(c, OutColormodeType::ColOut_True_color);
uih_setouttcolor(c, n);
}

Expand Down

0 comments on commit d30585a

Please sign in to comment.