-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
4828 lines (3061 loc) · 153 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
2011-06-10 Christian Beckhaeuser <zicodxx@yahoo.de>
* main/gamerend.c: fix for death-sequence and sdl segfault in
320xXXX (bug #2513)
* main/state.c: Fixed the Birthday Bug: Correctly re-compute
static_light when restoring a game - finally (bug #2375)
2011-06-10 Ben Baker <BenB@cfl.rr.com>
* main/gamerend.c: clear the top and bottom of the screen in death
sequence (bug #2572)
2007-01-30 Bradley Bell <btb@icculus.org>
* configure.ac, iff/iff.c: amd64 fixes
2006-12-16 Chris Taylor <chris@icculus.org>
* arch/carbon/conf.h: allow universal binaries to be built using
Xcode 2.2 or later
2006-12-13 Chris Taylor <chris@icculus.org>
* texmap/tmapflat.c: divide negative window x-coordinates properly,
fixing random crashes
2006-12-03 Chris Taylor <chris@icculus.org>
* texmap/tmapppro.S: fix assemble error for gas (fix bug #2312)
* misc/Makefile.am: add main as an include path for strutil.c,
should have done this on 2006-02-26
2006-12-02 Chris Taylor <chris@icculus.org>
* texmap/scanline.c: divide negative light rates of change
properly (fix bug #2575)
2006-12-01 Chris Taylor <chris@icculus.org>
* main/weapon.c: only autoselect a secondary weapon if the player
didn't have any of that type before (fix bug #2671)
2006-11-30 Chris Taylor <chris@icculus.org>
* arch/ogl/ogl.c: avoid loading OpenGL textures before they have
been paged in, bug found by loading Abalyon 5
2006-11-26 Chris Taylor <chris@icculus.org>
* main/game.c, main/gamerend.c: small brace tidy up to allow
a source code editor to list all the functions
* arch/ogl/gr.c: fix screenshot corruption, use PhysicsFS to check
for existing screenshots
2006-07-29 Chris Taylor <chris@icculus.org>
* main/inferno.c, main/titles.c, main/titles.h:
move titles, loading screen and order form showing to titles.c
* include/physfsx.h, main/inferno.c: move PhysicsFS
initialisation, search path setup and argument reading to physfsx.h
* main/gauges.c: always show bomb count if player has them,
bombs may be the selected secondary weapon but the right view can
be a camera view (http://dxx-rebirth.de/smf/index.php?topic=58.0)
2006-07-27 Chris Taylor <chris@icculus.org>
* main/inferno.c, main/multi.c, main/multi.h:
move hoard data saving from main to save_hoard_data
2006-07-24 Chris Taylor <chris@icculus.org>
* main/state.c: make the thumbnail properly when doing fast save
in d2xgl
2006-07-12 Chris Taylor <chris@icculus.org>
* d2x.xcode/project.pbxproj: add references to headers in main
for SCM and batch find
2006-07-09 Chris Taylor <chris@icculus.org>
* main/laser.c, main/object.c: fix crash when a robot's guided
missile explodes
* arch/carbon/descent.r: don't allow MPW build to run in OS X
(it won't work and doesn't need to)
* main/gauges.c: only free the gauge canvases when they exist
2006-06-05 Chris Taylor <chris@icculus.org>
* main/slew.h: fix error when building editor with RELEASE
2006-06-03 Chris Taylor <chris@icculus.org>
* main/game.c, main/gauges.c: the gauges work in 320xXXX (sdl)
again. It needs to create gauge canvases in the game when they're
sub-canvases, which they were made into on 2005-08-13
2006-03-05 Chris Taylor <chris@icculus.org>
* main/inferno.c: create write directory if it doesn't exist
(didn't work before)
* main/gamesave.c, main/object.c, main/render.c,
main/editor/kfuncs.c, main/editor/med.c: allow the editor to be
built with NDEBUG
2006-02-26 Chris Taylor <chris@icculus.org>
* include/strutil.h, main/bm.c, main/gamepal.c, main/gamesave.c,
main/movie.c, main/piggy.c, misc/strutil.c:
move change_filename_ext to strutil.c, rename to (and remove old)
change_filename_extension, add an assert and make it use strrchr
* main/gamerend.c: show the death sequence for d2x-gl
(fix bug #2513)
* main/gamesave.c: with the editor built, don't make .txm files
when a level is loaded (only make them when saving levels)
2006-02-25 Chris Taylor <chris@icculus.org>
* main/menu.c: complete removal of 7th option in Options menu,
hopefully fixing bug #2514
* main/gameseg.c: when breaking a light, allow segment light to
change by more than F1_0
2006-02-24 Chris Taylor <chris@icculus.org>
* main/gauges.c: make sure the correct font is used (whoops)
* main/newmenu.c: restore the old canvas after showing a menu,
avoiding potential problems
2005-11-29 Chris Taylor <chris@icculus.org>
* main/titles.c: for Descent 1 briefings, look for briefings no
further than NUM_D1_BRIEFING_SCREENS (fix bug #2270)
2005-11-07 Chris Taylor <chris@icculus.org>
* arch/ogl/ogl.c: make super transparent textures have alpha
2005-08-13 Chris Taylor <chris@icculus.org>
* main/gauges.c: draw all gauges properly when using the cockpit
in d2x-gl, including the energy bars when empty
2005-08-07 Chris Taylor <chris@icculus.org>
* arch/ogl/ogl.c, main/game.c, main/gamerend.c:
get the cockpit to show with d2x-gl (actually committed!)
2005-08-06 Chris Taylor <chris@icculus.org>
* main/automap.c: must_free_canvas isn't used when
AUTOMAP_DIRECT_RENDER is defined (whoops)
* main/inferno.c: print the command line help properly
* arch/ogl/ogl.c, main/game.c, main/gamerend.c:
get the cockpit to show with d2x-gl
2005-08-02 Chris Taylor <chris@icculus.org>
* 2d/bitblt.c, 2d/bitmap.c, 2d/pixel.c, 2d/rect.c, 2d/rle.c,
3d/draw.c, 3d/instance.c, 3d/matrix.c, 3d/points.c, 3d/rod.c,
3d/setup.c,
include/3d.h, include/palette.h,
main/automap.c, main/cntrlcen.c, main/credits.c, main/endlevel.c,
main/escort.c, main/game.c, main/game.h, main/gamecntl.c,
main/gamerend.c, main/gameseq.c, main/gauges.c, main/hud.c,
main/kconfig.c, main/kmatrix.c, main/menu.c, main/newmenu.c,
main/object.c, main/paging.c, main/piggy.c, main/scores.c,
main/state.c, main/titles.c:
remove DirectDraw use and Windows mouse stuff made redundant by SDL
(lots of WINDOWS code).
Makes cockpit draw properly in SDL
2005-07-30 Chris Taylor <chris@icculus.org>
* 2d/2dsline.c, 2d/bitblt.c, 2d/bitmap.c, 2d/font.c, 2d/ibitblt.c,
2d/palette.c, 2d/pcx.c, 2d/rle.c,
include/gr.h,
main/automap.c, main/config.c, main/credits.c, main/escort.c,
main/game.c, main/gamecntl.c, main/gamepal.c, main/gamerend.c,
main/gameseq.c, main/gauges.c, main/hud.c, main/inferno.c,
main/kconfig.c, main/kmatrix.c, main/menu.c, main/movie.c,
main/newmenu.c, main/object.c, main/playsave.c, main/polyobj.c,
main/render.c, main/state.c, main/texmerge.c, main/titles.c:
remove all the redundant Polygon Acceleration stuff
(include/pa_enabl.h)
* 2d/bitblt.c, main/gamerend.c, main/inferno.c, main/object.c,
main/polyobj.c: remove old _3DFX code
* 2d/bitblt.c, 2d/ibitblt.c, include/gr.h, include/ibitblt.h,
main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c,
main/gauges.c, main/hud.c: remove pixel double code
2005-07-29 Chris Taylor <chris@icculus.org>
* 2d/font.c: show some missing wide 1's (bug #2269)
* main/game.c: only shoot when fire button down (fix bug #2271)
2005-07-28 Chris Taylor <chris@icculus.org>
* main/gauges.c: show gauges in SDL (help fix bug #2267)
2005-07-27 Chris Taylor <chris@icculus.org>
* d2x.xcode/project.pbxproj: build the editor by default
2005-07-25 Chris Taylor <chris@icculus.org>
* main/bmread.c: cast some fprintf arguments to int, to fix
warnings
* main/editor/medrobot.c: no checking if obj->id > -1
(it's unsigned)
* main/editor/ksegsize.c, main/editor/segment.c,
main/editor/seguvs.c, ui/mouse.c: avoid assignments between
sbyte * and char *, ubyte * and char * to fix warnings with gcc 4.0
2005-07-24 Chris Taylor <chris@icculus.org>
* main/bmread.c: call file static var 'time' 'play_time' instead,
because of conflict with function 'time' in /usr/include/time.h
(Mac OS X 10.4)
2005-07-22 Chris Taylor <chris@icculus.org>
* main/editor/group.c: remove duplicate tmap_xlate_table
2005-07-21 Chris Taylor <chris@icculus.org>
* d2x.xcode/project.pbxproj: make file paths relative to project,
add some files (so it builds), warnings are not errors
(ubyte *, sbyte * mismatches found when using gcc 4.0)
* arch/linux/ipx_mcast4.c, arch/linux/ipx_udp.c,
d2x.xcode/project.pbxproj, main/network.c, main/network.h,
main/newdemo.c: fix pointer mismatches, warnings are errors again
2005-07-03 Chris Taylor <chris@icculus.org>
* include/ui.h, ui/file.c, ui/inputbox.c: add ui_inputbox_set_text
* include/ui.h, main/editor/centers.c, main/editor/medrobot.c,
main/editor/medwall.c, ui/radio.c: add ui_radio_set_value,
draw an "O" in the current radio button
2005-07-01 Chris Taylor <chris@icculus.org>
* include/ui.h, main/editor/centers.c, main/editor/eswitch.c,
main/editor/medwall.c, ui/checkbox.c: add ui_checkbox_check
2005-06-23 Chris Taylor <chris@icculus.org>
* installation.txt: describe new directory system
and mention recursive mission searching
2005-06-22 Chris Taylor <chris@icculus.org>
* main/editor/kgame.c: load .rl2 files instead of .lvl files
(some editor info could be stored in .rdl / .rl2 files)
* include/nocfile.h, main/cntrlcen.c, main/cntrlcen.h,
main/fuelcen.c, main/fuelcen.h, main/game.c, main/game.h,
main/segment.c, main/segment.h, main/switch.c, main/switch.h,
main/wall.c, main/wall.h: add level component saving functions,
which use PhysicsFS and are endian friendly
* main/editor/mine.c, main/gamemine.c, main/gamemine.h:
add function for converting descent 2 texture numbers back to
descent 1 texture numbers
* main/editor/mine.c, main/gamesave.c: use PhysicsFS for saving
levels. Entirely endian friendly and allows saving of .rdl and .rl2
files.
2005-06-14 Chris Taylor <chris@icculus.org>
* main/mission.c: make sure there is a path to free for D2 Demo/OEM
2005-06-13 Chris Taylor <chris@icculus.org>
* main/gamemine.c: convert_d1_tmap_num now returns 193 for texture
number 198 to maintain bijectivity, when descent.pig is available
(used to return 167, which is also returned for Descent 1 texture
132)
* include/physfsx.h: added PHYSFSX_writeVector,
PHYSFSX_writeAngleVec, PHYSFSX_writeMatrix and PHYSFSX_printf
2005-04-05 Bradley Bell <btb@icculus.org>
* arch/linux/joystick.c, arch/sdl/joy.c, main/kconfig.c: fix some
bugs in joystick initialization
2005-04-04 Bradley Bell <btb@icculus.org>
* main/kconfig.c: cosmetic fixes to joystick config screen
* arch/dos/joyc.c, arch/include/joy.h, arch/linux/joydefs.c,
arch/linux/joystick.c, arch/linux/include/joystick.h,
arch/sdl/joy.c, arch/win32/joyhh.c, arch/win32/include/joy.h,
main/kconfig.c, unused/bios/joyc.c, unused/win95/joyc.c: change
MAX_BUTTONS to JOY_MAX_BUTTONS
* arch/sdl/joy.c, main/kconfig.c: don't use hardcoded descriptions
of joystick buttons/axes
* arch/win32/midi.c: don't play midi if -nosound
* arch/win32/mingw_init.c: remove redundant joy_init()
2005-04-01 Chris Taylor <chris@icculus.org>
* main/game.c, main/editor/kdefs.h, main/editor/kfuncs.c,
main/editor/med.c: "Go to Main Menu" now works in editor
* main/editor/segment.c: set Highest_vertex_index and
Highest_segment_index to 0 when creating a new mine (avoids
problems with saving when another level was previously loaded)
2005-03-31 Chris Taylor <chris@icculus.org>
* main/bm.c, main/bm.h, main/bmread.c, main/editor/editor.h,
main/editor/eglobal.c, main/editor/eobject.c,
main/editor/medrobot.c, main/editor/objpage.c,
main/editor/objpage.h: remove ObjType, ObjId, ObjStrength and
OL_ constants; use "object" instead of "robot" in some places;
draw and place reactors with correct modelnum
* main/editor/texpage.c: no using TmapList, initialise texture
category globals, no CurrentTmap (just use CurrentTexture)
2005-03-29 Bradley Bell <btb@icculus.org>
* mem/mem.c: remove obsolete malloc.h
2005-03-20 Bradley Bell <btb@icculus.org>
* Makefile.am: add some stuff to dist
* main/game.c, main/game.h, main/inferno.c, main/menu.c: added
MAX_FPS constant
* console/CON_console.c: Fixed console cursor positioning.
* main/text.c: revert to Error if text file not found.
2005-03-20 Martin Schaffner <schaffnerb@gmx.ch>
* ui/.cvsignore: New file
2005-03-17 Bradley Bell <btb@icculus.org>
* arch/win32/midi.c: Add RCS ID tag
* README, VisualC/d2x/d2x.dsp, VisualC/d2xgl/d2xgl.dsp,
VisualC/libmve/libmve.dsp, VisualC/mveplayer/mveplayer.dsp:
Update SDL to 1.2.8
2005-03-16 Bradley Bell <btb@icculus.org>
* main/bm.c, main/bm.h: use hardcoded value instead of
sizeof(tmap_info), since size depends on whether editor is built
or not.
* ui/mouse.c: gcc doesn't like multi-line // comments
* main/dumpmine.c: get rid of compiler warnings
2005-03-15 Bradley Bell <btb@icculus.org>
* 3d/interp.c: Disabled shading of flat (non-textured) polygons.
Fixes laser and plasma lighting bug, hopefully doesn't break
anything else.
* main/state.c: Fix crash if Num_walls=0
2005-03-12 Bradley Bell <btb@icculus.org>
* Makefile.am, configure.ac: enable editor in unix-style builds
2005-03-12 Chris Taylor <chris@icculus.org>
* main/gamesave.c: could check reactor model num, don't check
reactor object shields (not used anyway, it's stored/calculated
elsewhere)
2005-03-06 Chris Taylor <chris@icculus.org>
* main/piggy.c: load the descent 1 color palette when NDEBUG is
defined
* main/editor/seguvs.c: check the uvs after they're assigned
2005-02-27 Chris Taylor <chris@icculus.org>
* main/editor/med.c, ui/file.c, ui/keypress.c, ui/menu.c,
ui/menubar.c, ui/message.c, ui/number.c, ui/popup.c: call
gr_update in event loops
* include/ui.h, ui/file.c, ui/listbox.c: use PhysicsFS in
file.c, involves modifying the listbox so it can use
an array of string pointers
2005-02-26 Chris Taylor <chris@icculus.org>
* ui/keypad.c, ui/ui.c: no unnecessarily including MS DOS
headers
* ui/window.c: only disable the keyboard for MS DOS
* main/editor/eswitch.c: add remove_trigger_num
(used by gamesave.c)
* main/bmread.c, main/inferno.c: if EDITOR is defined, game
still works if there's no BITMAPS.TBL in a PhysicsFS search path
* main/inferno.c: determine properly if 800x600 resolution is
available (for editor)
* main/editor/autosave.c, main/editor/macro.c, main/editor/med.c,
main/editor/medsel.c, ui/checkbox.c, ui/file.c, ui/gadget.c,
ui/inputbox.c, ui/keypad.c, ui/menu.c, ui/menubar.c, ui/radio.c,
ui/window.c: use d_malloc, d_calloc, d_strdup and d_free
* ui/keypad.c: fix the reading of keypad (.pad) files
* ui/menubar.c: use cfile to read the menubar file MED.MNU
2005-02-25 Chris Taylor <chris@icculus.org>
* arch/carbon/conf.h, D2X.make: no defining OGL in conf.h,
allowing Mac OS 9 and X to both use conf.h but one can build for
OpenGL while the other doesn't.
* main/editor/mine.c: use the Descent 2 definitions for maximum
segments and vertices
2005-02-25 Bradley Bell <btb@icculus.org>
* arch/dos/digi.c, arch/dos/digiallg.c, arch/dos/digimm.c,
arch/linux/alsadigi, arch/win32/digi.c: rip out digiobj stuff, use
d2src system for persistent sounds. Untested, of course.
* ChangeLog-old: clean up old changelog a little
* ChangeLog-old: converted old changelog to "cvs log" format, so
it can be manipulated with cvs2cl and other tools.
2005-02-24 Tim Massey <tmassey@obscorp.com>
* main/inferno.c: allow -notitles to work in shareware [and
non-RELEASE] version too. (d1x r1.35)
2005-02-24 Peter Hawkins <peterh@isa.net.au>
* arch/linux/alsadigi.c: update to alsa 1.0 API. (d1x r1.3)
2005-02-24 Matthew Mueller <donut@dakotacom.net>
* arch/ogl/gr.c: restore gamma ramp on exit since some drivers
don't do it automatically (eg, ati's fglrx linux driver) (d1x
r1.41)
2005-02-24 Bradley Bell <btb@icculus.org>
* main/movie.c: change movie Warnings to con_printf, simplify
other debug info.
2005-02-24 Chris Taylor <chris@icculus.org>
* 2d/pcx.c, arch/ogl/gr.c, main/config.c, main/inferno.c,
main/newdemo.c, include/physfsx.h, include/cfile.h, main/playsave.c,
main/state.c, misc/args.c: use PHYSFSX_openReadBuffered and
PHYSFSX_openWriteBuffered, where appropriate
* main/gauges.c: draw behind the shield number properly with OpenGL
* main/gauges.c: draw the bomb count in OpenGL, but not when a bomb
is selected as a secondary weapon
* main/titles.c: check properly whether there's a briefing
* main/mission.c: recursively search directories in "missions"
for missions
2005-02-11 Bradley Bell <btb@icculus.org>
* debian/control: build-dep on libphysfs-dev
* arch/ogl/gr.c: use GLint for arb_max_textures
* arch/ogl/Makefile.am: added internal.h to dist
* Makefile.am, arch/win32/Makefile.am: remove old files from dist
2005-01-25 Chris Taylor <c.taylor@student.curtin.edu.au>
* arch/carbon/conf.h, arch/ogl/gr.c, include/loadgl.h: on Carbon,
dynamically find and load the OpenGL library
* main/editor/macro.c: use physfs instead of non-existing cflib.h
* main/editor/medwall.c: use wall_close_door_num, not wall_close_door
* main/editor/medwall.c: include cntrlcen.h
* ui/barbox.c, ui/number.c: pass int*, not short* to gr_get_string_size
* include/ui.h, ui/barbox.c: make ui_barbox_update return void
* patching file ui/file.c, ui/listbox.c, file ui/mouse.c, ui/scroll.c,
ui/window.c: use timer_get_fixed_seconds instead of TICKER macro
* ui/number.c: s/inputbox/Inputbox/
* ui/ui.c: InstallErrorHandler() no longer exists, don't use it anymore
* main/bmread.c: externalize N_ObjBitmaps & remove_char, solve conflict
* main/editor/autosave.c, main/editor/editor.h, main/editor/group.c,
main/editor/kgame.c, main/editor/kmine.c, main/editor/macro.c,
main/gamesave.c: s/128/PATH_MAX
* include/pstypes.h, main/newmenu.c: clean up path/file length macros
* ui/inputbox.c, ui/keypad.c: use unsigned char when comparing to > 127
* ui/mouse.c, file ui/popup.c, ui/window.c: comment out uses of
mouse_set_limits and mouse_set_pos (we don't want to limit user)
* ui/menubar.c: specify int type for state2_alt_down
* main/editor/eglobal.c: remove variable New_segment (is now a macro)
* main/piggy.c: call bm_read_all even if EDITOR is defined
* main/gamesave.c: if LVL can't be found, try filename that was passed
* main/mission.c: ensure mission name is properly terminated
2005-01-24 Chris Taylor <c.taylor@student.curtin.edu.au>
* 2d/font.c: fix bug #2167: some characters would not display because
of signed/unsigned errors
* main/editor/editor.h: baptize the coefficients in vms_equation 'n'
* main/gamerend.c, main/gauges.c: fix bug #1893: fade ship and weapon
gauge when appropriate
* main/editor/kdefs.h, main/gamesave.c, main/gamesave.h: change
all functions in kfuncs.c to return int instead of void
* main/editor/ehostage.c, main/editor/eobject.c, main/editor/segment.c:
disable old hostage system in editor (d2 is simpler in this regard)
* main/wall.c, main/wall.h: move consts for WALL_IS_DOORWAY to header
* main/editor/info.c: only include i86.h and malloc.h ifdef DO_MEMINFO
* main/editor/centers.c: change curseg2p to Curseg2p
* main/editor/func.c: Include strutil.h in func.c (for stricmp)
* main/editor/macro.c: remove unused variable "length"
* main/editor/med.c: don't set screen mode to SM_ORIGINAL
* main/editor/medmisc.c: Pass both arguments to render_frame
* ui/barbox.c, ui/button.c, ui/checkbox.c, ui/file.c, ui/gadget.c,
ui/icon.c, ui/inputbox.c, ui/keypad.c, ui/keypress.c, ui/keytrap.c,
ui/listbox.c, ui/menu.c, ui/menubar.c, ui/message.c, ui/mouse.c,
ui/number.c, ui/popup.c, ui/radio.c, ui/scroll.c, ui/ui.c,
ui/uidraw.c, ui/userbox.c, ui/window.c: include u_mem.h and pstypes.h
instead of d1-style mem.h and types.h
* main/editor/texpage.c: do texture replacement for any mission
* main/editor/medwall.c: add prototype for create_removable_wall
* main/editor/medrobot.c: don't try to set the removed follow_path
2005-01-23 Jason Owen <shannara256@yahoo.com>
* arch/ogl/gr.c: fix bug #2085: don't print OGL extensions, since this
may crash printf if the list of extensions is huge
2005-01-23 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/collide.c: fix bug #2140: even ifndef NETWORK do last level hack
only on last level of built-in mission.
* main/gauges.c: fix bug #2110: redraw energy/afterburner gauges
whenever necessary
* arch/ogl/gr.c, include/cfile.h, main/config.c, main/newdemo.c,
main/playsave.c, main/state.c, misc/args.c: change cfopen to use
buffers (speeding it up), and use cfopen instead of
PHYSFS_openRead/PHYSFS_openWrite where appropriate
* include/nocfile.h, main/editor/kmine.c, main/editor/mine.c: make
sure nocfile.h and cfile.h are never both included
2005-01-10 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/bmread.c, main/dumpmine.c, main/gameseq.c, main/piggy.c:
fix bug #1676 (filling up of OLG texture list)
2005-01-07 Alexander Zielke <vulture@vultures-nest.de>
* main/state.c: fix problems with copying/deleting save files
* main/automap.c: make automap fonts transparent.
2005-01-07 Bradley Bell <btb@icculus.org>
* main/menu.c: In Load Level, if there is no current mission,
select one
2005-01-05 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/gameseq.c: Free polymodel data before reloading ham file.
* arch/ogl/gr.c: Implement fading in ogl_urect()
* main/gauges.c: Draw ship before shields in HUD.
2004-12-23 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/editor/centers.c: Use both ints with the robot producer
flags.
2004-12-23 Bradley Bell <btb@icculus.org>
* main/editor/centers.c, main/editor/editor.h,
main/editor/eswitch.c, main/editor/group.c, main/editor/med.c,
main/editor/meddraw.c, main/editor/medwall.c, main/editor/mine.c,
main/editor/seguvs.c, main/segment.h: Use macros to use Segment2s
when necessary.
2004-12-21 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/bmread.c: don't duplicate the period in the filename
* main/dumpmine.c: Add function prototypes to remove warnings
* main/dumpmine.c, ui/window.c: Specify that two functions return
void.
* main/editor/autosave.c, main/editor/curves.c,
main/editor/ehostage.c, main/editor/kmine.c, main/editor/med.c,
main/editor/medrobot.c, main/editor/mine.c: fix occurences of
#ifdef __LINUX__
2004-12-19 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/editor/eobject.c, main/editor/kgame.c,
main/editor/segment.c, main/gameseg.h, main/physics.c: Pass the
extra two parameters to get_seg_masks.
* main/gamemine.c, main/gamemine.h, main/gamesave.c: Enable global
structs for mine saving functions
* main/inferno.c: Use PhysicsFS for making the hoard ham.
* main/bmread.c: add missing includes
* 3d/interp.c: add g3_uninit_polygon_model (doesn't do anything)
* main/dumpmine.c: Fix type mismatches
2004-12-19 Bradley Bell <btb@icculus.org>
* ui/Makefile.am: fix ui Makefile.am
* include/strutil.h, misc/strutil.c, main/bmread.c: implement
removeext, use it in ds_load instead of splitpath
2004-12-19 Chris Taylor <c.taylor@student.curtin.edu.au>
* include/u_mem.h: prototype for strdup with MPW
* main/laser.c: abort weapon fire if unable to create object
* include/ui.h, main/bm.c, main/dumpmine.c, main/editor/editor.h,
main/editor/medwall.h, main/editor/segment.c, main/gamesave.c,
unused/ui/icon.c: replace byte with sbyte
* include/func.h, ui/barbox.c, ui/button.c, ui/checkbox.c,
ui/file.c, ui/func.c, ui/gadget.c, ui/harderr.c, ui/icon.c,
ui/inputbox.c, ui/keypad.c, ui/keypress.c, ui/keytrap.c,
ui/listbox.c, ui/medfunc.c, ui/menu.c, ui/menubar.c, ui/message.c,
ui/mouse.c, ui/number.c, ui/popup.c, ui/radio.c, ui/scroll.c,
ui/ui.c, ui/uidraw.c, ui/userbox.c, ui/window.c,
unused/ui/barbox.c, unused/ui/button.c, unused/ui/checkbox.c,
unused/ui/file.c, unused/ui/func.c, unused/ui/func.h,
unused/ui/gadget.c, unused/ui/harderr.c, unused/ui/icon.c,
unused/ui/inputbox.c, unused/ui/keypad.c, unused/ui/keypress.c,
unused/ui/keytrap.c, unused/ui/listbox.c, unused/ui/medfunc.c,
unused/ui/menu.c, unused/ui/menubar.c, unused/ui/message.c,
unused/ui/mouse.c, unused/ui/number.c, unused/ui/popup.c,
unused/ui/radio.c, unused/ui/scroll.c, unused/ui/ui.c,
unused/ui/uidraw.c, unused/ui/userbox.c, unused/ui/window.c: moved
unused/ui to ui
* ui/Makefile.am: added Makefile.am for ui
* main/editor/Makefile.am, main/editor/autosave.c,
main/editor/centers.c, main/editor/centers.h,
main/editor/curves.c, main/editor/eglobal.c,
main/editor/ehostage.c, main/editor/ehostage.h,
main/editor/elight.c, main/editor/eobject.c,
main/editor/eobject.h, main/editor/eswitch.c,
main/editor/eswitch.h, main/editor/fixseg.c, main/editor/func.c,
main/editor/group.c, main/editor/info.c, main/editor/info.h,
main/editor/kbuild.c, main/editor/kcurve.c, main/editor/kfuncs.c,
main/editor/kfuncs.h, main/editor/kgame.c, main/editor/kgroup.c,
main/editor/khelp.c, main/editor/kmine.c, main/editor/ksegmove.c,
main/editor/ksegsel.c, main/editor/ksegsize.c,
main/editor/ktmap.c, main/editor/kview.c, main/editor/macro.c,
main/editor/macro.h, main/editor/meddraw.c, main/editor/meddraw.h,
main/editor/medlisp.h, main/editor/medmisc.c,
main/editor/medmisc.h, main/editor/medrobot.c,
main/editor/medrobot.h, main/editor/medsel.c,
main/editor/medsel.h, main/editor/medwall.c, main/editor/mine.c,
main/editor/objpage.c, main/editor/objpage.h,
main/editor/seguvs.c, main/editor/texpage.c,
main/editor/texture.c: imported missing editor files from d1x
* main/Makefile.am: build dumpmine.c for editor
* main/editor/macro.c, ui/barbox.c, ui/button.c, ui/checkbox.c,
ui/gadget.c, ui/icon.c, ui/inputbox.c, ui/keypress.c,
ui/listbox.c, ui/menu.c, ui/menubar.c, ui/message.c, ui/mouse.c,
ui/number.c, ui/popup.c, ui/radio.c, ui/scroll.c, ui/ui.c,
ui/uidraw.c, ui/userbox.c, ui/window.c: ifdef RCS for rcsid
* ChangeLog-old, main/editor/autosave.c, main/editor/centers.c,
main/editor/centers.h, main/editor/curves.c, main/editor/editor.h,
main/editor/eglobal.c, main/editor/ehostage.c,
main/editor/ehostage.h, main/editor/elight.c,
main/editor/eobject.c, main/editor/eobject.h,
main/editor/eswitch.c, main/editor/eswitch.h,
main/editor/fixseg.c, main/editor/func.c, main/editor/group.c,
main/editor/info.c, main/editor/info.h, main/editor/kbuild.c,
main/editor/kcurve.c, main/editor/kdefs.h, main/editor/kfuncs.c,
main/editor/kfuncs.h, main/editor/kgame.c, main/editor/kgroup.c,
main/editor/khelp.c, main/editor/kmine.c, main/editor/ksegmove.c,
main/editor/ksegsel.c, main/editor/ksegsize.c,
main/editor/ktmap.c, main/editor/kview.c, main/editor/macro.c,
main/editor/macro.h, main/editor/med.c, main/editor/meddraw.c,
main/editor/meddraw.h, main/editor/medlisp.h,
main/editor/medmisc.c, main/editor/medmisc.h,
main/editor/medrobot.c, main/editor/medrobot.h,
main/editor/medsel.c, main/editor/medsel.h, main/editor/medwall.c,
main/editor/medwall.h, main/editor/mine.c, main/editor/objpage.c,
main/editor/objpage.h, main/editor/segment.c,
main/editor/seguvs.c, main/editor/seguvs.h, main/editor/texpage.c,
main/editor/texpage.h, main/editor/texture.c: Move old logs to
ChangeLog-old
* main/editor/autosave.c main/editor/centers.c
main/editor/centers.h main/editor/curves.c main/editor/eglobal.c
main/editor/ehostage.c main/editor/ehostage.h main/editor/elight.c
main/editor/eobject.c main/editor/eobject.h main/editor/eswitch.c
main/editor/fixseg.c main/editor/func.c main/editor/group.c
main/editor/info.c main/editor/info.h main/editor/kbuild.c
main/editor/kcurve.c main/editor/kfuncs.c main/editor/kfuncs.h
main/editor/kgame.c main/editor/khelp.c main/editor/kmine.c
main/editor/ksegmove.c main/editor/ksegsel.c
main/editor/ksegsize.c main/editor/ktmap.c main/editor/kview.c
main/editor/macro.c main/editor/macro.h main/editor/meddraw.c
main/editor/meddraw.h main/editor/medlisp.h main/editor/medmisc.c
main/editor/medmisc.h main/editor/medrobot.c
main/editor/medrobot.h main/editor/medsel.c main/editor/medsel.h
main/editor/medwall.c main/editor/mine.c main/editor/objpage.c
main/editor/seguvs.c main/editor/seguvs.h main/editor/texpage.c
main/editor/texpage.h main/editor/texture.c ui/barbox.c
ui/button.c ui/checkbox.c ui/file.c ui/func.c ui/gadget.c
ui/harderr.c ui/icon.c ui/inputbox.c ui/keypad.c ui/keypress.c
ui/keytrap.c ui/listbox.c ui/medfunc.c ui/menu.c ui/menubar.c
ui/message.c ui/mouse.c ui/number.c ui/popup.c ui/radio.c
ui/scroll.c ui/ui.c ui/uidraw.c ui/userbox.c ui/window.c: include
conf.h in new editor files
2004-12-17 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/state.c: open autosave file for writing, not reading
* main/game.c, main/gamecntl.c, main/gameseq.c, main/multi.c,
main/state.c, main/state.h: added fast save
* main/gameseq.c, main/inferno.c: force gr_update() so screens
always show in OpenGL
* 2d/font.c, 3d/rod.c: fix compiler errors in MPW w/o OpenGL
* misc/strutil.c: Implement strdup for MPW
* D2X.make, arch/carbon/conf.h: compile as a classic powerpc app
in MPW
* misc/strutil.c: fix MPW compiler errors
* main/mission.c, main/mission.h: allocate mission filenames
dynamically
2004-12-07 Chris Taylor <c.taylor@student.curtin.edu.au>
* 2d/font.c: Initialise the dataptr member correctly.
* include/mono.h: Print only mildly interesting messages to
stderr.txt. (revert earlier carbon changes)
2004-12-05 Chris Taylor <c.taylor@student.curtin.edu.au>
* include/physfsx.h: getRealPath uses the write directory if it
can't get the real directory
* D2X.make: remove misc/d_io.c
2004-12-03 Bradley Bell <btb@icculus.org>
* include/cfile.h, include/physfsx.h: use PATH_MAX for hog
pathname, ensure correct translation of path separators
2004-12-03 Chris Taylor <c.taylor@student.curtin.edu.au>
* misc/strutil.c: fix stricmp and strnicmp
* main/mission.c: set builtin_hogsize to 0 for the Descent 1 built
in mission
2004-12-02 Bradley Bell <btb@icculus.org>
* include/physfsx.h: use sprintf in PHYSFSX_getRealPath() because
I couldn't figure out why the previous code kept segfaulting under
linux.
* main/kconfig.c: disable call to reset_cockpit() which was
causing the "letterbox" bug
* main/inferno.c: don't die if title screens not found
2004-12-02 Martin Schaffner <maschaffner@gmx.ch>
* configure.ac: require PhysicsFS header and library
2004-12-02 Chris Taylor <c.taylor@student.curtin.edu.au>
* main/bm.c, main/piggy.c: fix cfile bugs from recent changes
* D2X.make: fix build on Carbon by adding digiobj.c
* main/mission.c: set builtin_hogsize for non-built-in missions
* main/mission.c: pass individual mission around instead of whole list
* main/mission.c: remove mission list from global memory
2004-12-02 Bradley Bell <btb@icculus.org>
* include/cfile.h, include/physfsx.h: fix RELEASE build, make sure
path separator gets added to hogdir
2004-12-01 Bradley Bell <btb@icculus.org>
* README, configure.ac, VisualC/d2x/d2x.dsp,
VisualC/d2xgl/d2xgl.dsp, VisualC/libmve/libmve.dsp,
VisualC/mveplayer/mveplayer.dsp, include/loadgl.h,
include/ogl_init.h, include/physfsx.h: Updated MSVC build, now
uses dynamic opengl loading
2004-12-01 Chris Taylor <c.taylor@student.curtin.edu.au>
* arch/ogl/gr.c: make write_bmp use PhysicsFS
* include/args.h, misc/args.c: new AppendArgs function. This
separates the copying of the arguments passed to main() from the
reading of the arguments file
* include/cfile.h: Use portable PHYSFSX_getRealPath function, Use
the flexible cfgets, Fix compiling issues in MPW.
* include/physfsx.h: PHYSFSX_readU8 isn't endian friendly when
reading into an int, so it's removed completely. PHYSFSX_getc was
removed, because it's only use in misc/strio.c was removed. Put
in PHYSFSX_getRealPath, which recognises platform-specific
separators and doesn't use snprintf (MPW doesn't have it). MPW
doesn't have statfs.
* main/inferno.c: Remove use of open_movie_file. Read the
arguments file from the base directory, if there is one. Set up
D2X's write directory, including replacing any tilde at the start
of the path (if there is one) with the string returned by
PHYSFS_getUserDir(). This applies to all platforms. On Unix the
default is still ~/.d2x. Check if the write directory has to be
created. Read the arguments file in this write directory if there
is one. If there's still no write directory, set it to the base
directory. Won't set it to the current directory if this fails,
because of the issue of which character to use for which platform.
* main/playsave.c: Use PHYSFS_readSLE32 instead of
PHYSFS_readULE32 due to compiling issues in MPW. Use
cfile_read_short instead of PHYSFS_readULE16 because of both
compiling and endian issues. cfile_read_byte instead of
PHYSFSX_readU8. Write a dummy structure instead of seeking when
NETWORK isn't defined
* D2X.make: Don't compile cfile.c on Mac OS 9.
* README: add PhysicsFS to the required 'tools' in README, and
instructions for building in MPW.
* include/cfile.h: Make cfopen into an inline, where a read buffer
is set up. This speeds up loading significantly.
2004-12-01 Bradley Bell <btb@icculus.org>
* include/physfsx.h, include/strio.h, main/cntrlcen.c,
main/inferno.c, main/newmenu.c, misc/args.c, misc/strio.c: more
physfs additions
* main/newmenu.c: fix player file deletion
* include/physfsx.h: fix statfs includes for OS X
* main/inferno.c, main/network.c: misc physfs conversions
* arch/linux/Makefile.am, arch/linux/findfile.c,
arch/win32/Makefile.am, arch/win32/findfile.c,
include/findfile.h, main/kludge.c, main/mission.c,
main/newmenu.c, main/piggy.c: get rid of findfile stuff
* main/gameseq.c, main/menu.c, main/newmenu.c: improved demo/plr
loading
* main/state.c: improve savegame load/save
* main/movie.c: make -nomovies friendlier
* 2d/pcx.c, include/physfsx.h: use physfs for writing pcx files
* include/d_io.h, include/physfsx.h, main/inferno.c,
main/newdemo.c, main/scores.c, misc/Makefile.am, misc/d_io.c: get
rid of d_io stuff.
* main/scores.c: use physfs for scores file
* main/playsave.c: improve player loading
* main/movie.c: improve movie loading
* main/mission.c: improve mission loading
* main/ai.c, main/ai.h, main/gameseq.c, main/newmenu.c,
main/state.c: use physfs for savegames
* README: minor update
* main/newdemo.c: use physfs for demos
* include/physfsx.h: added PHYSFSX_rename function
* main/gameseq.c, main/mission.c, main/movie.c: make movies use
physfs/rwops, add libmve callbacks
* include/physfsrwops.h, misc/Makefile.am, misc/physfsrwops.c:
added physfsrwops stuff
* include/cfile.h: added cfile_close wrapper
* main/mission.c, main/newmenu.c: use PHYSFS to load missions,
player files
* include/ignorecase.h, misc/Makefile.am, misc/ignorecase.c: added
ignorecase stuff
* main/config.c: use physfs to read config file
* include/physfsx.h: added gets and puts functions
* include/cfile.h: correct seek return value