curt
73ed3c180e
C++ - ifiing the code a bit.
...
Starting to reorginize some of the lighting calcs to use a table lookup.
1998-04-22 13:24:04 +00:00
curt
52727b75c6
Fixed a problems where a pointer to a function was being passed around. In
...
one place this functions arguments were defined as ( void ) while in another
place they were defined as ( int ). The correct answer was ( int ).
Prepairing for C++ integration.
1998-04-21 17:01:43 +00:00
curt
7d39aa3777
Moved fg_debug.c to it's own library.
1998-04-18 04:13:51 +00:00
curt
ab59ca78b9
Code reorganizations. Added a Lib/ directory for more general libraries.
1998-04-14 02:23:04 +00:00
curt
575d57249c
We had unified some of the platform disparate time handling code, and
...
there was a bug in timesum() which calculated a new time stamp based on
the current time stamp + offset. This hosed the periodic event processing
logic because you'd never arrive at the time the event was scheduled for.
Sky updates and lighting changes are handled via this event mechanism so
they never changed ... it is fixed now.
1998-04-09 18:40:13 +00:00
curt
8c3b74b775
Tweaks to Gnu automake/autoconf system.
1998-04-08 23:32:28 +00:00
curt
b69c64da41
Minor cleanups and reorganizations.
1998-04-06 15:56:15 +00:00
curt
c1004bd1a0
Converting to Gnu autoconf system.
...
Centralized time handling differences.
1998-04-03 22:12:53 +00:00
curt
9f38885d38
replaced a printf() with an fgPrintf().
1998-03-14 00:28:34 +00:00
curt
a9ffad1f5b
Debug message tweaks.
1998-03-09 22:48:09 +00:00
curt
e798c59696
Incorporated Durk's Astro/ tweaks. Includes unifying the sun position
...
calculation code between sun display, and other FG sections that use this
for things like lighting.
1998-02-23 19:07:49 +00:00
curt
b570e9ce9a
Removed "depend" files from cvs control. Other minor make tweaks.
1998-02-09 22:56:28 +00:00
curt
d126b3d8f0
Minor tweaks.
1998-02-09 15:07:47 +00:00
curt
50c0f6c9e6
Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
...
<chotchkiss@namg.us.anritsu.com>
1998-02-07 15:29:31 +00:00
curt
c62427f6af
Incorporated Durk's changes.
1998-02-02 20:53:58 +00:00
curt
b2e8448645
Minor tweaks.
1998-02-01 03:39:53 +00:00
curt
5e44c9dd0a
Added MetroWorks patches from Carmen Volpe.
1998-01-31 00:42:57 +00:00
curt
3680a11148
Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
...
system and commandline/config file processing code.
1998-01-27 00:47:41 +00:00
curt
38264efc4d
Changed #ifdef FILE_H to #ifdef _FILE_H
1998-01-22 02:59:23 +00:00
curt
08210bfc08
Misc. tweaks.
1998-01-21 21:11:33 +00:00
curt
ec140f2161
More misc. tweaks for rpk make merge.
1998-01-19 19:42:58 +00:00
curt
bda27365e4
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
...
This should simplify things tremendously.
1998-01-19 19:26:51 +00:00
curt
f1ec224b73
Tons of little changes to clean up the code and to remove fatal errors
...
when building with the c++ compiler.
1998-01-19 18:40:15 +00:00
curt
a9fdc0e341
Minor tweaks and fixes for cygwin32.
1998-01-19 18:35:40 +00:00
curt
0f64d76c81
Initial changes to support loading and management of scenery tiles. Note,
...
there's still a fair amount of work left to be done.
1998-01-13 00:23:08 +00:00
curt
ada64cecce
make depend ...
1998-01-08 02:22:38 +00:00
curt
bebb590b9c
Miscellaneous tweaks.
1998-01-07 03:31:25 +00:00
curt
68539c69f9
Tweaks to help building with MSVC++
1998-01-06 01:20:16 +00:00
curt
2e27909b9e
Add an option to advance/decrease time from keyboard.
1998-01-05 18:44:33 +00:00
curt
4c3662a8f9
Tweaked fg_time.c to be able to use ftime() instead of gettimeofday()
1997-12-31 17:46:50 +00:00
curt
41dd9d6dae
Calculate lighting parameters here.
1997-12-30 23:10:19 +00:00
curt
846a4d14d8
Further integration of event manager.
1997-12-30 22:22:31 +00:00
curt
2ebbbe0053
Integrated new event manager with subsystem initializations.
1997-12-30 20:47:34 +00:00
curt
ed729a630e
Merged in Durk's changes ...
1997-12-30 16:36:40 +00:00
curt
96068a55c9
A couple lighting tweaks ...
1997-12-30 13:06:56 +00:00
curt
b89d27f083
Initial revision.
1997-12-30 04:19:22 +00:00
curt
09b8076bca
Switched back to per vertex normals and smooth shading for terrain.
1997-12-30 01:38:37 +00:00
curt
feabb5024a
Tweaked the sky coloring a bit to build in structures to allow finer rgb
...
control.
1997-12-23 04:58:38 +00:00
curt
45ed7c79f8
Aligned sky with sun so dusk/dawn effects can be correct relative to the sun.
1997-12-22 04:14:28 +00:00
curt
3c398c79ca
Lot's of tweaking with sky rendering and lighting.
1997-12-19 23:34:03 +00:00
curt
46e6042aab
Working on scene rendering order and options.
1997-12-19 16:44:57 +00:00
curt
d19c5f0b6f
Add xgl wrappers for debugging.
...
Generate terrain normals on the fly.
1997-12-15 23:54:25 +00:00
curt
d06b80036f
Misc. tweaks.
1997-12-15 20:59:08 +00:00
curt
f92f2a5c29
More light/material property tweaking ... still a ways off.
1997-12-12 21:41:24 +00:00
curt
40f0747fac
Working on lightling and material properties.
1997-12-12 19:52:47 +00:00
curt
09ee64ff67
Fixed sun vector and lighting problems. I thing the moon is now lit
...
correctly.
1997-12-11 04:43:53 +00:00
curt
28fad1d296
Prepended "fg" on the name of all global structures that didn't have it yet.
...
i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
1997-12-10 22:37:34 +00:00
curt
871ee408fa
Tweaks for verion 0.15 release.
1997-12-10 01:19:42 +00:00
curt
330ff4ab53
Working on tweaking lighting.
1997-12-09 05:11:54 +00:00
curt
4ab16fd58e
Working on adding a global lighting params structure.
1997-12-09 04:25:25 +00:00