Commit Graph

  • 1235fba7ee Remove duplicate linker line in the resulting Makefile frohlich 2006-08-08 05:05:09 +00:00
  • 7a459db022 Win32 fix fredb 2006-07-30 21:02:36 +00:00
  • 607987def5 Remove fastmath funktions like discussed on the list. Add a new header with forward declarations of the SGMath stuff. frohlich 2006-07-30 07:48:06 +00:00
  • 397ec62180 Clean up scenery center handling. frohlich 2006-07-27 16:34:32 +00:00
  • 9315210fbe Mark's dynamic sun color changes. durk 2006-07-27 05:15:20 +00:00
  • 5127990a43 Additional functionality for animated point lights (i.e. approach light rabbits, REIL, VASI/PAPI, etc.) curt 2006-07-21 15:45:01 +00:00
  • 40ad2b155a Updated dist content. curt 2006-07-12 15:08:00 +00:00
  • a0412d026c remove the last redundant "delete" check in all of fgfs/sg (except JSBSim) mfranz 2006-07-05 09:31:36 +00:00
  • 7d2134c488 The previous update (and, embarassingly, the "nasal 1.0" release I announced on Freshmeat.net) was broken. This is the proper break/continue fix. andy 2006-07-05 02:52:06 +00:00
  • d894f52b97 Been hacking at Nasal recently: andy 2006-07-03 05:13:27 +00:00
  • 735f475c24 actually query the <condition> that is already set up in SGShaderAnimation mfranz 2006-07-01 20:06:05 +00:00
  • 353dd73e24 add knots <-> feet-per-second conversion constants mfranz 2006-06-25 11:55:56 +00:00
  • 49fe06498a Compile again on Win32 platforms fredb 2006-06-17 22:02:32 +00:00
  • bc95ec8084 Make at least the header aliasing safe. frohlich 2006-06-17 16:04:28 +00:00
  • f79906bf16 Make it compile with gcc-3.3.6 frohlich 2006-06-17 16:04:05 +00:00
  • b3262fcb80 Compile again on Win32 platforms fredb 2006-06-16 10:03:38 +00:00
  • 52b8f924aa add float_to_int() rounding function from Cockpit/hud_opts.hxx. The original file said "(c) FlightGear Project" and "probably written by Norman Vine". mfranz 2006-06-16 09:29:54 +00:00
  • 52f57160aa Add dist and distSqr functions frohlich 2006-06-15 19:13:24 +00:00
  • 6d4f23919c Remove unused extern decls frohlich 2006-06-15 19:12:57 +00:00
  • 899623f71b Remove deprecated, now unused functions. frohlich 2006-06-15 08:52:21 +00:00
  • c5d677ac7b Small cleanups to the SGGeo[dc] classes, provide more hooks to use them directly frohlich 2006-06-15 08:27:31 +00:00
  • c75270a9fc Use function argument in va_start instead of local variable. frohlich 2006-06-15 06:14:46 +00:00
  • 1588a379eb Remove now unused function frohlich 2006-06-11 13:59:59 +00:00
  • 72d2075828 Modified Files: simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx simgear/scene/material/matlib.cxx simgear/scene/material/matlib.hxx simgear/scene/tgdb/leaf.cxx simgear/scene/tgdb/obj.cxx Attach userdata to groundtile scenegraph leafs that contains a SGMaterial reference to the material of that leaf. Add (physical) material properties to the material definitions. Plug a memory leak with GlyphSigns. frohlich 2006-06-11 13:30:59 +00:00
  • e99c682637 Preliminary material lookup hooks - still unoptimized. frohlich 2006-06-08 05:54:23 +00:00
  • c815f70831 whoops, sorry (Yes, it *was* tested, but then I made another "trivial" change and ...) mfranz 2006-05-24 10:16:09 +00:00
  • 0da50eaa79 if we are going to die we better tell all our listeners mfranz 2006-05-24 09:37:44 +00:00
  • b0af84a549 add optional position argument to SGRoute::add_waypoint(). Default is -1, which appends the WP like it used to. Valid vector indices insert the WP at this position. mfranz 2006-05-08 11:31:16 +00:00
  • b9631e8521 Mac fix fredb 2006-05-04 05:58:59 +00:00
  • f664f7a201 Fix the initial texture path problem. Loaders are setting the one given to ssgLoad as the default one behind our back :-( fredb 2006-04-29 08:09:51 +00:00
  • f72b3882c3 Redefine the default PLIB loader behavior : don't clear the texture cache after every model load fredb 2006-04-28 18:05:46 +00:00
  • ea47a2973c add method to delete any waypoint (last waypoint if n is out of range) mfranz 2006-04-28 15:43:13 +00:00
  • 04be9ca670 Pigeons remaining fix for the soundmanager crashes. frohlich 2006-04-25 18:47:37 +00:00
  • 6f0baf6ca9 thanks to Erik's texture map I can now drop empty.rgb altogether and just specify the same texture in the "foo.lighted" and "foo.unlighted" material entry. This also allows to drop the state cloning and thereby solves the most urgent apt_signs.cxx TODO. :-) mfranz 2006-04-22 13:41:06 +00:00
  • 1f5ec6b8d5 Add a texture cache mechanism. Fortunately this oly seems affective for empty.rgb ... ehofman 2006-04-22 09:38:14 +00:00
  • a2a91520aa don't allow new command name to overwrite material name mfranz 2006-04-20 17:46:40 +00:00
  • fd7b5d3de7 - don't use hard-coded emission values for unlighted signs, but load both states from material.xml (separate <material> entries for now) - clone state less often: not once per sign element, but once per material switch (TODO: clone only once per material) mfranz 2006-04-20 16:06:00 +00:00
  • 30ea844c43 fix "unknown.rgb" path (the wrong path was the reason why we always only got plib's lowres red-white chequer-board pattern along with an error message, and not ours ... which is much prettier, but also bigger. (Should we downscale it?) mfranz 2006-04-20 15:20:40 +00:00
  • efac53b121 make headers include headers they depend on, don't rely on the c(xx) file to do that. (This is a requirement for header precompiling.) mfranz 2006-04-17 11:29:01 +00:00
  • 73c0ef59c1 rename OBJECT_TAXI_SIGN to OBJECT_SIGN. This isn't about taxi signs any more, but all sorts of signs. Now is the best time to get rid of a misleading name. mfranz 2006-04-14 14:50:08 +00:00
  • 7e65ab2d3b add <condition> support to textranslate & texrotate animation mfranz 2006-04-12 20:27:38 +00:00
  • fec769f632 set sign orientation such, that when the sign heading=0, one looks straight on the sign face when looking North mfranz 2006-04-12 12:13:03 +00:00
  • 90e42642b6 lower signs mfranz 2006-04-11 23:04:24 +00:00
  • 9d9610a882 add minimalistic backside to signs as a temporary solution mfranz 2006-04-11 21:32:15 +00:00
  • 1fc81f4b66 re-add hard-coded vertical distance. The coordinates should be surface points and not add this distance, which depends on the sign housing/hardware, after all. mfranz 2006-04-11 17:34:17 +00:00
  • 4f0b1e847c - commands do now have to start with @ - add commands @size, @material, @light - make "BlackSign" texture default - make @B, @R, @L, @Y open close their frames automatically (this can be avoided by setting the @material manually) - add number variants for those 4 sign commands: @Y2, @B5, etc (according to the spec; defaulting to the respective biggest panel size, i.e. @B = @B3) (detailed description will be added to $FG_ROOT/Docs/) mfranz 2006-04-11 15:57:08 +00:00
  • 9567ac32f2 remove obsolete files (on request by Christian Mayer, who has introduced them): - they are not used anywhere in sg/fgfs - and are very clearly *not* GPL compatible! mfranz 2006-04-10 16:36:52 +00:00
  • 8dd9cfa2a6 Manabu Nishiyama (non-FlightGear Nasal user) discovered an uninitialized data bug in naHash_cget(). When the hashcode field of naStr was introduced, I forgot to set it in this function, which creates a temporary naStr on the stack. andy 2006-04-10 16:21:17 +00:00
  • dbda8ef893 drop xscale member again, and use xsize/ysize instead. (One interface element less to confuse people.) mfranz 2006-04-10 15:32:55 +00:00
  • cd143c15d5 rewrite of OBJECT_TAXI_SIGN code. The name is a bit misleading, as this type can also create runway signs. (/me thinks about changing that ...) mfranz 2006-04-09 19:51:00 +00:00
  • 509a388ccc support for font textures. They are normal (but rather lenghty) <material>, but contain <glyph> entries with <name>, <left> and <right>. The latter two describe where in the texture a letter or symbol begins and where it ends. (range 0-1). <xscale> defines a horizontal scaling factor. mfranz 2006-04-09 19:21:13 +00:00
  • 76c6482495 v0.3.10 changes. RELEASE_0_3_10 curt 2006-04-05 18:42:45 +00:00
  • 010a44f831 protect ssg pointers to avoid occasional crashes (of course it would be nicer if the Occluder would always get removed before its model branch, but that's not easily enforcable) mfranz 2006-03-30 14:13:22 +00:00
  • e6b0d644d4 v0.3.10-pre3 updates. curt 2006-03-27 18:48:36 +00:00
  • 02dc68c899 Olaf Flebbe: curt 2006-03-27 16:32:15 +00:00
  • 11ac97cd09 If the author of this message isn't alerted enough to *fix* this, then I'm sure the users won't do that either. This is regularly triggerd and leads to meaningless error reports. mfranz 2006-03-26 08:22:26 +00:00
  • 61f6565321 more guarded pointers (we are still getting spurious crashes on exit because of that) mfranz 2006-03-24 23:24:20 +00:00
  • 55d951f211 Initial revision. curt 2006-03-24 19:06:05 +00:00
  • 143ce6fcd5 remove so that complete dir can be dropped mfranz 2006-03-23 22:05:22 +00:00
  • e264c6ad2e Updates to remove unneeded and old version of zlib source. curt 2006-03-23 21:59:59 +00:00
  • 036b6785f1 Remove old depricated files. There is a much newer version of zlib available and just about every unix-based platform already comes with this. curt 2006-03-23 21:52:03 +00:00
  • caf5cc90ae v0.3.10-pre2 updates. curt 2006-03-23 16:37:35 +00:00
  • b05e98b1b6 Vassilii KHACHATUROV: rain fix, cleanup, read formerly hard-coded values from provided node mfranz 2006-03-23 15:39:00 +00:00
  • 31d0779377 Vassilii KHACHATUROV: fix typos, add/fix comments, change variable names mfranz 2006-03-22 16:02:55 +00:00
  • 6b056e915e Oops, implement the previously-mentioned fix without breaking support for omitting a length argument to mean "the rest of the vector". andy 2006-03-21 23:12:30 +00:00
  • 9d6c0dc580 The original code (rather oddly) interprets a length of zero in subvec() to mean "the whole vector". Melchior showed a use case (removal of the first element from a vector) where getting a zero-length subvector is actually desired. And since I can't come up with a good reason for why the "feature" was there in the first place, out it goes... andy 2006-03-21 22:22:47 +00:00
  • 6e973e07f4 Melchior discovered that cmp() was just wrong, failing to actually inspect the string pointers. It also failed to properly sort strings where one is a prefix of the other. It looks to me like I just never finished this, and it ended up in CVS because it just happened to compile... andy 2006-03-21 21:57:00 +00:00
  • c8098b9eac Updates for v0.3.10-pre1. curt 2006-03-20 19:22:20 +00:00
  • ed20ce388a - better error message when submodel loading failed - use alignmainmodel node in callback (not used anywhere yet) mfranz 2006-03-17 19:01:52 +00:00
  • 33e01e431d The handle gets nulled out if the user has closed the file; don't pass that null to fclose() in a garbage collection destructor too... andy 2006-03-16 18:01:56 +00:00
  • 7d631e4959 Fix broken checkin in iolib.c. Also add the 'bits' library, which has a buf() function needed to make convenient use of io.read(). andy 2006-03-15 19:42:37 +00:00
  • 29eb566448 Melchior found the first bug -- report EOF as nil in readln(). andy 2006-03-15 19:35:30 +00:00
  • a770d2a972 Add the Nasal I/O library so Melchior can play with it. Not enabled currently (see NasalSys.cxx in the flightgear CVS) andy 2006-03-15 18:09:50 +00:00
  • 688cffb031 --warnings mfranz 2006-03-14 15:55:24 +00:00
  • 2cccc26541 --warnings mfranz 2006-03-14 15:49:29 +00:00
  • f96f083bb5 close zone.tab file after having read all entries mfranz 2006-03-14 12:58:28 +00:00
  • 2e078aff7d prevent animations from losing nodes, because other processes removed them (We are currently getting a lot of aborts in the condition code when running MP. I don't expect this to fix it, but a bug is a bug.) mfranz 2006-03-14 10:38:06 +00:00
  • bd1f192dc4 Better use a node that is very clearly not used by other services (e.g. animations). The data class doesn't mind. mfranz 2006-03-12 18:56:48 +00:00
  • b62f241051 activate model load/unload callback again. It turned out *not* to be the cause for the MP crashes -- the same crashes did still occur without it. mfranz 2006-03-12 10:09:34 +00:00
  • 95d1ac354e Mac OS X fixes from Ima Sudonim. ehofman 2006-03-11 22:20:19 +00:00
  • 54728f5d57 commenting out Nasal in scenery models for now. This could be responsible for an MP/AI crash. Still investigating. mfranz 2006-03-10 22:58:24 +00:00
  • d9356b0f86 warning-- mfranz 2006-03-09 16:17:35 +00:00
  • 6b68d9d90b Alexander Powell: ehofman 2006-03-09 09:54:43 +00:00
  • 359a8c4a81 model.[ch]xx: add abstract class SGModelData. If a pointer to such a class is handed over to sgLoad3DModel, then its modelLoaded() method is called with path, property node and branch. And then it's added to the scene graph so that it's destroyed when the model branch is removed from the graph. mfranz 2006-03-09 09:03:57 +00:00
  • dcb95d131b - new FSF addresses - coplied license headers from h(xx) files to respective c(xx) files - removed trailing spaces - fixe $Id$ - fixed typos mfranz 2006-03-08 18:16:08 +00:00
  • f4e37ba7c0 Ignore generated binaries. david 2006-03-04 13:27:11 +00:00
  • 1cbceec0e1 Mathias Frhlich: ehofman 2006-03-04 12:46:29 +00:00
  • 5b3c5407a1 Mathias Frhlich: ehofman 2006-03-03 15:11:35 +00:00
  • 27a120c7c3 Wrong config file name fredb 2006-02-26 11:02:21 +00:00
  • 375f3e8bc1 Fix from Melchior: Set static values at every condition change, not only initially. andy 2006-02-22 20:50:35 +00:00
  • a75b4af374 Melchior FRANZ: fredb 2006-02-21 12:59:31 +00:00
  • b2a4cd488d Back out the previous patch. ehofman 2006-02-21 10:47:20 +00:00
  • 1d8d203e9e Declare specified functions, otherwise MIPSpro bails out. ehofman 2006-02-21 09:48:33 +00:00
  • 4e7fe460a5 Melchior FRANZ: ehofman 2006-02-21 09:40:12 +00:00
  • 9be14a63b1 Mathias Froehlich: Add license information. ehofman 2006-02-20 15:12:13 +00:00
  • afd3c76088 Mathias Frhlich: ehofman 2006-02-19 17:22:17 +00:00
  • 6b697506c3 Melchior FRANZ: ehofman 2006-02-19 17:13:37 +00:00
  • 3eba296157 Missing defines fredb 2006-02-18 16:19:54 +00:00
  • 1b51de08f5 Add missing include files needed by the new math code under windows fredb 2006-02-18 13:24:24 +00:00
  • 3e37f3fa54 Fix Code generation option for debug build fredb 2006-02-18 12:04:37 +00:00