Skip to content

Commit

Permalink
Version 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Philosoph228 committed Sep 14, 2024
1 parent b57fa47 commit 685a260
Show file tree
Hide file tree
Showing 168 changed files with 7,192 additions and 4,252 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,10 @@ tags
*.idb
*.pdb
/res/floatingglyphs.psd

# Build directory
/build
/buildcache

*.vcxproj.user

1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
panitent_lua_messagebox("Ты способен изменять само ядро Panit.ent")
127 changes: 109 additions & 18 deletions panitent.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\aboutbox.c" />
<ClCompile Include="src\bresenham.c" />
<ClCompile Include="src\binview\audioplayer.c" />
<ClCompile Include="src\binview\audiosource.c" />
<ClCompile Include="src\binview\binview.c" />
<ClCompile Include="src\binview\binviewdlg.c" />
<ClCompile Include="src\brush.c" />
<ClCompile Include="src\brush_context.c" />
<ClCompile Include="src\canvas.c" />
Expand All @@ -42,28 +45,42 @@
<ClCompile Include="src\flexible.c" />
<ClCompile Include="src\floatingwindowcontainer.c" />
<ClCompile Include="src\glwindow.c" />
<ClCompile Include="src\grimstroke\bresenhamshapestrategy.c" />
<ClCompile Include="src\grimstroke\pixelbuffer.c" />
<ClCompile Include="src\grimstroke\plotter.c" />
<ClCompile Include="src\grimstroke\polygon.c" />
<ClCompile Include="src\grimstroke\shapecontext.c" />
<ClCompile Include="src\grimstroke\shapestrategy.c" />
<ClCompile Include="src\grimstroke\wushapestrategy.c" />
<ClCompile Include="src\history.c" />
<ClCompile Include="src\layeredwindow.c" />
<ClCompile Include="src\layerswindow.c" />
<ClCompile Include="src\log.c" />
<ClCompile Include="src\log_window.c" />
<ClCompile Include="src\lua_scripting.c" />
<ClCompile Include="src\msthemeloader.c" />
<ClCompile Include="src\new.c" />
<ClCompile Include="src\option_bar.c" />
<ClCompile Include="src\palette.c" />
<ClCompile Include="src\palette_settings_dlg.c" />
<ClCompile Include="src\palette_window.c" />
<ClCompile Include="src\panitent.c" />
<ClCompile Include="src\panitentapp.c" />
<ClCompile Include="src\panitentwindow.c" />
<ClCompile Include="src\pentablet.c" />
<ClCompile Include="src\pntini.c" />
<ClCompile Include="src\pntxml.c" />
<ClCompile Include="src\primitives_context.c" />
<ClCompile Include="src\propgriddialog.c" />
<ClCompile Include="src\rbhashmapviz.c" />
<ClCompile Include="src\settings.c" />
<ClCompile Include="src\settings_dialog.c" />
<ClCompile Include="src\settings_wnd.c" />
<ClCompile Include="src\sharing\activitysharingclient.c" />
<ClCompile Include="src\sharing\activitysharingmanager.c" />
<ClCompile Include="src\sharing\activitystubdialog.c" />
<ClCompile Include="src\sharing\discordasp.c" />
<ClCompile Include="src\shell\args.c" />
<ClCompile Include="src\shell\pathutil.c" />
<ClCompile Include="src\splittercontainer.c" />
<ClCompile Include="src\swatch.c" />
<ClCompile Include="src\swatch2.c" />
Expand All @@ -86,20 +103,23 @@
<ClCompile Include="src\util\pntrtti.c" />
<ClCompile Include="src\util\pntstring.c" />
<ClCompile Include="src\util\queue.c" />
<ClCompile Include="src\util\rbhashmap.c" />
<ClCompile Include="src\util\stack.c" />
<ClCompile Include="src\util\tree.c" />
<ClCompile Include="src\util\utf.c" />
<ClCompile Include="src\util\vector.c" />
<ClCompile Include="src\verifycheck.c" />
<ClCompile Include="src\viewport.c" />
<ClCompile Include="src\wic.c" />
<ClCompile Include="src\windowstub.c" />
<ClCompile Include="src\workspacecontainer.c" />
<ClCompile Include="src\wu_primitives.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="res\resource.h" />
<ClInclude Include="src\aboutbox.h" />
<ClInclude Include="src\bresenham.h" />
<ClInclude Include="src\binview\audioplayer.h" />
<ClInclude Include="src\binview\audiosource.h" />
<ClInclude Include="src\binview\binview.h" />
<ClInclude Include="src\binview\binviewdlg.h" />
<ClInclude Include="src\brush.h" />
<ClInclude Include="src\brush_context.h" />
<ClInclude Include="src\canvas.h" />
Expand All @@ -122,34 +142,49 @@
<ClInclude Include="src\flexible.h" />
<ClInclude Include="src\floatingwindowcontainer.h" />
<ClInclude Include="src\glwindow.h" />
<ClInclude Include="src\grimstroke\bresenhamshapestrategy.h" />
<ClInclude Include="src\grimstroke\pixelbuffer.h" />
<ClInclude Include="src\grimstroke\plotter.h" />
<ClInclude Include="src\grimstroke\polygon.h" />
<ClInclude Include="src\grimstroke\shapecontext.h" />
<ClInclude Include="src\grimstroke\shapestrategy.h" />
<ClInclude Include="src\grimstroke\wushapestrategy.h" />
<ClInclude Include="src\history.h" />
<ClInclude Include="src\iactivitysharingprovider.h" />
<ClInclude Include="src\kvec.h" />
<ClInclude Include="src\layeredwindow.h" />
<ClInclude Include="src\layerswindow.h" />
<ClInclude Include="src\log.h" />
<ClInclude Include="src\log_window.h" />
<ClInclude Include="src\lua_scripting.h" />
<ClInclude Include="src\msthemeloader.h" />
<ClInclude Include="src\new.h" />
<ClInclude Include="src\option_bar.h" />
<ClInclude Include="src\palette.h" />
<ClInclude Include="src\palette_settings_dlg.h" />
<ClInclude Include="src\palette_window.h" />
<ClInclude Include="src\panitent.h" />
<ClInclude Include="src\panitentapp.h" />
<ClInclude Include="src\panitentwindow.h" />
<ClInclude Include="src\pencil_tool.h" />
<ClInclude Include="src\pentablet.h" />
<ClInclude Include="src\pntini.h" />
<ClInclude Include="src\pntxml.h" />
<ClInclude Include="src\precomp.h" />
<ClInclude Include="src\primitives_context.h" />
<ClInclude Include="src\propgriddialog.h" />
<ClInclude Include="src\rbhashmapviz.h" />
<ClInclude Include="src\resource.h" />
<ClInclude Include="src\sdk\panitent.h" />
<ClInclude Include="src\settings.h" />
<ClInclude Include="src\settings_dialog.h" />
<ClInclude Include="src\settings_wnd.h" />
<ClInclude Include="src\sharing\activitysharingmanager.h" />
<ClInclude Include="src\sharing\activitystubdialog.h" />
<ClInclude Include="src\sharing\discordasp.h" />
<ClInclude Include="src\sharing\discordsdk.h" />
<ClInclude Include="src\sharing\activitysharingclient.h" />
<ClInclude Include="src\shell\args.h" />
<ClInclude Include="src\shell\pathutil.h" />
<ClInclude Include="src\shell\shell.h" />
<ClInclude Include="src\splittercontainer.h" />
<ClInclude Include="src\swatch.h" />
<ClInclude Include="src\swatch2.h" />
Expand All @@ -173,46 +208,69 @@
<ClInclude Include="src\util\bytestream.h" />
<ClInclude Include="src\util\hashmap.h" />
<ClInclude Include="src\util\list.h" />
<ClInclude Include="src\util\pntnew.h" />
<ClInclude Include="src\util\pntrtti.h" />
<ClInclude Include="src\util\pntstring.h" />
<ClInclude Include="src\util\queue.h" />
<ClInclude Include="src\util\rbhashmap.h" />
<ClInclude Include="src\util\stack.h" />
<ClInclude Include="src\util\tree.h" />
<ClInclude Include="src\util\utf.h" />
<ClInclude Include="src\util\vector.h" />
<ClInclude Include="src\verifycheck.h" />
<ClInclude Include="src\viewport.h" />
<ClInclude Include="src\wic.h" />
<ClInclude Include="src\win32util.h" />
<ClInclude Include="src\win32\dialog.h" />
<ClInclude Include="src\windowstub.h" />
<ClInclude Include="src\workspacecontainer.h" />
<ClInclude Include="src\wu_primitives.h" />
</ItemGroup>
<ItemGroup>
<Image Include="floatingglyphs.bmp" />
<Image Include="res\close.bmp" />
<Image Include="res\dockbtnframe.bmp" />
<Image Include="res\dockhostbg.bmp" />
<Image Include="res\dockicons.bmp" />
<Image Include="res\docksuggest.bmp" />
<Image Include="res\floatingglyphs.bmp" />
<Image Include="res\floatingglyphs2.bmp" />
<Image Include="res\layered.bmp" />
<Image Include="res\layered_premul.bmp" />
<Image Include="res\log.ico" />
<Image Include="res\made_with.png" />
<Image Include="res\newdocstrip.bmp" />
<Image Include="res\panitent.ico" />
<Image Include="res\tool.bmp" />
<Image Include="res\tool32bpp%4024.bmp" />
<Image Include="res\tool32bpp.bmp" />
<Image Include="res\watermark.bmp" />
<Image Include="res\wisp.bmp" />
</ItemGroup>
<ItemGroup>
<Manifest Include="res\panitent.exe.manifest" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\appmeta.rc" />
<ResourceCompile Include="res\panitent.rc" />
<ResourceCompile Include="res\panitent2.rc" />
<ResourceCompile Include="src\res2.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="win32fw.vcxproj">
<Project>{f95c4ef5-0539-455c-b247-96029c28e36d}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="res\brush.cur" />
<None Include="res\bucket.cur" />
<None Include="res\circle.cur" />
<None Include="res\cursors\brush.cur" />
<None Include="res\cursors\bucket.cur" />
<None Include="res\cursors\circle.cur" />
<None Include="res\cursors\pencil.cur" />
<None Include="res\cursors\picker.cur" />
<None Include="res\floatingglyphs.psd" />
<None Include="res\line.cur" />
<None Include="res\pencil.cur" />
<None Include="res\picker.cur" />
<None Include="res\rectangle.cur" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
Expand Down Expand Up @@ -265,17 +323,37 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)build\msvc-x86_64-debug\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-x86_64-debug\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)build\msvc-x86_64-release\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-x86_64-release\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)build\msvc-i686-debug\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-i686-debug\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)build\msvc-i686-release\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-i686-release\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>C:\libs\msvc-x86_64-debug\include</AdditionalIncludeDirectories>
<LanguageStandard_C>stdc11</LanguageStandard_C>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;lua.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\libs\msvc-x86_64-debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -286,13 +364,18 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<DebugInformationFormat>None</DebugInformationFormat>
<AdditionalIncludeDirectories>C:\libs\msvc-x86_64-debug\include</AdditionalIncludeDirectories>
<LanguageStandard_C>stdc11</LanguageStandard_C>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;lua.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\libs\msvc-x86_64-debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -301,11 +384,14 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>C:\libs\msvc-x86_64-debug\include</AdditionalIncludeDirectories>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;lua.lib;ole32.lib;avrt.lib;mmdevapi.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\libs\msvc-x86_64-debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand All @@ -316,13 +402,18 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<DebugInformationFormat>None</DebugInformationFormat>
<AdditionalIncludeDirectories>C:\libs\msvc-x86_64-debug\include</AdditionalIncludeDirectories>
<LanguageStandard_C>stdc11</LanguageStandard_C>
<CompileAs>CompileAsC</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>false</GenerateDebugInformation>
<AdditionalDependencies>shlwapi.lib;comctl32.lib;uxtheme.lib;msimg32.lib;windowscodecs.lib;dbghelp.lib;opengl32.lib;dwmapi.lib;lua.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\libs\msvc-x86_64-debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
18 changes: 18 additions & 0 deletions panitent_test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<ClCompile Include="src\palette.c" />
<ClCompile Include="src\palette_settings_dlg.c" />
<ClCompile Include="src\palette_window.c" />
<ClCompile Include="src\util.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="panitent_test\test_application.h" />
Expand All @@ -36,6 +37,7 @@
<ClInclude Include="src\palette.h" />
<ClInclude Include="src\palette_settings_dlg.h" />
<ClInclude Include="src\palette_window.h" />
<ClInclude Include="src\util.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="panitent_framework.vcxproj">
Expand Down Expand Up @@ -98,6 +100,22 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)build\msvc-x86_64-debug\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-x86_64-debug\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)build\msvc-x86_64-release\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-x86_64-release\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)build\msvc-i686-release\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-i686-release\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)build\msvc-i686-debug\</OutDir>
<IntDir>$(SolutionDir)buildcache\msvc-i686-debug\$(ShortProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
Expand Down
Loading

0 comments on commit 685a260

Please sign in to comment.