Commit Graph

154 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com
ded3736c6b Erwan
-fix issue 410
2010-05-07 12:46:00 +00:00
wagic.the.homebrew@gmail.com
0149512412 Erwan
- fixed bugs introduced in revision 2034 (Giant Growth)
- Extended Story mode xml: much easier to write basic thing, font selection, possibility to position answers, answers now in correct order
- moved story in the menu because it is not major for now
2010-05-06 13:47:56 +00:00
jean.chalard
ef16aa45a1 J :
* Little compilation problem fix.
2010-05-04 16:18:56 +00:00
wagic.the.homebrew@gmail.com
b0e92d68a8 Erwan
-missing files (JLogger)
2010-04-26 22:47:46 +00:00
wagic.the.homebrew@gmail.com
a3cbbedd3c Erwan
- fix issue 392 (broken tests)
- Fix a bunch of memory leaks (guys please be careful!)
- Added Logging facility in JGE
- HBL Compatibility (cleaned up some code with MP3 in JGE)
- Added "winGame" ability. Currently used mostly by the story mode, but some cards could probably need it too
- Improved story mode and uncommented it from the source.
-- The current campaign is of course very basic, anybody who wants to improve it or create other ones feel free to do so
-- TODO (short term): save progress, rewards system, improve tutorial campaign
-- I'll talk a bit more about this on the forums/email after a night of sleep
2010-04-26 14:27:34 +00:00
wagic.the.homebrew@gmail.com
e273ade745 Erwan
-daily build (1942)
2010-02-28 13:35:52 +00:00
jean.chalard
db49a49a78 J :
* Remove the binding for HOME from the default bindings.
  (this key cannot be detected or used anyway)
2010-02-28 13:24:29 +00:00
jean.chalard
c2549af81d J :
* Make the FULLSCREEN function bindable on platforms that support it.
* Linux has F as default binding.
* Windows support is not implemented, but is there ; applications will
  just not suggest it under windows for the moment.
2010-02-28 12:31:51 +00:00
jean.chalard
ee689e2fce J :
* Remove default bindings for keys we don't use.
2010-02-27 16:01:08 +00:00
jean.chalard
2ef8fa338c J :
* Fix issue 340 for good.
* On X systems this still depends on a working X detectable repeat,
  which is not the case in stable releases of some popular linux
  distributons at this time. This is expected to be fixed soon.
  I haven't chosen yet whether I wait for the fix on X side or if
  I work around the bug.
2010-02-27 10:57:32 +00:00
jean.chalard
80fdb0a38f J :
* Mostly fix issue 340.
* There are still detail problems :
  - There are still problems when two keys are pressed at the same time.
    This is not a release blocker ; what happens exactly is :
    while maintaining two keys, when one is released, the enqueued
    autorepeat keypresses for the others are flushed too. I don't
    think anyone will notice but for the sake of correctness I'll fix
    it.
  - A bug in xorg prevents the linux version to work correctly at the
    moment. The bug is current as of 2009/08 and fixed as of 2010/01,
    but major releases still include the bug at this time, so I'll
    have to work around it somehow.
  - I expect the windows version to work, but I can't test it.
  - I'll test on mac later today.
2010-02-26 03:08:20 +00:00
jean.chalard
4248ddd3a0 J :
* Preparation for auto-repeat-stopping code.
2010-02-25 20:00:53 +00:00
jean.chalard
79d142f968 J :
* Some cosmetic cleanup.
* Have the unix version report analog control the same way the
  windows version does.
* Move back Run() into JGE::Run(). The code for ::Run() is still
  inside main.cpp.
  - This fixes the "blinking screen problem", issue 341. I think.
  - I have no idea WHY it does, but it's better than not fixing it.
  - Run() would be better in ::Run() in main.cpp than in JGE, should
    be moved back when we know more about the problem.
2010-02-24 18:28:36 +00:00
jean.chalard
39c5a3d465 J :
* Fix u32 into JButtons.
* Add a few comments.
* Remove useless variables.
2010-02-24 17:28:17 +00:00
jean.chalard
ad933ecdf6 J :
* Change the name of a define to harmonize stuff.
2010-02-18 20:09:19 +00:00
jean.chalard
e40691411a J :
* Don't forget to enqueue unbound keys.
2010-02-18 18:05:19 +00:00
jean.chalard
3c1377fe47 J :
* Re-add the ReadLocalKey function that I had forgotten to
  re-implement with the key bindings.
