Timothee 'TTimo' Besset
c9fce466d1
Upgrade Windows project files to 2019
2022-11-24 18:19:08 -06:00
Thomas Debesse
8aeff6b09a
Do not do using namespace std
to avoid type conflict
...
The STL now defines `std::byte` so doing `using namespace std`
will conflict will custom definition of `byte`, which this
legacy code is full of.
It looks like NetRadiant went the route of making explicit
usage of `std::` prefixed types and did not renamed the
custom definition of byte, so doing the same reduces diff
noise between the two trees.
This also makes the code future proof if the STL decides
to define some other types with common name.
This patches replaces all usages of `map`, `pair` and
`vector` with `std::map`, `std::pair` and `std::vector`
and remove the `using namespace std` line in `stl_check.h`.
```
libs/mathlib.h:132:44: error: reference to ‘byte’ is ambiguous
132 | void NormalToLatLong( const vec3_t normal, byte bytes[2] );
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/bits/char_traits.h:39,
from /usr/include/c++/11/ios:40,
from /usr/include/c++/11/ostream:38,
from /usr/include/c++/11/iostream:39,
from libs/missing.h:76,
from radiant/qe3.h:40,
from radiant/stdafx.h:39,
from radiant/bp_dlg.cpp:28:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
```
2022-07-14 17:18:51 +02:00
Jay Dolan
8a4815d63b
Remove unnecessary cast in PicoLoadFunc
2018-02-02 07:14:31 -05:00
Jay Dolan
c655d234d5
Fix OS X compile error for pico function prototype.
2018-02-01 12:01:50 -05:00
Timothee Besset
e08d6b6429
Visual Studio 2017. Fixed q3map2_urt 64 bit compilation also.
2018-01-21 14:47:06 -06:00
Pan7
e994140c51
Fix warning comparison of unsigned expression < 0 is always false
2017-07-09 16:53:05 +02:00
TTimo
e4a1a3c850
Merge branch 'InvalidMiscModelFix' of https://github.com/Mateos81/GtkRadiant into Mateos81-InvalidMiscModelFix
2017-05-07 16:11:11 -05:00
Christophe Mateos
fba3bd3f4d
Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
...
# Conflicts:
# plugins/entity/entity_entitymodel.h
2017-05-04 21:27:04 +02:00
Pan7
c34edd31b9
Add plugin parent widget
2017-04-04 22:54:03 +02:00
TTimo
a26c818a1e
remove the old .vcproj
2017-01-01 09:08:37 -06:00
Timothee "TTimo" Besset
c918a29cd0
Merge pull request #352 from Pan7/Sys_FPrintf
...
Using Sys_FPrintf with SYS_WRN and SYS_ERR
2016-06-11 13:01:13 -05:00
Pan7
5105fc5db8
Using Sys_FPrintf with SYS_WRN and SYS_ERR
2016-05-16 21:20:20 +02:00
Timothee Besset
b36b3ba4b6
Visual Studio 2015 on debug configs too
2016-04-24 14:52:52 -05:00
Mateos81
b298a72b25
Merge remote-tracking branch 'refs/remotes/TTimo/master' into InvalidMiscModelFix
2016-03-12 20:07:23 +01:00
Timothee Besset
5ed4d02c78
more Visual Studio 2015 conversion
2015-12-24 19:21:23 -06:00
Mateos81
3027776243
Make NULL models rendered as a box, and selectable (were already editable)
...
TODO:
- Handle the case "Model not found".
- Add relevant console prints.
- Fix glitchy-looking selected box.
2015-11-11 11:56:29 +01:00
TTimo
48369d78f9
- Convert to Visual Studio 2015
...
- Drop STLPort
- Rebuild libxml2 binaries, update project files accordingly
- Rebuild jpeg-9 binaries
2015-11-07 23:44:49 -06:00
TTimo
666847b0ce
switch to xp compatible compiler toolchain, add/fix an archive and upload script for the VM builder
2013-08-24 22:50:12 +00:00
jdolan
ea202cd932
@TTimo -style formatting :>
2013-06-29 10:19:52 -04:00
jdolan
33eff58869
Try skin.tga in the model directory as a last-ditch-effort to load model skins. This fixes all of the Quake2World models in Radiant.
2013-06-29 10:16:29 -04:00
Timothee Besset
f72f41cf1d
fix ws2_32 lib dep
2013-06-02 00:17:56 +01:00
Timothee Besset
f397e4a8d6
link libxml2
2013-06-01 23:39:34 +01:00
Timothee Besset
9f425c0c72
add include path for gdk-pixbuf
2013-06-01 23:26:37 +01:00
Timothee Besset
1ec0ec94ba
switching to newer gtk and libxml. wip
2013-06-01 23:05:35 +01:00
Timothee "TTimo" Besset
974213d297
Use a new version of the jpeg library, with x64 support
2013-05-27 22:08:36 -05:00
Timothee "TTimo" Besset
2ca658fe9f
convert projects to msvc 2012
2013-05-23 20:44:41 -05:00
jdolan
a269593afe
Low hanging fruit: bring the number of compiler warnings down from 264 to 33.
2013-05-03 02:57:29 -04:00
Timothee 'TTimo' Besset
61a03e2ee7
add license info on a few things
2012-06-04 23:42:31 -05:00
Willi Schinmeyer
069d2350eb
Fixed transparency (qer_trans) not working on models
2012-05-04 10:32:48 +02:00
Timothee TTimo Besset
830125fad0
uncrustify! now the code is only ugly on the *inside*
2012-03-17 15:01:54 -05:00
rambetter
88f8603d62
8MB stack size linker options on all VC2008 proj files.
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@485 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:12:34 +00:00
rambetter
33da149be0
Backing out commit 483. Going to set linker flags instead.
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@484 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:08:22 +00:00
rambetter
e39f6f4bae
Increasing stack size on Windows build.
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@483 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 03:56:18 +00:00
rambetter
561e062c87
This is a major change that updates the 3rd party libs on Windows builds.
...
A couple of things are broken right now:
- OpenGL font in Windows not appearing (expected to be broken, will fix)
- Linux build broken because it loads some .vcproj files that are removed
- 3rd party libs are downloaded from porky.nerius.com, not id Software
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@473 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-02-21 14:37:49 +00:00
TTimo
7c46911658
rebuilt gtk binary dependencies file
...
fixed/optimized a number of VC9 project settings
fixed sprintf being hijacked by intl.dll stuff
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@345 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 04:21:05 +00:00
TTimo
c14eb495aa
misc
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@330 8a3a26a2-13c4-0310-b231-cf6edde360e5
2009-12-31 18:50:00 +00:00
TTimo
a54ff4a83e
apply misc fixes from Markus Fischer and Rambetter
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@329 8a3a26a2-13c4-0310-b231-cf6edde360e5
2009-12-31 18:45:35 +00:00
TTimo
cc4e44e31a
merge branch work back into trunk
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@319 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-09-01 17:34:10 +00:00
TTimo
2def0428da
ABToSVK commit
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@308 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-08-24 03:20:51 +00:00
TTimo
11f8765db7
MSVC8: change output dir rules to put binaries into install/
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@252 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-04-25 02:17:12 +00:00
mattn
a4e4f11c0e
* show supported models in picomodel about message
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@216 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 17:24:26 +00:00
mattn
008af4cf61
* readded copyright notice to picomodel plugin
...
* moved plugin bitmaps into install/modules/bitmaps
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@214 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-03-16 16:35:07 +00:00
TTimo
64fe6940f0
eol
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@190 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 04:09:22 +00:00
TTimo
2b5ef55c7c
more eol-style
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@187 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:57:33 +00:00
TTimo
b1bfb19ecd
more eol-style
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@186 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:53:53 +00:00
TTimo
33efc90892
more eol-style
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@185 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:51:54 +00:00
TTimo
ab3a99dbbe
eol style
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant.ab@184 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:47:06 +00:00
TTimo
9998050654
set eol-style
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@183 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-11-04 03:34:51 +00:00
TTimo
4189d27b34
some updates to the Linux build system - obtained a core binary and all required modules
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@180 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-10-24 04:00:48 +00:00
TTimo
8037810110
transfer from internal tree r5311 branches/1.4-gpl
...
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@177 8a3a26a2-13c4-0310-b231-cf6edde360e5
2007-09-12 18:54:28 +00:00