-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPrimary.c
10612 lines (9629 loc) · 352 KB
/
Primary.c
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
/*
* The X Men, June 1996
* Copyright (c) 1996 Probe Entertainment Limited
* All Rights Reserved
*
* $Revision: 371 $
*
* $Header: /PcProjectX/Primary.c 371 11/11/98 16:00 Philipy $
*
* $Log: /PcProjectX/Primary.c $
*
* 371 11/11/98 16:00 Philipy
* various fixes for warnings / errors when compiling under VC6
*
* 370 14/09/98 16:12 Phillipd
*
* 369 14/09/98 16:00 Phillipd
*
* 368 14/09/98 15:16 Phillipd
*
* 367 14/09/98 12:42 Phillipd
*
* 366 21/08/98 9:44 Collinsd
*
* 365 22/07/98 12:34 Collinsd
* Fixed player dropping pickups in server game.
*
* 364 20/07/98 17:32 Collinsd
* Bug In Laser fixed
*
* 363 14/07/98 10:27 Collinsd
* Shadow code added under SHADOWTEST
*
* 362 7/08/98 11:56a Phillipd
*
* 361 8/07/98 9:31 Oliverc
* Converted multiplayer bounty and flag games to server operation for
* patch
*
* 360 2/07/98 14:10 Collinsd
* Temp Cheat to wind up peacefrom and sint.
*
* 359 2/07/98 10:37 Collinsd
* Correction code now in.
*
* 358 1/07/98 15:30 Collinsd
* Hopefully fixed bug that lost pickups.
*
* 357 26/06/98 10:54 Collinsd
* Server Pickups and weapons works pretty well, death mode pickups thrown
* out, as well as scattered. Quitting/Crash players throw out all
* pickups.
*
* 356 11/06/98 9:48 Collinsd
* Orbitals now work in server game.
*
* 355 10/06/98 9:55 Collinsd
* Made Easy and Medium mode easier and bounced transpulse does 25%
* instead of 50%
*
* 354 9/06/98 16:35 Collinsd
* Fixed Lumberjack bug
*
* 353 8/06/98 15:45 Collinsd
* Done more on Server mode and Fixed trojax ammo usage
*
* 352 22/05/98 15:06 Collinsd
* Server Pickup work
*
* 351 21/05/98 16:52 Collinsd
* Pickups controlled by host ( Sort of ).
*
* 350 5/08/98 12:48p Phillipd
* Trojax messed with minimum damage is now halfed but glancing blows are
* more effective and never miss....
*
* 349 24/04/98 1:37 Philipy
* weapon order text now comes from local files
*
* 348 16/04/98 12:59 Oliverc
* More literal text converted to defined strings for localisation
*
* 347 15/04/98 14:09 Collinsd
*
* 346 15/04/98 12:31 Oliverc
* In-game text substituted for localised definitions
*
* 345 15/04/98 12:21 Collinsd
*
* 344 9/04/98 18:59 Collinsd
* Can't fire in demo mode.
*
* 343 9/04/98 16:56 Philipy
* removed debug message
*
* 342 8/04/98 10:16 Philipy
* added weapon select sfx for changing weapon with no bike computer
*
* 341 7/04/98 15:27 Collinsd
*
* 340 6/04/98 17:06 Philipy
* modified various sfx
*
* 339 6/04/98 11:28 Philipy
* added big packets option
* upped frequency of some speech sfx
* re-implemented holo-scanline
*
* 338 5/04/98 19:49 Collinsd
* Added GlobalFramelagAddition.
*
* 337 3/04/98 17:02 Philipy
* cd audio now only retriggered if enabled!
* added generic pickup sound if bike computer speech is zero
*
* 336 3/04/98 11:55 Collinsd
* Tidy
*
* 335 1/04/98 19:12 Collinsd
* Orbitals dont appear in demo if debug mode on.
*
* 334 1/04/98 11:44 Collinsd
* Invulnerability effect now no longer appears in demos. and god mode
* works properly over multiple levels.
*
* 333 3/31/98 12:29p Phillipd
*
* 332 29/03/98 21:31 Collinsd
* Pyrolite SoundfX added
*
* 331 3/27/98 12:37p Phillipd
* sfx added
*
* 330 26/03/98 15:24 Philipy
* re added sfx missing from new batch
*
* 329 24/03/98 16:20 Philipy
* added new sfx
*
* 328 20/03/98 17:23 Collinsd
* Hopefully fixed crashbug on reactor on nps-sp01
*
* 327 3/19/98 3:24p Phillipd
*
* 326 14/03/98 19:39 Collinsd
*
* 325 14/03/98 18:58 Collinsd
* Added godmode and made debug mode work even when you change level.
*
* 324 12/03/98 21:52 Collinsd
* Added cheatmodes for primary and seconadry weapons.
*
* 323 9/03/98 16:22 Collinsd
* Mines selectable for dropping as well.
*
* 322 3/03/98 10:46 Oliverc
*
* 321 2/03/98 21:13 Collinsd
* No longer use multiple bit or secfire.
*
* 320 27/02/98 19:49 Collinsd
*
* 319 27/02/98 18:37 Collinsd
* Primary next/prev sfx added
*
* 318 27/02/98 11:45 Collinsd
* Cleared Out scrpolys properly!!!
*
* 317 26/02/98 12:59 Collinsd
* Ammo thrown out when player low on ammo.
*
* 316 24/02/98 9:10 Collinsd
* Saved GunIndex & Difficulty setting
*
* 315 23/02/98 21:20 Collinsd
* Optimised Load/Save Functions.
*
* 314 18/02/98 11:53 Oliverc
* First feature-complete version of force feedback joystick code
*
* 313 16/02/98 14:33 Collinsd
* Started LoadSave
*
* 312 14/02/98 10:50 Collinsd
* Fixed Bullets hitting ships/mines not in same group ( Pandora's box )
*
* 311 11/02/98 12:57 Philipy
* Changed PlaySfx calls to use Vol instead of Dist
*
* 310 10/02/98 19:34 Philipy
* enemys now make enemy pulsar sound
*
* 309 10/02/98 11:40 Collinsd
* Added code for descent/forsaken collision
*
* 308 10/02/98 9:28 Collinsd
*
* 307 7/02/98 14:35 Collinsd
* Tidy up of warnings.
*
* 306 7/02/98 13:23 Collinsd
* Added polygonal collision to enemies.
*
* 305 3/02/98 15:30 Collinsd
* Added Fireballs for fleshmorph and ability to disable spotfx on models,
* from within the animation
*
* 304 2/02/98 17:28 Collinsd
*
* 303 2/02/98 10:44 Collinsd
* Fixed bug in comp obj sfx.
*
* 302 30/01/98 17:13 Collinsd
*
* 301 30/01/98 10:58 Collinsd
* Added Correction code for laser direction
*
* 300 30/01/98 9:12 Collinsd
* Added Laser for exogenon and added corruption checking for componented
* objects.
*
* 299 29/01/98 12:06 Collinsd
* Added fireball, blue photon, tentacle and changed spotfx laser.
*
* 298 27/01/98 12:48 Collinsd
* Primary weapons effecting trigger boxes through walls bug fixed
*
* 297 23/01/98 16:37 Philipy
* CD audio now on/off toggle, saved to config file
* triggered pickup sfx now 1 in 4 chance
* Trojax sfx now only stopped once
*
* 296 22/01/98 17:52 Collinsd
* Pyrolite reflecting off enemies fixed.
*
* 295 18/01/98 23:42 Philipy
* removed LastPannedSfx buffer
*
* 294 16/01/98 18:01 Oliverc
* Only disabled selected weapons for SHAREWARE instead of always...
*
* 293 1/16/98 3:59p Phillipd
*
* 292 16/01/98 14:43 Philipy
* added new sfx
*
* 291 16/01/98 14:00 Collinsd
* Bullets starting inside ships also damages ship.
*
* 290 15/01/98 17:03 Philipy
* changed PlayPannedSfx calls to use float for freq
*
* 289 13/01/98 18:02 Collinsd
* Single player transpulse takes 4x more ammo
*
* 288 13/01/98 17:37 Collinsd
* Added back pyrolite fuel, Changes secondary to try to get rid of any
* chance of any link list corruption.
*
* 287 8/01/98 9:27 Collinsd
* Fixed Andy's Spotfx problems.
*
* 286 7/01/98 9:23 Collinsd
*
* 285 7/01/98 8:53 Collinsd
* Removed fucked from error messages. Removed sarcastic whoopie from
* gold bar extra life.
*
* 284 5/01/98 14:08 Philipy
* selecting a weapon now plays correct sfx
*
* 283 5/01/98 10:37 Philipy
* speech sfx implemented - currently defaults to 1 biker & computer only,
* none selectable
*
* 282 3/01/98 19:31 Collinsd
* Splash on primary weapons as well
*
* 281 1/02/98 11:13a Phillipd
*
* 280 30/12/97 10:45 Collinsd
* Added enemy damage modifier as variable.
*
* 279 29/12/97 20:19 Collinsd
* Added enemy damage modifier.
*
* 278 29/12/97 19:53 Philipy
* various bug fixes
*
* 277 29/12/97 15:52 Collinsd
* Spotfx fireprimary and firesecondary can now be seed in camera views.
*
* 276 29/12/97 10:42 Collinsd
* Pickups now use new collision
*
* 275 12/19/97 11:14a Phillipd
*
* 274 12/18/97 5:37p Phillipd
*
* 273 12/18/97 2:46p Phillipd
*
* 272 15/12/97 18:01 Collinsd
* Added stealth and changes speed of legz.
*
* 271 13/12/97 19:01 Collinsd
* More stuff on bike spotfx.
*
* 270 13/12/97 15:06 Collinsd
* Added light to explosion and slowed down the light on sparks.
*
* 269 9/12/97 12:37 Collinsd
* Destructable object now work, Ship death effected by 1/10th
*
* 268 5/12/97 17:33 Collinsd
* Bullets/missiles generated if player outide map.
*
* 267 5/12/97 16:35 Collinsd
* Laser now updated to work with new nme code.
*
* 266 2/12/97 17:41 Collinsd
* Sfx when hit not played twice any more.
*
* 265 2/12/97 14:55 Collinsd
* Thief missile now normal missile ( Doesn't hurt you still )
*
* 264 28/11/97 19:01 Collinsd
* Fixed nmelightning, fixed mines not owned by player, fixed targeting of
* non player missiles.
*
* 263 27/11/97 14:46 Collinsd
* Fiex recorded toggle of pulsar
*
* 262 26/11/97 11:02 Collinsd
* Enemies firing primary weapons now works again.
*
* 261 24/11/97 20:04 Collinsd
* Lasers on models now work properly. New Primary weapon code. Looping
* Anims dont reset when shot.
*
* 260 22/11/97 13:34 Collinsd
* Mines work again, scattering of enemies works properly. Pulsar double
* shot only creates on sfx.
*
* 259 11/22/97 1:23p Phillipd
*
* 258 21/11/97 12:26 Collinsd
* Added invulnerability to enemies and -1 on spotfx now works.
*
* 257 11/20/97 11:44a Phillipd
*
* 256 18/11/97 14:56 Collinsd
* Added invulnerable bit to enemies.
*
* 255 18/11/97 11:50 Collinsd
* Added Drip and Fixed Enemy damage calculation.
*
* 254 17/11/97 19:09 Collinsd
* Added enemy generation effect. New Compobject format and relative flag
* for fmpolys.
*
* 253 15/11/97 17:22 Collinsd
* Fixed Laser
*
* 252 15/11/97 16:57 Collinsd
* Secondary weapons now effect water, and bubbles hitting surface effect
* water.
*
* 251 14/11/97 9:10 Collinsd
* Cleaned up primary.c
*
* 250 13/11/97 9:54 Collinsd
* Taken off !no collision as condition to create lines.
*
* 249 12/11/97 19:57 Collinsd
*
* 248 12/11/97 18:17 Collinsd
* Added what weapon activates trigger area code ( Disabled for now )
*
* 247 11/11/97 12:56 Collinsd
* Added slow fireing when no ammo and mxa for enemies.
*
* 246 10/11/97 17:59 Collinsd
* Added zone checks for when player or enemy shoots.
*
* 245 10/11/97 11:12 Collinsd
* Added new graphjcs ( transpulse, trojax .... )
*
* 244 7/11/97 14:51 Collinsd
* Fixed enemy gun fire points.
*
* 243 6/11/97 11:37 Collinsd
* Added BGObject Lighting, Stopped primary weapons creating lines when
* outside group and made secondary weapons create debug lines when no
* collision.
*
* 242 3/11/97 18:27 Collinsd
* Added flames and shrapnel explosions. ( Also effect Water ).
*
* 241 10/24/97 5:42p Phillipd
* All references to doing damage are now floats....
*
* 240 22/10/97 15:39 Collinsd
* Ooopsss
*
* 239 22/10/97 15:37 Collinsd
* Added error checking in secondary missile collision.
*
* 238 14/10/97 16:56 Collinsd
* Added olly's visible group stuff
*
* 237 13/10/97 19:36 Collinsd
*
* 236 11/10/97 17:02 Collinsd
* Added more point/Vector for model stuff. Changed NME Lightning and
* added fire primary to spotfx.
*
* 235 8/10/97 16:32 Collinsd
* Added spotfx and started lightning bolt.
*
* 234 10/06/97 7:19p Phillipd
* water stuff...more
*
* 233 6/10/97 14:41 Collinsd
* Added enemy pulsar, trojax, sussgun, transpulse, laser ( Same as
* players but different colours ).
*
* 232 30/09/97 8:46 Collinsd
* Fixed host picking pickups immediatly after being scattered and fixed
* mines not being destroyed bug Bliz found.
*
* 231 29/09/97 11:35 Collinsd
* New bgobject stuff enabled. Pickups/Secondary and Enemies now have
* group link lists. Flags for secondary bullets being targeted and hit
* now added.
*
* 230 24/09/97 16:55 Collinsd
* Added new bgobject stuff. Added bounding box calc and display code.
* and changes bgobject state changes.
*
* 229 9/18/97 12:16p Phillipd
*
* 228 3/09/97 15:39 Collinsd
* Fixed Enemy Transpulse targeting other enemies.
*
* 227 2/09/97 9:06 Collinsd
* Added one off avoid into enemy flags
*
* 226 1/09/97 14:18 Collinsd
* Added enemy targeted pos, dir and flag.
*
* 225 1/09/97 11:37 Collinsd
* Enemies target ships and ships target enemies/mines when homing.
*
* 224 31/08/97 13:24 Collinsd
* Added aiming pos, firing pos and laser works with enemies now.
*
* 223 27/08/97 15:02 Collinsd
*
* 222 18/08/97 10:01 Collinsd
* Shockwaves now hurt enemies.
*
* 221 15/08/97 16:12 Collinsd
* Started bgobjects moving ships. External Forces bug now fixed.
*
* 220 13/08/97 15:09 Collinsd
* Changed framelag trails.
*
* 219 13-08-97 12:52p Philipy
* added text list for weapons ( PrimaryDescription[] )
*
* 218 11/08/97 17:21 Collinsd
* Added visible group checks.
*
* 217 8/08/97 14:18 Collinsd
* Display of Polys has now been updated to use TPage link list.
*
* 216 7/08/97 21:25 Collinsd
* Change FmPolys to use tpage link list.
*
* 215 8/04/97 3:48p Phillipd
* Water effects..Temporary and not finished..currently disabled
*
* 214 31/07/97 10:59 Collinsd
* Changed model modify buffer.
*
* 213 24/07/97 16:09 Collinsd
* Added enemy bullet and changed reflection of bullets
*
* 212 23/07/97 10:09 Collinsd
* Fixed transpulse reflection
*
* 211 22/07/97 17:22 Collinsd
*
* 210 22/07/97 12:50 Collinsd
*
* 209 22/07/97 10:07 Collinsd
* Fixed pulsar problem.
*
* 208 21/07/97 15:39 Collinsd
* Changed primary/Secondary bullets to work from enemies.
*
* 207 17/07/97 15:38 Collinsd
* BGObjects now use compobjs.
*
* 206 8/07/97 16:30 Collinsd
* Dicked about with include files FUCK!
*
* 205 8/07/97 14:06 Collinsd
* Added componented objects to enemies.
*
* 204 5/07/97 16:31 Collinsd
* Put OPT_ON's around opimisations off
*
* 203 1/07/97 10:57 Collinsd
* Added playershoots trigger area code.
*
* 202 6/30/97 10:27a Phillipd
* enemy ai started....
*
* 201 6/24/97 5:11p Phillipd
*
* 200 6/24/97 11:12a Phillipd
*
* 199 17/06/97 14:12 Collinsd
* Fixed primary to mine collision
*
* 198 13/06/97 14:06 Collinsd
* Took out degug message when hitting door.
*
* 197 12/06/97 15:05 Collinsd
* Trojax freq changed.
*
* 196 10/06/97 17:12 Collinsd
* ACTUAL trans added for orbit pulsar.
*
* 195 10/06/97 14:28 Collinsd
* Added ACTUAL_TRANS
*
* 194 8/06/97 17:07 Collinsd
* Done more work on BGObjects/Doors.
*
* 193 4/06/97 11:11 Collinsd
* Message sending added for doors.
*
* 192 3/06/97 11:42 Collinsd
* Done more work on BGObjects
*
* 191 6/03/97 10:47a Phillipd
*
* 190 27/05/97 17:40 Collinsd
* Animating backgrounds now work (Ish)
*
* 189 5/23/97 9:18a Phillipd
*
* 188 26/04/97 14:49 Collinsd
* Optimisations now on def.
*
* 187 18-04-97 9:03a Collinsd
* Not checking debug mode, using invul
*
* 186 16-04-97 4:38p Collinsd
* Added reflecting bullets for all weapons except laser.
* Cheat mode now has invul effect.
*
* 185 10-04-97 6:38p Collinsd
*
* 184 10-04-97 3:10p Collinsd
* Fixed sussgun
*
* 183 9-04-97 8:51a Collinsd
* Added invulnerability
*
* 182 7-04-97 3:34p Collinsd
* Added supernashram powerup.
*
* 181 4-04-97 4:18p Collinsd
* Titan Star now spreads toward reflected angle.
*
* 180 4-04-97 11:48a Collinsd
* Changed over to 3 power pods for good!!!!!
*
* 179 2-04-97 6:39p Collinsd
* Uses 3 powerpods.
*
* 178 2-04-97 11:54a Collinsd
* Added Jo bike
*
* 177 2-04-97 8:54a Collinsd
*
* 176 1-04-97 12:05p Collinsd
*
* 175 16-03-97 8:07p Collinsd
* Changed missiles
*
* 174 16-03-97 2:53p Collinsd
* modified thief missile. ( but nobody likes it, boo hooo ).
*
* 173 13-03-97 11:47a Collinsd
* polys/fmpolys only generated when needed.
*
* 172 12-03-97 12:40p Collinsd
* Added new body parts.
*
* 171 11-03-97 10:41a Collinsd
* Changed sussgun ammo usage.
*
* 170 11-03-97 10:11a Collinsd
* Orbit pular using general ammo bug fixed.
*
* 169 10-03-97 7:49p Collinsd
* Cheat mode no longer buggers up pickups.
*
* 168 10-03-97 3:53p Collinsd
* Added fire held bit.
*
* 167 10-03-97 12:48p Collinsd
* Transpulse loses speed and size on rebound.
*
* 166 9-03-97 9:55p Collinsd
* Changed primary weapons, Added screen polys indicating how many orbit
* pulsars,
*
* 165 5-03-97 5:00p Collinsd
*
* 164 5-03-97 10:49a Collinsd
*
* 163 27-02-97 2:08p Collinsd
* Added optimisation to various files.
*
* 162 15-02-97 6:15p Collinsd
* Fixed problem in ship/enemy collision
*
* 161 13-02-97 9:25a Collinsd
* Added destructable enemies/triggers.
*
* 160 11-02-97 5:09p Collinsd
* Triggers/RegenPoints and pickups now are sent across correctly.
*
* 159 5-02-97 3:00p Collinsd
* Just got rid of warnings.
*
* 158 4-02-97 4:29p Collinsd
*
* 157 31-01-97 10:20a Collinsd
* Light Details moved into detail menu.
*
* 156 31-01-97 9:24a Collinsd
* Added detail level for missile trails.
*
* 155 30-01-97 3:58p Collinsd
*
* 154 27-01-97 2:27p Collinsd
* Added bsp volume display
*
* 153 15-01-97 12:14p Collinsd
* Beam laser collides with doors.
*
* 152 15-01-97 11:15a Collinsd
* Crushing Doors now work properly.
*
* 151 14-01-97 12:38p Collinsd
* BGObject Type are now saved as well
*
* 150 13-01-97 5:03p Collinsd
* Added Temp Door SFX
*
* 149 13-01-97 12:19p Collinsd
* Doors now cannot be opened by various rays.
*
* 148 10-01-97 3:54p Collinsd
* Missile/Primary weapons no longer open doors before collision.
*
* 147 10-01-97 12:34p Collinsd
* Added Doors, Chanded pickups/door/mine dropping.
*
* 146 6-01-97 11:09a Collinsd
* All references to timer now replaced with titanstar.
*
* 145 6-01-97 9:06a Collinsd
* Added drop ammo/shield options.
* Started working on titan start missile.
*
* 144 3-01-97 3:28p Collinsd
* Added xxx quantum/pine/purged mined xxx messages.
* Trojax charging sfx on others pc's now fixed.
*
* 143 31-12-96 12:35p Collinsd
* Added multiple multiples.
*
* 142 30-12-96 5:22p Collinsd
* Fixed firerate of orbit pulsar.
*
* 141 30-12-96 3:50p Collinsd
* Added orbit pulsar.
*
* 140 12/27/96 3:38p Phillipd
* Primary.h Secondary.h pickups.h are now clean....
* Still Lots to do though.....
*
* 139 12/27/96 12:34p Phillipd
* all files are not dependant on mydplay.h...just some..
* including it several times in the same files didnt help..
*
* 138 21-12-96 7:44p Collinsd
* Added code to enable lensflare on missiles. ( used scatter as test ).
* Also fixed bug in shockwaves.
*
* 137 21-12-96 5:24p Collinsd
* Added drop primary/drop secondary weapons.
*
* 136 20-12-96 5:06p Collinsd
* Added debug weapon feature.
*
* 135 19-12-96 4:17p Collinsd
* Added lighting when charging thr trojax.
*
* 134 19-12-96 3:19p Collinsd
* Changed sfx funtion to allow frequency changing.
* Added Trojax Charging SFX.
*
* 133 19-12-96 11:45a Collinsd
* Added better ship collision for Trojax and Transpulse.
*
* 132 12/10/96 11:52a Collinsd
* Added point in sphere to hitship and hitmine routines. Also gave
* scatter 360 degree field of view.
*
* 131 12/10/96 11:18a Collinsd
* Added incoming message when no sound. Also added code to compensate
* for pickups using same regeneration slots.
*
* 130 12/07/96 8:42p Collinsd
* Added Jap Bird bike, Fixed mines being dropped and firing missile at
* same time bug. Added rotations when hit ( depending on damage ).
*
* 129 12/04/96 11:21a Collinsd
* Added foetoid and new scaled bikes. Added sussgun richochet and sussgun
* no ammo sfx, new load weapon sfx, and new transpulse/trojax sfx.
*
* 128 12/02/96 1:25p Collinsd
* No longer use quatfromvector routines. now use
* quatfrom2vectors.
*
* 127 11/29/96 3:01p Collinsd
* Ships hit now get buffeted about a lot more. Missiles fired, now start
* in the correct orientation.
*
* 126 11/28/96 4:00p Collinsd
* Started hull damage effect
*
* 125 11/28/96 11:24a Collinsd
* Shield effect only happens when shield there.
*
* 124 11/25/96 11:59a Phillipd
*
* 123 11/22/96 12:27p Phillipd
* more stuff is checked to make sure someone joining cant be hurt..
*
* 122 22/11/96 11:18 Collinsd
* Added portal only collision for primary/secondary fire offsets.
*
* 121 21/11/96 16:12 Collinsd
* Added code to reduce packet loss for pickups.
* Changed Trojax to be constant dir.
*
* 120 17/11/96 17:28 Collinsd
* Changed Pulsar & Trojax. Added Trojax Charge sfx to list.
*
* 119 14/11/96 9:18 Collinsd
* Altered pyrolite a bit.
*
* 118 7/11/96 9:03 Collinsd
* Changed over to using new network firing.
*
* 117 6/11/96 18:42 Collinsd
* Tidied up secondary weapons.
*
* 116 6/11/96 14:40 Collinsd
* purge mine now bobs.
*
* 115 4/11/96 16:35 Collinsd
* Fixed fmpolys/polys/lines exec lists.
*
* 114 1/11/96 17:52 Collinsd
* Reduced ship/shortship structure size by using bits.
*
* 113 31/10/96 16:30 Collinsd
* Primary/Secondary now included ship updates. Stealth regeneration
* fixed
*
* 112 29/10/96 16:00 Collinsd
* changed over to panned sfx.
*
* 111 10/29/96 2:49p Phillipd
* panning sfx and new panel....with lights...
*
* 110 29/10/96 11:59 Collinsd
* Added new trail for scatter.
*
* 109 27/10/96 12:30 Collinsd
* Optimised light handling for pickups/primary/secondary.
*
* 108 26/10/96 21:15 Collinsd
* Various optimisations
*
* 107 26/10/96 18:04 Collinsd
* Added recoil vector to ihityou.
*
* 106 24/10/96 16:36 Collinsd
* Transpulse and Trojax no longer double sided.
*
* 105 23/10/96 19:13 Collinsd
* Execute buffer for fmpolys/polys now 64k
*
* 104 23/10/96 16:22 Collinsd
* Limited polys & changed sussgun.
*
* 103 23/10/96 11:20 Collinsd
* Changed power levels for Laser, Pulsar, Transpulse
*
* 102 22/10/96 12:08 Collinsd
* Added body parts and blood splats.
*
* 101 19/10/96 20:50 Collinsd
* Changed scatter/thief to give more chance for enemy to pickup up
* scattered weapons.
* Reduced thief homing. Increased Heatseaker.
* Lights now can be enabled and disabled properly.
* started on flying body parts. Plus lots more.....
*
* 100 16/10/96 12:38 Collinsd
* Shock waves now affect mines.
* Fixed bug in ship/mine collision
*
* 99 15/10/96 18:00 Collinsd
* Changed collision back.
*
* 98 15/10/96 17:39 Collinsd
* SCREEN SHOTS ONLY
*
* 97 9/10/96 12:28 Collinsd
* Added code to handle low poly, single direction sphere.
*
* 96 8/10/96 9:15 Collinsd
* restricted sfx, added debug lines to pickupmode only.
*
* 95 7/10/96 22:59 Collinsd
* fixed bug with laser to background collide
*
* 94 7/10/96 20:55 Collinsd
* Collision now works with new data.
*
* 93 7/10/96 13:52 Collinsd
* Added new smoke trails
*
* 92 6/10/96 17:04 Collinsd
* Nitro regeneration better.
*
* 91 5/10/96 20:42 Collinsd
* Added ammo usage to primary weapons. Cleaned up
* primary/secondary weapon code. Added primary lights detail variable.
*
* 90 5/10/96 14:02 Collinsd
* Added sfx to selection of primary and secondary weapons
*
* 89 4/10/96 16:05 Collinsd
* Pickups now work properly when stationary.
*
* 88 4/10/96 14:49 Collinsd
* Added different approach to ammo generation fuckup.
*
* 87 4/10/96 13:53 Collinsd
* new weapon powers
*
* 86 4/10/96 11:07 Collinsd
* Added group handling to lines.
*
* 85 3/10/96 15:49 Collinsd
* Added new sfx
*
* 84 1/10/96 17:44 Collinsd
* Reduced pulsar to half. Tidied up primary weapons.
* deleted redundant code in 2dpolys/primary weapons.
*
* 83 25/09/96 11:11 Collinsd
*
* 82 23/09/96 14:20 Collinsd
* Started spider mine.
*
* 81 20/09/96 20:11 Collinsd
* Bug fixed in mine pod regeneration, and killing.
*
* 80 20/09/96 18:15 Collinsd
* Pine mines no longer fire at dieing ships. Mines don't
* regenerate unless destroyed.
*
* 79 20/09/96 17:13 Collinsd
* Changed 2Dpolys and Polys to display only polys in visible groups.
* Changed secondary ammo to use array.
* Pickups now use correct index's. You can now drop a mine using 'B'.
*
* 78 18/09/96 14:36 Collinsd
* Fixed primary weapon select. and rotate pickups in all axis
*
* 77 18/09/96 10:58 Collinsd
* Change sfx to 4 channels and distance limit. Also reduced amount of
* sparks generated by beam laser.
*
* 76 17/09/96 15:34 Collinsd
* Shockwaves added. and fixed primary previous.
*
* 75 17/09/96 13:58 Collinsd
* Added autoselection of primary and secondary weapons.
* Also you can pickup anything if F12 enabled.
*
* 74 16/09/96 20:51 Collinsd
* Improved primary weapons.
*
* 73 16/09/96 9:25 Collinsd
* Added regenerating pickups.
*
* 72 15/09/96 14:48 Collinsd
* Scaled primary weapons, changed defauls ammo levels.
*
* 71 14/09/96 15:40 Collinsd
* Added shield to mines, and damage to missiles.
* Also when you die your weapons and ammo are dropped
*
* 70 13/09/96 17:04 Collinsd
* Added quantun fireball mine.
*
* 69 13/09/96 12:59 Collinsd
* Added shield effect to external views.
*
* 68 12/09/96 17:52 Collinsd
* You can now shoot mines ( Primary weapons only though
* at the moment ).
*
* 67 11/09/96 14:19 Collinsd
* Added global scale to hopefully everything that needs it.
*
* 66 11/09/96 10:31 Collinsd
* Now use global scale for polys.
*
* 65 11/09/96 10:25 Collinsd
* Added global_scale to typedefs.h
*
* 64 10/09/96 16:33 Oliverc
* Added external/internal force vector to ship movement
*
* 63 10/09/96 16:07 Collinsd
* Added gravgon effect. (Not finished)
*
* 62 9/09/96 20:42 Collinsd
* No longer used GroupPolyCol or WhichGroupImIn.
*
* 61 7/09/96 20:21 Collinsd
* Collision with pine mine now added. Trojax power
* fixed, now does proper damage. Transpulse speeded
* up and made more lethal.
*
* 60 6/09/96 9:13 Collinsd
* Timer missile works now.
*
* 59 5/09/96 10:45 Collinsd
* Fixed next prim/sec weapons selection.
*
* 58 4/09/96 20:01 Collinsd
* Scatter missile and thief missile now work!
*
* 57 2/09/96 14:41 Collinsd
* You can now kill each other again.
*
* 56 2/09/96 14:18 Collinsd
* Finished shield effect, started on secondary weapons.
*
* 55 30/08/96 17:30 Collinsd
* Fixed bug in rgba colours ( Cheers Dan ).
*
* 54 30/08/96 14:29 Collinsd
* Shield effect better still, 2dtextures now set to null when freed.
*
* 53 29/08/96 21:05 Collinsd
* Inproved shield effect.
*
* 52 29/08/96 17:53 Collinsd
* Lots more pickups and shield working a little better.
*
* 51 28/08/96 15:03 Collinsd
* Added 5 more pickups and fixed bug model group update.
*
* 50 28/08/96 11:15 Collinsd
*
* 49 27/08/96 9:02 Collinsd
* Added some new pickups and messages.
*
* 48 23/08/96 17:40 Collinsd
* Fixed bug in weapon ammo, and overheating.
*
* 47 23/08/96 17:22 Collinsd