forked from gloomyson/SC_Js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SVN.log
2050 lines (1940 loc) · 69 KB
/
SVN.log
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
Revision: 158
Author: gloomyson
Date: 17:00:59, 2016-8-29
Message:
Double check in from ES6 branch #152:
Support input CDN location for image/audio materials
----
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/GameRule/Resource.js
Revision: 155
Author: gloomyson
Date: 17:01:55, 2016-8-24
Message:
Double check in for #154:
1.Change walkAroundLarva behavior
2.Adjust larva born position
3.Fix Goliath attack imgPos issue
4.Adjust sprite images for Archon/Goliath/Tank
----
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/img/Charas/Archon.png
Modified : /StarCraft/img/Charas/Goliath.png
Modified : /StarCraft/img/Charas/Tank.png
Revision: 153
Author: gloomyson
Date: 16:50:37, 2016-8-18
Message:
Double check in #149 and #152 to main branch from ES6 branch
----
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Hero.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/Characters/Neutral.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Utils/gFrame.js
Modified : /StarCraft/img/Charas/Archon.png
Modified : /StarCraft/img/Charas/BattleCruiser.png
Modified : /StarCraft/img/Charas/Broodling.png
Modified : /StarCraft/img/Charas/Carrier.png
Modified : /StarCraft/img/Charas/Civilian.png
Modified : /StarCraft/img/Charas/Corsair.png
Modified : /StarCraft/img/Charas/Dropship.png
Modified : /StarCraft/img/Charas/Goliath.png
Modified : /StarCraft/img/Charas/Mutalisk.png
Modified : /StarCraft/img/Charas/Overlord.png
Modified : /StarCraft/img/Charas/SCV.png
Modified : /StarCraft/img/Charas/Shuttle.png
Modified : /StarCraft/img/Charas/Tank.png
Modified : /StarCraft/img/Charas/Tassadar.png
Modified : /StarCraft/img/Charas/Valkyrie.png
Modified : /StarCraft/img/Charas/Wraith.png
Revision: 151
Author: gloomyson
Date: 17:19:42, 2016-8-5
Message:
Double check in to main branch from ES6 for #150:
Change logic to improve fog drawing performance
----
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Referee.js
Revision: 142
Author: gloomyson
Date: 9:49:09, 2016-7-16
Message:
Disable hack mode and change to nvhae server
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Multiplayer.js
Revision: 141
Author: gloomyson
Date: 9:36:27, 2016-7-16
Message:
Fix loading process bar cannot work issue
----
Modified : /StarCraft/Utils/sourceLoader.js
Revision: 139
Author: gloomyson
Date: 14:21:12, 2016-7-13
Message:
1.And keywords, descriptions and author in index.html
2.Use _$.mixin to replace $.makeArray, make custom game frame clean
----
Modified : /StarCraft/Utils/gFrame.js
Modified : /StarCraft/index.html
Revision: 138
Author: gloomyson
Date: 13:56:31, 2016-4-29
Message:
1.Save replays into indexedDB, has offline flag to SAF
2.Avoid collision draft added
3.Add cache.manifest
4.Pause when hide window
5.Disable panel buttons after replay ended
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Added : /StarCraft/cache.manifest
Revision: 137
Author: gloomyson
Date: 23:23:21, 2016-4-13
Message:
1.Add replay panel buttons and progress bar
2.Add replay button icons
3.Fix icon position issue
4.Fix invisible farmer cannot build issue
5.Adjust some of Button.reset()
6.Fix 2 fingers touch rectangle incorrect issue
7.Remove some redundant css
8.Fix compatible issues for css3 styles: border-image and transform
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/keyController.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/css/buttonStyle.css
Modified : /StarCraft/css/style.css
Modified : /StarCraft/img/Menu/CmdIcons.png
Modified : /StarCraft/img/Menu/CmdIconsDisabled.png
Revision: 136
Author: gloomyson
Date: 2:12:41, 2016-4-9
Message:
1.Another css set for mobile
2.Finish all kinds of mobile event handlers, add Game.isApp
3.Fix cannot hide tooltip issue in mobile
4.Delete 2 nbsp besides "Upgraded:" to save space
----
Modified : /StarCraft/index.html
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/css/style.css
Revision: 135
Author: gloomyson
Date: 18:25:00, 2016-4-1
Message:
1.Fix tower defense cannot upgrade during replay issue
2.Disable touch event during replay
3.Add mobile control for tap/press/pan events
4.Fix mobile cannot enter level 10 issue
5.Add 10000 money for some levels
6.Add hummer.js into jquery.js
----
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/Utils/jquery.min.js
Revision: 134
Author: gloomyson
Date: 13:56:08, 2016-3-16
Message:
1.Add shortcut key pageUp and pageDown for replay speed adjust
2.Add hackFlag to control hacking user info or not
3.Enable fog during replay
4.Add more ### to surround replay data
5.Fix overlord using hold error issue
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Controller/keyController.js
Modified : /StarCraft/GameRule/SC_server.js
Revision: 133
Author: gloomyson
Date: 17:01:58, 2016-3-14
Message:
1.Add replay speed up and slow down feature
2.Stop animation when replay ended
3.Send replay to server instead of snapshot
4.Can save replay before game ended
5.Add Game.commandInterval and Game.getNextRandom to reduce uncontrollable random
6.Fix Game.showMessage cannot line break issue
7.Fix random team selection in replay mode issue
8.Remove HUNTERxNHUNTER easy mode popup dialog
9.Remove redundant button callback code
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Controller/keyController.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Referee.js
Revision: 132
Author: gloomyson
Date: 17:34:45, 2016-3-10
Message:
1.Can replay single player game
2.Single play moves latency to next frame
3.Fix lurker evolve doesn't have rally point issue
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Controller/mouseController.js
Revision: 131
Author: gloomyson
Date: 16:27:06, 2016-3-2
Message:
Enrich login user info collection feature:
1.Collect OS&Browser version
2.Collect snapshot every 1 minute: Unit/Building status and click times
3.Collect location
----
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/SC_server.js
Revision: 130
Author: gloomyson
Date: 17:02:28, 2016-3-1
Message:
1.Fix close socket cannot show time bug, onclose and logout event cannot use bug
2.Get login user random team info
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/GameRule/SC_server.js
Revision: 129
Author: gloomyson
Date: 16:29:05, 2016-3-1
Message:
1.Collect login user info in online site
2.Disable multiplayer mode in most of levels
3.Random team selection for most of levels
4.Forbid cheat during replay
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Cheat.js
Revision: 128
Author: gloomyson
Date: 17:59:23, 2016-1-7
Message:
1.Support replay (Need add menu with button Pause/Faster/Slower/ChangeTeam)
2.Fix room.replay saves all empty frames with [] command issue
3.Stop all units after completely fade out
4.Add Multiplayer.parseTickCmd function
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/GameRule/SC_server.js
Revision: 127
Author: gloomyson
Date: 17:27:51, 2016-1-6
Message:
1.Support some bullets have fixed speed
2.Middle bullet in multiple causes damage
3.Lurker thron has 5 bullets
4.Change transport icon style
5.Fix larva cannot move in level issue
6.Fix some bugs
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Revision: 126
Author: gloomyson
Date: 18:14:40, 2015-12-29
Message:
1.Add life status color on passenger border
2.Make game continue when other user disconnect with server
3.Adjust info center position and width, adjust passenger margin
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/GameRule/SC_server.js
Revision: 125
Author: gloomyson
Date: 17:48:00, 2015-12-28
Message:
1.Paypal sync for upgrade/unit/evolve/building
2.Add transport icons for ships
3.Add filter to hide enemy passenger and process bar
4.Give mine and gas to all teams
----
Modified : /StarCraft/index.html
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/css/style.css
Revision: 124
Author: gloomyson
Date: 0:10:00, 2015-12-28
Message:
1.Make consume magic sync in multiplayer mode (cloak/yamato/scarab)
2.Add new magic Load and UnloadAll (add manLimit, splice from team, show passenger number and die with transport) and their audios
3.Add new magic SetRallyPoint
4.Reduce frequency of Button.reset
5.Add needLocation prop for some magic
6.Replace Resource.creditBill with this.creditBill to prevent conflict
7.Resource.paypal need to cost correct team resource
8.Remove Cheat.gathering from Levels.js for testing
----
Modified : /StarCraft/index.html
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/GameRule/Resource.js
Added : /StarCraft/bgm/Magic.Load.Protoss.wav
Added : /StarCraft/bgm/Magic.Load.Terran.wav
Added : /StarCraft/bgm/Magic.Load.Zerg.wav
Added : /StarCraft/bgm/Magic.Unload.Protoss.wav
Added : /StarCraft/bgm/Magic.Unload.Terran.wav
Added : /StarCraft/bgm/Magic.Unload.Zerg.wav
Revision: 123
Author: gloomyson
Date: 17:55:45, 2015-12-25
Message:
1.Adjust Game.win and Game.lose to use fadeout callback
2.Rearrange button callback code
3.Fix resource message show in one line regression issue
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/GameRule/Resource.js
Revision: 122
Author: gloomyson
Date: 0:39:22, 2015-12-25
Message:
1.Finish multiplayer sync and testing for upgrade/unit/evolve/building
2.PurpleEffect/RedEffect/GreenEffect can make enemy visible to all teams
3.Fix train other team units when Game.team is not 0 issue
4.Fix magic SpawnBroodlings/Hallucination always summon team 0 units issue
5.Remove remaining _$.hitch from farmer build buildings
6.Optimize Unit.randomDirection generate random by *5+3
7.Update level 3,4,5,6,8 to support multiplayer testing
8.Make mapping uids to units later to the time when taking effect
9.Fix cannot train new units issue by correct typo
10.Make function getUnitsByUIDs to filter out dead units
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Burst.js
Revision: 121
Author: gloomyson
Date: 18:00:06, 2015-12-23
Message:
1.Multiplayer sync basic finished for magic/upgrade/unit/evolve/build
/*Only tested 2 magics, all other multiplayer types and singleplayer regression need to test*/
2.Revert magic callback from _$.hitch style to .owner style
----
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Revision: 120
Author: gloomyson
Date: 23:37:29, 2015-12-22
Message:
1.Optimize algorithm for multiplayer chat
2.Auto assign colorful name for each socket
3.Fix cheat 'liuda is god' cannot work issue
----
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Cheat.js
Revision: 119
Author: gloomyson
Date: 18:35:17, 2015-12-22
Message:
1.Player can chat with others in multiplayer mode
2.Fix server broken when close connection before room generated issue
----
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Cheat.js
Revision: 118
Author: gloomyson
Date: 22:24:37, 2015-12-20
Message:
1.Sync stop/hold and patrol for multi-player mode
2.Support multiple cmds for send to server
3.Fix throw error when resize before init level issue
4.Fix play selected voice from other team when multiplayer
5.Fix cannot draw mini-map after black sheep wall issue
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/Characters/Map.js
Revision: 117
Author: gloomyson
Date: 12:26:35, 2015-12-20
Message:
1.Optimize draw fog algorithm again, draw inside screen units fog is the key
2.Set magic parasite and scanner sweep to effect for owner team
3.Fix 'black sheep wall' cannot work issue, need clean fog
4.Add Map.refreshFogsImmediate for window resize and move
5.Fix resize window should resize all $('#GamePlay>canvas') issue
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/Characters/Map.js
Revision: 116
Author: gloomyson
Date: 17:18:40, 2015-12-18
Message:
1.Optimize draw fog algorithm, speed up by N/10 average calculation: average insideScreen or enlarge refresh fog interval?
2.Remove redundant Map.fogType
3.Adjust draw fog functions name: refreshFogs,drawFogAndMinimap, drawMinimap
4.Add fogCanvas and fogCxt, replace mouseController trigger from frontCxt to fogCxt
5.Remove Referee.monitorMiniMap
----
Modified : /StarCraft/index.html
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Map.js
Revision: 115
Author: gloomyson
Date: 18:08:08, 2015-12-17
Message:
1.Finish basic network frame: Support move/attack/rightclick
2.Fix Irradiate animation frame incorrect issue
3.Add Multiplayer.js and SC_server.js into GameRule
4.Enhance Game.showMessage function, can show multiple lines now
5.Adjust generate random code, delete redundant rem lines
6.Enhance level1 and level2 to support multiplayer mode
----
Modified : /StarCraft/index.html
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Added : /StarCraft/GameRule/Multiplayer.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Added : /StarCraft/GameRule/SC_server.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Revision: 114
Author: gloomyson
Date: 18:30:54, 2015-12-16
Message:
1.Add Unit.randomDirection function, can keep random in all clients same
2.Keep charas change direction by id, not in same time
3.Add _$.toArray in gFrame
4.Delete redundant isInvisible after expansion
5.Optimize array function selections by Array.prototype.reduce
6.Remove redundant timers in Magic.js
----
Modified : /StarCraft/Utils/gFrame.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Characters/Building.js
Revision: 113
Author: gloomyson
Date: 0:13:51, 2015-12-15
Message:
1.Fix cannot open some levels by wrong initial timing
2.Fix incorrect delete upgrade button condition in Upgrade.js
3.Fix 'show me the money'
4.Fix Referee.judgeMan behavior for multiple players
5.Correct initial totalMan
6.Remove Unit.ourFlyingUnits/ourGroundUnits/ enemyFlyingUnits/enemyGroundUnits
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Map.js
Revision: 112
Author: gloomyson
Date: 22:53:34, 2015-12-14
Message:
1.Enhance Referee.judgeArbiter and Referee.judgeDetect to behave evenly, new detectorBuffer and arbiter buffer
2.Add property obj.isInvisible0~N, replace all chara.isInvisible
3.Fix unburrow animation incorrect issue
4.Fix upgrade level undefined issue and initial them later
5.Fix getPropArray(object) use same reference issue
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Map.js
Revision: 111
Author: gloomyson
Date: 23:38:52, 2015-12-13
Message:
1.Remove remaining setTimeout in Magic.js
2.Fix some units cannot play attack animation by animateFrame
3.Fix some bullets show above owner at beginning
4.Add expandProps to expand props for multiple teams after load level
5.Fix drawSourceBox cannot draw other team's resource issue
6.Fix cannot pay other team's resource issue
7.Fix somethingForNothing cannot apply correctly issue
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Hero.js
Revision: 110
Author: gloomyson
Date: 18:09:35, 2015-12-11
Message:
1.Fix AOE cannot cause damage issue
2.Replace some setTimeout in magic with Game.commandTimeout, remove setInterval in heal
3.Update button when burrowed
4.Enrich Game.getSelectedOne and Game.getInRangeOnes to filter by team number
5.Correct Game.team in magic to myself.team
6.Don't show invisible enemy on minimap
7.Forbid Cheat.execute when multiplayer mode
8.Remove redundant Game.getNearbyOnes and Game.getNearestOne
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Map.js
Revision: 109
Author: gloomyson
Date: 1:07:20, 2015-12-11
Message:
1.Merge types of timer: moving/dock/attack/routing/burst into allFrames, and call playFrame in main loop (operation part)
2.Replace setTimeout with Game.commandTimeout
3.And process Game.commands[frame] part in main loop
4.Adjust dock types and their interval
5.Fix regression issues due to update as below:
Black flash and cannot refresh miniFog at beginning, slow drawing in main loop, process commands and mainTick++ and playFrames order decision in main loop, burst redundant frame, cannot create unit/building/evolve, percentage calculation method update, cannot show burrow animation
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/Characters/Hero.js
Revision: 108
Author: gloomyson
Date: 0:42:56, 2015-12-9
Message:
1.Use chara.team to replace chara.isEnemy
2.Add chara.isEnemy()
3.Remove Building.enemyBuildings and Building.ourBuildings, replace them by function
4.Remove Unit.ourFlyingUnits/Unit.ourGroundUnits/Unit.enemyFlyingUnits/Unit.enemyGroundUnits, replace them by function
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/Characters/Hero.js
Revision: 107
Author: gloomyson
Date: 0:12:11, 2015-11-19
Message:
1.Adjust TowerDefense win condition
2.Adjust fire DragoonBall direction for fire delay
3.Add RPG lock for some upgrades
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/Characters/Building.js
Revision: 106
Author: gloomyson
Date: 18:05:08, 2015-11-18
Message:
Enrich RPG level "TowerDefense": Add new upgrades and magic, and get mines when kill enemy units
----
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/css/buttonStyle.css
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Hero.js
Revision: 105
Author: gloomyson
Date: 1:47:54, 2015-11-18
Message:
1.Finish RPG level: TowerDefense
2.Add new hero: Tassadar and HeroCruiser
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Hero.js
Added : /StarCraft/bgm/Tassadar.death.wav
Added : /StarCraft/bgm/Tassadar.moving.wav
Added : /StarCraft/bgm/Tassadar.selected.wav
Modified : /StarCraft/css/portraitStyle.css
Modified : /StarCraft/img/Charas/HeroCruiser.png
Added : /StarCraft/img/Charas/Tassadar.png
Revision: 104
Author: gloomyson
Date: 18:43:18, 2015-11-16
Message:
New RPG level draft: Tower Defense
----
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/css/mapStyle.css
Revision: 103
Author: gloomyson
Date: 10:22:32, 2015-11-2
Message:
Add TowerDefense level (PART A)
----
Modified : /StarCraft/GameRule/Game.js
Added : /StarCraft/img/Maps/(4)TowerDefense.jpg
Modified : /StarCraft/img/Maps/Snapshot.jpg
Revision: 102
Author: gloomyson
Date: 22:14:22, 2015-10-18
Message:
1.Make refreshFog as async to avoid latency
2.Map moving trigger adjustment
3.Add InfestTerranCommandCenter magic
4.Fix dead lurker can still attack issue
5.Fix strange melee attack tracing and highest priority algorithm
6.Fix always evolveTo our units issue
7.Adjust Tank.png
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/Characters/Units.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/img/Charas/Tank.png
Revision: 101
Author: gloomyson
Date: 19:58:26, 2015-10-5
Message:
1.Change Terran units to red
2.Change Protoss units to green
3.Update level units
----
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/img/Charas/Tank.png
Modified : /StarCraft/img/Charas/Arbiter.png
Modified : /StarCraft/img/Charas/Burst.png
Modified : /StarCraft/img/Charas/Carrier.png
Modified : /StarCraft/img/Charas/Civilian.png
Modified : /StarCraft/img/Charas/Corsair.png
Modified : /StarCraft/img/Charas/DarkTemplar.png
Modified : /StarCraft/img/Charas/Dragoon.png
Modified : /StarCraft/img/Charas/Dropship.png
Modified : /StarCraft/img/Charas/Firebat.png
Modified : /StarCraft/img/Charas/Ghost.png
Modified : /StarCraft/img/Charas/Goliath.png
Modified : /StarCraft/img/Charas/Kerrigan.png
Modified : /StarCraft/img/Charas/Marine.png
Modified : /StarCraft/img/Charas/Medic.png
Modified : /StarCraft/img/Charas/Observer.png
Modified : /StarCraft/img/Charas/Probe.png
Modified : /StarCraft/img/Charas/Reaver.png
Modified : /StarCraft/img/Charas/SCV.png
Modified : /StarCraft/img/Charas/Scout.png
Modified : /StarCraft/img/Charas/Shuttle.png
Modified : /StarCraft/img/Charas/Templar.png
Modified : /StarCraft/img/Charas/Valkyrie.png
Modified : /StarCraft/img/Charas/Vessel.png
Modified : /StarCraft/img/Charas/Vulture.png
Modified : /StarCraft/img/Charas/Zealot.png
Revision: 100
Author: gloomyson
Date: 20:45:18, 2015-9-20
Message:
1.OnFire and Bleed effect (PART B)
2.Adjust Terran Refinery construction sprites
3.Can train InfestedTerran and create nuclear bomb now
4.Adjust Drone location when start mutation
5.Enemy units don't have confirmation sound
6.Adjust onfire opacity
----
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/img/Charas/ProtossBuilding.png
Modified : /StarCraft/img/Charas/TerranBuilding.png
Revision: 99
Author: gloomyson
Date: 18:03:19, 2015-9-18
Message:
1.Support build buildings (PART B)
2.Support all kinds of evolve, like ZergBuilding/ TerranAttachment/ProtossUnitEvolve
3.Adjust condition for enable 'unit training'/'add appendix' by building.attach attribute
4.Prevent vibration for level selector
5.Adjust props for Gobj.evolveTo
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/css/buttonStyle.css
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/GameRule/Resource.js
Revision: 98
Author: gloomyson
Date: 17:41:57, 2015-9-16
Message:
1.OnFire and Bleed (PART A)
2.Build buildings (PART A)
3.Add TerranBuilding.ConstructionF
4.Join all referee tasks into Referee.tasks in main loop
----
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Animation.js
Revision: 97
Author: gloomyson
Date: 18:37:15, 2015-9-12
Message:
Modify Gon's speech
##### HunterXHunter #####
Once upon a time there was a young hunter lost in strange jungle, and was warmly welcome by forest friends.
# About 200 units in the map.
# You have 6 random kinds of magic(Nen power), and will refresh when you killed each 50 units
# You can use magic freely without MP consumption
# Kill 10 units will upgrade, enemies will upgrade every 1 minute
# Infinite enemy number and unlimited upgrade level
# Two different mode: easy and nightmare
# This level is designed for stress test, please report to my Github if browser crash or serious memory leak, along with your browser version and memory size
----
Modified : /StarCraft/GameRule/Levels.js
Revision: 96
Author: gloomyson
Date: 17:31:23, 2015-9-12
Message:
1.Finish new RPG level 'HunterXHunter' for stress test
2.Add sprite/portrait/bullet/burst/upgrade/audio for new unit DevilHunter
3.New AI for enemy lurker
4.Delete all portraitOffset
5.Fix cannot recover when cloaking
6.Stop attacking when locked down
7.Fix enemy burrowed unit opacity issue
8.Add new cheat "food for thought"
9.Fix onkeyup event issue
10.Adjust level selector opacity
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Characters/Magic.js
Modified : /StarCraft/Characters/Upgrade.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/Characters/Protoss.js
Modified : /StarCraft/Characters/Terran.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Hero.js
Modified : /StarCraft/css/portraitStyle.css
Modified : /StarCraft/Characters/Neutral.js
Added : /StarCraft/bgm/DevilHunter.attack.wav
Added : /StarCraft/bgm/DevilHunter.death.wav
Added : /StarCraft/bgm/DevilHunter.moving.wav
Added : /StarCraft/bgm/DevilHunter.selected.wav
Modified : /StarCraft/img/Bg/GameStart.jpg
Added : /StarCraft/img/Charas/DevilHunter.png
Modified : /StarCraft/img/Charas/Mutalisk.png
Modified : /StarCraft/img/Charas/Portrait.png
Revision: 95
Author: gloomyson
Date: 18:19:52, 2015-9-11
Message:
Add new RPG level: "DemonHunter", continue...
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Controller/keyController.js
Modified : /StarCraft/css/style.css
Modified : /StarCraft/GameRule/Cheat.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Hero.js
Modified : /StarCraft/css/portraitStyle.css
Modified : /StarCraft/img/Bg/GameStart.jpg
Revision: 94
Author: gloomyson
Date: 12:39:48, 2015-9-11
Message:
1.Merge pull requests from Github
2.Fix '#5 Two zerglings cost 25 minerals'
3.Fix '#20 Fog disappeared as soon as characters outside screen'
4.Fix nuclear strike cannot burst issue
5.Give you money and magic for playing
----
Modified : /StarCraft/index.html
Modified : /StarCraft/Characters/Gobj.js
Modified : /StarCraft/GameRule/Levels.js
Modified : /StarCraft/Characters/Bullets.js
Modified : /StarCraft/Controller/mouseController.js
Modified : /StarCraft/Characters/Zerg.js
Modified : /StarCraft/GameRule/Resource.js
Modified : /StarCraft/Characters/Map.js
Revision: 93
Author: gloomyson
Date: 21:33:18, 2015-9-5
Message:
1.Add construction building and complete animation for Zerg/Terran/Protoss
2.Add onFire or Bleed animation for Zerg/Terran/Protoss
3.Zerg base can produce larvas every 20 seconds
4.Change selectLarva to select its own larvas
5.Fix refresh mud after ZergBuilding born or die
6.Fix minor SunkenColony align issue
7.Fix ZergBuilding portrait error issue
8.Add building onfire audio for later use
----
Modified : /StarCraft/GameRule/Game.js
Modified : /StarCraft/Characters/Button.js
Modified : /StarCraft/GameRule/Referee.js
Modified : /StarCraft/Characters/Building.js
Modified : /StarCraft/Characters/Burst.js
Modified : /StarCraft/Characters/Map.js
Modified : /StarCraft/css/portraitStyle.css
Modified : /StarCraft/img/Charas/ProtossBuilding.png
Modified : /StarCraft/img/Charas/TerranBuilding.png
Modified : /StarCraft/Characters/Animation.js
Added : /StarCraft/bgm/Building.onfire.wav
Modified : /StarCraft/img/Charas/Magic.png
Modified : /StarCraft/img/Charas/ZergBuilding.png
Revision: 92
Author: gloomyson