libs compiles

This commit is contained in:
Ondřej Novák 2025-01-25 21:15:16 +01:00
parent 1b0f7fe0c2
commit a7278bac40
121 changed files with 1528 additions and 1731 deletions

View file

@ -280,7 +280,7 @@ void CColEditDlg::OnSelchangeColorlist()
extern "C"
{
void *getmem(long sz)
void *getmem(int32_t sz)
{
return malloc(sz);
}

View file

@ -1,4 +1,4 @@
// Podlaháø.cpp : Defines the class behaviors for the application.
// Podlah<EFBFBD><EFBFBD>.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
@ -92,5 +92,5 @@ extern "C"
trans_bar() {abort();}
text_width() {abort();}
RedirectScreenBufferSecond() {abort();}
void *getmem(long size) {return malloc(size);}
void *getmem(int32_t size) {return malloc(size);}
}

View file

@ -174,7 +174,7 @@ void draw_it_all_c(int genMlhu)
void read_palette(char *filename,void *paleta)
{
FILE *f;
long l;
int32_t l;
f=fopen(filename,"rb");
if (f==NULL) return;
@ -267,7 +267,7 @@ void help()
{
printf("ONS Podlahar (C)1997 \n"
"\n"
"Pouit¡: PODLAHY <obrazek1.pcx> <obrazek2.pcx> <rv> <gv> <bv> \n"
"Pou<EFBFBD>it<EFBFBD>: PODLAHY <obrazek1.pcx> <obrazek2.pcx> <rv> <gv> <bv> \n"
"\n"
"<obrazek1.pcx> <obrazek2.pcx>\n"
" soubory s texturami ve formatu pcx. Textura musi mit velikost 500x320\n\n"
@ -344,8 +344,8 @@ main(int argv,char *argc[])
*/
long scr_linelen=1280;
long scr_linelen2=640;
int32_t scr_linelen=1280;
int32_t scr_linelen2=640;
char *PodlahaStrop(int r, int g, int b, const char *filename1, const char *filename2, int genMlhu)
{