Skip to content

Instantly share code, notes, and snippets.

#include <raylib.h>
#include <raymath.h>
#include <stdint.h>
#define min(a, b) (a) < (b) ? (a) : (b)
#define max(a, b) (a) > (b) ? (a) : (b)
static void
GridFromHeightMap(Vector3 *grid_positions, // output grid
int32_t grid_width, // point count x axis
// Kryszard's Loot Filter ver 2.1
//
// twitch.tv/kryszard
//
// For Casual and EndGame Players
//Gold
ItemDisplay[GOLD<100 CLVL<60]:
ItemDisplay[GOLD<1000 (CLVL>19 AND CLVL<80)]:
ItemDisplay[GOLD<5000 CLVL>79]:
#include <stdlib.h>
#include <assert.h>
#include <stdint.h>
#include <intrin.h>
#include <emmintrin.h>
#include <immintrin.h>
#include <windows.h>
#define JM_MATH_IMPLEMENTATION
#define JM_MATH_USE_STDLIB
#include <stdlib.h>
#include <stdint.h>
#include <assert.h>
#define JM_MATH_IMPLEMENTATION
#define JM_MATH_USE_STDLIB
#include "jm_math.h"
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <conio.h>
#include <time.h>
#define array_count(arr) (sizeof(arr) / sizeof((arr)[0]))