init
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/bin
|
||||||
|
/obj
|
293
main.cpp
Normal file
293
main.cpp
Normal file
@@ -0,0 +1,293 @@
|
|||||||
|
#include "SDL2/SDL.h"
|
||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint8_t a;
|
||||||
|
uint8_t b;
|
||||||
|
bool isMinus;
|
||||||
|
int8_t result;
|
||||||
|
} Priklad;
|
||||||
|
|
||||||
|
Priklad priklad;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
SDL_Rect rekt;
|
||||||
|
int8_t value;
|
||||||
|
}Vysledok;
|
||||||
|
|
||||||
|
|
||||||
|
// Constants
|
||||||
|
const int SCREEN_WIDTH = 1280;
|
||||||
|
const int SCREEN_HEIGHT = 720;
|
||||||
|
const int PLAYER_HEIGHT = 20;
|
||||||
|
const int OBJECT_SIZE = 30;
|
||||||
|
|
||||||
|
const int PLAYER_SPEED = 10;
|
||||||
|
const int SEGMENT_WIDTH = 10;
|
||||||
|
const int DIGIT_WIDTH = 40;
|
||||||
|
const int DIGIT_HEIGHT = 60;
|
||||||
|
const int PLAYER_WIDTH = (DIGIT_WIDTH * 3) / 2;
|
||||||
|
|
||||||
|
const int MAX_FALL_SPEED = 8;
|
||||||
|
const int ORIG_FALL_SPEED = 2;
|
||||||
|
|
||||||
|
int FALL_SPEED = ORIG_FALL_SPEED;
|
||||||
|
|
||||||
|
const int vyslWidth = DIGIT_WIDTH * 4;
|
||||||
|
Vysledok vysledky[(SCREEN_WIDTH / vyslWidth)];
|
||||||
|
|
||||||
|
|
||||||
|
int score = 0;
|
||||||
|
|
||||||
|
// SDL Variables
|
||||||
|
SDL_Window* window = nullptr;
|
||||||
|
SDL_Renderer* renderer = nullptr;
|
||||||
|
SDL_Rect player, object;
|
||||||
|
|
||||||
|
const int numResults = sizeof(vysledky) / sizeof(Vysledok);
|
||||||
|
|
||||||
|
void generatePriklad() {
|
||||||
|
priklad.a = rand() % 10;
|
||||||
|
priklad.b = rand() % 10;
|
||||||
|
priklad.isMinus = rand() > (RAND_MAX / 2);
|
||||||
|
priklad.result = priklad.isMinus ? (priklad.a - priklad.b) : (priklad.a + priklad.b);
|
||||||
|
}
|
||||||
|
|
||||||
|
void generateVysledky() {
|
||||||
|
generatePriklad();
|
||||||
|
for (size_t i = 0; i < numResults; i++) {
|
||||||
|
vysledky[i].rekt.x = i * vyslWidth;
|
||||||
|
vysledky[i].rekt.y = DIGIT_HEIGHT * 2;
|
||||||
|
vysledky[i].rekt.w = (DIGIT_WIDTH + 10) * 3;
|
||||||
|
vysledky[i].rekt.h = DIGIT_HEIGHT;
|
||||||
|
vysledky[i].value = rand() % 19;
|
||||||
|
}
|
||||||
|
// Choose a random index to set to a specific value
|
||||||
|
size_t randomIndex = rand() % numResults; // Pick a random index
|
||||||
|
vysledky[randomIndex].value = priklad.result; // Set this specific element to a value (e.g., 42)
|
||||||
|
}
|
||||||
|
|
||||||
|
void stepVysledky() {
|
||||||
|
for (size_t i = 0; i < sizeof(vysledky) / sizeof(Vysledok); i++) {
|
||||||
|
vysledky[i].rekt.y += FALL_SPEED;
|
||||||
|
if (SDL_HasIntersection(&player, &vysledky[i].rekt)) {
|
||||||
|
if (vysledky[i].value == priklad.result) {
|
||||||
|
score++;
|
||||||
|
FALL_SPEED = score / 4 + 2;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
score = 0;
|
||||||
|
FALL_SPEED = ORIG_FALL_SPEED;
|
||||||
|
}
|
||||||
|
if (FALL_SPEED > MAX_FALL_SPEED) {
|
||||||
|
FALL_SPEED = MAX_FALL_SPEED;
|
||||||
|
}
|
||||||
|
if (FALL_SPEED < ORIG_FALL_SPEED) {
|
||||||
|
FALL_SPEED = ORIG_FALL_SPEED;
|
||||||
|
}
|
||||||
|
generateVysledky();
|
||||||
|
}
|
||||||
|
if (vysledky[i].rekt.y >= SCREEN_HEIGHT) {
|
||||||
|
generateVysledky();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Function to initialize SDL
|
||||||
|
bool init() {
|
||||||
|
srand(time(NULL));
|
||||||
|
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
|
||||||
|
std::cout << "SDL Initialization Failed: " << SDL_GetError() << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
window = SDL_CreateWindow("Catch the Falling Object", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
|
||||||
|
if (!window) {
|
||||||
|
std::cout << "Window Creation Failed: " << SDL_GetError() << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
|
||||||
|
if (!renderer) {
|
||||||
|
std::cout << "Renderer Creation Failed: " << SDL_GetError() << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
generateVysledky();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Function to close SDL
|
||||||
|
void close() {
|
||||||
|
SDL_DestroyRenderer(renderer);
|
||||||
|
SDL_DestroyWindow(window);
|
||||||
|
SDL_Quit();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Function to draw a single 7-segment style digit
|
||||||
|
void drawSegmentedDigit(int digit, int x, int y) {
|
||||||
|
static const std::vector<std::vector<bool>> segments = {
|
||||||
|
{1, 1, 1, 0, 1, 1, 1, 0}, // 0
|
||||||
|
{0, 0, 1, 0, 0, 1, 0, 0}, // 1
|
||||||
|
{1, 0, 1, 1, 1, 0, 1, 0}, // 2
|
||||||
|
{1, 0, 1, 1, 0, 1, 1, 0}, // 3
|
||||||
|
{0, 1, 1, 1, 0, 1, 0, 0}, // 4
|
||||||
|
{1, 1, 0, 1, 0, 1, 1, 0}, // 5
|
||||||
|
{1, 1, 0, 1, 1, 1, 1, 0}, // 6
|
||||||
|
{1, 0, 1, 0, 0, 1, 0, 0}, // 7
|
||||||
|
{1, 1, 1, 1, 1, 1, 1, 0}, // 8
|
||||||
|
{1, 1, 1, 1, 0, 1, 1, 0}, // 9
|
||||||
|
{0, 0, 0, 1, 0, 0, 0, 0}, //plus
|
||||||
|
{0, 0, 0, 1, 0, 0, 1, 0}, //equals
|
||||||
|
{0, 0, 0, 1, 0, 0, 0, 1}, //minus
|
||||||
|
};
|
||||||
|
|
||||||
|
SDL_SetRenderDrawColor(renderer, 255, 255, 0, 255);
|
||||||
|
SDL_Rect seg[8] = {
|
||||||
|
{x + SEGMENT_WIDTH, y, DIGIT_WIDTH - 2 * SEGMENT_WIDTH, SEGMENT_WIDTH}, // Top
|
||||||
|
{x, y + SEGMENT_WIDTH, SEGMENT_WIDTH, DIGIT_HEIGHT / 2 - SEGMENT_WIDTH}, // Top-left
|
||||||
|
{x + DIGIT_WIDTH - SEGMENT_WIDTH, y + SEGMENT_WIDTH, SEGMENT_WIDTH, DIGIT_HEIGHT / 2 - SEGMENT_WIDTH}, // Top-right
|
||||||
|
{x + SEGMENT_WIDTH, y + DIGIT_HEIGHT / 2 - SEGMENT_WIDTH / 2, DIGIT_WIDTH - 2 * SEGMENT_WIDTH, SEGMENT_WIDTH}, // Middle
|
||||||
|
{x, y + DIGIT_HEIGHT / 2, SEGMENT_WIDTH, DIGIT_HEIGHT / 2 - SEGMENT_WIDTH}, // Bottom-left
|
||||||
|
{x + DIGIT_WIDTH - SEGMENT_WIDTH, y + DIGIT_HEIGHT / 2, SEGMENT_WIDTH, DIGIT_HEIGHT / 2 - SEGMENT_WIDTH}, // Bottom-right
|
||||||
|
{x + SEGMENT_WIDTH, y + DIGIT_HEIGHT - SEGMENT_WIDTH, DIGIT_WIDTH - 2 * SEGMENT_WIDTH, SEGMENT_WIDTH}, // Bottom
|
||||||
|
{x + DIGIT_WIDTH / 2 - SEGMENT_WIDTH / 2, y + DIGIT_HEIGHT / 2 - DIGIT_HEIGHT / 4 + (SEGMENT_WIDTH / 2), SEGMENT_WIDTH, SEGMENT_WIDTH * 2}, // Bottom-right
|
||||||
|
};
|
||||||
|
|
||||||
|
for (int i = 0; i < 8; i++) {
|
||||||
|
if (segments[digit][i]) {
|
||||||
|
SDL_RenderFillRect(renderer, &seg[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void drawVysledok(Vysledok vysledok) {
|
||||||
|
char scoreStr[4]; // Array to store the digits and sign (+ or -)
|
||||||
|
size_t index = 0;
|
||||||
|
|
||||||
|
// Handle the sign (+ or -)
|
||||||
|
if (vysledok.value >= 0) {
|
||||||
|
scoreStr[index++] = '+'; // Add '+' for positive numbers or zero
|
||||||
|
} else {
|
||||||
|
scoreStr[index++] = '-'; // Add '-' for negative numbers
|
||||||
|
vysledok.value = -vysledok.value; // Make the value positive for easier processing
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle the digits (1 or 2 digit numbers)
|
||||||
|
if (vysledok.value < 10) {
|
||||||
|
scoreStr[index++] = '0' + vysledok.value; // Single digit number
|
||||||
|
} else {
|
||||||
|
scoreStr[index++] = '0' + (vysledok.value / 10); // Tens digit
|
||||||
|
scoreStr[index++] = '0' + (vysledok.value % 10); // Ones digit
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add null terminator to the string
|
||||||
|
scoreStr[index] = '\0';
|
||||||
|
|
||||||
|
// Draw the segments
|
||||||
|
for (size_t i = 0; i < index; i++) {
|
||||||
|
// Handle '-' and '+' signs as special cases
|
||||||
|
if (scoreStr[i] == '-') {
|
||||||
|
scoreStr[i] = 10; // ASCII value for '-' is converted to 10 for rendering
|
||||||
|
} else if (scoreStr[i] == '+') {
|
||||||
|
scoreStr[i] = 12; // ASCII value for '+' is converted to 11 for rendering
|
||||||
|
} else {
|
||||||
|
scoreStr[i] -= '0'; // Convert from ASCII char to integer
|
||||||
|
}
|
||||||
|
|
||||||
|
// Draw the digit
|
||||||
|
drawSegmentedDigit(scoreStr[i], vysledok.rekt.x + i * (DIGIT_WIDTH + 10), vysledok.rekt.y);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Function to draw score
|
||||||
|
void drawScore(int score, int x, int y) {
|
||||||
|
std::string scoreStr = std::to_string(score);
|
||||||
|
for (size_t i = 0; i < scoreStr.size(); i++) {
|
||||||
|
drawSegmentedDigit(scoreStr[i] - '0', x + i * (DIGIT_WIDTH + 10), y);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Render priklad
|
||||||
|
void drawPriklad(int x, int y) {
|
||||||
|
uint8_t i = 0;
|
||||||
|
drawSegmentedDigit(priklad.a, x + i++ * (DIGIT_WIDTH), y);
|
||||||
|
drawSegmentedDigit(priklad.isMinus ? 10 : 12, x + i++ * (DIGIT_WIDTH), y);
|
||||||
|
drawSegmentedDigit(priklad.b, x + i++ * (DIGIT_WIDTH), y);
|
||||||
|
drawSegmentedDigit(11, x + i++ * (DIGIT_WIDTH), y);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argv, char** args) {
|
||||||
|
if (!init()) return -1;
|
||||||
|
|
||||||
|
// Initialize player & object
|
||||||
|
player = {SCREEN_WIDTH / 2 - PLAYER_WIDTH / 2, SCREEN_HEIGHT - 50, PLAYER_WIDTH, PLAYER_HEIGHT};
|
||||||
|
|
||||||
|
bool running = true;
|
||||||
|
SDL_Event e;
|
||||||
|
|
||||||
|
while (running) {
|
||||||
|
// Event Handling
|
||||||
|
while (SDL_PollEvent(&e) != 0) {
|
||||||
|
if (e.type == SDL_QUIT) running = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Player Movement
|
||||||
|
//const Uint8* keystate = SDL_GetKeyboardState(NULL);
|
||||||
|
//if (keystate[SDL_SCANCODE_LEFT] && player.x > 0) player.x -= PLAYER_SPEED;
|
||||||
|
//if (keystate[SDL_SCANCODE_RIGHT] && player.x < SCREEN_WIDTH - PLAYER_WIDTH) player.x += PLAYER_SPEED;
|
||||||
|
SDL_GetMouseState(&player.x, NULL);
|
||||||
|
player.x -= PLAYER_WIDTH / 2;
|
||||||
|
if (player.x < 0) {
|
||||||
|
player.x = 0;
|
||||||
|
}
|
||||||
|
else if (player.x > SCREEN_WIDTH - PLAYER_WIDTH) {
|
||||||
|
player.x = SCREEN_WIDTH - PLAYER_WIDTH;
|
||||||
|
}
|
||||||
|
|
||||||
|
stepVysledky();
|
||||||
|
|
||||||
|
// Collision Check
|
||||||
|
if (object.y + OBJECT_SIZE >= player.y && object.x + OBJECT_SIZE >= player.x && object.x <= player.x + PLAYER_WIDTH) {
|
||||||
|
score++;
|
||||||
|
std::cout << "Score: " << score << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Render
|
||||||
|
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
||||||
|
SDL_RenderClear(renderer);
|
||||||
|
|
||||||
|
|
||||||
|
// Draw Score
|
||||||
|
drawScore(score, 20, 20);
|
||||||
|
drawPriklad(200, 20);
|
||||||
|
|
||||||
|
// Draw Player
|
||||||
|
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
|
||||||
|
SDL_RenderFillRect(renderer, &player);
|
||||||
|
|
||||||
|
//printf("%d %d\n", object.x, object.y);
|
||||||
|
// Draw Falling Object
|
||||||
|
|
||||||
|
SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
|
||||||
|
SDL_RenderFillRect(renderer, &object);
|
||||||
|
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
|
||||||
|
for (int i = 0; i< sizeof(vysledky)/sizeof(Vysledok); i++) {
|
||||||
|
SDL_SetRenderDrawColor(renderer, 20, 20, 20, 255);
|
||||||
|
SDL_RenderFillRect(renderer, &vysledky[i].rekt);
|
||||||
|
drawVysledok(vysledky[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SDL_RenderPresent(renderer);
|
||||||
|
SDL_Delay(16);
|
||||||
|
}
|
||||||
|
|
||||||
|
close();
|
||||||
|
return 0;
|
||||||
|
}
|
53
sdlproj.cbp
Normal file
53
sdlproj.cbp
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_project_file>
|
||||||
|
<FileVersion major="1" minor="6" />
|
||||||
|
<Project>
|
||||||
|
<Option title="sdlproj" />
|
||||||
|
<Option pch_mode="2" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Build>
|
||||||
|
<Target title="Debug">
|
||||||
|
<Option output="bin/Debug/sdlproj" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option object_output="obj/Debug/" />
|
||||||
|
<Option type="1" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-g" />
|
||||||
|
</Compiler>
|
||||||
|
</Target>
|
||||||
|
<Target title="Release">
|
||||||
|
<Option output="bin/Release/sdlproj" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option object_output="obj/Release/" />
|
||||||
|
<Option type="0" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-O2" />
|
||||||
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add option="-s" />
|
||||||
|
</Linker>
|
||||||
|
</Target>
|
||||||
|
</Build>
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-Wall" />
|
||||||
|
<Add directory="\\xena\stud\s2\23C30\SDL2-2.32.2\x86_64-w64-mingw32\include" />
|
||||||
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add library="mingw32" />
|
||||||
|
<Add library="SDL2main" />
|
||||||
|
<Add library="SDL2.dll" />
|
||||||
|
<Add library="user32" />
|
||||||
|
<Add library="gdi32" />
|
||||||
|
<Add library="winmm" />
|
||||||
|
<Add library="dxguid" />
|
||||||
|
<Add directory="\\xena\stud\s2\23C30\SDL2-2.32.2\x86_64-w64-mingw32\lib" />
|
||||||
|
</Linker>
|
||||||
|
<ExtraCommands>
|
||||||
|
<Add after="XCOPY $(#sdl2)\bin\*.dll $(TARGET_OUTPUT_DIR) /D /Y" />
|
||||||
|
</ExtraCommands>
|
||||||
|
<Unit filename="main.cpp" />
|
||||||
|
<Extensions>
|
||||||
|
<lib_finder disable_auto="1" />
|
||||||
|
</Extensions>
|
||||||
|
</Project>
|
||||||
|
</CodeBlocks_project_file>
|
457
sdlproj.depend
Normal file
457
sdlproj.depend
Normal file
@@ -0,0 +1,457 @@
|
|||||||
|
# depslib dependency file v1.0
|
||||||
|
1741856076 source:\\xena\stud\s2\23c30\cecko\sdlproj\main.cpp
|
||||||
|
"SDL2/SDL.h"
|
||||||
|
<iostream>
|
||||||
|
<vector>
|
||||||
|
<stdlib.h>
|
||||||
|
<time.h>
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl.h
|
||||||
|
"SDL_main.h"
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_assert.h"
|
||||||
|
"SDL_atomic.h"
|
||||||
|
"SDL_audio.h"
|
||||||
|
"SDL_clipboard.h"
|
||||||
|
"SDL_cpuinfo.h"
|
||||||
|
"SDL_endian.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_events.h"
|
||||||
|
"SDL_filesystem.h"
|
||||||
|
"SDL_gamecontroller.h"
|
||||||
|
"SDL_guid.h"
|
||||||
|
"SDL_haptic.h"
|
||||||
|
"SDL_hidapi.h"
|
||||||
|
"SDL_hints.h"
|
||||||
|
"SDL_joystick.h"
|
||||||
|
"SDL_loadso.h"
|
||||||
|
"SDL_log.h"
|
||||||
|
"SDL_messagebox.h"
|
||||||
|
"SDL_metal.h"
|
||||||
|
"SDL_mutex.h"
|
||||||
|
"SDL_power.h"
|
||||||
|
"SDL_render.h"
|
||||||
|
"SDL_rwops.h"
|
||||||
|
"SDL_sensor.h"
|
||||||
|
"SDL_shape.h"
|
||||||
|
"SDL_system.h"
|
||||||
|
"SDL_thread.h"
|
||||||
|
"SDL_timer.h"
|
||||||
|
"SDL_version.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"SDL_locale.h"
|
||||||
|
"SDL_misc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_main.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_stdinc.h
|
||||||
|
"SDL_config.h"
|
||||||
|
<sys/types.h>
|
||||||
|
<stdio.h>
|
||||||
|
<stdlib.h>
|
||||||
|
<stddef.h>
|
||||||
|
<stdarg.h>
|
||||||
|
<stdlib.h>
|
||||||
|
<malloc.h>
|
||||||
|
<stddef.h>
|
||||||
|
<stdarg.h>
|
||||||
|
<memory.h>
|
||||||
|
<string.h>
|
||||||
|
<strings.h>
|
||||||
|
<wchar.h>
|
||||||
|
<inttypes.h>
|
||||||
|
<stdint.h>
|
||||||
|
<ctype.h>
|
||||||
|
<math.h>
|
||||||
|
<float.h>
|
||||||
|
<alloca.h>
|
||||||
|
<malloc.h>
|
||||||
|
<malloc.h>
|
||||||
|
<malloc.h>
|
||||||
|
<stdlib.h>
|
||||||
|
<sal.h>
|
||||||
|
"begin_code.h"
|
||||||
|
<stdlib.h>
|
||||||
|
<string.h>
|
||||||
|
<stdio.h>
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
"SDL_config_windows.h"
|
||||||
|
"SDL_config_winrt.h"
|
||||||
|
"SDL_config_wingdk.h"
|
||||||
|
"SDL_config_xbox.h"
|
||||||
|
"SDL_config_macosx.h"
|
||||||
|
"SDL_config_iphoneos.h"
|
||||||
|
"SDL_config_android.h"
|
||||||
|
"SDL_config_os2.h"
|
||||||
|
"SDL_config_emscripten.h"
|
||||||
|
"SDL_config_ngage.h"
|
||||||
|
"SDL_config_minimal.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_platform.h
|
||||||
|
<AvailabilityMacros.h>
|
||||||
|
<TargetConditionals.h>
|
||||||
|
<TargetConditionals.h>
|
||||||
|
<winapifamily.h>
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\begin_code.h
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\close_code.h
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_windows.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
<winsdkver.h>
|
||||||
|
<sdkddkver.h>
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_winrt.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
<sdkddkver.h>
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_wingdk.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248490 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_xbox.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_macosx.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
<AvailabilityMacros.h>
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_iphoneos.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_android.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
<stdarg.h>
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_os2.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_emscripten.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_ngage.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_config_minimal.h
|
||||||
|
"SDL_platform.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_assert.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
<signal.h>
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_atomic.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_platform.h"
|
||||||
|
"begin_code.h"
|
||||||
|
<sys/cpuinline.h>
|
||||||
|
<mbarrier.h>
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_audio.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_endian.h"
|
||||||
|
"SDL_mutex.h"
|
||||||
|
"SDL_thread.h"
|
||||||
|
"SDL_rwops.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_error.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_endian.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
<intrin.h>
|
||||||
|
<endian.h>
|
||||||
|
<sys/byteorder.h>
|
||||||
|
<endian.h>
|
||||||
|
<sys/endian.h>
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_mutex.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_thread.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_atomic.h"
|
||||||
|
"SDL_mutex.h"
|
||||||
|
<process.h>
|
||||||
|
<process.h>
|
||||||
|
<stdlib.h>
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_rwops.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_clipboard.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_cpuinfo.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
<intrin.h>
|
||||||
|
<intrin.h>
|
||||||
|
<arm_neon.h>
|
||||||
|
<altivec.h>
|
||||||
|
<arm_neon.h>
|
||||||
|
<armintr.h>
|
||||||
|
<arm_neon.h>
|
||||||
|
<arm64intr.h>
|
||||||
|
<arm64_neon.h>
|
||||||
|
<mm3dnow.h>
|
||||||
|
<lsxintrin.h>
|
||||||
|
<lasxintrin.h>
|
||||||
|
<immintrin.h>
|
||||||
|
<mmintrin.h>
|
||||||
|
<xmmintrin.h>
|
||||||
|
<emmintrin.h>
|
||||||
|
<pmmintrin.h>
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_events.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"SDL_keyboard.h"
|
||||||
|
"SDL_mouse.h"
|
||||||
|
"SDL_joystick.h"
|
||||||
|
"SDL_gamecontroller.h"
|
||||||
|
"SDL_quit.h"
|
||||||
|
"SDL_gesture.h"
|
||||||
|
"SDL_touch.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_video.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_pixels.h"
|
||||||
|
"SDL_rect.h"
|
||||||
|
"SDL_surface.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_pixels.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_endian.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_rect.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_pixels.h"
|
||||||
|
"SDL_rwops.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_surface.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_pixels.h"
|
||||||
|
"SDL_rect.h"
|
||||||
|
"SDL_blendmode.h"
|
||||||
|
"SDL_rwops.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_blendmode.h
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_keyboard.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_keycode.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_keycode.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_scancode.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_scancode.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_mouse.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_joystick.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_guid.h"
|
||||||
|
"SDL_mutex.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_guid.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_gamecontroller.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_rwops.h"
|
||||||
|
"SDL_sensor.h"
|
||||||
|
"SDL_joystick.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_sensor.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_quit.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_gesture.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"SDL_touch.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_touch.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_filesystem.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_haptic.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"SDL_joystick.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_hidapi.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_hints.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_loadso.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_log.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_messagebox.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_metal.h
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248485 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_power.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_render.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_rect.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_shape.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_pixels.h"
|
||||||
|
"SDL_rect.h"
|
||||||
|
"SDL_surface.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248487 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_system.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_keyboard.h"
|
||||||
|
"SDL_render.h"
|
||||||
|
"SDL_video.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248489 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_timer.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_version.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248486 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_locale.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"SDL_error.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1741248488 \\xena\stud\s2\23c30\sdl2-2.32.2\x86_64-w64-mingw32\include\sdl2\sdl_misc.h
|
||||||
|
"SDL_stdinc.h"
|
||||||
|
"begin_code.h"
|
||||||
|
"close_code.h"
|
||||||
|
|
||||||
|
1742458051 source:z:\cecko\sdlproj\main.cpp
|
||||||
|
"SDL2/SDL.h"
|
||||||
|
<iostream>
|
||||||
|
<vector>
|
||||||
|
<stdlib.h>
|
||||||
|
<time.h>
|
||||||
|
|
Reference in New Issue
Block a user