src/strgen/strgen.cpp
changeset 6247 7d81e3a5d803
parent 5832 974703f615e5
child 6248 e4a2ed7e5613
equal deleted inserted replaced
6246:75451000349d 6247:7d81e3a5d803
   936 	return hash;
   936 	return hash;
   937 }
   937 }
   938 
   938 
   939 
   939 
   940 // make a hash of the file to get a unique "version number"
   940 // make a hash of the file to get a unique "version number"
   941 static void MakeHashOfStrings(void)
   941 static void MakeHashOfStrings()
   942 {
   942 {
   943 	uint32 hash = 0;
   943 	uint32 hash = 0;
   944 	uint i;
   944 	uint i;
   945 
   945 
   946 	for (i = 0; i != lengthof(_strings); i++) {
   946 	for (i = 0; i != lengthof(_strings); i++) {
  1067 	}
  1067 	}
  1068 
  1068 
  1069 	return sum;
  1069 	return sum;
  1070 }
  1070 }
  1071 
  1071 
  1072 static void PutArgidxCommand(void)
  1072 static void PutArgidxCommand()
  1073 {
  1073 {
  1074 	PutUtf8(SCC_ARG_INDEX);
  1074 	PutUtf8(SCC_ARG_INDEX);
  1075 	PutByte(TranslateArgumentIdx(_cur_argidx));
  1075 	PutByte(TranslateArgumentIdx(_cur_argidx));
  1076 }
  1076 }
  1077 
  1077