Skip to content

marccodes/lfl

 
 

Repository files navigation

lfl

Overview

The API primarly consists of the: Application, Window, and Scene classes, plus the 7 modules: Audio, Video, Input, Assets, Network, Camera, and CUDA.

The key implementation files are: lfapp/lfapp.h lfapp/lfapp.cpp

Projects

  • term: LTerminal, a modern terminal
  • editor: LEditor, a text editor and IDE
  • browser: LBrowser, a HTML4/CSS2 web browser with V8 javascript
  • image: LImage, an image and 3D-model manipulation utility
  • fs: Fusion Server, a speech and image recognition server
  • fv: Fusion Viewer, a speech and image recognition client
  • market: Financial data visualization and automated trading code
  • spaceball: Spaceball Future, a multiplayer 3d game
  • cb: Crystal Bawl, a geopacket visualization screensaver
  • chess: LChess, a magic bitboard chess engine and FICS client
  • quake: LQuake, a quake clone
  • senators: IRC bots with NLP capabilties

The following build procedures apply to any app cloned from new_app_template. See new_app_template/README.txt to quick start your next app.

Building

git clone https://github.com/koldfuzor/lfl.git

LFL builds easily for Windows, Linux, Mac OSX, iPhone and Android.

  • Replace "LTerminal" and "lterm" with "YourPackage" and "YourApp" to build other apps.

Windows

  • use CMake 3.0.2

      [select c:\lfl for source and binaries]
      [Configure]
      [uncheck USE_MSVC_RUNTIME_LIBRARY_DLL]
      [Generate]
    
      start Visual Studio Command Prompt
      cd lfl\imports\judy\src
      build.bat
    
  • use Visual Studio C++ 2013 Express

  • Tools > Options > Text Editor > All Languages > Tabs > Insert Spaces

      c:\lfl\Project.sln
      [Build LTerminal]
    
      cd c:\lfl\term
      copy ..\debug\*.dll debug
      copy ..\lfapp\*.glsl assets
      copy ..\imports\berkelium\w32\bin\* Debug
      copy ..\imports\ffmpeg\w32\dll\*.dll Debug [overwrite:All]
      [Run]
    
      [Right click] term.nsi > Compile NSIS Script
    
  • Windows installer lterminst.exe results

Linux

OSX

iOS Device

    cd lfl
    cmake -D LFL_IPHONE=1 .

    cd term
    make -j4
    cp -R assets term-iphone
    cp lfapp/*.glsl term-iphone/assets
    ./pkg/iphoneprep.sh
    ./pkg/iphonepkg.sh

    open term-iphone/term-iphone.xcodeproj

    [Change configuration to Device]
    [Build and run]
    cp lterm term-iphone/build/Debug-iphoneos/term-iphone.app/term-iphone
    cp skorp ~/Library//Developer/Xcode/DerivedData/skorp-iphone-cwokylhxlztdqwhdhxqzpqiemvoz/Build/Products/Debug-iphoneos/skorp-iphone.app/skorp-iphone
    [Build and run]
  • iPhone Installer iLTerminal.ipa results

iOS Simulator

    cd lfl
    cmake -D LFL_IPHONESIM=1 .

    cd term
    make -j4
    cp -R assets term-iphone
    ./pkg/iphoneprep.sh
    ./pkg/iphonepkg.sh

    open term-iphone/term-iphone.xcodeproj
    [Change configuration to Simulator]
    [Build and run]
    cp lterm term-iphone/build/Debug-iphonesimulator/term-iphone.app/term-iphone
    [Build and run]
  • iPhone Installer iLTerminal.ipa results

Android

Contributing

  1. Fork this repo and make changes in your own fork.
  2. Commit your changes and push to your fork git push origin master
  3. Create a new pull request and submit it back to the project.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 58.0%
  • C 29.9%
  • HTML 3.5%
  • Shell 1.9%
  • Assembly 1.5%
  • Python 0.8%
  • Other 4.4%