-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.txt
1391 lines (691 loc) · 66.9 KB
/
ChangeLog.txt
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
-------------
| PAlib SVN |
-------------
New Stuff
---------
[Makefile] The Variable ADD_LIBS now works. It can be set in the small Makefile that is located in the project folder. To include other libraries, found at the standard locations, just type their basenames without 'lib', '-l' or a combination of both. For example: ADD_LIBS += bz2 xml2.
Updated Oldies
--------------
[Keyboard] The Keyboard now supports the whole US-ASCII character set. The four characters "{", "}", "|" and "~" were added, the first three replacing "[", "]", "\" in caps lock mode. The visual representant for the apostroph looks no longer like an acute accent.
Things Fixed
------------
[Makefile] Removed a repetition of -L$(PAPATH)/lib.
[Keyboard] Added key repeat functionality for uppercase letters and symbols.
------------------------------
| PAlib 080823 : Tighten Up! |
------------------------------
New Stuff
---------
[Input] Added functions for using the Guitar Hero grip controller. See the example code in /examples/input/GHController for how to use them. These functions were contributed by BassAceGold.
[Input] Added functions for using the Taito Paddle controller. See the example code in /examples/input/TaitoPaddle for how to use these functions. Thanks to Yasu for figuring out how it works.
[FAT Loading] A whole new library for loading graphics and sound assets from FAT (EFS or regular FAT with DLDI) is introduced to PAlib thanks to NightFox! You can now easily load backgrounds, sprites with their palettes, textures, sound effects and other files from FAT. See the examples in /examples/FAT/FATLoading and the PAlib documentation (English only, sorry) for how to use these great new functions.
[8/16bit] A new "fake" 16-bit bitmap drawing mode by fincs. This simulates a 16-bit background using an 8-bit background by changing palettes every HBlank, and thereby frees up the large chunk of VRAM needed for a true 16-bit mode. See the included example in /examples/Bitmap8-16bit/Fake16bit or the PAlib documentation for usage.
[3DSprites] MaaS wrote a new function, PA_3DSetSpritePalCol, for changing 3D sprite palette colors on the fly.
[ARM7] Added a new arm7 core with only aslib and no wireless stuff, so it SHOULD work on M3/G6 Real. For increaed compatibility, this is now the default ARM7 binary, so be sure to select a different one in your Makefile if you need DSWifi or other ARM7 features. (See the readme file in the template folder for information on how to edit the Makefile to select a different ARM7 binary.)
Updated Oldies
--------------
[Installer] Updated the PAlib installer. All items are now optional and the root path is user-selectable.
[AS_Lib/Sound] Noda provided a new AS_Lib version and defines for EFS were removed. Using ASlib with EFSlib v2 now only requires including the efs_lib.c/.h files in your project.
[Sound] PA_InitASLibForSounds, PA_InitASLibForMP3 and PA_InitSound have been removed. You should now use the following methods to initialize AS_Lib in the mode you desire:
/* Init AS_Lib for mp3s */
PA_VBLFunctionInit(AS_SoundVBL); // easy way to make sure that AS_SoundVBL() is called every frame
AS_Init(AS_MODE_MP3 | AS_MODE_SURROUND | AS_MODE_16CH); // initializes AS_Lib
AS_SetDefaultSettings(AS_PCM_8BIT, 11025, AS_SURROUND); // or your preferred default sound settings
or
/* Init AS_Lib for sounds only */
AS_Init(AS_MODE_SURROUND | AS_MODE_16CH); // initializes AS_Lib
AS_SetDefaultSettings(AS_PCM_8BIT, 11025, AS_SURROUND); // or your preferred default sound settings
[Random] OlliPolli has improved PAlib's Random functions. They are now faster, better and bigger (bigger random numbers, that is) and PA_InitRand is no longer needed.
[Text] ThemePark has made a very useful change to PA_OutputText and PA_OutputSimpleText. They now support newlines (\n) in the body of the text.
[Backgrounds] Maple identified a problem with PA_DeleteBg and improved the function so that it now fully resets the background instead of just deleteing the tiles and hiding it. This should solve problems when switching between large map backgrounds and regular backgrounds on the same layer.
[Makefile] Removed --gc-sections from the Makefile. Thanks to Noda.
[Makefile] The Makefile in your project directory now only contains lines that will commonly change from project to project with the bulk of the Makefile being moved to /palib/lib/PA_Makefile. This should solve some updating issues and make editing the Makefile easier. Thanks to crash for this change.
[Examples/3DSprites] All 3DSprites examples have been updated so that PA_3DProcess comes after the vblank. This is the prefered method for rendering the 3D sprites and can solve a problem with flickering or tearing textures if a lot of 3D sprites are on screen.
[Examples/EFS_Lib] The EFS_Lib examples in /examples/FAT/EFS_Lib and /examples/Sound/ASLib_with_EFSlib have been updated to use EFS_Lib v2.0. Huge thanks to Noda for creating this wonderful library!
[Emulators] Updated all emulators (iDeaS, DeSmuME, No$GBA, NeonDS) and provided Linux versions where available (iDeaS, DeSmuME).
Things Fixed
------------
[Mic/Sound] Fixed PA_MicReplay by returning the old PA_PlaySoundEx2 to the PAlib source. This also provides a rudimentary alternative sound engine when ASlib cannot be used.
[8/16bit Drawing] Fixed bug in PA_8bitDraw and PA_16bitDraw that caused unwanted lines to appear when turning drawing on and off while the stylus was held down. Thanks to Maple for the solution.
[BMP Loading] Fixed declaration in PA_GetBmpWidth and PA_GetBmpHeight that caused compiler errors for C++ users. Thanks to Frosty Chaotix and others for this.
[Video] dmig has fixed the long time error in PA_LoadVid, which should now be working.
[3DSprites] Fixed misdefinition in PA_3DUpdateSpriteAnims. This fix may help problems with flickering and tearing of textures. Thanks to SevenString for the catch.
[Sprites] Sylus101 fixed an issue in PA_ResetSpriteSysScreen that stopped sprite animations from working after the function was called.
[Sprites] Fixed PA_GetSpriteNCycles returning wrong type and inconsistent definition for spriteanims.ncycles. Thanks to Salz` for catching this.
[Input] Fixed bug preventing Pad.xxx.Anykey from recognizing the Y button. Thanks to ant512 for uncovering this bug ages ago and now it's finally been fixed in the source.
[GIF Loading] ThemePark fixed a bug in PA_3DCreateFromGif and many transparency related problems in PA_GifToTex/GifToTiles. These functions are optimized and should be working properly now. See the exmaples for new usage.
[Pathfinding] AntonioND updated the PA_Astar path-finding function. It's more efficient, returns an error value (-1) if there is no solution and a possible infinite loop bug has been fixed.
[Window] Schyzophrenic fixed an error in PA_EnableWin that prevented full declaration of layer priorities against the windows.
[Palettes] MaaS fixed bug in PA_SetSpritePalCol that caused corruption of sprites.
[General] Fixed PA_CloseLidSound. Thanks to unkwar.
[General] Finally fixed PA_PowerOff.
-----------------------------------
| PAlib 080313 : Community Update |
-----------------------------------
New Stuff
---------
[PALib-arm7] There is now the possibility to choose from several arm7 cores by using different makefile options. See the PALib template project folder ReadMe.txt for the details.
[Music/Sound] Added Noda's AS_Lib, removed the old modplayer. If you want to play mp3's with AS_Lib, you have to select an arm7 core which supports it. PALib's old sound functions are thus deprecated and no longer supported, but there are some macros to provide a better compatibility to old code. There is one important difference, however: PA_PlaySimpleSound(sound) and PA_PlaySoundRepeat(sound) now return the sound channel the sound is played on, which is allocated automatically!
[Wifi] Added support for liblobby for direct DS<->DS connections. To use it, you have to download liblobby (see install.txt) and select an arm7 core which supports it. Example is at PAlibExamples/Wifi/libLobby.
[Music] Added the modplayer by hitchhikr ( http://forum.gbadev.org/viewtopic.php?t=14628&highlight= ). To use it, select a proper arm7 core. Example is at PAlibExamples\Sound\ModPlayback.
[Music] Added support for libmikmod by Stonebone ( http://forum.gbadev.org/viewtopic.php?t=14710 ). To use it, download mikmod (see install.txt) and select a proper arm7 core. Example is at PAlibExamples\Sound\MikMod.
[FAT] Added Lick's Locator() as PA_Locate(). Use it to locate the data folder or file of your game on the flash card, so you don't have to force the players to store it in the root of their card or in another specific place.
[Examples] Added example for PA_Locate() in PAlibExamples/FAT/Locate
[Examples] Added converted example for AS_Lib in PAlibExamples/Sound/ASLib_General and ASLib_using_EFSLib to show how to stream mp3's from EFS
[Examples] Added a simple sound playback example for AS_Lib in PAlibExamples/Sound/SoundPlayback
[16cText] Complete rewrite, cleaner code, now allows Rotations. Thanks to Michoko for additional fixes
[8bitText] Complete rewrite, now uses the same base as the 16cText. Easier to maintain code, lighter when using both, allows all the alignements (PA_TextAlign(align)). PA_CenterSmartText and PA_SmartText left for backwards compatibility... Correction function is now PA_8bitText
[dsFont] Added the dsFont tool which generates custom fonts from fonts installed on your PC in PALib/Tools/dsFont
[EFS_Lib] Added an example for Noda's EFS_Lib in PAlibExamples/FAT/EFS_Lib. See the ReadMe.txt for instructions
[3DSprites] Added PA_3DSetSpritePalCol() to modify the 3D sprite palettes
Updated Oldies
--------------
[Documentation] Updated the documentation using the latest Doxygen (a \~ had to be added before every \param to solve an issue with the languages)
[Examples] All use the new makefile (see "Things Fixed")
[Cleanup] Deleted unneccesary thumbs.db, log.txt, svn files
[3DSprites] Added PA_3DGetSpriteX and PA_3DGetSpriteY (thanks to Pitt)
[3DSprites] Added PA_3DSetSpriteVisible
[Emulators] Updated all emulators to the latest version, added additional emulators
[PA_API] Code was outdated and is now deleted. Try the woopsi window system as a more complete alternative
Things Fixed
------------
[DevkitARM] Compiles with DevkitARM r21 (fixes in PA_3D.c and PA_3DSprites.c) -> Vista compatibility!
[Makefiles] No longer include a WIFI icon (which is never shown). This allows for example normal .nds files to run in no$gba and, for example, on Supercard SD's - you should no longer need the .sc.nds file, so it is no longer generated.
[Misc] New function PA_PowerOff() to shut down the DS; it was there on the arm7 side but unable to be used
[Wifi] Changed the deprecated close() in the Leaderboard code to the correct closesocket()
[BgTiles] PA_ReLoadBgTiles should work in all cases (thanks to Retrohead)
[PA_SetSpriteAnimFrame] Now sprites changes frame correctly (thanks to Lotti)
[Draw] PA_LoadBmpToBuffer() now works properly (thanks to Chris Lu)
[SpriteAnims] PA_GetSpriteNCycles fixed (thanks to jabba)
[16cText] Left 1 extra pixel letter spacing in the previous release, now fixed
[Jpeg] Potential Jpeg fix, seems fixed but occured very rarely
[Linux] Ubuntu/Debian packages created!
[Linux] Changed all makefiles to Makefile for correct compilation
[Linux] Added #!/bin/sh in PAlib/lib/arm7/clean.sh and PAlib/Tools/PAGfx/PAGfx.sh
-----------------------------
| PAlib 070717 : Misc Stuff |
-----------------------------
New Stuff
---------
[16bit] Double Buffering added
[Image] ImageSplitter added, an app to split up big images with frames into several smaller sprites. See example to use the app. It's basic and doesn't manage any 'error' ^^
Updated Oldies
--------------
[Text] Now supports %x for Hex output
[16cText] Added PA_16cTextLineSpacing(u8 spacing) and PA_16cTextLetterSpacing(u8 spacing)
[iDeaS] Updated to 1.0.1.7
[Size] Optimised a bit more how PAlib code is organized, saves a few kB everywhere for some projects :)
[Reco] Added PA_RecoInfo.Difference and PA_RecoInfo.Shape for the shape found and the amount of difference (test to find the values you like ^^) to that shape
[Wifi] Updated to latest version
Things Fixed
------------
[RTC] Reverted back to older code, now works
[Linux] PAlib compilation fixed
[3DSprites] Fixed bug of 3D not showing after using scrollable backgrounds. Big thanks to Sumiguchi ^^
[Timers] Chris Liu fixed the Timers !
[Sprites] Fixed PA_GetSpriteAnim (thanks to Doud !)
-----------------------------------
| PAlib 070615 : Sumiguchi's Work |
-----------------------------------
New Stuff
---------
[Keyboard] Added PA_SetKeyboardScreen(screen) to select the screen to use for the keyboard prior to loading it... Added a 3DSprite examples (on the top screen) using the keyboard. Optimized the code slightly
[Fatlib] Ashai Rey's LoadGif example added, using FAT
[Examples] Sumiguchi's Fireworks demo, using 3DSprite, is now in Demos/Fireworks :)
[Vham+iDeaS] Thanks to Lino, iDeaS (my new best friend ^^) now comes bundled with PAlib, and is included in Vham. Press F8 to compile+load in iDeaS :). Runs at a much more accurate speed for 3DSprites than no$gba
[BgAlpha] Added Sumiguchi's example
[DblBuffer] Added PA_8bitSwapBuffer(u8 screen) and PA_Init8bitDblBuffer(u8 screen, u8 bg_priority)
[8bit] Double-Buffering made it in...
[Wifi] Sumiguchi's LeaderBoard code got added ! bool PA_SubmitScore(char *response, char *gamekey, char *playername, int score, char *level, u8 responsetype)
Updated Oldies
--------------
[libnds] Updated to latest release
[Sprites] Added Error message when overloading Sprite VRAM
Things Fixed
------------
[PAFSSound] Fixed compilation errors in CPP
[Microphone] Should sound better
[VHam IDE] NdsLauncher updated, now looks for no$gba in Devkitpro/No$GBA and PAlib/Emulators/
[16cText] Word Wrap is better now
[Tiles] Fixed Hflip, Vflip, and Pal functions, thanks to Pouer
[TextPrint] Quick fix in PA_Print, nothing major
[WindowFade] Fixed 1 pixel showing incorrectly in some fades
[16bi] Minor fix
----------------------------------
| PAlib 070323 : Texts revisited |
----------------------------------
New Stuff
---------
[16cText] Added PA_16cTextAlign(u8 align), taking as arguments ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, or ALIGN_JUSTIFY.
Updated Oldies
--------------
[16cText] Saves 10 to 20kB on the default font sizes : their stores as 1bit fonts instead of 4bit, and only converted to 4bit if used. So unused font sizes won't take up that much space anymore :)
Things Fixed
------------
[TextColors] Fixed them, thanks to Tom :)
[Gif] PA_LoadGifXY fixed, thanks to Ashai Rey
[Sound] PA_PlaySoundRepeat is back, looks like I forgot to save PAlib when I added it :s
[PAFS] Sound is fixed
[PSG] ClrFog fixed the example :s
----------------------------------
| PAlib 070316 : Community Build |
----------------------------------
New Stuff
---------
[3DSprites] Added PA_Init3D2Banks(void) and PA_Reset3DSprites2Banks(void) to use 2 banks instead of 1, but it removes the backgrounds from screen 0...
[3DSprites] Added functions to load from gif files. Check the example to see how it works. This is much slower than the normal texture functions :)
[3DSprites] Added PA_3DSetSpriteAlpha(sprite, alpha) and PA_3DSetSpritePolyID(sprite, polyID (0-64)) and the example... Sprites must have different polyIDs to alphablend. You might want to set the sprites to different priorities too ;)
[FATlib] Added Sumiguchi's FAT example :) (http://palib.info/forum/modules/newbb/viewtopic.php?topic_id=2556&post_id=16028#forumpost16028)
[Sound] PSG support added, check example for more info
[BgWrap] PA_SetBgWrap(u8 screen, u8 bg, u8 wrap) added, for RotBg, 8bit, and 16bit backgrounds. Usefull if you need to scroll around 8bit/16bit backgrounds. Thanks to mastertop for the tip :)
[BgTrans] Added PA_BgTransCenter(u8 screen, u16 type, u8 invert, s16 state); and the example...
[Transitions] Added BrightnessFade2 and the example
[ModPlayer] Added PA_SetModVolume(0-127) and PA_GetModVolume(), plus a nice example :)
[ModPlayer] Added PA_SetModChanPan(u8 channel, u8 pan) and PA_SetModPan(u8 pan), with the example, as always ^^
[Hardware] Now auto-turns off the DS on lid close by default. You can change that by using PA_SetAutoCheckLid (if you want to have it always on, or have your custom CheckLid).
Updated Oldies
--------------
[PAGfx] Now returns an error message if you give it wrong filenames (typo or name starting with a number)
[ModPlayer] Abrexxes updated the modplayer, should with more mods now :)(http://palib.info/forum/modules/newbb/viewtopic.php?post_id=16043#forumpost16043)
[Sound] Repeat is back. Also added PA_PlaySoundRepeat(PA_Channel, sound) and an example using it.
Things Fixed
------------
[Sprite] PA_SpriteTouched now works in all corners, sorry
[DSMotion] Fixed
[GifToTile] Cedric fixed a memory leak, thanks :)
[3DSprites] Textures were overlapping when using very large sizes, fixed :)
[3DSprites] Textures were overlapping when using very large sizes, fixed :)
[3DSprites] Fixed width/height, now supports non-square textures/sprites. Added rectangle example with 256x32 sprite
[3DSprites] Fixed Priorities on DS
[16bit] PA_Draw16bitRect should be fixed
----------------------------------
| PAlib 070222 : Not doing 3D... |
----------------------------------
New Stuff
---------
[3DSprites] Animations made it in this release ! Check the 3DSprites Animation examples ;) Works 100% like the normal sprite animations, shouldn't be too hard
[3DSprites] You can now change the corner positions in textures. Check out Deform examples
Updated Oldies
--------------
[3DSprites] Added PA_3DCreateSprite, and DeleteTex now works :)
[Examples] Updates for the whole 3D examples
Things Fixed
------------
[BinFiles] Fixed Bin examples, was a all_gfx.h problem in PAlib
[16cExample] Fixed 16cText2 example, forgot to erase text :s
--------------------------------
| PAlib 070220 : 3DSprites WIP |
--------------------------------
New Stuff
---------
[3DSprites] Completely new 3D Sprite system, only for one screen though... Check out the examples, there's too much stuff to post here :/ You can all flood DAVIDO with thanks, because he really helped me alot ^^
[Examples] Added Demos/MultipleFiles example to show how to use header and .c files correctly
[PAGfx] Updated to convert textures, still limited right now (check 3DSprite examples). Supported modes : 4colors, 16colors, 256colors, 16bit, A3I5, and A5I3
Updated Oldies
--------------
[Makefile] Makefile updated, thanks to DAVIDO ! Please take the on in the template or any example...
[PAGfxLinux] Updated to match Windows PAGfx...
[Examples] Reorganized examples into subfolders, should make looking for a specific example easier. Please erase your exemple folder before reinstalling...
[TextFont] Updated the Tiled Text Font to Liquid Kidz : http://www.dafont.com/liquid-kidz.font. Hope it pleases more people than the old one ^^
Things Fixed
------------
[PAGfx] 16bit sprite transparency and occasionnal bg compilation error
[Fonts] 16c and 8bit now have the dot at the right height...
------------------------------------
| PAlib 070216 : Transitions Rule |
------------------------------------
New Stuff
---------
[BgTrans] Completely new Background Transition effects, check them out in the Transition examples !
[8bitText] Added a StarWars Text example, in the Text folder. Useless ? Yeah, I know ^^
Things Fixed
------------
[PAFS] Fixed on DS (to be confirmed :/)
-------------------------------
| PAlib 070214 : Love Edition |
-------------------------------
New Stuff
---------
[EasyBg] Added PA_EasyBgLoadPtr(screen, bg_number, bg), which can take the new background pointers ! Requires to convert with the new PAGfx... Added LoadBgPtr example to show how to use an array with it.
Things Fixed
------------
[RotBg] Fixed a bug in PA_Set/GetRotBgTile
[APIButtons] Fixed API Button example, the text wasn't set correctly
[16c] Was using twice as much memory as needed :s
[DSMotion] I had forgotten to update some of the DS Motion examples...
------------------------------------
PAlib 070206 : devkitpro r20 version
------------------------------------
New Stuff
---------
[Sound] Added PA_SetSoundChannelVol(channel, volume) to change the sound's playing volume... Added SoundChannelVolume as an example to show how it works
[Sound] Added PA_SetSoundVol(Volume) to change the global volume level, and the example to go with it...
[SpriteTouch] Added PA_SpriteStylusOver, similar to SpriteTouched, but which doesn't check if the stylus is held or not... Can therefore be used with Stylus.Released :)
[DualBg] Added DualEasyBg functions, and an example to go with it : DualBackgrounds/EasyBg
[8bit] Added PA_InitBig8bitBg(u8 screen, u8 bg_priority) : Same as PA_Init8bitBg, but with an available size of 256x256. Takes up a little more space but allows correct vertical scrolling...
[SpriteSys] PA_ResetSpriteSysScreen(screen) added, to reset the sprite system only for a given screen. Highly untested, might give unwanted results, especially for running animations, please report any bug :)
[PAFS_Bg] Added void PA_FSBgNameLoad(u8 screen, u8 bg_number, char* bg_name) to load a background by inputting it's name (should be easier :) ), and the example to go with it...
[BgPixel] Added PA_EasyBgGetPixel(screen, bg_number, x, y) (to get the palette color number) and PA_EasyBgGetPixelCol (same thing but returns the u16 color). Added 3 examples to go with it (tested with normal backgrounds, largemaps and infinite tile backgrounds...). Scrolling is of course taken into account ;)
[Platform] Added Platform4 example, which changes the collision system to use PA_EasyBgGetPixel, and can now manage diagonal collisions :)
[DSLite] Added PA_SetDSLBrightness(u8 level) to change the DS Lite light level (0-3)
[SoundPan] Added PA_SetSoundChannelPan(channel, pan) to set the pan level (left-right, from 0 to 127) of a sound channel. It is reset to 64 after each sound played. Added an example to test it, works well :)
[16cText] Added PA_16cLetterPos (.Letter[n].X/Y and .NLetters), which allows you to get the position of each letter outputted by the LAST 16cText...
[Demos] Added a TypeWritter demo. It has a nice little cursor to add text anywhere in your string (not just at the end like the plain Keyboard example), and supports different text sizes, all this being done using the 16c Text system and the new PA_16cLetterPos structure
[16c] Added PA_16cClearZone(u8 screen, s16 x1, s16 y1, s16 x2, s16 y2) to erase part of the screen
[16c] Added 16cSprites example to show how to use the system to display 400 shots all over the screens ^^
[16c] Egon added a really nice 16c example on how to use sprite animations on a 16c background !
[16c] Egon added PA_16c8Xi(u8 screen, s16 x, s16 y, u32 *image,u8 i) :)
[Text] The 'u' letter in 16c and 8bit texts, size 2, had an added pixel... I saw that the 'v' following it was missplaced by 1 pixel, it is now fixed :)
[Gif2Frames] Added an app I made to decompose an animated gif into all the frames (in a single gif file)
[Fat] Added latest snapshot of libfat and PA_IO.c/h
[Fat] Added PA_InitFat() to initialise any disk devices found, returns true if found.
[Fat] Added PA_GetFileSize(FILE* pFile) to return a long of the file size
[Fat] Added PA_ReadTextFile(char* pathname) to return the contents of a file to a char*. Added PA_WriteTextFile(char* pathname, char* text) to Write the contents of "text" to "pathname" returns the Number of bytes Written
[Palettes] Added PA_LoadSprite16cPal(screen, n_palette, palette) and a 16colors sprite example
[Demo] Platform examples 4 and 5 added to the examples/demo section, code updated to match the latest version :)
[RotMaps] Added PA_SetRotMapTile(u8 screen, u8 bg_select, s16 x, s16 y, u8 tile_number) and PA_GetRotMapTile(u8 screen, u8 bg_select, s16 x, s16 y), using gmiller's code...
[CustomFonts] Added PA_16cCustomFont(slot, fontname) and PA_8bitCustomFont(slot, fontname) and the examples to go with it... Wiki will be updated soon with the instructions. Requires the latest PAGfx version... PAGfx has been updated too, to do the conversion...
[DSMotion] Official DSMotion code added !!! Check the Input examples to see how it works (init/getting the data). Has 2 different ways of playing with it : either get the raw values and use that, or transform the data into Pad.Held.Up/etc data :)
[DSMotion] Added MotionDraw, a simple demo...
[Keyboard] Added PA_InitCustomKeyboard(bg_number, keyb_custom) to load custom keyboards (use instead of PA_InitKeyboard), and the example to go with it... Custom keyboards are 256 colors and should be converted as EasyBg...
[DSMotion] Added MotionDraw2...
[DSMotion] Added Angle and Force variables. Made a quick MotionTurn example to see how to use them
[Compo] Added CompoSplash demo to show the DS Dev Compo Splash screen... Also contains a custom logo for the DS Compo, if you feel like it
[SpriteTouch] Added PA_Sprite16cTouchedPix
[16bitSprites] Added PA_Set16bitSpriteAlpha and the example to go with it
Updated Stuff
-------------
[PAFS] Added PA_FSGetFolder(char *name), to get a folder number from its name... Returns -1 if not found
[Sound] SoundBusy doesn't flush the cache all the time anymore
[PAGfx] Better total time output (useless, but I don't care ^^). Removed the Palette generation purcentage, it always takes less than a second now :p
[PAGfx] Completely new tile detection code, should be MUCH faster when converting very big/complex backgrounds...
[PAGfx] Found on the net a different method to read images, which is 10 times faster, I'm pretty sure you'll be amazed by how fast it converts backgrounds now ^^. Works for very large sprites too
[Video] Video system moved to use PAFS. GBFS code removed. Example modified...
[Sprites] Updated all the outdated sprite examples
[PAFS] Name length passed to 64 characters. You'll need to use the latest PAFS.exe with the latest PAlib... (PAlib/Tools/PAFS)
[PAGfx] Much better purcentage output (took into account the fact that it slowed down over time) and shows expected time left.
[Arm7] Code cleaning... and again, and again ^^
[Fat] Updated Fat Example to use new driver/code
[Sound] Automatically calls PA_InitSteamSound() when a streaming sound is played
[PAFS] Paco updated PAFS, should work better with FAT32 partitions :)
[Gif] Gif files up to 2048 pixels wide will work now
[MAKEFILE] MAJOR Makefile update, now pads the data files to 32bit, BIG THANKS TO GANDRAN !!! Should solve all the multiple sound inclusion problems/corruption... Please update your project makefile with any PAlibExample or PAlibTemplate makefile...
[Sound] Sound code rewritten, you can now play several sounds per frame. The old sound system is present, it switches automatically to use if you call the Stream commands... You can also, in the same frame, stop a sound channel and launch a sound on that channel :)
[Gif] Added PA_LoadGifXY, to load gifs to a specific part of the screen :). Updated the gif examples to work with it...
[GetSpritePixel] Added PA_GetSprite16cPixel, for 16 color sprites, and an example to go with it...
[Makefile] Makefiles updated, please copy one of the example/template makefiles and paste in your project. Includes the sound padding correction and includes the libwifi
[DSMotion] Now uses an average, jitters less
[Text] PAlib text output c files changed, saves up to 10KB/rom :)
[Stylus] Updated code to the newer more reliable code :)
[16bitSprites] Changed display settings, now uses less memory, requires latest PAGfx to work
[3D] DEPRICATED
[Vham] Added Compile + Launch in No$GBA, with F6. No$GBA isn't installed with PAlib, you must have a copy in c:\devkitpro\no$gba
[Logo] Updated PAlib logo and wifi logo
Things Fixed
------------
[PAGfx] 256 pixel wide backgrounds were rounded up to 512, this is fixed
[Video] Fixed the video system
[EasyBg] Fixed Tile flip bug when loading an EasyBg with more than 1008 tiles, not sure why it was still there :)
[Sound] Sound no longer stops when turning screens off or setting the led to blink mode...
[Microphone] Recoded the whole microphone, now works, though it's ugly...PA_MicGetVol(), PA_MicStartRecording(u8 *Buffer, s32 Length), PA_MicReplay(u8 PA_Channel, u8 *Buffer, s32 Length). See the new example ;)
[DualSprites] Should work better with big sprites. Added a DualSprite example
[MoveSpritePix] Fixed the bug where the sprite couldn't be moved if partly off-screen... Might not work well with 64x64 sprites that are too much offscreen though, sorry, but that reaches the DS's X/Y corrdinate limits ^^
[GifToTiles] Had a huge typo, width instead of height :s
[PAFS] Paco found a bug that prevented from using other directories than Files...
[SpritePrio] There was a typo : PA_SetSPriteExtPrio instead of PA_SetSpriteExtPrio...
[PAGfx] No longer hangs when loading non-8pixel-padded backgrounds
[Warnings] Fixed the FD_SETSIZE warnings
[TextColors] TEXT_BLUE and TEXT_GREEN were inverted
[Reco] Fixed upper screen mess-up when using the recognition system
[SpriteAnims] Fixed first frame not showing when starting a new animation...
[PAFSBg] Fixed PAFS Bg loading
[PAGfx] No longer hangs if you have non-8 pixel multiple sprites. Automatically resizes it
[Error] Fixed compilation error on projects with multiple cpp files
[8bitText] Fixed 3 8bit text bugs
PAlib 060917 : Biggest update ever ^^
New Stuff
---------
[Tiles] New infinite tile system. Both PAlib and PAGfx have been updated to achieve this. PAGfx now has an InfiniteMap command to convert backgrounds with more than 1008 tiles... Check out the Backgrounds/InfiniteTiles example to see how it works. Example used has 1790 tiles...
[Gif] Added new gif animation commands : PA_GifSetStartFrame(StartFrame), PA_GifSetEndFrame(EndFrame) and PA_GifGetFrame(). Also moved the examples to a separate Gif example folder. GifAnim2 uses these new commands :)
[Gif Sprite] Added a function to convert gif files into tiles... This can be used to create sprites from a gif file ! PA_GifToTiles(gif, palette). Check the Gif/GifSprite example to see how to correctly use it... Good points : takes much less memory, no need for conversions ! Bad points : takes more RAM if you do not free your pointer after use... And is way much slower...
[BG Prio] Added PA_SetBgPrioSeq(u8 screen, u8 priority0, u8 priority1, u8 priority2, u8 priority3), to set the backgrounds in a certain order. 100% not my code, not my idea, I just copy/pasted it ^^ Thanks to sumiguchi for that one
[SpeedTest] Added a series of macros to test the speed of several functions and see which one is the best speed-wise... Check Math/SpeedTest example to see how it works, it's not very intuitive :/
[PAGfx] New exports .bin files in the /bin folder ! To use .bin files instead of .c, simply copy the .bin files into the 'data' directory (create it in the main folder if not there), and include all_gfx.h, but NOT all_gfx.c... This will include the .bin instead of the .c files... Changes have been made both in PAGfx and PAlib to allow further evolution... Because of this, backgrounds converted with this version of PAGfx CANNOT work with older PAlib versions, and files converted with older PAGfx version CANNOT work with this version of PAlib... Sorry :/
[PAGfx/PAlib] Added a new mode in PAGfx : EasyBg... This will automatically select the best mode for the background (between TiledBg, LargeMap, and InifiniteMap). A new set of commands has been created in PAlib to avoid thinking about it : PA_EasyBgLoad(screen, bg_number, bg_name), PA_EasyBgScrollXY(screen, bg_number, xscroll, yscroll)... (ScrollX and ScrollY also available). Editted the examples (not all) to reflect this new stuff. The wiki will be simplified soon as you don't have to think about what type of background you want now (the seperate explanations will be left in an 'advanced tutorial').
[PAFS Backgrounds] Added PAFS/PAFS_Bg to see how to load backgrounds from PAFS ! You have to give it the number of the first background file (name_Info), and put all the .bin files in PAFS... => PA_FSBgLoad(screen, bg_number, filenumber)
[PAFS Sprites] Added PAFS/PAFS_Sprite to see how to load sprites from PAFS...
[3d+Sprites] Sprites will now work on the 3d screen :D. Just run PA_Init(), and then PA_Init3D(); Added 3d+Sprites example to go with this... Untested on real DS :/
[3d+Backgrounds] Backgrounds can now be used instead of sprites on the same screen as the 3d ! Just run PA_Init, and then PA_Init3DAndBg()... You cannot have both Backgrounds and Sprites when using 3d, sorry ! Important note : Background 0 is NOT AVAILABLE when using 3d, trying to use it will result in wrong display... Added 3d+Bg example to go with this... Untested on real DS :/
[FPS Counter] Added an FPS counter : PA_RTC.FPS... Yup, that simple, nothing more to do ^^ Check out the Other/FPSCounter example to see it running. It has a simple stress code to be sure the DS won't work at 60FPS, and you can actually change the amount of stress to see the FPS change...
[SoundBusy] Added 2 functions : PA_SoundChannelIsBusy(channel) returns 1 if busy, 0 if free. PA_GetFreeSoundChannel() returns the first available sound channel, -1 if none free.
[StopSound] Checked, it worked... Added an example using it :)
[LidSounds] Added PA_CloseLidSound(channel, close_sound) and PA_CloseLidSound2(channel, close_sound, open_sound), allowing you to play goodbye and welcome sounds when the lid is closed/opened ! Go see the Other/CloseLidSound example, sounds great :p Big thanks to Timonator for the idea...
[PAGfx] Added JustPal command for sprites, to extract the palette
Updated Stuff
-------------
[Examples] Started cleaning up the examples, especially the images, should save a few Mb...
[Examples] Added 16cText2 and 8bitText2, using stdio to output the date and time :)
[Examples] Cleaned the examples... Please delete your PAlib and PAlibExamples folder before updating... Should save some size in the zip and installer, (500-1000kB)
[Examples] Added BinFiles in Background and Sprites to see how it works
[Sound] On by default
[Sound] El Hobito added PA_StopSound(u8 PA_Channel);
[8/16bit Modes] Saved up to 50ko/file when using these modes (Giflib was included by default :s), saved 3ko/file for other .nds files
[PAGfx] Now displays % progression when converting big backgrounds, and total conversion time at the end
[PAGfx] Quick fix, background could be corrupted on some small background sizes
[Palettes] Added PA_Load8bitBgPal(u8 screen, void *Pal) to load palettes for the 8bit backgrounds :)
[GBFS Sound] Removed the main GBFS sound function, should win a few kB in the rom
[GBFS] Removed the GBFS examples
[Installer] Added German language
[Wifilib] Now uses libnds's wifilib
Things Fixed
------------
[Linux] Corrected a typo in the makefile which prevented it from working on Linux
[PAFS] Found and fixed a major bug in PAFS. Now should work correctly (it screwed up the file positions when a file was had a size of 4*n - 1 ^^
[PAFS] No longuer includes the files from the hidden .svn directory, sorry for that one ^^
[InfiniteTiles] Fixed all the errors you could have when compiling
[Doc] Fixed a few minor errors, thanks for reporting them :)
[RotBg] Mastertop found a compilation error, thanks :)
[Compilation] Rockard found yet another bug, thanks ^^
PAlib 060905 Fixes :)
New Stuff
---------
[Compilation] No longer requires install.bat :)
[VBL] Added a custom function code in the VBL : PA_VBLFunctionInit(your function) will execute, each and every frame, a given function... This can be used to make counters or have critical codes run at full speed when you're low on CPU time. Be aware that too CPU-expensive functions might slow down your program or hang the DS if run from the VBL !!! PA_VBLFunctionReset() can be used to stop the custom function. An example was added (Other/VBLFunction)
[2D/3D] Seperated the 2D init (still done by default in PA_Init). You can now use PA_Init2D to return to 2D mode after using 3D functions :)
[Gif] Gif speed now works, only tested on emu for now. Thanks to Shaun for the solution :D Removed PA_SetGifSpeed :p
[Gif] New commands available to change the gif speed while playing and pause it ! PA_GifAnimSpeed(float speed), PA_GifAnimStop, PA_GifAnimPause, and PA_GifAnimPlay. Check out the GifAnim example :)
[Demos] Added the Bunny demo to the demo folder. It shows how to use sprite frames and pixel-perfect stylus collision to create stupid minigames ^^
Updated Stuff
-------------
[Stylus] Now includes Stylus.Downtime and Uptime, to know how long the stylus was held on the screen or off of it (check Input/Stylus2 example to see that in action)
[Stylus] Added Stylus.DblClick, may need more testing though, also in Stylus2 example
[DeSmuME] Reverted back to the old version, this one had 'Hickups' :s
[Giflib] Changed its compilation, saves 4kb ^^
[Doc] Updated the doc
Things Fixed
------------
[Compilation] Fixed the 5 last warnings :)
[Examples] FAT example back, thanks Creebo ^^
[PAGfx] Better declarations in all_gfx.h and .c, with #ifndef and CPP compatible stuff :)
[PAGfx] Now works correctly when you don't precise the Sprite/Bg mode (256colors, etc...) Will take the most common mode by default :) (fixes PAGfx.exe errors and PAGfx Frontend import function
[Draw] Draw functions fixed, thanks to PadrinatoR :)
PAlib 060902 Small features update
New stuff
---------
[Gif] Just couldn't seem to find the option that determines the gif's speed in giflib :/ I added a counter for animation speed, you can set it manually : PA_SetGifSpeed(number of VBLs to wait). 60 VBLs = 1 second between 2 frames. Example available in Bitmap/GifSpeed
[Counters] Added 16 possible VBL Counters : PA_VBLCounterStart(ncounter) to reset and start one, PA_VBLCounter[ncounter] to get its current value. Added an example (Other/Counters) to show it works and to extract seconds from that. Also available : Pause and Unpause :)
[RotBg] Added PA_SetRotMapTile(u8 screen, u8 bg_select, s16 x, s16 y, u8 tile_number), thanks to spinal and gmiller ! Modified the code to work with all background sizes, and added an example (Backgrounds/RotBgTile). Only tested on emulator, will need more tests :)
[Splash] Added PA_SplashEyes() to load the PAlib splash screen with eyes following you ! More splash screens to come when available. Example found in Splash/SplashEyes
[Splash] Added PA_SplashBlue() to load up a Splash Screen based on the forum's logo ! More splash screens to come when available. Example found in Splash/SplashBlue
[PAFS] Added PA_LoadFSImage(u8 screen, s16 FSImage) to load Images (jpeg, gif, or bmp format) from PAFS just by giving the file's PAFS number (no need to know which image format it is !). Added PAFS/PAFS_Image as example to go with it :)
[Pad] Added Pad.Newpress.Anykey, (Held and Released too). Modified the basic Pad example to include that in. Seems to work, please confirm if you have any bug/error (should report any key, but not the stylus)
Things Fixed
------------
[PAGfx] Benualdo correct a bug when exporting 8bit backgrounds, thanks :)
[Examples] Removed some examples that were there twice :s
[Example Fix] Fixed the 3d texture compilation error, not sure if it works though, couldn't test
[Examples] Removed GBFS Gif and Bmp examples (GBFS will be depricated soon), added PAFS examples instead
PAlib 060831 Official Revival Update
[Text] Added TEXT_WHITE, TEXT_RED, etc... macros, thanks to Penjuin. Also updated the TextColors example to show that (using yellow)
[Bugfix] Fixed PA_SetBgColor, thanks to franck569 :)
[Bugfix] PA_ResetBgSys should now leave all screens black, untested though :)
[Bugfix] You can now get the user's name even if he hasn't entered a message ^^ Thanks to PadrinatoR for that one !
[Bugfix ?] A typo, seen by PadrinatoR (again !) was found in the stylus arm7 code. I corrected it, and have no idea what it will change ! If you have any problem with the stylus on this version, please report so that we can revert back to a functionnal stylus code.
[Bugfix] Corrected GBFSInit and migrated to solid function instead of extern inline. Untested, report if problem found... (should we just remove GBFS support and turn towards PAFS, or is everyone still using GBFS or neither one of them ?)
[Bugfix] Corrected a bug in PA_WaitFor ^^
PAlib 060830 Revival Update
[General] Updated my computer to latest devkitPro :)
[Warnings] Fixed most warnings, 5 more left
[C++] Warnings fixed
[Vham] Updated to 2.6, "New Project" now works correctly, thanks for the help ;)
[16c] Put the 16colors text example back in
[Feature] Added PA_WaitFor(something), check the example (Examples/Other) to see how it work : PA_WaitFor(Pad.Newpress.A), etc...
[PAGfx] Updated to version 0.8, which was on my hard drive since... March ! I have no idea how good/bad it works actually, can't remember if it was fully functionnal or not :/
PAlib 060304 MAJOR UPDATE
[PAlib] Changed the compilation to do some real stuff... Now only includes what you use ! A simple demo can be as small as 60kB !
[TextBox] Removed the "1" that was drawn on the bottom screen
[Examples] Tested all of them to check that they compiled and worked with the latest version. Made a general cleanup, so please delete PAlibExamples directory before reinstalling...
Broken : 16cText, 3D examples using PAlogo (??), Video
PAlib 060304 MAJOR BUGFIX
[Interrupts] Switched to libnds's interrupt handler. Seems to correct some bugs. Superstar's demo seems to work fine with the new system, so I hope this solves lots of C++ problems :S. Corrected 2 other big projects, so it seems like this could be the most stable release up to now ! It probably broke (very temporarily jialing' streaming system (uses TIMERS), we'll just have to switch the code to libnds's timer system, which shouldn't be long, but I ran out of time today :/
[Arm7] Some unwanted test code slipped in the previous version, could cause some major bugs
[16 color Bg] Added a fake 'bitmap' 16 color background system. It's very usefull to draw SHMUP bullets on it (>600 8x8 bullets from what I tested)
[Text Sizes] Added a new text system for 16color backgrounds. Works like the 8bit text (5 different sizes) but is much much faster, and takes much less memory (both in VRAM and in ROM) -> 45k in rom, and around 30k in VRAM (compared to <200k in rom and 49 in vram for 8bit text). Added an example to go with it
[BoxText] Fixed an evil bug that prevented the boxtext from stopping, thanks too Scognito !
[Sprite Priorities] Fixed
[FAT Driver] Chishm updated his FAT driver :
2006-03-03
* Improved NMMC (MK2 / MK3) driver
* Optimised LFNs into loops, thanks to dwedit
* Optimised SuperCard SD CFC7, thanks to Cory1492
* Added file attribute support
* Added read only M3 SD support, thanks to SaTa and Moonlight. Disabled by default due to incompleteness
* Fixed SuperCard SD reading, thanks to Loopy
* Added EFA2 support, thanks to CyteX
[Version number] Changed the version numbers, I didn't feel like getting to a 1.0 milestone ^^
PAlib 0.998d
[Sound] Fixed :S
[PAGfx] Updated to add 'const' where it was missing... (thanks Jandujar !)
[PAGfx] Removed the #ifndef from all_gfx.h, you can now include it correclty in multiple files
[PAGfx] Shorter lines on error messages
[PAGfx] 2 bug corrections preventing from working if a file wasn't found
[PAGC Frontend] Corrected error when first moving from sprites to backgrounds view
[Sprite Ext Prio] Fixed order when 2 sprites had the same priority level
[Text] Fixed the '-' not showing for values from 0 to -1
[Text] Fixed the decimal values with negative numbers (thanks to Jandujar !)
PAlib 0.998c
[Examples] Fixed the keyboard example, had SimpleText instead of Text function, so the line break didn't work :S
[Examples] Added Sprite/Priorities2, which shows how the priority system could be used to create a card game, or an isometric 3D system...
[Screen Lights] Rewrote the code, shouldn't break the sound anymore
[Arm7] Switched to libnds's IRQ system, now works better on MK2/3
[PA3D] Compiles again, sorry !
[Backgrounds] Optimised the Background memory error messages
[Palettes] Added PA_SetSpritePalCol
[C++] Fixed the Pad/Stylus problem (replacing bool by u8, I don't like that...)
PAlib 0.998b
[Sprites] Fixed sprites on hardware :/
[Vham IDE] Updated to remove the ofile bug when adding files :) Thanks to Kleevah !
PAlib 0.998a
[PAGfx] Updated 16colors sprites not working
[PAGfx] Updated broken 512x512 TiledBg, now works correctly
[16bit Sprite] Added a Create16bitSpriteFromGfx function
[SpriteAnims] Added PA_SetSpriteNCycles(bool screen, u8 sprite, s16 NCycles) and PA_GetSpriteNCycles(bool screen, u8 sprite)
[Doc] Updated some missing function infos
[Palettes] PA_CreatePalBright added, to create new palette with different brightness level. ChecK Sprite/PalBrightness to see how to use it (can be used on backgrounds too)
[Sprite Priorities] Added advanced sprite priorities, with 256 possible levels ! Check the Sprite/Priorities example to see how it works (requires an init). Beware, this is much slower than the normal priority system, as it requires sorting the sprites...
[LargeMaps] Fixed scrolling bug when background was larger than 256 pixels, but smaller than 512 (thanks Mtom !), and a nice speed increase (up to twice as fast) on large maps (>512)
[Sprite Animations] Fixed a little bug in the frame number when using UPDOWN, thanks to Costello
[FAT Driver] Included Chishm's FAT Driver, with M3, SC, and MK2/3 support ! I take NO credit whatsoever for this. ALL the credit goes to Chishm and the people who helped him make this driver better... If you have any questions/bugs, please report them on palib.com, and do not bug Chishm... The driver takes around 25k, and can be removed by editing PA_Config.h. Please take the time to read the gba_nds_fat.txt file included with the driver... I haven't played with it too much yet, just tested listing the files on my MK3... (FAT/FAT example). I also update the Vham Init to take into account the FAT_ functions.
[DeSmuME] Updated