Commit Graph

55 Commits

Author SHA1 Message Date
Marco Cawthorne ddf5069a2a
limits.h fix for other platforms 2023-05-07 08:35:49 -07:00
Ondřej Hošek 2063e3e0cd
Merge pull request #5 from sl1pkn07/master
Fix makefiles
2018-04-13 20:06:43 +02:00
sL1pKn07 5e3625a8f2 Fix makefiles 2018-04-13 19:04:16 +02:00
Ondřej Hošek f9f11b97c9 update Makefile to 2.4.6 2018-03-03 20:17:08 +01:00
Ondřej Hošek b2837fe8b4 Merge branch 'upstream' 2018-03-03 20:08:11 +01:00
Ondřej Hošek 458db53758 update HLLib to 2.4.6 2018-03-03 20:06:47 +01:00
Ondřej Hošek 9e8c14265a Merge pull request #4 from mark-grimes/patch-1
Fix for recent Dota 2 VPK files
2017-01-06 15:11:09 +01:00
Mark Grimes 7308104c6c Allow missing Null terminator after the final entry 2017-01-06 09:34:56 +00:00
Ondřej Hošek 3e71445267 Merge pull request #3 from sigsegv-mvm/fix-typename
Remove spurious "typename"s in typedefs in HLLib.h
2016-08-01 09:35:12 +02:00
sigsegv bdb71601d1 Remove spurious "typename"s in typedefs in HLLib.h
Commit 423adba1da did this for SGAFile.h but didn't fix it for HLLib.h itself, causing compile errors for programs using the library.
2016-07-31 17:14:26 -07:00
Ondřej Hošek 423adba1da remove spurious "typename"s in typedefs 2014-09-28 17:17:28 +02:00
Ondřej Hošek e061e4f4ee Merge branch 'upstream'
update to 2.4.5 revision 1

Conflicts:
	HLLib/XZPFile.cpp
2014-09-28 17:03:38 +02:00
Ondřej Hošek 87cfe4aa34 update HLLib to 2.4.5 revision 1 2014-09-28 17:01:44 +02:00
Ondřej Hošek 5b5d787de5 HLLib: build as C++11 with all warnings on Unix 2013-11-22 02:01:21 +01:00
Ondřej Hošek 7f7fb3c668 HLLib: add default cases to all switches
Fixes a g++ warning.
2013-11-22 02:00:52 +01:00
Ondřej Hošek 537c4d8303 HLLib: correct access to template-inherited variable
If the superclass is a template class, member variables can only be
accessed via the this pointer.
2013-11-22 02:00:32 +01:00
Ondřej Hošek 5850344f8a HLLib: fake typedef inheritance
To "inherit" the typedefs from a possibly-specialized superclass, they must
be explicitly typedef'd to the superclass's typedefs.
2013-11-22 01:58:05 +01:00
Ondřej Hošek f817b5727f HLLib: remove spurious 0 from format string
If a precision is given for an unsigned integer, padding always happens
with zeroes.
2013-11-22 01:56:47 +01:00
Ondřej Hošek 57e6a9b5bb HLLib: bypass strict-aliasing rules using union
Suppress the strict-aliasing warning by accessing the FourCC array via a
union.
2013-11-22 01:56:08 +01:00
Ondřej Hošek d2fdc13491 HLLib: always initialize file access mode variable
Fixes the warning appearing thanks to -Wuninitialized.
2013-11-22 01:55:11 +01:00
Ondřej Hošek f5a28b2729 HLLib: update Makefile version number to 2.4.5 2013-11-22 01:04:41 +01:00
Ondřej Hošek f93bccd42c Merge branch 'upstream'
merging in 2.4.5
2013-11-22 01:03:39 +01:00
Ondřej Hošek d2845adff7 update HLLib to 2.4.5 2013-11-22 01:03:30 +01:00
Ondřej Hošek 855728724f HLExtract: make hlextract depend on libhl.a in the Makefile 2013-11-22 01:02:12 +01:00
Ondřej Hošek 880077d94c HLLib: don't infinite-loop in WStringToString if an unexpected character is detected 2013-05-07 16:47:06 +02:00
Ondřej Hošek c48d5c298a HLExtract: use colors only if outputting to a terminal 2013-05-07 15:49:14 +02:00
Ondřej Hošek 0dce4a6660 HLExtract: colors on Unix
uses ANSI escape sequences; not guaranteed to work on every terminal
2013-05-07 15:06:11 +02:00
Ondřej Hošek fd6cfcbe5c HLExtract: update usage to reflect Unix bin name
Update the usage message of HLExtract to reflect that the name of the binary is
"hlextract" as dictated by the Makefile. Also remove the quotes that would break
substitution of tilde for the home directory.
2013-05-07 15:03:28 +02:00
Ondřej Hošek 522c3f9237 HLExtract: add Makefile 2013-05-07 14:57:34 +02:00
Ondřej Hošek 1627ba2c46 update HLLib version in Makefile 2013-04-02 03:48:40 +02:00
Ondřej Hošek 5b2de7e1d8 Merge branch 'upstream' 2013-04-02 03:46:16 +02:00
Ondřej Hošek ae33040994 update HLLib to 2.4.4 2013-04-02 03:44:24 +02:00
Ondřej Hošek 79e956bee0 update HLLib version in Makefile 2012-12-11 03:12:30 +01:00
Ondřej Hošek c510087d99 Linux: build SGAFile.cpp too 2012-12-11 03:06:02 +01:00
Ondřej Hošek 3c79312e89 Merge branch 'upstream' 2012-12-11 03:02:32 +01:00
Ondřej Hošek 8473d547ed update HLLib to 2.4.3 2012-12-11 03:02:11 +01:00
Ondřej Hošek 8e827c13f7 HLExtract: flush stdout after progress update 2012-06-30 23:45:36 +02:00
Ondřej Hošek 4d4d8a414a HLExtract: remove pointless call 2012-06-30 20:18:19 +02:00
Ondřej Hošek af8c23d24e HLExtract: handle unused parameters 2012-06-30 20:16:58 +02:00
Ondřej Hošek fa3808be7e HLExtract: add default cases 2012-06-30 20:16:42 +02:00
Ondřej Hošek 364a4e61c5 HLExtract: use in-tree path to HLLib on Unix 2012-06-30 20:16:10 +02:00
Ondřej Hošek bf05bce351 strip names off unused parameters 2012-06-30 20:04:21 +02:00
Ondřej Hošek 2cd9ae6833 cast -1 to unsigned for comparison 2012-06-30 20:03:29 +02:00
Ondřej Hošek a922f748e7 order initializers according to class declaration 2012-06-30 14:43:37 +02:00
Ondřej Hošek b537c1af7c no need to break from switch when returning 2012-06-30 14:43:15 +02:00
Ondřej Hošek ac0b7ef8ba officially handle seek-from-beginning case as well 2012-06-30 14:43:03 +02:00
Ondřej Hošek e920f2c6fa unsigned ints are always greater than or equal to zero 2012-06-30 14:42:46 +02:00
Ondřej Hošek 92b096bbd4 add default cases to some switch statements 2012-06-30 14:42:31 +02:00
Ondřej Hošek 37f312cde2 declare relevant targets as phony 2012-06-30 14:20:05 +02:00
Ondřej Hošek 0fc09df149 fix wildcards and clean in Makefile 2012-06-30 14:19:39 +02:00