Commit graph

55 commits

Author SHA1 Message Date
Jay Dolan
23010c89bc Fix glaring pointer issue in Picomodel load / free.
This one was producing 11 or so warnings.
2020-11-02 17:42:50 -05:00
Zack Middleton
7110342987 Fix over allocating vertexes for OBJ models with multiple surfaces
Loading Wavefront OBJ models in picomodel (used by radiant and q3map2)
did not reset the surface vertex index when starting a new surface. This
caused there to be unused vertexes, equal to the number of vertexes in
all previous surfaces, at the beginning of each surface. Exponential OBJ
vertex memory usage as number of surfaces increases. It did not affect
displaying or processing the surface faces.
2018-10-31 16:10:47 -05:00
Thomas Debesse
01d635a135 tools: reduce diff noise 2018-01-27 22:54:14 +01:00
rpolzer
58f0f9e557 q3map2/picomodel: remove some warnings
imported from netradiant, initial commit message:

> q3map2 is now waring free
2018-01-27 22:53:18 +01:00
Thomas Köppe
e1eeefac58 [pico] Add missing header inclusion 2018-01-22 16:52:52 +00:00
Timothee Besset
921dc5083c remove rogue INT_MIN definition 2018-01-22 08:52:06 -06:00
Timothee Besset
08b44c433d Disable the deprecated functions warning 2018-01-21 14:59:29 -06:00
Timothee Besset
e08d6b6429 Visual Studio 2017. Fixed q3map2_urt 64 bit compilation also. 2018-01-21 14:47:06 -06:00
Pan7
2793befffd Fix warning equality comparison with extraneous parentheses 2 2017-07-09 15:29:30 +02:00
Pan7
81a1776bbd Fix more extraneous parentheses warnings 2017-04-27 21:58:43 +02:00
Timothee Besset
fd3ec15ae4 fix compiler warning, be more legible 2017-02-25 15:11:45 -06:00
Pan7
bb3dd7421c Fix gcc warning tex may be used uninitialized in this function 2017-02-24 15:48:12 +01:00
Pan7
3bc866b623 Don't free buffer of another scope (#401) 2017-02-21 12:45:49 -05:00
Pan7
d90ddd6cf8 Fix obj crash (#399) 2017-02-21 12:45:37 -05:00
TTimo
a26c818a1e remove the old .vcproj 2017-01-01 09:08:37 -06:00
TTimo
d7dafaea33 tweak previous pull with an assert 2017-01-01 08:30:46 -06:00
Timothee "TTimo" Besset
d1e5cf4b65 Merge pull request #373 from Pan7/fixlwo2
Fix gcc warning i may be used uninitialized
2017-01-01 08:28:36 -06:00
Timothee "TTimo" Besset
a6d10074b7 Merge pull request #372 from Pan7/fixlwo
Fix for potentially using uninitialized variable
2017-01-01 08:24:28 -06:00
Jay Dolan
5938d4e49f Fix a handful of compiler warnings. 2016-12-31 16:02:08 -05:00
Jay Dolan
a851e037c8 This generates a different warning now, and is just wrong anyway. 2016-12-31 15:55:29 -05:00
Jay Dolan
b529282159 Fix compilation on OS X. How is this working elsewhere? 2016-12-31 15:44:18 -05:00
Christophe Mateos
2d08c0518c PicoModel Backport: Fixed compilation. 2016-12-19 23:45:54 +01:00
Timothee "TTimo" Besset
bcdcd58467 Merge pull request #387 from Mateos81/PicoModelExperiment
PicoModel lib backport from 1.5
2016-12-10 11:16:48 -06:00
Christophe Mateos
14c2c858b9 PicoModel - End of 1.5 backporting
lwo subfolder already done by @jdolan:
a269593afe (diff-584b574ac260b5150f42f60544e9266e)
2016-12-09 02:57:39 +01:00
Christophe Mateos
054cfcd15c PicoModel: Cleanup, ASE support upgrade test, uncrustify
Next to be tested is MD3...
2016-12-04 06:16:39 +01:00
Christophe Mateos
41f9d3a1e1 Ported picomodel.c from 1.5
Improvements over 1.4/1.5 are in.
2016-12-04 01:43:28 +01:00
Pan7
d089ba9454 Fix gcc warning shdr may be used uninitialized 2016-08-22 10:41:34 +02:00
Pan7
c346d43ae0 Fix gcc warning i may be used uninitialized 2016-08-22 08:48:01 +02:00
Pan7
282f33d813 Fix for potentially using uninitialized variable 2016-08-21 21:35:42 +02:00
Pan7
a342e2d1d1 Fix for uninitialized var warning 2016-08-20 06:59:43 +02:00
Timothee Besset
b36b3ba4b6 Visual Studio 2015 on debug configs too 2016-04-24 14:52:52 -05:00
Timothee Besset
5ed4d02c78 more Visual Studio 2015 conversion 2015-12-24 19:21:23 -06: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
Pan7
e09ed3bffd usemtl for obj models 2015-10-01 17:56:00 +02: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
5ed95d5bdd Fix signedness warning by casting. 2013-07-07 09:51:38 -04:00
Timothee Besset
7c1f101a29 spitting x64 q3map2 now 2013-06-02 00:56:33 +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
830125fad0 uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
rambetter
75220350bc Switching order of picoModuleLWO and picoModuleOBJ as a quick
and dirty workaround to problems in libs/picomodel/pm_obj.c which
passes files that aren't Wavefront ASCII.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@491 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-02-14 18:31:09 +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
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
Forest Hale
88cea027e6 ported over the 1.5 branch version of q3map2 which is newer
made Visual Studio files work in VS2005 Express
fixed a ton of warnings in VS2005 Express
fixed some compile problems on OpenSUSE 11.0


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@302 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-07-25 07:31:37 +00:00
mattn
6d10428141 * fixed warning
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@277 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 11:40:00 +00:00
mattn
2aa43067fb * fixed warnings
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@276 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 11:39:44 +00:00
mattn
c0f477bd04 * fixed warnings
* removed www dir (dead links, almost none of the posted links are available - correct me when i'm wrong, then we can revert this remove)


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@275 8a3a26a2-13c4-0310-b231-cf6edde360e5
2008-06-26 11:21:13 +00:00