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
curt
c8d2e72433
Changes to integrate Durk's moon/sun code updates + clean up.
1997-11-25 19:25:27 +00:00
curt
b1cf1fcee0
minor tweaks.
1997-11-15 18:16:34 +00:00
curt
91aef7cb1c
Reverse direction of sun vector, so object normals can be more normal.
1997-11-15 18:15:39 +00:00
curt
273bd9bc6e
Transform scenery coordinates earlier in pipeline when scenery is being
...
created, not when it is being loaded. Precalculate normals for each node
as average of the normals of each containing polygon so Garoude shading is
now supportable.
1997-11-14 00:26:49 +00:00
curt
b5293f1f44
Working on new scenery subsystem.
1997-10-30 12:38:35 +00:00
curt
ed2fc539b2
Changed GLUT/ -> Main/
1997-10-28 21:07:21 +00:00
curt
d06ebf220e
Misc. tweaks.
1997-10-25 03:30:02 +00:00
curt
3fe61cf7ef
Tweaks to get things to compile with gcc-win32.
1997-09-23 00:29:27 +00:00
curt
31519b5cd1
Continuing to try to align stars correctly.
1997-09-22 14:44:19 +00:00
curt
14efd49c8b
Still trying to get those durned stars aligned properly.
1997-09-20 03:34:25 +00:00
curt
3b5f599f73
Tweaked time of day lighting equations. Don't draw stars during the day.
1997-09-16 22:14:47 +00:00
curt
1ba17de9ba
Working on star alignment and time issues.
1997-09-16 15:50:29 +00:00
curt
45d02e3e68
Mostly working on stars and generating sidereal time for accurate star
...
placement.
1997-09-13 01:59:45 +00:00
curt
5d76cf2eaa
More tweaking with stars.
1997-09-05 14:17:26 +00:00
curt
ad22cbffca
Working on getting stars right.
1997-09-05 01:35:53 +00:00
curt
b830d97782
Shufflin' stuff.
1997-09-04 02:17:18 +00:00
curt
89a9811607
Changed naming scheme of basic shared structures.
1997-08-27 03:29:38 +00:00
curt
90e39d537f
Merged in initial HUD and Joystick code.
1997-08-25 20:27:21 +00:00
curt
6510c9f3b4
Doing a bit of reorganizing and house cleaning.
1997-08-22 21:34:32 +00:00
curt
cdb1417490
Worked on better simulating real lighting.
1997-08-19 23:55:03 +00:00
curt
3d5df76461
Working on improving the lighting/shading.
1997-08-16 12:22:38 +00:00
curt
6876c9b34c
Initial revision.
1997-08-13 21:55:59 +00:00
curt
bcf7870083
The interface to sunpos now updates a global structure rather than returning
...
current sun position.
1997-08-13 20:23:49 +00:00
curt
88c803c7fc
Working on correct real time sun lighting.
1997-08-06 00:24:22 +00:00
curt
c89d21196b
Misc. tweaks.
1997-08-02 16:23:47 +00:00
curt
2bbf8d1770
Added sunpos.c
1997-08-01 15:28:44 +00:00
curt
39902fe0d6
Initial revision.
1997-08-01 15:27:56 +00:00
curt
36a9adcffc
Working on redoing internal coordinate systems & scenery transformations.
1997-07-31 22:52:21 +00:00
curt
417048636f
Put comments around the text after an #endif for increased portability.
1997-07-23 21:52:10 +00:00
curt
a136c87441
First stab at a system to generate os2 makefiles automatically.
1997-07-20 02:19:09 +00:00
curt
bf40d877a1
Testing/playing -- placed objects randomly across the entire terrain.
1997-07-14 16:26:03 +00:00
curt
6c1e197290
Added ranlib.
1997-07-12 02:24:37 +00:00
curt
42bbb9f93f
Add ftime() support for those that don't have gettimeofday()
1997-07-12 02:13:04 +00:00
curt
127b957f22
Working on Makefile structure.
1997-06-27 21:37:59 +00:00
curt
134d37d449
Working on Makefile structure.
1997-06-27 20:03:31 +00:00
curt
9205d3928b
Restructuring make, adding automatic "make dep" support.
1997-06-26 19:08:22 +00:00
curt
1adb6fd912
Make itimer support optional.
1997-06-25 17:46:58 +00:00
curt
80713ee205
Minor changes to compile with rsxnt/win32.
1997-06-25 15:39:44 +00:00
curt
450a307fc2
Capitalized subdirectory names.
1997-06-21 17:12:38 +00:00
curt
226ef4335a
Timer interval stuff now uses gettimeofday() instead of ftime()
1997-06-17 16:51:58 +00:00
curt
c24e18e0fc
Nonsignal based interval timing is now working.
...
This would be a good time to look at cleaning up the code structure a bit.
1997-06-17 03:41:10 +00:00
curt
90f83b6ce1
Initial revision.
1997-06-16 19:24:19 +00:00