diff --git a/projects/VSCode_tcc_win/.vscode/c_cpp_properties.json b/projects/VSCode_tcc_win/.vscode/c_cpp_properties.json deleted file mode 100644 index 018e953a..00000000 --- a/projects/VSCode_tcc_win/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "configurations": [ - { - "name": "Win32", - "includePath": [ - "C:/raylib/raylib/src/**", - "C:/raylib/tcc/**", - "${workspaceFolder}/**" - ], - "defines": [ - "_DEBUG", - "UNICODE", - "_UNICODE", - "GRAPHICS_API_OPENGL_33", - "PLATFORM_DESKTOP" - ], - "compilerPath": "C:/raylib/tcc/tcc.exe", - "cStandard": "c99", - "cppStandard": "c++14", - "intelliSenseMode": "gcc-x64" - } - ], - "version": 4 -} diff --git a/projects/VSCode_tcc_win/.vscode/settings.json b/projects/VSCode_tcc_win/.vscode/settings.json deleted file mode 100644 index ca02a5af..00000000 --- a/projects/VSCode_tcc_win/.vscode/settings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "files.exclude": { - "**/.git": true, - "**/.svn": true, - "**/.hg": true, - "**/CVS": true, - "**/.DS_Store": true, - "**/*.o": true - } -} \ No newline at end of file diff --git a/projects/VSCode_tcc_win/.vscode/tasks.json b/projects/VSCode_tcc_win/.vscode/tasks.json deleted file mode 100644 index d9446fdb..00000000 --- a/projects/VSCode_tcc_win/.vscode/tasks.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "windows": { - "options": { - "shell": { - "executable": "C:\\windows\\System32\\cmd.exe", - "args": [ - "/d", "/c" - ] - } - } - }, - "tasks": [ - { - "label": "build & run", - "type": "shell", - "command": "make.exe all workplaceFolder=${workspaceFolder} outputExe=${workspaceFolderBasename}.exe", - "args":[ - "&& ${workspaceFolderBasename}.exe", - ], - "options": { - "env":{ - "PATH" : "C:\\raylib\\tcc\\;%PATH%" - } - }, - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - "$gcc" - ] - } - ] -} \ No newline at end of file diff --git a/projects/VSCode_tcc_win/Makefile b/projects/VSCode_tcc_win/Makefile deleted file mode 100644 index 853052fd..00000000 --- a/projects/VSCode_tcc_win/Makefile +++ /dev/null @@ -1,12 +0,0 @@ - -MAIN_CFILE = main.c -SUPPORT_CFILES = - -#************************************************************************************************** -# raylib makefile for TCC -#************************************************************************************************** -CC = tcc -CFLAGS = -vv -std=c99 -Wall -lmsvcrt -lraylib -lopengl32 -lgdi32 -lkernel32 -lshell32 -luser32 -lwinmm -Wl,-subsystem=gui -OUTPUT = $(outputExe) -all: - $(CC) -o $(OUTPUT) $(MAIN_CFILE) $(SUPPORT_CFILES) $(CFLAGS) \ No newline at end of file diff --git a/projects/VSCode_tcc_win/README.md b/projects/VSCode_tcc_win/README.md deleted file mode 100644 index c2d8fcc1..00000000 --- a/projects/VSCode_tcc_win/README.md +++ /dev/null @@ -1,5 +0,0 @@ -How to use -1. Rename Folder -2. open workspace (main.code-workspace) -3. edit Makefile to include your files -4. F5 and choose "build & run" diff --git a/projects/VSCode_tcc_win/main.c b/projects/VSCode_tcc_win/main.c deleted file mode 100644 index ed1bbcfd..00000000 --- a/projects/VSCode_tcc_win/main.c +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************************************************* -* -* raylib [core] example - Basic 3d example -* -* Welcome to raylib! -* -* To compile example, just press F5. -* Note that compiled executable is placed in the same folder as .c file -* -* You can find all basic examples on C:\raylib\raylib\examples folder or -* raylib official webpage: www.raylib.com -* -* Enjoy using raylib. :) -* -* This example has been created using raylib 1.0 (www.raylib.com) -* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) -* -* Copyright (c) 2013-2020 Ramon Santamaria (@raysan5) -* -********************************************************************************************/ - -#include "raylib.h" - -int main() -{ - // Initialization - //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; - - InitWindow(screenWidth, screenHeight, "raylib"); - - Camera camera = { 0 }; - - camera.position = (Vector3){ 10.0f, 10.0f, 8.0f }; - camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; - camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; - camera.fovy = 60.0f; - camera.projection = CAMERA_PERSPECTIVE; - - SetCameraMode(camera, CAMERA_ORBITAL); - - Vector3 cubePosition = { 0 }; - - SetTargetFPS(60); // Set our game to run at 60 frames-per-second - //-------------------------------------------------------------------------------------- - - // Main game loop - while (!WindowShouldClose()) // Detect window close button or ESC key - { - // Update - //---------------------------------------------------------------------------------- - UpdateCamera(&camera); - //---------------------------------------------------------------------------------- - - // Draw - //---------------------------------------------------------------------------------- - BeginDrawing(); - - ClearBackground(RAYWHITE); - - BeginMode3D(camera); - - DrawCube(cubePosition, 2.0f, 2.0f, 2.0f, RED); - DrawCubeWires(cubePosition, 2.0f, 2.0f, 2.0f, MAROON); - DrawGrid(10, 1.0f); - - EndMode3D(); - - DrawText("This is a raylib example", 10, 40, 20, DARKGRAY); - - DrawFPS(10, 10); - - EndDrawing(); - //---------------------------------------------------------------------------------- - } - - // De-Initialization - //-------------------------------------------------------------------------------------- - CloseWindow(); // Close window and OpenGL context - //-------------------------------------------------------------------------------------- - - return 0; -} \ No newline at end of file diff --git a/projects/VSCode_tcc_win/main.code-workspace b/projects/VSCode_tcc_win/main.code-workspace deleted file mode 100644 index 267248e6..00000000 --- a/projects/VSCode_tcc_win/main.code-workspace +++ /dev/null @@ -1,16 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ], - "settings": { - "files.associations": { - "raylib.h": "c", - "math.h": "c", - "blocks.h": "c", - "stdio.h": "c", - "*.m": "c" - } - } -} \ No newline at end of file