-
Notifications
You must be signed in to change notification settings - Fork 3
/
ChangeLog
2238 lines (1549 loc) · 68.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2001-01-16 Jasmin Patry <[email protected]>
* (Everything)
Updated copyright to include 2001.
* src/image.c, src/image.h, configure.in:
Integrated patch from Jay Estabrook <[email protected]> to fix
some 32-bit-isms and enable compiling on 64-bit machines (like Alphas).
2001-01-13 Jasmin Patry <[email protected]>
* src/game_config.c, src/game_config.h, src/joystick.c:
- Joystick axes for turning and accel/braking can now be mapped to any
joystick axis (based on suggestion and patch from Julie Brandon
* src/tex_font_metrics.c, src/audio_data.c:
- Changes to suppress warnings when assertions turned off
* src/debug.c, src/debug.h, src/gl_util.c, src/main.c, src/tuxracer.h, configure.in:
- Moved some code that was in main.c into setup_diagnostic_log in
debug.c
- Renamed TUXRACER_NO_DEBUG to TUXRACER_NO_ASSERT
- Debugging messages are now printed even if TUXRACER_NO_ASSERT is
defined (so that we can generated diagnostic logs in release builds)
* configure.in: - Changed version to 0.61
- Assertion checks now disabled in non-debug build.
2001-01-13 Jasmin Patry <[email protected]>
* src/game_config.c, src/game_config.h, src/joystick.c:
- Joystick axes for turning and accel/braking can now be mapped to any
joystick axis (based on suggestion and patch from Julie Brandon
* src/tex_font_metrics.c, src/audio_data.c:
- Changes to suppress warnings when assertions turned off
* src/debug.c, src/debug.h, src/gl_util.c, src/main.c, src/tuxracer.h, configure.in:
- Moved some code that was in main.c into setup_diagnostic_log in
debug.c
- Renamed TUXRACER_NO_DEBUG to TUXRACER_NO_ASSERT
- Debugging messages are now printed even if TUXRACER_NO_ASSERT is
defined (so that we can generated diagnostic logs in release builds)
* configure.in: - Changed version to 0.61
- Assertion checks now disabled in non-debug build.
2000-12-09 Jasmin Patry <[email protected]>
* src/keyboard.c, src/loop.h, src/main.c, src/tcl_util.h, src/ui_mgr.c:
Added some missing prototypes and #includes.
* src/tcl_util.c:
Tcl channels now only modified under Win32 (not needed under Linux,
apparently.)
* configure.in:
Added X libs to TR_LIBS so that glut links properly on all systems.
2000-12-07 Jasmin Patry <[email protected]>
* src/loading.c: - Removed unused variables
- Added missing #includes
* src/Makefile.am: Added loading.[ch]
2000-12-05 Jasmin Patry <[email protected]>
* src/fog.c:
- fog is not enabled if disable_fog parameter is true.
* src/game_config.c, src/game_config.h:
- Added disable_fog parameter to work around bug in Rage 128 linux drivers.
- fullscreen and capture_mouse now default to "true".
* src/tux.c:
Changed "./tux.tcl" to "tux.tcl".
2000-12-01 Jasmin Patry <[email protected]>
* src/tuxracer.h:
Added entry in game_mode_t for LOADING mode.
* src/tcl_util.c:
Added setup_tcl_std_channels().
* src/race_select.c:
- We now always go through the loading screen before starting a race.
- We force a mode change at the end of the start button click callback
to ensure that no more event callbacks are processed before the mode
changes.
* src/loading.c:
State regarding what course has been loaded is now stored in this mode.
* src/loop.c, src/loop.h:
Added force_immediate_mode_change(). This is necessary for the race
select screen, where we want to make sure that no further event
callbacks are processed after the start button is clicked.
* src/race_select.c:
Modified so that courses are now loaded in LOADING mode.
* src/loading.c, src/loading.h:
Initial checkin.
* src/loading.c, src/loading.h:
New file.
* src/main.c: - Registered new loading mode
- Fixed up Tcl stdout and stderr channels under Windows
2000-11-19 Jasmin Patry <[email protected]>
* src/tuxracer.h:
Disabled some pedantic warnings in MSVC++.
* src/quadgeom.hpp:
Added #include "tuxracer.h"
* src/os_util.c:
Added missing declaration of len in win32 version.
* src/tuxracer.h:
Disabled some pedantic warnings in MSVC++.
* src/quadgeom.hpp:
Added #include "tuxracer.h"
* src/os_util.c:
Added missing len variable declaration in win32 version.
2000-11-09 Jasmin Patry <[email protected]>
* src/os_util.c:
A few fixes for Linux: got rid of snprintf since it may have
portability problems (and isn't defined by including stdio.h for some
strange reason); added missing utsname declaration.
* src/file_util.c:
Added hack to define MAX_PATH if it isn't defined (which is the case under
Linux).
2000-11-02 Jasmin Patry <[email protected]>
* src/list.c: Fixed a memory allocation bug.
* src/splash_screen.c, src/string_util.c, src/tuxracer.h, src/course_load.c, src/credits.c, src/event_select.c, src/game_over.c, src/game_type_select.c, src/intro.c, src/main.c, src/os_util.c, src/paused.c, src/quadtree.hpp, src/race_select.c, src/racing.c, src/reset.c:
Fixes for clean compilation under VC++.
2000-10-31 Jasmin Patry <[email protected]>
* src/pic.c, src/pic.h, src/quadgeom.cpp, src/quadgeom.hpp, src/quadtree.cpp, src/quadtree.hpp, src/race_select.c, src/racing.c, src/reset.c, src/save.c, src/screenshot.c, src/splash_screen.c, src/textarea.c, src/textures.c, src/track_marks.c, src/tux_types.h, src/tuxracer.h, src/ui_mgr.c, src/Makefile.am, src/alglib.c, src/audio.c, src/button.c, src/course_load.h, src/course_mgr.c, src/course_quad.cpp, src/course_render.c, src/debug.c, src/error_util.c, src/file_util.c, src/file_util.h, src/fog.c, src/fonts.c, src/fps.c, src/game_config.c, src/game_over.c, src/gauss.c, src/gl_util.c, src/hash.c, src/hier.c, src/intro.c, src/main.c, src/paused.c, src/phys_sim.c:
Fixes for clean compilation under Codewarrior 4.0 (Win32).
* src/os_util.c, src/os_util.h:
Initial checkin
* src/os_util.h, src/os_util.c:
New file.
2000-10-30 Jasmin Patry <[email protected]>
* src/main.c:
Added code to generate diagnostic log.
* src/game_config.c, src/game_config.h:
Changed "bug_report" to "diagnostic_log".
2000-10-27 Jasmin Patry <[email protected]>
* src/save.c:
Expanded my silly abbreviation of `difficulty'.
* src/debug.c, src/debug.h:
Added debug_mode_set_active to manually activate debug modes (for use
in bug report)
2000-10-24 Jasmin Patry <[email protected]>
* src/render_util.h, src/render_util.c:
Removed some routines that are no longer used
* src/phys_sim.c: Removed health code
* src/main.c:
- Moved initialization code to audio, joystick, and winsys modules
- Updated to use new winsys functions
* src/loop.c:
- Modified to use winsys functions
* src/keyboard.c, src/keyboard_util.c:
- Modified to use winsys functions and constants
- Added keysyms for shift, alt, and control keys.
* src/joystick.c:
- Moved SDL joystick initialization to init_joystick().
* src/gl_util.c, src/gl_util.h:
- Modified extension check to use SDL_GL_GetProcAddress if available
- Fallback to setting extension func ptrs to NULL if no method for
getting proc addresses is available
- Added print_gl_info() method
* src/game_config.c, src/game_config.h:
Added bpp_mode and generate_bug_report configuration variables.
* src/error_util.c:
Updated to use winsys_exit instead of exit.
* src/debug.c, src/debug.h:
- Removed health debug mode
- Added gl_info debug mode (prints information about OpenGL renderer)
* src/credits.c, src/event_select.c, src/game_over.c, src/game_type_select.c, src/image.c, src/intro.c, src/paused.c, src/race_select.c, src/racing.c, src/reset.c, src/splash_screen.c, src/tuxracer.h, src/ui_mgr.c, src/ui_mgr.h, src/button.c:
- Updated to use winsys functions and constants (instead of GLUT)
* src/audio.c, src/audio.h:
- Moved SDL sound initialization to init_audio().
- Added shutdown_audio()
* src/winsys.c, src/winsys.h:
Initial checkin
* src/winsys.c, src/winsys.h:
New file.
* src/Makefile.am: Added winsys.[ch]
* configure.in: - Changed version to 0.61pre
- Added check for libm and libdl (needed to detect Tcl on some
platforms)
- Added --disable-sdl flag
- glXGetProcAddress no longer required
- Check for glx only if have glXGetProcAddress
- GLUT only required if SDL isn't detected
2000-10-16 Jasmin Patry <[email protected]>
* Making version 0.60.3
* tuxracer/Makefile.am:
Removed 'html/images/manual' directory (causes it to be included twice).
* tuxracer/configure.in:
Fixes for building with Cygwin.
Updated version to 0.60.3.
2000-10-15 Jasmin Patry <[email protected]>
* Making version 0.60.2
* tuxracer/configure.in:
Now check for Tcl 8.3 first, then 8.2, then 8.0.
* tuxracer/configure.in: More configure fixes.
- Fixed some problems with Tcl and GL checks
- Now check in /usr/include/tcl{8.0,8.2,8.3,} for tcl headers.
2000-10-13 Jasmin Patry <[email protected]>
* tuxracer/configure.in:
- If GL libs and headers not found in standard location, then search under
/usr/X11R6/{lib,include}
- Tweaked "checking" messages.
* tuxracer/doconfig: Initial checkin
* tuxracer/doconfig: New file.
* tuxracer/src/func_template.txt:
Tweaks to function comment template.
* tuxracer/src/hash.c, tuxracer/src/tuxracer.h:
Changed #include <tcl.h> to #include TCL_HEADER, since the name of
the Tcl header is different on different systems.
* tuxracer/src/event_select.c, tuxracer/src/game_type_select.c, tuxracer/src/race_select.c:
Use <widget>_simulate_button_click functions in keyboard callbacks.
* tuxracer/src/button.c, tuxracer/src/button.h, tuxracer/src/listbox.c, tuxracer/src/ssbutton.c, tuxracer/src/ssbutton.h:
Added <widget>_simulate_button_click() functions, for use by keyboard
callbacks that wish to act as shortcuts for button presses.
* tuxracer/src/Makefile.am:
CFLAGS, CXXFLAGS now set in configure.in.
* tuxracer/configure.in: Added check for ranlib
2000-10-11 Jasmin Patry <[email protected]>
* tuxracer/configure.in:
Near total-rewrite of configure script. Checks for more Tcl header files,
and ensures that the OpenGL headers and libraries are up to date.
Still needs more testing on different configurations.
2000-10-08 Jasmin Patry <[email protected]>
* tuxracer/configure.in:
Fixed problem with check for glx.h and glext.h.
2000-10-05 Jasmin Patry <[email protected]>
* tuxracer/src/game_config.c:
Reduced size of audio buffer
2000-10-03 Jasmin Patry <[email protected]>
* tuxracer/ChangeLog: *** empty log message ***
* tuxracer/README: Updated for version 0.60.
* tuxracer/Makefile.am:
Added web files for inclusion in dist tarball.
* tuxracer/src/gl_util.h:
Added hack to work around compile problems with old gl.h files.
* tuxracer/configure.in: Added check for glext.h
2000-10-03 Jasmin Patry <[email protected]>
* Making version 0.60.1.
* README: Updated for version 0.60.
* Makefile.am:
Added web files for inclusion in dist tarball.
* src/gl_util.h:
Added hack to work around compile problems with old gl.h files.
* configure.in: Added check for glext.h
2000-10-02 Jasmin Patry <[email protected]>
* Making version 0.60.
* Makefile.am: Removed tools directory
* configure.in:
Removed tools directory Makefiles
* src/main.c:
Made sure saved games module is initialized before tux is loaded
* src/race_select.c: Removed "cheat" key.
* src/ui_snow.c:
- Added proper initialization check
- Added maximum push velocity
* src/game_config.c:
- On Win32 options file is now options.txt
- Tweaks to options file comments
* src/save.c:
Removed warning when config directory can't be read since this is normal
the first time program is run.
* AUTHORS: Updated for 0.60 release.
2000-10-01 Jasmin Patry <[email protected]>
* src/reset.c:
Fixed bug in reset code in which array would be indexed at -1 if no
reset points existed behind player.
* src/joystick.c, src/joystick.h:
Initial checkin
* configure.in:
Added check for SDL joystick support.
* src/ui_mgr.c, src/ui_snow.c, src/ui_snow.h:
Added generation of snow particles using middle and right mouse buttons.
* src/splash_screen.c:
Added snow to splash screen.
* src/game_type_select.c:
Include joystick.h for future joystick support.
* src/game_config.c, src/game_config.h:
Added parameter for joystick continue button mapping.
* src/racing.c, src/tuxracer.h:
Added support for analog joysticks for turning.
* src/credits.c, src/event_select.c, src/game_over.c, src/intro.c, src/paused.c, src/race_select.c:
Added joystick support to selected screens. Can now press the
continue button to move past intro, paused screen, and game over
screen. Other screens will have to wait for better joystick
infrastructure (need joystick buttonpress callbacks).
* src/event_select.c, src/game_type_select.c, src/race_select.c:
Tweaked UI snow calls.
* src/credits.c:
- Added UI snow to credits screen
* src/weather.c, src/weather.h:
Renamed to ui_snow.[ch]
* src/splash_screen.c:
Tab key now turns UI snow on/off
* src/racing.c: Updates for joystick support
* src/ui_mgr.c:
UI snow is now "pushed" from UI mouse motion callback -- this is
necessary to avoid jumpiness in the snow when the mouse moves outside of the
window and then back in
* src/ui_snow.c, src/ui_snow.h:
Initial checkin (renamed from weather.[ch])
* src/loop.c, src/main.c, src/tuxracer.h:
Added a field secs_since_start to game_data_t struct -- counts the
seconds since the game was started.
* src/game_config.c, src/game_config.h:
Added joystick button mappings
* src/event_select.c, src/game_type_select.c, src/race_select.c:
Modifications to deal with renaming of "weather" functions to "ui_snow"
* src/debug.c, src/debug.h:
Added joystick debugging mode
* src/Makefile.am: - Added joystick.[ch]
- Renamed weather.[ch] to ui_snow.[ch]
2000-10-01 ehall <[email protected]>
* src/weather.c:
SUPER 3D MAGIC WEATHER SYSTEM!!!
- variable particle size and velocity
- front particles are pushed harder than back
- replaced when leaving window boundaries
- decay of lateral velocity
* src/Makefile.am, src/event_select.c, src/game_config.c, src/game_config.h, src/game_type_select.c, src/gl_util.c, src/race_select.c, src/tux_types.h, src/weather.c, src/weather.h:
SUPER MAGIC WEATHER SYSTEM
Snow in menus that can be pushed around with the mouse. game_config
parameter ui_snow can be used to disable.
2000-09-30 Jasmin Patry <[email protected]>
* src/main.c:
Changes to window title and startup message.
* configure.in:
Changes for cross-compiling with mingw32.
2000-09-30 ehall <[email protected]>
* src/button.h, src/race_select.c, src/button.c:
Race button is highlighted when "Enter" key is pressed.
2000-09-30 Jasmin Patry <[email protected]>
* src/ui_mgr.c, src/ui_mgr.h:
Added logic to keep track of and draw mouse cursor
* src/tuxracer.h:
Removed START mode (no longer exists)
* src/splash_screen.c:
Draw mouse cursor in splash screen
* src/render_util.c:
START mode no longer exists, so removed some code that checked for it.
* src/race_select.c:
Added keyboard callbacks for all widgets
* src/game_type_select.c:
Added extra keyboard callbacks
* src/main.c:
Now hide windowing system cursor (we draw our own)
* src/loop.c:
- If parameter capture_mouse is true, then mouse is confined within
Tux Racer window
* src/listbox.c, src/listbox.h:
- Added listbox_goto_next_item, listbox_goto_prev_item
* src/game_config.c, src/game_config.h:
- Fixed some comments to config parameters
- Cleaned up some parameters: removed a few obsolete ones and added
capture_mouse for Voodoo1/2 owners.
* src/game_config.c:
- Added comments to config parameters; comments are printed in options file.
- Cleaned up some parameters: removed a few obsolete ones and added
capture_mouse for Voodoo1/2 owners.
* src/event_select.c:
Can now use arrow buttons to move through cups and events.
Left/Right is used to change event; Up/Down is used to change cup.
2000-09-29 Jasmin Patry <[email protected]>
* src/game_config.c:
Changes to compile under mingw32
* src/save.c:
Minor cleanup (set save_stream to NULL after close file
* src/race_select.c:
- Fixed bug in which a score entered during a failed cup attempt would
still be used if better than score during successful cup attempt
- Modified messages displayed above score
- Move to next race after race is won
- Enter starts race, Esc goes back
* src/phys_sim.c:
- Increased max. frictional force so that rock slows down Tux more
(and max speed is probably also reduced).
* src/game_type_select.c:
- Enter enters cup mode, Esc quits.
* src/game_config.c:
Made backspace default reset key.
* src/event_select.c:
- Added labels to event and cup listboxes
- Enter moves forward, Esc moves back
* src/credits.c: Added fade-in/fade-out.
2000-09-27 Jasmin Patry <[email protected]>
* src/textures.c:
Check maximum texture size supported by card and scale textures to
that size if necessary.
* src/credits.c:
Added Alan Levy to credits (donated original background images, no
longer used)
* configure.in: Changed version number
* src/Makefile.am: Added credits.[ch]
* src/credits.c, src/credits.h:
Initial checkin
* src/tuxracer.h:
Modifications for credits screen, new jumping/flying code
* src/tux.c:
- Changed for new jumping/flying code
- Removed conditional based on value of tux_slides_on_belly parameter
(which has been removed)
* src/tcl_util.h:
- Added CHECK_ARG macro to check for existence of argument
* src/racing.c:
- Jumping/flying code re-written; jumping is now it's own key, with
flying (flapping) tied to paddling key.
* src/phys_sim.c, src/phys_sim.h:
- Modified flying behaviour (now attached to paddle key)
- Removed dependencies on value of tux_slides_on_belly parameter
(which has been eliminated)
* src/main.c:
Added call to register credits screen callback
* src/game_type_select.c:
Added a credits button
* src/game_logic_util.c:
Doubled point value of herring
* src/game_config.c, src/game_config.h:
Removed "tux_slides_on_belly" parameter (now always slides on belly),
changed default sound and music volumes.
* src/course_render.c:
Changed rendering of items to use normal vector, if specified.
* src/course_load.h, src/course_load.c:
Rewrote item_spec_cb, added -normal option to tux_item_spec (specifies
normal vector for object)
2000-09-26 Jasmin Patry <[email protected]>
* src/ui_theme.c:
Brightened disabled colour a bit
* src/ssbutton.c:
Button is draw with ui_disabled_colour if disabled
* src/render_util.c:
Now clear screen with ui_background_colour
* src/race_select.c:
- Par time now set for open course
- Race options disabled in course mode if cup complete
* src/phys_sim.c: Added wind
* src/paused.c:
Paused message now drawn in texture-mapped font
* src/gl_util.c:
Disabled fog when drawing GUI
* src/game_over.c:
Modified message and tweaked positioning
* src/game_logic_util.c, src/game_logic_util.h:
Added a few utility functions
* src/event_select.c:
Added event and cup icons
* src/course_mgr.c, src/course_mgr.h:
Added par time to open course data
* src/event_select.c:
If coming back from race select, we now leave the current cup where it
was instead of changing it to the first incomplete cup.
* src/tuxracer.h:
Removed #include <xmesa.h> (not needed AFAIK)
* src/gl_util.h:
Added a check for version of glext.h
* configure.in:
- Fixed bug that prevent X lib paths from being added to LIBS.
- Now set CFLAGS to TUXRACER_EXTRA_COMPILEFLAGS before check for glx
(based on suggestion by Kevin Moule) -- allows glx.h to be found in
non-standard locations
* src/race_select.c:
Modified so that course options can be set in completed cups.
2000-09-25 Jasmin Patry <[email protected]>
* src/race_select.c:
- Added display of life counter
- Added game logic to deal with running out of lives
* src/button.c, src/listbox.c, src/ssbutton.c, src/textarea.c:
Added lots of debugging assertions.
2000-09-25 ehall <[email protected]>
* src/paused.c, src/phys_sim.c, src/racing.c, src/reset.c:
Added racing_term call to kill sounds and break track marks.
Added sound "item_collect" when herring collected (needs to be
added to courses.)
2000-09-25 Jasmin Patry <[email protected]>
* src/race_select.c:
Now make sure that course is loaded anew when entering mode.
* src/tuxracer.h:
- Added a DIR_SEPARATOR #define.
- Added a INIT_NUM_LIVES #define.
- Added new EVENT_SELECT mode
- Added name, lives, and score fields to player_data_t
- Added race_aborted field to g_game.
* src/tex_font_metrics.c:
- Modified substitution routine to try substituting space first
* src/ssbutton.c:
-Implemented routine to set state of button
* src/save.c, src/save.h:
-Debugged
-Added a magic 4-byte header to save game file
-Added a new save game data type (race results)
* src/reset.c:
Fixed camera wonkiness (again), hopefully correctly this time.
* src/render_util.c:
Added normal vectors in draw_billboard()
* src/racing.c:
Set g_game.race_aborted if player hits q during a race.
* src/race_select.c:
Extensive changes to make new game logic work in cup mode.
* src/mirror_course.c:
Track marks now reset when course is mirrored.
* src/main.c:
- Now write saved games file at program exit
- Initialize player name to "noname"
- Initialize difficulty to "Normal"
* src/listbox.c, src/listbox.h:
- Fixed bug in which item change callback wasn't being called
- Added a method to set the current item
* src/intro.c:
Initialize player's score to zero at start of race.
* src/hud.c:
Modified to use get_time_components() to split time into min:sec:hundredths
* src/game_type_select.c:
Activated the "Enter an event" button
* src/game_over.c:
Almost completely re-written to deal with new game logic code
* src/fonts.c:
The origin is now advance to end of string after a textured string is
drawn.
* src/debug.c, src/debug.h:
Added game_logic and save debug modes
* src/course_mgr.c, src/course_mgr.h:
Added several useful functions for use in game logic.
* src/course_load.c, src/course_load.h:
Changed load_course so that it only requires the directory name of the
course. Course options (mirroring, conditions, etc.) will be handled
separately.
* src/button.c:
- Fixed a bug in which the disabled font binding wasn't being
initialized
- Call ui_set_dirty() whenever enabled state of button changes
* src/Makefile.am: Added some files.
* src/textarea.c, src/textarea.h, src/game_logic_util.c, src/game_logic_util.h, src/event_select.c, src/event_select.h:
Initial checkin
2000-09-23 ehall <[email protected]>
* src/track_marks.c:
Track marks no longer broken due to distance or time between marks.
2000-09-22 Jasmin Patry <[email protected]>
* src/start_screen.c, src/start_screen.h:
Old start screen is no longer needed.
* src/Makefile.am:
Added a bunch of new files, removed start_screen.[ch]
* src/game_over.c:
Now return to race select screen after race is over.
* src/ui_theme.c, src/ui_theme.h:
Added routine to draw menu decorations.
* src/ui_mgr.c:
Ortho viewport now places at integer coordinates (seems to give better
results despite what Red Book says)
* src/tuxracer.h:
Various changes to support new UI and course directory structure
* src/tcl_util.c, src/tcl_util.h:
Added routine to get list of ints.
* src/ssbutton.c, src/ssbutton.h:
Initial checkin
* src/splash_screen.c:
- Can now click mouse to get past splash screen.
- Goes to new game type select mode.
* src/reset.c:
- Eliminated camera interpolation update during reset.
- Reinitialized the camera after position is changed to eliminate
weird transitions.
* src/render_util.c:
Changed the clear colour to match Mark's mock-ups.
* src/race_select.c, src/race_select.h:
Initial checkin.
* src/main.c:
Added registration code for new modes.
* src/listbox.c, src/listbox.h:
Several tweaks to listbox.
- Moved arrows flush right
- Added method for setting current list item
- Changed constructor to require a function to convert from list item
to label
* src/gl_util.c, src/gl_util.h:
Added GUI rendering mode.
* src/game_type_select.c, src/game_type_select.h:
Initial checkin
* src/audio_data.c, src/fonts.c, src/list.c, src/list.h, src/textures.c:
Changed get_list_elem_data so that it doesn't require the list
anymore. Several files were affected.
* src/course_load.c, src/course_load.h:
Changed course loader to deal with new course system.
Still to do: handle course options (mirror, conditions, etc.) &
provide callbacks so that they can be queried from Tcl.
* src/course_mgr.c, src/course_mgr.h:
Initial checkin
2000-09-22 ehall <[email protected]>
* src/game_config.h:
Made get_config_dir_name an external function.
* src/Makefile.am, src/save.c, src/save.h:
Saved game stuff compiling but not tested or integrated.
2000-09-21 ehall <[email protected]>
* src/save.c, src/save.h:
In progress versions of code to save scores and progress.
2000-09-19 Jasmin Patry <[email protected]>
* src/tuxracer.h:
Modifications to support new event/cup course structure.
* src/phys_sim.c:
Attempt to increase shock absorption of Tux: added a springer first
stage to his belly.
* src/fonts.h, src/fonts.c:
Added colours to font bindings.
* src/course_load.c:
Fixed some memory corruption bugs caused by the fact that not all
fields in tree_type_t were being initialized.
2000-09-19 ehall <[email protected]>
* src/main.c, src/start_screen.c, src/tux.c:
Changed some old references to config file to:
~/.tuxracer/options
* src/start_screen.c, src/tux.c, src/game_config.c, src/main.c:
Changed location of config file to:
~/.tuxracer/options under Linux
config/options under Windows
Will read and replace deprecated file.
2000-09-19 Jasmin Patry <[email protected]>
* src/Makefile.am: Added new files.
* src/tex_font_metrics.c:
Fixed but in get_tex_font_string_bbox().
* src/phys_sim.c:
Cleaned up particle generation code.
* src/game_config.c, src/game_config.h, src/part_sys.c, src/part_sys.h:
Removed code to draw particle shadows (was broken since particles were
turned into billboards)
2000-09-18 Jasmin Patry <[email protected]>
* src/mirror_course.c:
item_t objects are now mirrored properly.
* src/main.c:
Added call to initialize UI manager
* src/hud.c:
Now uses ui_setup_display to setup OpenGL settings.
* src/button.c, src/button.h, src/listbox.c, src/listbox.h, src/ui_mgr.c, src/ui_mgr.h, src/ui_theme.c, src/ui_theme.h:
Initial checkin
* src/fps.c, src/game_over.c, src/hier.c, src/intro.c, src/loop.c, src/loop.h, src/paused.c, src/racing.c, src/render_util.c, src/render_util.h, src/reset.c, src/splash_screen.c, src/start_screen.c, src/tcl_util.c, src/tcl_util.h, src/track_marks.c, src/tux_shadow.c, src/tux_types.h:
- Added alpha channel to colour_t.
- Added mode termination callback to loop.c.
* src/debug.c, src/debug.h:
Added UI debug mode.
2000-09-17 snoop <[email protected]>
* src/course_load.c, src/course_load.h, src/course_render.c, src/reset.c, src/tux_types.h:
Added reset points. If no reset points are listed then use previous
code. Also modified previous code for slower flashing during reset.
Create reset points in your course.tcl file with a line like:
tux_item_spec -name float -nocollision -colour {0 0 255} -reset_point
* src/Makefile.am:
Changed texfont.[ch] to tex_font_metrics.[ch] at Jaz's request.
2000-09-16 Jasmin Patry <[email protected]>
* tools/txf/Makefile.am:
Modified so that gentexfont.c.orig is now patched into gentexfont.c
before compilation.
* tools/txf/gentexfont.c.orig:
Initial checkin.
* tools/txf/gentexfont.c:
Removed patched version to avoid potential licensing issues.
* tools/txf/gentexfont.c.patch:
Initial checkin
* src/tuxracer.h:
Added some macros to swap bytes from little-endian to big-endian order
(or vice versa)
* src/textures.c, src/textures.h:
Added a routine to query the dimensions of the current texture.
* src/game_config.c:
Changed some default values to give better framerates.
* src/fonts.c, src/fonts.h, src/hud.c:
Changes to work with re-implemented font code.
* src/tex_font_metrics.c, src/tex_font_metrics.h:
Initial checkin
* src/texfont.c, src/texfont.h:
These files are no longer used (their functionality has been
re-implemented to avoid possible licensing issues)
* src/view.c:
Reduced camera interpolation time constants so that camera tracks
player more closely (helpful in "S" bends)
* src/phys_sim.c:
- Changed mode changing code
- Placed a cap on frictional force to help reduce erratic turning when
landing
- Minor code cleanups
* src/main.c: - Changed mode initialization
- Changed SDL initialization so that sound is only initialized if the
no_audio parameter is false.
* src/game_over.c, src/intro.c, src/keyframe.c, src/loop.c, src/loop.h, src/paused.c, src/racing.c, src/reset.c, src/splash_screen.c, src/start_screen.c:
To ensure that the mode init funcs don't get skipped (which can happen
if a keyboard callback is called that changes the mode before the init
func gets a chance to run), is now necessary to change modes using
set_game_mode(). This checkin makes the changes required to conform
to this requirement.
* src/course_load.c, src/course_load.h:
- Fixed bug in which collectable flag wasn't being initialized
- Some clean up: s/numtrees/num_tress/, s/numitems/num_items/, etc.
* src/track_marks.c:
Lowered the track marks closer to the terrain
* src/racing.c:
Changed roll_modifier to turn_modifier, removed roll callbacks
* src/hud.c:
Minor clean-ups in draw_herring_count
* src/game_config.h:
- Removed roll keys, changed roll_modifier to trick_modifier
* src/game_config.c:
- Removed roll keys, changed roll_modifier to trick_modifier
- Added arrow keys as extra key bindings for turn, paddle, and brake
* src/course_load.c:
-Fixed a couple of cut-and-paste bugs (change tree to item in a
couple places)
-Added some newlines at the end of warning messages
2000-09-15 Jasmin Patry <[email protected]>
* src/course_render.c:
Removed some obsolete code
2000-09-15 snoop <[email protected]>