2010-02-18 07:18:21 +00:00
wagic.the.homebrew@gmail.com
d6fd768248 Erwan
-cosmetic change to JGE makefile
2010-02-16 13:09:22 +00:00
jean.chalard
3bb13aa81c J :
* Attempt at making windows happy
2010-02-16 12:32:39 +00:00
wagic.the.homebrew@gmail.com
e4c3cdbe3d Erwan
-JGUI Bugfix
2010-02-16 11:37:05 +00:00
jean.chalard
16abaa249c J :
* Remove a useless debug print
2010-02-15 11:01:09 +00:00
jean.chalard
6d2857c341 J :
* Remove an ugly debug print :o
2010-02-15 10:28:13 +00:00
jean.chalard
ec61fede8d J :
* Restore the old Alt key behavior.
2010-02-15 10:26:07 +00:00
jean.chalard
162621c09a J :
* Remove a now-useless #define
2010-02-14 23:53:04 +00:00
wagic.jeck
350f06fab8 Jeck - Jean, please review for cross-platform compatibility. Fix stupid error in GameStateDeckViewer.cpp, also fix windows compile of JGE.cpp. 2010-02-14 18:41:08 +00:00
jean.chalard
376022c2f0 J :
* Try fix NAN under windows
2010-02-14 14:10:12 +00:00
jean.chalard
f0dae9e87e J :
* Bugfix
2010-02-14 14:04:45 +00:00
jean.chalard
4f0a2794d1 J :
* Remove useless, deprecated, and ill-willed files
2010-02-14 14:02:08 +00:00
jean.chalard
8c86752e1d J :
* Bugfix
2010-02-14 13:57:43 +00:00
jean.chalard
a42e726b4a J :
* Some bugfixes
2010-02-14 13:55:57 +00:00
jean.chalard
56ce4a14ae J :
* Create the subsystem for keybindings.
2010-02-14 13:21:12 +00:00
wagic.the.homebrew@gmail.com
3f06c9b6c9 Erwan
- put sound back on WIN32 platform (J please review)
- Added menu text for token abilities (needs testing)
2010-02-06 03:21:38 +00:00
jean.chalard
23ddb6f7e2 J :
* Add a newline
2010-02-02 10:56:45 +00:00
jean.chalard
79b562755d J :
* Fix a syntax error
2010-02-02 10:39:18 +00:00
jean.chalard
5a2bae75d5 J :
* Add newlines at end of files. This is for better portability.
* Fix a direct reference to g++ in the makefile
2010-02-02 10:19:43 +00:00
jean.chalard
8f56dad259 J :
* Fix features again.
2010-02-02 09:41:58 +00:00
jean.chalard
2163bdbec5 J :
* Fix the way features are tested.
2010-02-02 09:38:22 +00:00
jean.chalard
4f0a264146 J :
* Add a method to abstract the file size.
2010-02-02 09:11:44 +00:00
jean.chalard
02e3932017 J :
* Fix linux compilation that had been broken by the last update.
2010-02-02 08:34:54 +00:00
jean.chalard
18c18822c9 J :
* This update has Wagic compile and work under Darwin 64-bits.
  - Linux 64-bits is expected to compile and work from now on, but
    was not tested. As with before, Linux 64 bits can still run
    the 32 bits version.
  - Darwin version is not using Carbon but X emulation.
  - 64-bits versions have no sound because there is no 64-bits
    version of fmod.
  - Windows 64-bits probably does not compile. Windows 64-bits can
    still run the 32 bits version.
  - Darwin 32-bits probably does not work at the moment because the
    libfmod requires another name to work on Macs, but as 64-bits
    disables it it works.
  - Other unix flavors are expected to work as long as they have
    a working OpenGL library, X11, and *either* 64-bits *or* a
    working fmod. Thus in the practice Tru64, Irix and the like
    probably work, as should FreeBSD and other BSDs in 64 bits
    versions, but 32 bits versions will search for a non-existing
    fmod. All of this is pure conjecture and none was tested.
  - All 64-bits versions have no sound.
  - The mac version does not display the particles at the moment.
    This is not critical, but the cause is unknown yet. I would
    like to know if other 64 bits unices share the same bug or if
    it is mac-specific.
* Test is needed in particular to see whether the program still
  compiles and works in Linux and PSP. Windows is probably all
  right, but compiling PSP in windows may be broken by this
  update.
2010-02-02 08:27:10 +00:00
wagic.jeck
0a863bcbad Jeck - [JGE recompile needed] Shop cleanup, Interface enhancements.
Added basic transition system that works with GameApp's phases. Currently does a fade-out between elements, which works well in some places and not-so-well in others. We'll definitely want to think about where and where not to use it... they'd work a lot better if we could spawn a thread to handle loading the next state while transitioning.

Also cleaned up the shop a bit, so it uses ReadButton() instead of GetButtonClick()-- hence the slight change to JGE. Added a tiled image for the task board, which loads conservatively (I tried 128x128, but it didn't look as good).
2010-02-01 18:27:25 +00:00
jean.chalard
e3e50c19a5 J :
* Have JGE compile on Darwin architecture.
* I'm not saying it works, just that it compiles.
* This needs testing on other macs than just mine.
2010-02-01 02:49:26 +00:00
wagic.the.homebrew@gmail.com
0948dc611a Erwan
- Merge some linux and Windows code in JGE to improve maintenance
2010-01-21 11:37:31 +00:00
jean.chalard
b8d46db0a8 J :
* Unify with the windows version.
2010-01-20 16:46:47 +00:00
wagic.the.homebrew@gmail.com
6e2e351239 Erwan
-fix issue 144
2010-01-07 13:56:57 +00:00
wagic.the.homebrew@gmail.com
c78eef002a Erwan
-reduce Ram used by Kernel threads (PSP). Attempt at minimizing issue 261
2009-12-18 11:14:06 +00:00
wagic.the.homebrew@gmail.com
74accec275 Erwan
- Fix issue 144 (Sound is either 0 or 100%), for PSP ONLY. The methods are now here for linux/windows, but only the music volume method will work currently, and it sets the volume globally. Patch by Yeshua with some cleanup by myself.
2009-12-12 15:10:32 +00:00
wagic.jeck
9b0afb7105 Jeck - Minor bugfix: prevent garbage characters from appearing in JLBFont. 2009-12-10 15:53:23 +00:00
wagic.the.homebrew@gmail.com
afc08b4b6e Erwan
- fix issue 92 (purple screen). Many thanks to Yeshua and Raphael!
- Switched valloc to vram, more recent and faster.
2009-12-07 11:54:59 +00:00
wagic.the.homebrew@gmail.com
ca6f507d0a Erwan
- putting valloc.c back in the project as some persons have problem using/finding the valloc library
2009-12-06 12:38:23 +00:00