Skip to content

Commit

Permalink
Merge pull request Inochi2D#6 from LunaTheFoxgirl/main
Browse files Browse the repository at this point in the history
Various cleanup to comply with Inochi2D branding guidelines.
  • Loading branch information
seagetch authored Aug 3, 2024
2 parents 39bbbd1 + bb6c60f commit 1d7e82d
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 190 deletions.
17 changes: 0 additions & 17 deletions res/shaders/ada.frag

This file was deleted.

20 changes: 0 additions & 20 deletions res/shaders/ada.vert

This file was deleted.

7 changes: 0 additions & 7 deletions source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ int main(string[] args)
)
);

version(InDemo) incModalAdd(
new Nagscreen(
_("Thank you!"),
_("Thank you for downloading nijigenerate!\nSoftware is expensive to create and the same goes for nijigenerate.\nKindly consider chipping in to fund the development!\n\nTo remove this nagscreen, [buy a copy today!](https://github.com/nijigenerate)"),
10
)
);
// Update loop
while(!incIsCloseRequested()) {
incUpdate();
Expand Down
7 changes: 1 addition & 6 deletions source/nijigenerate/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ enum INC_FEATURE_REQ_URI = "https://github.com/nijigenerate/nijigenerate/issues/
*/
enum INC_INFO_WEBSITE_URI = "https://github.com/nijigenerate/";

/**
URI to buy a copy, unused for non-official builds
*/
enum INC_INFO_BUY_URL = "https://lunafoxgirlvt.itch.io/nijigenerate";

/**
URI to documentation provided for this software, by default it'll direct to the nijilive Documentation
Expand All @@ -61,7 +56,7 @@ enum INC_INFO_DOCS_URI = "https://docs.github.com/nijigenerate/";
Set to "" to disable the link.
*/
enum INC_INFO_DISCORD_URI = "https://discord.com/invite/abnxwN6r9v";
enum INC_INFO_DISCORD_URI = "";

/**
Whether to show donation links.
Expand Down
104 changes: 0 additions & 104 deletions source/nijigenerate/core/egg.d

This file was deleted.

8 changes: 0 additions & 8 deletions source/nijigenerate/core/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
module nijigenerate.core;
import nijigenerate.core.dpi;
import nijigenerate.core.input;
import nijigenerate.core.egg;
import nijigenerate.panels;
import nijigenerate.windows;
import nijigenerate.utils.link;
Expand Down Expand Up @@ -328,7 +327,6 @@ void incOpenWindow() {
// Setup nijilive
inInit(() { return igGetTime(); });

version(InBranding) incInitAda();
incCreateContext();

ShallowTexture tex;
Expand Down Expand Up @@ -812,12 +810,6 @@ void incEndLoop() {
SDL_GL_MakeCurrent(currentWindow, currentCtx);
}


version(InBranding) {
import nijigenerate.core.egg : incAdaUpdate;
incAdaUpdate();
}

SDL_GL_SwapWindow(window);
}

Expand Down
8 changes: 1 addition & 7 deletions source/nijigenerate/utils/link.d
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,5 @@ import std.process;
Opens a link with the user's preferred webbrowser
*/
void incOpenLink(string link) {
version(Windows) {
browse(link);
} else version(OSX) {
browse(link);
} else version(Posix) {
browse(link);
}
browse(link);
}
4 changes: 0 additions & 4 deletions source/nijigenerate/widgets/mainmenu.d
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ void incMainMenu() {
ImVec4(0, 0, 0, 0)
);

import nijigenerate.core.egg : incAdaTickOne;
if (igIsItemClicked(ImGuiMouseButton.Left)) {
incAdaTickOne();
}
igSeparator();
}

Expand Down
1 change: 0 additions & 1 deletion source/nijigenerate/widgets/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public import nijigenerate.widgets.toolbar;
public import nijigenerate.widgets.mainmenu;
public import nijigenerate.widgets.tooltip;
public import nijigenerate.widgets.statusbar;
public import nijigenerate.widgets.secrets;
public import nijigenerate.widgets.dummy;
public import nijigenerate.widgets.drag;
public import nijigenerate.widgets.lock;
Expand Down
16 changes: 0 additions & 16 deletions source/nijigenerate/widgets/secrets.d

This file was deleted.

0 comments on commit 1d7e82d

Please sign in to comment.