diff --git a/dl_sources.sh b/dl_sources.sh index 81c777d..4ec0c94 100755 --- a/dl_sources.sh +++ b/dl_sources.sh @@ -29,5 +29,5 @@ fetch_resource() fetch_resource "http://archive.org/download/Half-lifeUplink/hluplink.exe" "Half-Life: Uplink" fetch_resource "http://archive.org/download/half-life-patches/English/Update 1.1.1.0 English/hl1110.exe" "Half-Life: Patch 1.1.1.0" fetch_resource "https://archive.org/download/opfor-demo/opfordemofull.exe" "Half-Life: Opposing Force - Demo" -fetch_resource "https://downloads.ammahls.com/HLSDK/hl_sdk_v23.exe" +fetch_resource "https://downloads.ammahls.com/HLSDK/hl_sdk_v23.exe" "Half-Life SDK v2.3" fetch_resource "http://archive.org/download/steaminstall_halflife/steaminstall_halflife.exe" "Steam Installer with Half-Life Cache" \ No newline at end of file diff --git a/tools/bmpfix/bmpfix.c b/tools/bmpfix/bmpfix.c index 8faf5ef..090e06b 100644 --- a/tools/bmpfix/bmpfix.c +++ b/tools/bmpfix/bmpfix.c @@ -82,7 +82,7 @@ process_bmp(char *filename) exit(0); } - /* There are no other types of palette lumps. Sorry */ + /* this is a 164x200 256-color BMP household */ stat(filename, &bmp_st); if (bmp_st.st_size != 33878) { fprintf(stderr, "%s has invalid player bitmap size, skipping\n", filename); @@ -95,7 +95,7 @@ process_bmp(char *filename) fread(bmp_buffer, 1, 32800, fp); fclose(fp); - /* convert from 8-bit to 24-bit */ + /* convert from 8-bit to 24-bit and back */ for (int i = 0; i < 32800; i += 1) { int palId = bmp_buffer[i] * 4; /* get 24-bit values */