# Now supports full-screen on MS-Windows

8 months, 1 week ago
Runs in borderless maximized fullscreen on Windows 7. Should in theory work on all versions since Windows 2000.

Now it only needs a window wrapper module for Macintosh before it supports the three major desktop systems. Last time I used a Macintosh was in the 1990s.

8 months, 1 week ago
Any chance to have a simple batch file version (or Visual Studio project) that works with msvc without needing to download other libs ?

8 months, 1 week ago
I haven't ported the compilation script to Batch on Windows yet, but you would still have to install a C++14 compliant compiler. Visual C++ don't support certain C extensions that currently have no fallback solution. The MinGW version of CodeBlocks is probably the easiest way to install G++ on Windows and compile a project.

https://github.com/Dawoodoz/DFPSR/blob/master/Doc/Pages/Starting.html

8 months, 1 week ago
@mrmixer: I compiled with clang using this command line:
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 clang.exe -DNDEBUG -O2 ^ -fuse-ld=lld ^ -luser32 -lgdi32 ^ -o Source\SDK\sandbox\sandbox.exe ^ Source\SDK\sandbox\main.cpp ^ Source\SDK\sandbox\sandbox.cpp ^ Source\SDK\sandbox\tool.cpp ^ Source\SDK\sandbox\sprite\lightAPI.cpp ^ Source\SDK\sandbox\sprite\orthoAPI.cpp ^ Source\SDK\sandbox\sprite\spriteAPI.cpp ^ Source\DFPSR\api\configAPI.cpp ^ Source\DFPSR\api\drawAPI.cpp ^ Source\DFPSR\api\filterAPI.cpp ^ Source\DFPSR\api\fontAPI.cpp ^ Source\DFPSR\api\guiAPI.cpp ^ Source\DFPSR\api\imageAPI.cpp ^ Source\DFPSR\api\mediaMachineAPI.cpp ^ Source\DFPSR\api\modelAPI.cpp ^ Source\DFPSR\api\timeAPI.cpp ^ Source\DFPSR\api\types.cpp ^ Source\DFPSR\base\Buffer.cpp ^ Source\DFPSR\base\SafePointer.cpp ^ Source\DFPSR\base\text.cpp ^ Source\DFPSR\base\threading.cpp ^ Source\DFPSR\collection\BoundChecks.cpp ^ Source\DFPSR\font\Font.cpp ^ Source\DFPSR\gui\BackendWindow.cpp ^ Source\DFPSR\gui\DsrWindow.cpp ^ Source\DFPSR\gui\FlexRegion.cpp ^ Source\DFPSR\gui\InputEvent.cpp ^ Source\DFPSR\gui\VisualComponent.cpp ^ Source\DFPSR\gui\VisualTheme.cpp ^ Source\DFPSR\gui\components\Button.cpp ^ Source\DFPSR\gui\components\Label.cpp ^ Source\DFPSR\gui\components\ListBox.cpp ^ Source\DFPSR\gui\components\Panel.cpp ^ Source\DFPSR\image\Color.cpp ^ Source\DFPSR\image\draw.cpp ^ Source\DFPSR\image\Image.cpp ^ Source\DFPSR\image\ImageF32.cpp ^ Source\DFPSR\image\ImageRgbaU8.cpp ^ Source\DFPSR\image\ImageU16.cpp ^ Source\DFPSR\image\ImageU8.cpp ^ Source\DFPSR\image\stbImage\stbImageWrapper.cpp ^ Source\DFPSR\machine\mediaFilters.cpp ^ Source\DFPSR\machine\VirtualMachine.cpp ^ Source\DFPSR\math\FixedPoint.cpp ^ Source\DFPSR\persistent\ClassFactory.cpp ^ Source\DFPSR\persistent\atomic\PersistentBoolean.cpp ^ Source\DFPSR\persistent\atomic\PersistentColor.cpp ^ Source\DFPSR\persistent\atomic\PersistentInteger.cpp ^ Source\DFPSR\persistent\atomic\PersistentString.cpp ^ Source\DFPSR\persistent\atomic\PersistentStringList.cpp ^ Source\DFPSR\render\ITriangle2D.cpp ^ Source\DFPSR\render\renderCore.cpp ^ Source\DFPSR\render\ResourcePool.cpp ^ Source\DFPSR\render\model\Model.cpp ^ Source\DFPSR\render\model\format\dmf1.cpp ^ Source\DFPSR\render\shader\Shader.cpp ^ Source\windowManagers\Win32Window.cpp 

No need to install mingw or CodeBlocks.
You can enable debug info for clang if you want to debug in Visual Studio.

But this required deleting line 82 in Source\SDK\sandbox\sprite\Octree.h
And lines 375-377 in Source\windowManagers\Win32Window.cpp
Those were not correct C++ code. Then code compiled.

MSVC won't work as code uses __attribute__ and VLA arrays. Both can be replaced to work with MSVC, but I did not bother - __attribute__ with __declspec for alignment, and VLA with alloca.

8 months, 1 week ago
Line 82 and 375-377 are now removed from the master branch.

8 months, 1 week ago
Thanks, I'll try with clang.