Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

juanjp600/blitz3d

 
 

Repository files navigation

Blitz3D open source release!

(MAVLess/FastExt killer/VS2015/OpenAL/whatever else)

You can grab the prebuilt free version of Blitz3d from http://www.blitzbasic.com.

Steps to build:

  1. Install the DirectX 7 SDK into same dir as Blitz3D: the folder name should be 'dxsdk'.

  2. Install freeimage241 into same dir as Blitz3D: http://monkeycoder.co.nz/downloads/freeimage241.zip

NOTE:

(originally written by Ploppy)

You will need to edit the freeimage.h file and modify the following line (normally should be line #206)

-typedef FIBITMAP *(DLL_CALLCONV * FI_AllocateProc)(int width, int height, int bpp, unsigned red_mask FI_DEFAULT(0), unsigned green_mask FI_DEFAULT(0), unsigned blue_mask FI_DEFAULT(0));
+typedef FIBITMAP *(DLL_CALLCONV * FI_AllocateProc)(int width, int height, int bpp, unsigned red_mask , unsigned green_mask , unsigned blue_mask);

You have to modify this line because the original line of code is not compatible with versions of Visual Studio that are newer than vs6. Changing this line will remove any compile error concerning this bug.

  1. Build libogg and libvorbis (for static linking, Release mode), and place them into same dir as Blitz3D: https://xiph.org/

NOTE

You will need to modify ogg/ogg.h and vorbis/vorbisfile.h to manually set the calling convention of each function to __cdecl, as Blitz3D's runtime uses __stdcall and will not link with these libraries unless this is clarified in the source.

  1. Open 'blitz3d.sln' in Visual Studio 2015.

  2. Build project 'bblaunch' using config 'Win32 Blitz3D Release'.

  3. Output files should end up in '_release' subdir.

  4. If necessary, copy OpenAL32.dll to '_release/bin'.

  5. Done?

Blitz3D is released under the zlib/libpng license.


Copyright (c) 2013 Blitz Research Ltd

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Logos 64.9%
  • HTML 15.3%
  • C++ 11.8%
  • BlitzBasic 7.8%
  • C 0.2%
  • Inno Setup 0.0%