Commit graph

51 commits

Author SHA1 Message Date
Joël Troch
473bfd1335 [HL25] Update Win32 VC6 procinfo library 2024-08-28 17:58:13 +02:00
Joël Troch
894a78edf0 [HL25] Update VGUI 1 libraries 2024-08-28 17:57:08 +02:00
Sam V
a370af08e6 Convert all source files to UTF without BOM 2022-12-17 13:32:43 +01:00
Anchur
2c84881c07 Update source file encoding to UTF-8 2022-12-16 22:52:07 +08:00
Sam V
6ff5cc3a2b Add error to stop compilation if smdlexp is not compiled as 64 bit 2022-08-02 12:24:35 +02:00
Sam V
7078547715 Add error to stop compilation if smdlexp does not use Unicode character set 2022-08-02 12:22:05 +02:00
Sam V
51d90ee0c0 Fix non-standard extension warnings in smdlexp.cpp 2022-08-02 12:16:38 +02:00
Minsoo Choo
e4fe129c96 smdlexp for 3DS Max 2023
3DS Max Plugins requires 64 bit dlls, so I added 64 bit configuration to the project.
2022-05-09 07:06:34 -03:00
Sam V
dd05d9b17a Fix "unreachable code" warning 2022-03-20 14:18:38 +01:00
Sam V
82f8b266fa Remove bsplib.h & bsplib.cpp
Resolves #143
2022-03-18 13:59:07 +01:00
Sam V
33eac13fc3 Remove obsolete VS6 & makefile project files from tools code
Resolves #142
2022-03-17 20:38:44 +01:00
Sam V
e9186af2d7 Format all tool source files
#138
2022-03-16 17:45:40 +01:00
Sam V
1485051b28 Add OpenGL initialization code for qcsg & qbsp2 so -draw parameter works properly
#138
2022-03-16 17:37:19 +01:00
Sam V
84f0dcc2b2 Fix "hides previous local/global declaration" warnings
#138
2022-03-16 14:31:44 +01:00
Sam V
8ceccf404d Fix "buffer overrun while writing to" warning in WriteDrawLeaf
#138
2022-03-16 13:52:06 +01:00
Sam V
948a83cb90 Fix "signed/unsigned mismatch" warnings
#138
2022-03-16 13:46:46 +01:00
Sam V
01b7270573 Fix "_Param_(2) in call to 'printf' must be the address of a string. Actual type: 'char [16][256]'"
#138
2022-03-16 13:40:49 +01:00
Sam V
056ba9995d Fix "potentially uninitialized variable used" warnings
#138
2022-03-16 13:38:29 +01:00
Sam V
cd68e57b68 Fix "using uninitialized memory" warnings
#138
2022-03-16 13:29:19 +01:00
Sam V
85ccb70b73 Make "reader: could not open file '%s'" a fatal error when failing to load smd files during studiomodel compilation (fixes "input could be null" warnings)
#138
2022-03-16 13:15:04 +01:00
Sam V
7a1279db4b Use std::chrono to measure time elapsed during WriteMiptex (fixes GetTickCount warnings)
#138
2022-03-16 13:13:00 +01:00
Sam V
513fffc41a Fix "assignment within conditional expression" warnings
#138
2022-03-16 13:09:35 +01:00
Sam V
bd2a2ac229 Fix "enum is unscoped" warnings
#138
2022-03-16 13:03:47 +01:00
Sam V
2fae40b2db Fix "unreachable code" warnings
#138
2022-03-16 12:47:20 +01:00
Sam V
7dee2820ee FIx "local variable is initialized but not referenced" warnings
#138
2022-03-16 12:44:59 +01:00
Sam V
73b69d1598 Remove unused functions that cause "unreferenced formal parameter" warnings, comment out parameters that aren't used but useful or needed, remove parameters that aren't used at all
#138
2022-03-16 12:42:14 +01:00
Sam V
0caf96a22a Remove obsolete and unused OLD_BOGUS_PATH_CODE conditional code, remove path parameter from SetQdirFromPath
#138
2022-03-16 12:33:14 +01:00
Sam V
22bbd600d2 Remove unused local variables, move locals used in disabled code into the disabled sections
#138
2022-03-16 12:27:25 +01:00
Sam V
b48b074849 Add [[noreturn]] to Error function
#138
2022-03-15 22:30:06 +01:00
Sam V
9bad9069fe Remove extern "C" (obsolete)
#138
2022-03-15 22:25:57 +01:00
Sam V
102c4e471a Make cmdlib const correct where possible
#138
2022-03-15 22:24:40 +01:00
Sam V
b6b184d429 Convert all projects to C++, remove obsolete source files from light project
#138
2022-03-15 22:09:08 +01:00
Sam V
37239efadb Fix "C4013: 'function' undefined; assuming extern returning int" warnings
#138
2022-03-15 21:20:30 +01:00
Sam V
f64f0c8a1e Remove unnecessary MFC function calls
#138
2022-03-15 21:04:03 +01:00
Sam V
e6a495d1e4 Fix ON_EPSILON macro redefinition messages
#138
2022-03-15 20:58:37 +01:00
Sam V
d7f408a67a Replace GLUT with SDL2 in mdlviewer
#138
2022-03-15 20:54:40 +01:00
Sam V
ffe83b9a2e Replace GLAux library with SDL2
#138
2022-03-15 20:48:01 +01:00
Sam V
0e5557d33f Track number of bytes written to model using pointers to ensure type passed to printf is correct
#138
2022-03-15 20:47:43 +01:00
Sam V
3f4624f98a Replace archtypes.h header with steam/steamtypes.h
#138
2022-03-15 20:46:41 +01:00
Sam V
bd325710f4 Include vector.h where needed, map Vector to vec3_t in C code
#138
2022-03-15 20:46:19 +01:00
Sam V
b5d34deeda Rename strlower to strlwr for consistency with Windows API, make strupr & strlwr defined on platforms other than Windows only
#138
2022-03-15 20:39:48 +01:00
Minsoo Choo
751d667bdb Update ServerCtrlDlg.cpp 2022-03-14 12:12:26 -03:00
Sam V
00fdb36ab9 Include Platform.h in VGUI.h to disable warnings
#91
2021-11-30 00:07:23 +01:00
Sam V
667e0aea57 Use WIN32 preprocessor macro instead of _WIN32
Resolves #62
2021-11-18 20:02:04 +01:00
Sam V
0a3c17b92f Convert all include guards to pragma once
Resolves #50
2021-11-18 19:17:53 +01:00
Dominik Tugend
e82f7afafc fixes ValveSoftware/halflife#1529 2014-07-19 16:41:43 +02:00
Dominik Tugend
d576166c99 Fixed VC++ 6.0 .dsp files
Minor fixes to make sure the code compiles without errors.
2013-10-29 18:08:07 +01:00
Dominik Tugend
1432182750 Normalized line endings (no changes)
Normalized line endings by touching (touch) the dsp files, no changes to
the files were made.
This is in order we can see actual modified lines in case s.o. modifies
the files.
The files will have CRLF as EOL on checkout due to the .gitattributes
setting.
2013-10-23 09:09:13 +02:00
Dominik Tugend
a96f882f9d Visual C++ 2010 Express support for utils
Among other problems also fixes ValveSoftware/halflife#1391
2013-10-22 20:52:06 +02:00
Alfred Reynolds
9af6b912d2 - convert DSP files to CRLF 2013-09-02 10:05:29 -07:00