Skip to content

Commit

Permalink
Merge pull request #89 from MikeHart66/develop
Browse files Browse the repository at this point in the history
Merging Dev branch into Master
  • Loading branch information
MikeHart66 authored May 9, 2020
2 parents 55b014e + 955f455 commit 7edd9d2
Show file tree
Hide file tree
Showing 141 changed files with 38,790 additions and 16,223 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
!/bin/themes
!/bin/icons
!/bin/templates
!/bin/data
!/bin/internal
!/bin/external
!/bin/macdeploy*.command


.bmx
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
## Cerberus X

[![GitHub release](https://img.shields.io/github/release/KrautApps/cerberus.svg)]()
[![Github Releases](https://img.shields.io/github/downloads/KrautApps/cerberus/latest/total.svg)]()
[![Github All Releases](https://img.shields.io/github/downloads/KrautApps/cerberus/total.svg)]()
[![Twitter Follow](https://img.shields.io/twitter/follow/cerberus_x17.svg?style=social)]()
[![GitHub stars](https://img.shields.io/github/stars/KrautApps/cerberus.svg?style=social&label=Star)]()

![Cerberus X Logo](https://www.cerberus-x.com/community/styles/xenfracture/xenfracture/CBX_Logo_small.png)
![Cerberus X Logo](https://www.cerberus-x.com/downloads/cx_logo_small.png)

### Cerberus X is a game development language, made for hobbyists, indies and professionals.

Expand All @@ -29,7 +26,7 @@ Cerberus X is based on Monkey X programming language created by [Mark Sibly](htt
* https://www.cerberus-x.com/cxDocs/Home.html

* Download pre-built **Cerberus X** for **Windows/Linux/Mac OS**:
* https://krautapps.itch.io/cerberus-x
* https://www.cerberus-x.com/community/resources/categories/cerberus-x.6/


### License
Expand Down
135 changes: 96 additions & 39 deletions VERSIONS.TXT
Original file line number Diff line number Diff line change
@@ -1,57 +1,114 @@
***** v2020-05-09 *****

FIX: [DOCS/brl] Fixed missing entry for the admob, cerberusstore, gamecenter, fielpath, filesystem, url, tween, pool, process and markdown modules. (Author: MikeHart)
FIX: [DOCS/brl.databuffer] Fixed some typos. (Author: MikeHart)
FIX: [DOCS/cerberus] Fixed missing entry for the deque module. (Author: MikeHart)
FIX: [DOCS/cerberus.stack] Fixed some typos. (Author: MikeHart)
FIX: [DOCS/os] Fixed description of the StripExt statement. (Author: MikeHart)
FIX: [mojo] Fixed padded usage in Font.Load:Font(url:String, flags:Int=Image.DefaultFlags) (Author: Rich)
FIX: [mojo2] Fixed padded usage in Font.Load:Font(url:String, flags:Int=Image.Filter ) (Author: Rich)
FIX: [mojo2] Fixed padded parameter in Image.LoadFrames:Image[]( path:String,cellWidth:Int,cellHeight:Int,padded:Bool=False,xhandle:Float=.5,yhandle:Float=.5,flags:Int=Image.Filter|Image.Mipmap,shader:Shader=Null ). (Author: Rich)
FIX: [examples] Fixed mak/bbgametest -> missing z parameter in MouseEvent call. (Author: MikeHart)
FIX: [examples] Fixed mak/dynamicimage -> faulty fullscreen switch. (Author: MikeHart)
Fix: [TRANSCC] Fixed TRANSCC not being able to install on an Android device when creating a release build on Linux and OSX. (Author: Phil7)
Fix: [TRANSCC] Fixed TRANSCC not reporting the correct line number in certain cases when preprocessor statements were used.. (Author: dawlane)

MOD: [cerberusstore] updated the underlying code to support the newest Google version. (Author: Rich)
MOD: [DOCS/interpolate] Fixed and added some images. (Author: Holzchopf)
MOD: [mojo] Added filter param to Font.Load:Font(url:String, flags:Int=Image.DefaultFlags ) (Author: Rich)
MOD: [mojo2] Added filter param to Font.Load:Font(url:String, flags:Int=Image.Filter ) (Author: Rich)
MOD: [mojo/mojo2] Font.Load(url:String, flags:Int=... ) accept now .FNT files and don't add a .TXT anymore. (Author: MikeHart)
MOD: [TRANSCC] Changed TRANSCC in a way so modules can add Android libs and lift up versions more easily. (Author: Rich)
MOD: [TRANSCC] Data file filters are not being case sensitive anymore. (Author: MikeHart)
MOD: [rebuildall.ps1] Reworked the build script for using MS Visual C++ 2017 Community edition. (Author: dawlane)
MOD: [rebuildall.sh] Reworked the build script. (Author: dawlane)
MOD: [building.txt] Updated the information. (Author: dawlane)

NEW: [cerberus.interpolate] Added InterpolateCustomLine:Float(dataY:Float[], pX:Float ). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBackEaseIn:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBackEaseIn:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBackEaseOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBackEaseInOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateElasticEaseIn:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateElasticEaseOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateElasticEaseInOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBounceEaseIn:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBounceEaseOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [cerberus.interpolate] Added InterpolateBounceEaseInOut:Float(pY0:Float, pY1:Float, pX:Float). (Author: Rich)
NEW: [brl.tween] Added a module to support easy tweening. (Author: Rich)
NEW: [TRANSCC] Added app icon creation right into TRANSCC. (Author: Rich)
NEW: [TRANSCC] Added the Include directive to add files/directories to the build folder (GLFW/STDCPP). (Author: MikeHart)
NEW: [IOS] Added #IOS_APP_ICON to set icon of the app. (Author: Rich)
NEW: [ANDROID] Added #ANDROID_APP_ICON to set icon of the app. (Author: Rich)
NEW: [FLASH] Added #FLASH_APP_ICON to set the favicon of the browser tab. (Author: Rich)
NEW: [HTML5] Added #HTML5_APP_ICON to set the favicon of the browser tab. (Author: Rich)
NEW: [HTML5] Added #HTML5_APP_TITLE to be able to set the title of the browser tab. (Author: MikeHart)
NEW: [HTML5] Added #HTML5_CANVAS_WIDTH and #HTML5_CANVAS_HEIGHT control the size of the html5 canvas. (Author: MikeHart)
NEW: [HTML5] Added #HTML5_APP_FILENAME to set the output filename. (Author: MikeHart)
NEW: [HTML5] Added #HTML5_CANVAS_RESIZE_MODE to be able to set the CANVAS resize mode. (Author: MikeHart)
NEW: [HTML5] Added #HTML5_CONSOLE_SHOW to be able to hide the splitter and console area. (Author: MikeHart)
NEW: [rebuildall_macos.sh] New script to build CX on OSX right from the github repository. (Author: dawlane)

***** v2019-10-13b *****

MOD: [REQUESTER] Requester dialogs now work on Linux, thanks to tinyfiledialogs (Author: MikeHart)
FIX: [GLFW] Added missing stb_write_image.h file on Linux (Author: MikeHart)
FIX: [TED] Was still using the old PrefsDialog on Linux (Author: MikeHart)

***** v2019-10-13 *****

FIX: [ANDROID] change file permission of gradlew in template. (Author: Dawlane)
MOD: [ANDROID] added 64bit libs to the target, to support Googles changes in August 2019.
FIX: [TRANS] Fixed CopyFile for Linux to preserve file permissions. (Author: Dawlane)
FIX: [TED] Fixed symlinks opening a second file when DebugStop is used. (Author: Dawlane)
MOD: [TED] Another attempt at fixing the capitalization of the API.
MOD: [TED] Moved Open Project from the BUILD menu to the FILE menu.
MOD: [TED] Replaced Options dialog with a similar one like from Dawlane's version of TED.
FIX: [ANDROID] change file permission of gradlew in template. (Author: dawlane)
MOD: [ANDROID] added 64bit libs to the target, to support Googles changes in August 2019. (Author: MikeHart)
FIX: [TRANS] Fixed CopyFile for Linux to preserve file permissions. (Author: dawlane)
FIX: [TED] Fixed symlinks opening a second file when DebugStop is used. (Author: dawlane)
MOD: [TED] Another attempt at fixing the capitalization of the API. (Author: MikeHart)
MOD: [TED] Moved Open Project from the BUILD menu to the FILE menu. (Author: MikeHart)
MOD: [TED] Replaced Options dialog with a similar one like from dawlane's version of TED. (Author: dawlane)
This dialog is much smaller and so can be displayed on small screens two.
FIX: [TED] CTRL+PgDown and CTRL+PgUP now works on Linux to switch between open code tabs.
MOD: [TRANS/GLFW] On Windows you can add an app icon (.ico file) now via the new #GLFW_APP_ICON preprocessor setting.
FIX: [OSX] Recompiled the launcher as a 64bit app, so it is compatible with OSX Catalina (10.15.x).
FIX: [TED] CTRL+PgDown and CTRL+PgUP now works on Linux to switch between open code tabs. (Author: MikeHart)
MOD: [TRANS/GLFW] On Windows you can add an app icon (.ico file) now via the new #GLFW_APP_ICON preprocessor setting. (Author: MikeHart)
FIX: [OSX] Recompiled the launcher as a 64bit app, so it is compatible with OSX Catalina (10.15.x). (Author: MikeHart)
FIX: [MOJO1] Fixed missing usage of frame parameter in DrawImage9P. (Author: Rich)
MOD: [WIN8/WINPHONE8] Depreciated these targets.
If you need them, move them out of the targets/depreciated folder.
MOD: [TRANS/ANDROID] Reactivated logcat filtering.
MOD: [TRANS/ANDROID] Reactivated logcat filtering. (Author: MikeHart)
NEW: [Examples/MOJO2] DrawPrimitives2 shows how to use the DrawPrimitives method to draw several images at once.


***** v2019-05-05 *****

MOD: [ANDROID] Changed MIN_SDK back to 16 like it was before.
MOD: [DOCS] Added A-Z shortcuts on top of indexes.
MOD: [Trans/ANDROID] Release builds are installed automatically now.
FIX: [AGK] Fixed docs creation to be compatible with the latest MakeDocs.
FIX: [MAKEDOCS] Fixed brl.markdown bug.
FIX: [TED] Fixed fixed displaying an iframe element in the docs. (Author: Dawlane)
FIX: [TED] Fixed scaling issues when displaying images.
NEW: [TED] Added overwrite mode. Just press the insert key to toggle it.
NEW: [MOJO2] Added Image.LoadFrames:Image[]( path:String,cellWidth:Int,cellHeight:Int,padded:Bool=False,xhandle:Float=.5,yhandle:Float=.5,flags:Int=Image.Filter|Image.Mipmap,shader:Shader=Null ).
NEW: [MOJO.APP] Added SetDeviceWindowIcon( _path:String ).
NEW: [MOJO.APP] Added SetDeviceWindowTitle( _title:String ).
NEW: [MOJO.APP] Added SetDeviceWindowSize( _width:Int, _height:Int ).
NEW: [MOJO.APP] Added SetDeviceWindowPosition( _x:Int, _y:Int ).
NEW: [MOJO.APP] Added SetDeviceWindowSizeLimits:Void( _minWidth:Int, _minHeight:Int, _maxWidth:Int, _maxHeight:Int )
NEW: [MOJO.INPUT] Added SetMousePos:Void( _x:Int, _y:Int ).
NEW: [MOJO.INPUT] Added SetClipboard:Void( _text:String ).
NEW: [MOJO.INPUT] Added GetClipboard:String().
NEW: [CERBERUS.INTERPOLATE] New module.
NEW: [MOJO.COLOR] New module.
MOD: [ANDROID] Changed MIN_SDK back to 16 like it was before. (Author: MikeHart)
MOD: [DOCS] Added A-Z shortcuts on top of indexes. (Author: Holzchopf)
MOD: [Trans/ANDROID] Release builds are installed automatically now. (Author: MikeHart)
FIX: [AGK] Fixed docs creation to be compatible with the latest MakeDocs. (Author: MikeHart)
FIX: [MAKEDOCS] Fixed brl.markdown bug. (Author: Holzchopf)
FIX: [TED] Fixed fixed displaying an iframe element in the docs. (Author: dawlane)
FIX: [TED] Fixed scaling issues when displaying images. (Author: MikeHart)
NEW: [TED] Added overwrite mode. Just press the insert key to toggle it. (Author: MikeHart)
NEW: [MOJO2] Added Image.LoadFrames:Image[]( path:String,cellWidth:Int,cellHeight:Int,padded:Bool=False,xhandle:Float=.5,yhandle:Float=.5,flags:Int=Image.Filter|Image.Mipmap,shader:Shader=Null ). (Author: MikeHart)
NEW: [MOJO.APP] Added SetDeviceWindowIcon( _path:String ). (Author: MikeHart)
NEW: [MOJO.APP] Added SetDeviceWindowTitle( _title:String ). (Author: MikeHart)
NEW: [MOJO.APP] Added SetDeviceWindowSize( _width:Int, _height:Int ). (Author: MikeHart)
NEW: [MOJO.APP] Added SetDeviceWindowPosition( _x:Int, _y:Int ). (Author: MikeHart)
NEW: [MOJO.APP] Added SetDeviceWindowSizeLimits:Void( _minWidth:Int, _minHeight:Int, _maxWidth:Int, _maxHeight:Int ) (Author: MikeHart)
NEW: [MOJO.INPUT] Added SetMousePos:Void( _x:Int, _y:Int ). (Author: MikeHart)
NEW: [MOJO.INPUT] Added SetClipboard:Void( _text:String ). (Author: MikeHart)
NEW: [MOJO.INPUT] Added GetClipboard:String(). (Author: MikeHart)
NEW: [CERBERUS.INTERPOLATE] New module. (Author: Holzchopf)
NEW: [MOJO.COLOR] New module. (Author: Holzchopf)

***** v2018-12-30 *****

FIX: [AGK_IOS] Fixed AGK_IOS target showing up on non OSX platforms.
FIX: [ANDROID] Fixed MIN_SDK, TARGET and TOOLS version.
FIX: [brl.requesters] Fixed RequestFile not working with a set path.
FIX: [TED] Fixed selecting a help topic in the toolbar didn't show up the help file directly.
FIX: [AGK_IOS] Fixed AGK_IOS target showing up on non OSX platforms. (Author: MikeHart)
FIX: [ANDROID] Fixed MIN_SDK, TARGET and TOOLS version. (Author: MikeHart)
FIX: [brl.requesters] Fixed RequestFile not working with a set path. (Author: MikeHart)
FIX: [TED] Fixed selecting a help topic in the toolbar didn't show up the help file directly. (Author: MikeHart)
MOD: [example] Various changes to sample scripts (Author: Paul59)
FIX: [TED] Fixed "Open on Desktop" on Linux. (Author: Dawlane)
MOD: [TED] If text is selected in the editor, it will be pre set in the Find dialog.
MOD: [DOCS/MAKEDOCS] Numerous changes to the docs and MakeDocs itself.
FIX: [GLFW/GLFW-ANGLE] Fixed returning MouseZ resets MouseX and MouseY to zero.
MOD: [TED] Bigger changes so TED uses the QT5 webengine now and needs QT5.9.2 to compile. (Author: Dawlane)
FIX: [TED] Fixed "Open on Desktop" on Linux. (Author: dawlane)
MOD: [TED] If text is selected in the editor, it will be pre set in the Find dialog. (Author: MikeHart)
MOD: [DOCS/MAKEDOCS] Numerous changes to the docs and MakeDocs itself. (Author: Holzchopf)
FIX: [GLFW/GLFW-ANGLE] Fixed returning MouseZ resets MouseX and MouseY to zero. (Author: MikeHart)
MOD: [TED] Bigger changes so TED uses the QT5 webengine now and needs QT5.9.2 to compile. (Author: dawlane)

***** v2018-08-10 *****

Expand Down
23 changes: 10 additions & 13 deletions bin/config.winnt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'
'Can be overriden via transcc cmd line
'
MODPATH="${CERBERUSDIR}/modules;${CERBERUSDIR}/modules_ext"
MODPATH="${CERBERUSDIR}/modules;${CERBERUSDIR}/modules_ext;D:\CerberusX\CerberusModulesx"
'--------------------

'--------------------
Expand All @@ -27,7 +27,7 @@ HTML_PLAYER="${CERBERUSDIR}\bin\cserver_winnt.exe"
'***** DO NOT use mingw64-5.1.0 as it has a linker bug *****

'***** 64 bit mingw *****
MINGW_PATH="D:\Applications\Compilers\TDM-GCC-64"
MINGW_PATH="D:\TDM-GCC-64"
'--------------------

'--------------------
Expand All @@ -37,23 +37,23 @@ MINGW_PATH="D:\Applications\Compilers\TDM-GCC-64"
'
'The Java JDK is currently available here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
'
JDK_PATH="d:\programme\JavaSDK"
JDK_PATH="D:\Program Files (x86)\Java\jdk1.8.0_172"
'--------------------

'--------------------
'Android SDK and tool paths.
'
'Must be set to a valid dir for ANDROID target support
'
ANDROID_PATH="d:\programme\AndroidSDK"
ANDROID_PATH="D:\Program Files\Android\Android Studio"
'--------------------

'--------------------
'Android NDK
'
'Must be set to a valid dir for ANDROID NDK target support
'
ANDROID_NDK_PATH="d:\devtools\android-ndk-r9"
'ANDROID_NDK_PATH="D:\Program Files\Android\Android Studio\ndk-bundle"
'--------------------

'--------------------
Expand All @@ -63,7 +63,7 @@ ANDROID_NDK_PATH="d:\devtools\android-ndk-r9"
'
'Ant is currently available here: http://ant.apache.org/bindownload.cgi
'
ANT_PATH="D:\Programme\apache-ant-1.9.7"
'ANT_PATH="D:\Programme\apache-ant-1.9.7"
'--------------------

'--------------------
Expand All @@ -73,7 +73,7 @@ ANT_PATH="D:\Programme\apache-ant-1.9.7"
'
'Either HTML_PLAYER or FLASH_PLAYER must be set for FLASH target support.
'
FLEX_PATH="d:\devtools\flex-sdk"
'FLEX_PATH="c:\flex_sdk_4.6"
'for opening .swf files...cerberus will use HTML_PLAYER if this is not set.
'FLASH_PLAYER="...?..."
'--------------------
Expand All @@ -83,28 +83,25 @@ FLEX_PATH="d:\devtools\flex-sdk"
'
'PSM_PATH must be set for PSM target support.
'
PSM_PATH="d:\devtools\PSM_SDK"
'PSM_PATH="d:\devtools\PSM_SDK"
'--------------------

'--------------------
'MSBUILD path.
'
'Must be set for XNA and GLFW target support.
'
'MSBUILD_PATH="${PROGRAMFILES}\MSBuild\14.0\Bin\MSBuild.exe"
'MSBUILD_PATH="${PROGRAMFILES}\MSBuild\12.0\Bin\MSBuild.exe"
MSBUILD_PATH="${WINDIR}\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
MSBUILD_PATH="${PROGRAMFILES(x86)}\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"
'--------------------

'--------------------
' AppGameKit path.
'
'Must be set for AGK support.
'
AGK_PATH="C:/Program Files (x86)/The Game Creators/AGK2"
AGK_PATH="D:\Program Files (x86)\The Game Creators\AGK2"
'
'--------------------

'--->> BEGIN OF JUNGLE IDE GENERATED CONFIG
MINGW_PATH= "D:\Applications\Compilers\TDM-GCC-64"
'--->> END OF JUNGLE IDE GENERATED CONFIG
Binary file added bin/data/mojo_font.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added bin/external/dont_delete.txt
Empty file.
Empty file added bin/internal/dont_delete.txt
Empty file.
15 changes: 15 additions & 0 deletions bin/macdeployqt-5.9.2.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#
# Little script to make Ted.app standalone
#
cd `dirname $0`
#cd ../../bin
#macdeployqt-4.8 Ted.app
/Users/michaelhartlef/Qt/5.9.2/clang_64/bin/macdeployqt Ted.app -verbose=2 -always-overwrite
cd Ted.app/Contents/PlugIns
rm -r -f audio
rm -r -f bearer
rm -r -f imageformats
rm -r -f mediaservice
rm -r -f printsupport
rm -r -f sqldrivers
Binary file added bin/themes/default/images/dock_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/themes/default/images/dock_close_sel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions docs/cerberusdoc/Credits.cerberusdoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@

> Cerberus X credits

+ Language design and programming - Mark Sibly
+ Work on Cerberus X - dawlane, Holzchopf, muruba, Martin, MikeHart, Paul59, Phil7, PixelPaladin, Rich, Soap.

+ Documentation - Mark Sibly, James Boyd, Arthur Bikmullin.
+ Cerberus website - Michael Hartlef.

+ Cerberus website - Martin Leidel and Michael Hartlef.
+ Initial language design and programming of Monkey X - Mark Sibly

+ Initial documentation of Monkey X - Mark Sibly, James Boyd, Arthur Bikmullin.

Additional thanks to:

Muruba, dawlane, Soap, PixelPaladin, Holzchopf, Beaker, Richard Betson, EdzUp[GD], Warpy, MikeHart, msephton, Binary_Moon, Otus 3, CodeGit, skn3[ac], Tibit, Mathieu, Sledge, Difference, CyBeRGoth, _Skully, sknightly, Rhodesy, ziggy, Hujiklo, earok, Robert Cummings, TMK, Playniax.
adamredwoos, Beaker, Richard Betson, EdzUp[GD], Warpy, msephton, Binary_Moon, Otus 3, CodeGit, skn3[ac], Tibit, Mathieu, Sledge, Difference, CyBeRGoth, _Skully, sknightly, Rhodesy, ziggy, Hujiklo, earok, Robert Cummings, TMK, Playniax, nerobot, Rob Hewitt, En929, AutmnLeaf, TheMrCerebro, wick, Gerry Quinn, magic, Slotman, Ferdi, Coppercicle, JaviCervera.

Loading

0 comments on commit 7edd9d2

Please sign in to comment.