Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Discussion around programming R'n'D, its source code and its tools.

Moderators: Flumminator, Zomis

Post Reply
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

Hi,
upload some branches to the repository.
Here: https://github.com/ArtsoftEntertainment/rocksndiamonds
Branches:
- CLANG-compilable (only source changes)
- MSVC-compilable (only source changes)
- MSVC-CLANG-build-runtime (no source changes, build system for compilers, see below)

Compilers:
- VS2015
- VS2017
- VS2017 with CLANG
- Codeblocks
- mingw is supported as default

The MSVC-CLANG-build-runtime branch contains all you need to compile. Extract it to normal develop folder.

Next step is to integrate ZIP-Support, like in "rndTest" (see latest version 3.3.1.2)
Later on I integrate mouse support, and the other stuff.

Have fun. 8)
And the answer is ... 42 !
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

Hi,
add ZIP-Support.
Here: https://github.com/ArtsoftEntertainment/rocksndiamonds
Branches:
- CLANG-compilable-ZIP (only - few - source changes)
- MSVC-CLANG-build-runtime (only CLANG)

Copy ZIP-File or 7z-File to Levels-Directory.

It work's even with EmeraldMineClub.7z file, not need to be extracted.

Have fun
And the answer is ... 42 !
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

RND 4.1.0.0
ZIP support is now complete.
- determine Supaplex with fileSize works now.
- determine modification time in Zip-File works now.

.ZIP and .7z supported.

On Android - I think - the above issue's don't work - I think -> Holger should fix this.
Technical reason: _stat don't work in compressed APK files.

Have fun.
And the answer is ... 42 !
User avatar
Holger
Site Admin
Posts: 4071
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by Holger »

A bit late, but thanks a lot for your effort!

Especially your zip support is highly appreciated, as it will most probably be needed (or at least be extremely useful) for a future version of R'n'D which could be able to fetch level sets from a central level set server. But of course it's also very useful for the current state where level sets are accessed only locally -- just downloading the zip files from the R'n'D download page, dropping them into the levels folder and restarting the game would be a big improvement!

The Android version may indeed have some extra complications due to the APK package format, but then, accessing additionally downloaded zip packages with extra levels should work just the same as on the other platforms, shouldn't it?

Thanks again!
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

Hi,
as you know (or maybe not) the download from Zomis-RND-Archive already works in a earlier version of RND-Test.
But the Archive is goon and no other server exists (ok you can download from any site, but this is not implemented in the new version of RND-Test).

Zip/7z support should work on android, but I have no device to test this.
Actually I only provide the source and project files which compile on windows.
For mingw an update of the make files are necessary.

Please answer via mail:
Are there any changes in your new version - from RND-Test merged?

Best regards
And the answer is ... 42 !
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

Hi, after long time I'm back again. :D
Setup RnD for compiling with Visual Studio 2019 with CLANG for Windows 10 SDK.
Because it is not easy to do, I provide a setup which include all stuff for developing with this setup.
You can find it on "arthurdent.de".
Version it's from 4.3.3.0. But I update it soon to the latest.
Hope that Holger include the (small) source changes some day. :roll:
Happy developing.
And the answer is ... 42 !
HerzAusGold
Posts: 362
Joined: Sun Sep 25, 2005 4:41 pm
Location: Germany

Re: Compile with VS2015,VS2017,CLANG,Codeblocks, ...

Post by HerzAusGold »

Setup RnD for compiling with Visual Studio 2019 with CLANG for Windows 10 SDK.
Because it is not easy to do, I provide a setup which include all stuff for developing with this setup.
Version it's from 4.3.4.0.
Add: MouseMode = 1 is to play sokoban.
See Screenshot 8)
You can find it on "arthurdent.de".
Hope that Holger include the (small) source changes some day. :roll:
Happy new year.
And the answer is ... 42 !
Post Reply