Giter Site home page Giter Site logo

mohsen159 / c-codebase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pixelrifts/c-codebase

0.0 0.0 0.0 52.78 MB

A simple base layer, and utilities for my own C development. A lot of the stuff came from https://www.youtube.com/c/Mr4thProgramming, but I have made a few simplifications/modifications

License: MIT License

C 95.44% GLSL 1.56% Batchfile 0.71% HLSL 1.95% Roff 0.33%

c-codebase's Introduction

c-codebase

My Codebase for C programming. Based a little on https://www.youtube.com/c/Mr4thProgramming but a lot more is added here

Mainly made to use as few libraries as possible and for my own exploration and use.

What does this codebase have

  • A Base Layer:
    • Basic Memory Allocators
    • String Utilities
    • Thread Context
    • Math
    • Logging
    • Generic Data structure defining macros
  • An OS Layer: (Only win32 implemented):
    • Basic File handling
    • Dynamic Library Loading
    • Windowing
    • Input
    • Timing
    • Threading
  • A Core Graphics Layer:
    • Multiple Backends (OpenGL 3.3, OpenGL 4.6 and D3D11)
    • OS Specific Device/Context Creation
    • OpenGL Function Loading
    • Thin wrapper over backend specific calls (Buffers, Pipelines and Shaders are generic to all backends)
  • Several Optional Layers
    • Simple 2D Renderer
    • User Interface (Somewhat complete)
    • Simple 2D Physics (Only collision detection and resolution done. No dynamics yet)

How do I use this codebase?

It has a simple build script batch file. Just cd into the directory and run build.bat!

You need clang installed as I have not tested this with other compilers. Windows Only because I can't test things out with Linux since I don't have a Linux machine.

c-codebase's People

Contributors

pixelrifts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.